| 1 |
<html><body> |
| 2 |
<style> |
| 3 |
|
| 4 |
body, h1, h2, h3, div, span, p, pre, a { |
| 5 |
margin: 0; |
| 6 |
padding: 0; |
| 7 |
border: 0; |
| 8 |
font-weight: inherit; |
| 9 |
font-style: inherit; |
| 10 |
font-size: 100%; |
| 11 |
font-family: inherit; |
| 12 |
vertical-align: baseline; |
| 13 |
} |
| 14 |
|
| 15 |
body { |
| 16 |
font-size: 13px; |
| 17 |
padding: 1em; |
| 18 |
} |
| 19 |
|
| 20 |
h1 { |
| 21 |
font-size: 26px; |
| 22 |
margin-bottom: 1em; |
| 23 |
} |
| 24 |
|
| 25 |
h2 { |
| 26 |
font-size: 24px; |
| 27 |
margin-bottom: 1em; |
| 28 |
} |
| 29 |
|
| 30 |
h3 { |
| 31 |
font-size: 20px; |
| 32 |
margin-bottom: 1em; |
| 33 |
margin-top: 1em; |
| 34 |
} |
| 35 |
|
| 36 |
pre, code { |
| 37 |
line-height: 1.5; |
| 38 |
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 |
} |
| 40 |
|
| 41 |
pre { |
| 42 |
margin-top: 0.5em; |
| 43 |
} |
| 44 |
|
| 45 |
h1, h2, h3, p { |
| 46 |
font-family: Arial, sans serif; |
| 47 |
} |
| 48 |
|
| 49 |
h1, h2, h3 { |
| 50 |
border-bottom: solid #CCC 1px; |
| 51 |
} |
| 52 |
|
| 53 |
.toc_element { |
| 54 |
margin-top: 0.5em; |
| 55 |
} |
| 56 |
|
| 57 |
.firstline { |
| 58 |
margin-left: 2 em; |
| 59 |
} |
| 60 |
|
| 61 |
.method { |
| 62 |
margin-top: 1em; |
| 63 |
border: solid 1px #CCC; |
| 64 |
padding: 1em; |
| 65 |
background: #EEE; |
| 66 |
} |
| 67 |
|
| 68 |
.details { |
| 69 |
font-weight: bold; |
| 70 |
font-size: 14px; |
| 71 |
} |
| 72 |
|
| 73 |
</style> |
| 74 |
|
| 75 |
<h1><a href="compute_alpha.html">Compute Engine API</a> . <a href="compute_alpha.imageViews.html">imageViews</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="#close">close()</a></code></p> |
| 79 |
<p class="firstline">Close httplib2 connections.</p> |
| 80 |
<p class="toc_element"> |
| 81 |
<code><a href="#get">get(project, region, resourceId, x__xgafv=None)</a></code></p> |
| 82 |
<p class="firstline">Returns the specified global ImageView resource, with a regional</p> |
| 83 |
<p class="toc_element"> |
| 84 |
<code><a href="#list">list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p> |
| 85 |
<p class="firstline">Returns a list of global ImageView resources, with a regional</p> |
| 86 |
<p class="toc_element"> |
| 87 |
<code><a href="#list_next">list_next()</a></code></p> |
| 88 |
<p class="firstline">Retrieves the next page of results.</p> |
| 89 |
<h3>Method Details</h3> |
| 90 |
<div class="method"> |
| 91 |
<code class="details" id="close">close()</code> |
| 92 |
<pre>Close httplib2 connections.</pre> |
| 93 |
</div> |
| 94 |
|
| 95 |
<div class="method"> |
| 96 |
<code class="details" id="get">get(project, region, resourceId, x__xgafv=None)</code> |
| 97 |
<pre>Returns the specified global ImageView resource, with a regional |
| 98 |
context. |
| 99 |
|
| 100 |
Args: |
| 101 |
project: string, Required. Project ID for this request. (required) |
| 102 |
region: string, Required. Name of the region for this request. (required) |
| 103 |
resourceId: string, Name of the image resource to return. (required) |
| 104 |
x__xgafv: string, V1 error format. |
| 105 |
Allowed values |
| 106 |
1 - v1 error format |
| 107 |
2 - v2 error format |
| 108 |
|
| 109 |
Returns: |
| 110 |
An object of the form: |
| 111 |
|
| 112 |
{ # Represents a read-only view of a global Image resource. |
| 113 |
"image": { # Represents an Image resource. |
| 114 |
# |
| 115 |
# You can use images to create boot disks for your VM instances. |
| 116 |
# For more information, read Images. |
| 117 |
"architecture": "A String", # The architecture of the image. Valid values are |
| 118 |
# ARM64 or X86_64. |
| 119 |
"archiveSizeBytes": "A String", # Size of the image tar.gz archive stored in Google Cloud |
| 120 |
# Storage (in bytes). |
| 121 |
"creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 |
| 122 |
# text format. |
| 123 |
"deprecated": { # Deprecation status for a public resource. # Output only. The deprecation status associated with this image. |
| 124 |
"deleted": "A String", # An optional RFC3339 timestamp on or after which the state of this |
| 125 |
# resource is intended to change to DELETED. This is only |
| 126 |
# informational and the status will not change unless the client explicitly |
| 127 |
# changes it. |
| 128 |
"deprecated": "A String", # An optional RFC3339 timestamp on or after which the state of this |
| 129 |
# resource is intended to change to DEPRECATED. This is only |
| 130 |
# informational and the status will not change unless the client explicitly |
| 131 |
# changes it. |
| 132 |
"obsolete": "A String", # An optional RFC3339 timestamp on or after which the state of this |
| 133 |
# resource is intended to change to OBSOLETE. This is only |
| 134 |
# informational and the status will not change unless the client explicitly |
| 135 |
# changes it. |
| 136 |
"replacement": "A String", # The URL of the suggested replacement for a deprecated resource. |
| 137 |
# The suggested replacement resource must be the same kind of resource as the |
| 138 |
# deprecated resource. |
| 139 |
"state": "A String", # The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED. |
| 140 |
# Operations which communicate the end of life date for an image, can useACTIVE. Operations which create a new resource using aDEPRECATED resource will return successfully, but with a |
| 141 |
# warning indicating the deprecated resource and recommending its |
| 142 |
# replacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error. |
| 143 |
"stateOverride": { # A rollout policy configuration. # The rollout policy for this deprecation. This policy is only enforced by |
| 144 |
# image family views. The rollout policy restricts the zones where the |
| 145 |
# associated resource is considered in a deprecated state. When the rollout |
| 146 |
# policy does not include the user specified zone, or if the zone is rolled |
| 147 |
# out, the associated resource is considered in a deprecated state. |
| 148 |
# |
| 149 |
# The rollout policy for this deprecation is read-only, except for |
| 150 |
# allowlisted users. This field might not be configured. To view the latest |
| 151 |
# non-deprecated image in a specific zone, use theimageFamilyViews.get method. |
| 152 |
"defaultRolloutTime": "A String", # An optional RFC3339 timestamp on or after which the update is |
| 153 |
# considered rolled out to any zone that is not explicitly stated. |
| 154 |
"locationRolloutPolicies": { # Location based rollout policies to apply to the resource. |
| 155 |
# |
| 156 |
# Currently only zone names are supported and must be represented |
| 157 |
# as valid URLs, like: zones/us-central1-a. |
| 158 |
# |
| 159 |
# The value expects an RFC3339 timestamp on or after which the update is |
| 160 |
# considered rolled out to the specified location. |
| 161 |
"a_key": "A String", |
| 162 |
}, |
| 163 |
}, |
| 164 |
}, |
| 165 |
"description": "A String", # An optional description of this resource. Provide this property when you |
| 166 |
# create the resource. |
| 167 |
"diskSizeGb": "A String", # Size of the image when restored onto a persistent disk (in GB). |
| 168 |
"enableConfidentialCompute": True or False, # Output only. Whether this image is created from a confidential compute mode disk. |
| 169 |
# [Output Only]: This field is not set by user, but from source disk. |
| 170 |
"family": "A String", # The name of the image family to which this image belongs. The image |
| 171 |
# family name can be from a publicly managed image family provided by |
| 172 |
# Compute Engine, or from a custom image family you create. For example,centos-stream-9 is a publicly available image family. |
| 173 |
# For more information, see Image |
| 174 |
# family best practices. |
| 175 |
# |
| 176 |
# When creating disks, you can specify an image family instead of a specific |
| 177 |
# image name. The image family always returns its latest image that is not |
| 178 |
# deprecated. The name of the image family must comply with RFC1035. |
| 179 |
"guestOsFeatures": [ # A list of features to enable on the guest operating system. Applicable |
| 180 |
# only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter. |
| 181 |
{ # Guest OS features. |
| 182 |
"type": "A String", # The ID of a supported feature. To add multiple values, use commas to |
| 183 |
# separate values. Set to one or more of the following values: |
| 184 |
# |
| 185 |
# - VIRTIO_SCSI_MULTIQUEUE |
| 186 |
# - WINDOWS |
| 187 |
# - MULTI_IP_SUBNET |
| 188 |
# - UEFI_COMPATIBLE |
| 189 |
# - GVNIC |
| 190 |
# - SEV_CAPABLE |
| 191 |
# - SUSPEND_RESUME_COMPATIBLE |
| 192 |
# - SEV_LIVE_MIGRATABLE_V2 |
| 193 |
# - SEV_SNP_CAPABLE |
| 194 |
# - TDX_CAPABLE |
| 195 |
# - IDPF |
| 196 |
# - SNP_SVSM_CAPABLE |
| 197 |
# - CCA_CAPABLE |
| 198 |
# |
| 199 |
# |
| 200 |
# For more information, see |
| 201 |
# Enabling guest operating system features. |
| 202 |
}, |
| 203 |
], |
| 204 |
"id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is |
| 205 |
# defined by the server. |
| 206 |
"imageEncryptionKey": { # Encrypts the image using acustomer-supplied |
| 207 |
# encryption key. |
| 208 |
# |
| 209 |
# After you encrypt an image with a customer-supplied key, you must provide |
| 210 |
# the same key if you use the image later (e.g. to create a disk from |
| 211 |
# the image). |
| 212 |
# |
| 213 |
# Customer-supplied encryption keys do not protect access to metadata |
| 214 |
# of the disk. |
| 215 |
# |
| 216 |
# If you do not provide an encryption key when creating the image, then the |
| 217 |
# disk will be encrypted using an automatically generated key and you do not |
| 218 |
# need to provide a key to use the image later. |
| 219 |
"kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. |
| 220 |
# For example: |
| 221 |
# |
| 222 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 223 |
# key_region/cryptoKeys/key |
| 224 |
# |
| 225 |
# The fully-qualifed key name may be returned for resource GET requests. For |
| 226 |
# example: |
| 227 |
# |
| 228 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 229 |
# key_region/cryptoKeys/key |
| 230 |
# /cryptoKeyVersions/1 |
| 231 |
"kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS |
| 232 |
# key. If absent, the Compute Engine default service account is used. |
| 233 |
# For example: |
| 234 |
# |
| 235 |
# "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ |
| 236 |
"rawKey": "A String", # Specifies a 256-bit customer-supplied |
| 237 |
# encryption key, encoded in RFC |
| 238 |
# 4648 base64 to either encrypt or decrypt this resource. You can |
| 239 |
# provide either the rawKey or thersaEncryptedKey. |
| 240 |
# For example: |
| 241 |
# |
| 242 |
# "rawKey": |
| 243 |
# "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" |
| 244 |
"rsaEncryptedKey": "A String", # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit |
| 245 |
# customer-supplied encryption key to either encrypt or decrypt this |
| 246 |
# resource. You can provide either the rawKey or thersaEncryptedKey. |
| 247 |
# For example: |
| 248 |
# |
| 249 |
# "rsaEncryptedKey": |
| 250 |
# "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH |
| 251 |
# z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD |
| 252 |
# D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" |
| 253 |
# |
| 254 |
# The key must meet the following requirements before you can provide it to |
| 255 |
# Compute Engine: |
| 256 |
# |
| 257 |
# 1. The key is wrapped using a RSA public key certificate provided by |
| 258 |
# Google. |
| 259 |
# 2. After being wrapped, the key must be encoded in RFC 4648 base64 |
| 260 |
# encoding. |
| 261 |
# |
| 262 |
# Gets the RSA public key certificate provided by Google at: |
| 263 |
# |
| 264 |
# |
| 265 |
# https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem |
| 266 |
"sha256": "A String", # [Output only] TheRFC |
| 267 |
# 4648 base64 encoded SHA-256 hash of the customer-supplied |
| 268 |
# encryption key that protects this resource. |
| 269 |
}, |
| 270 |
"kind": "compute#image", # Output only. [Output Only] Type of the resource. Always compute#image for |
| 271 |
# images. |
| 272 |
"labelFingerprint": "A String", # A fingerprint for the labels being applied to this image, which is |
| 273 |
# essentially a hash of the labels used for optimistic locking. The |
| 274 |
# fingerprint is initially generated by Compute Engine and changes after |
| 275 |
# every request to modify or update labels. You must always provide an |
| 276 |
# up-to-date fingerprint hash in order to update or change labels, |
| 277 |
# otherwise the request will fail with error412 conditionNotMet. |
| 278 |
# |
| 279 |
# To see the latest fingerprint, make a get() request to |
| 280 |
# retrieve an image. |
| 281 |
"labels": { # Labels to apply to this image. These can be later modified by |
| 282 |
# the setLabels method. |
| 283 |
"a_key": "A String", |
| 284 |
}, |
| 285 |
"licenseCodes": [ # Integer license codes indicating which licenses are attached to this image. |
| 286 |
"A String", |
| 287 |
], |
| 288 |
"licenses": [ # Any applicable license URI. |
| 289 |
"A String", |
| 290 |
], |
| 291 |
"locked": True or False, # A flag for marketplace VM disk created from the image, which is designed |
| 292 |
# for marketplace VM disk to prevent the proprietary data on the disk from |
| 293 |
# being accessed unwantedly. The flag will be inherited by the disk created |
| 294 |
# from the image. |
| 295 |
# |
| 296 |
# The disk with locked flag set to true will be prohibited from performing |
| 297 |
# the operations below: |
| 298 |
# |
| 299 |
# - R/W or R/O disk attach |
| 300 |
# - Disk detach, if disk is created via create-on-create |
| 301 |
# - Create images |
| 302 |
# - Create snapshots |
| 303 |
# - Create disk clone (create disk from the current disk) |
| 304 |
# |
| 305 |
# |
| 306 |
# |
| 307 |
# The image with the locked field set to true will be prohibited from |
| 308 |
# performing the operations below: |
| 309 |
# |
| 310 |
# - Create images from the current image |
| 311 |
# - Update the locked field for the current image |
| 312 |
# |
| 313 |
# |
| 314 |
# |
| 315 |
# The instance with at least one disk with locked flag set to true will be |
| 316 |
# prohibited from performing the operations below: |
| 317 |
# |
| 318 |
# - Secondary disk attach |
| 319 |
# - Create instant snapshot |
| 320 |
# - Create machine images |
| 321 |
# - Create instance template |
| 322 |
# - Delete the instance with --keep-disk parameter set to true |
| 323 |
"name": "A String", # Name of the resource; provided by the client when the resource is created. |
| 324 |
# The name must be 1-63 characters long, and comply withRFC1035. |
| 325 |
# Specifically, the name must be 1-63 characters long and match the regular |
| 326 |
# expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first |
| 327 |
# character must be a lowercase letter, and all following characters must be |
| 328 |
# a dash, lowercase letter, or digit, except the last character, which cannot |
| 329 |
# be a dash. |
| 330 |
"params": { # Additional image params. # Input only. [Input Only] Additional params passed with the request, but not persisted |
| 331 |
# as part of resource payload. |
| 332 |
"resourceManagerTags": { # Input only. Resource manager tags to be bound to the image. Tag keys and values have |
| 333 |
# the same definition as resource |
| 334 |
# manager tags. Keys and values can be either in numeric format, |
| 335 |
# such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in |
| 336 |
# namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and |
| 337 |
# `{tag_value_short_name}`. The field is ignored (both PUT & |
| 338 |
# PATCH) when empty. |
| 339 |
"a_key": "A String", |
| 340 |
}, |
| 341 |
}, |
| 342 |
"rawDisk": { # The parameters of the raw disk image. |
| 343 |
"containerType": "A String", # The format used to encode and transmit the block device, which should beTAR. This is just a container and transmission format and not |
| 344 |
# a runtime format. Provided by the client when the disk image is created. |
| 345 |
"sha1Checksum": "A String", # [Deprecated] This field is deprecated. |
| 346 |
# An optional SHA1 checksum of the disk image before unpackaging provided |
| 347 |
# by the client when the disk image is created. |
| 348 |
"source": "A String", # The full Google Cloud Storage URL or Artifact Registry path where the raw |
| 349 |
# disk image archive is stored. |
| 350 |
# The following are valid formats: |
| 351 |
# |
| 352 |
# - https://storage.googleapis.com/bucket_name/image_archive_name |
| 353 |
# - https://storage.googleapis.com/bucket_name/folder_name/image_archive_name |
| 354 |
# - projects/project/locations/location/repositories/repo/packages/package/versions/version_id |
| 355 |
# - projects/project/locations/location/repositories/repo/packages/package/versions/version_id@dirsum_sha256:hex_value |
| 356 |
# |
| 357 |
# |
| 358 |
# |
| 359 |
# In order to create an image, you must provide the full or partial URL of |
| 360 |
# one of the following: |
| 361 |
# |
| 362 |
# - The rawDisk.source URL |
| 363 |
# - The sourceDisk URL |
| 364 |
# - The sourceImage URL |
| 365 |
# - The sourceSnapshot URL |
| 366 |
}, |
| 367 |
"rolloutOverride": { # A rollout policy configuration. # A rollout policy to apply to this image. When specified, the rollout policy |
| 368 |
# overrides per-zone references to the image via the associated image family. |
| 369 |
# The rollout policy restricts the zones where this image is accessible when |
| 370 |
# using a zonal image family reference. When the rollout policy does not |
| 371 |
# include the user specified zone, or if the zone is rolled out, this image |
| 372 |
# is accessible. |
| 373 |
# |
| 374 |
# The rollout policy for this image is read-only, except for allowlisted |
| 375 |
# users. This field might not be configured. To view the latest |
| 376 |
# non-deprecated image in a specific zone, use theimageFamilyViews.get method. |
| 377 |
"defaultRolloutTime": "A String", # An optional RFC3339 timestamp on or after which the update is |
| 378 |
# considered rolled out to any zone that is not explicitly stated. |
| 379 |
"locationRolloutPolicies": { # Location based rollout policies to apply to the resource. |
| 380 |
# |
| 381 |
# Currently only zone names are supported and must be represented |
| 382 |
# as valid URLs, like: zones/us-central1-a. |
| 383 |
# |
| 384 |
# The value expects an RFC3339 timestamp on or after which the update is |
| 385 |
# considered rolled out to the specified location. |
| 386 |
"a_key": "A String", |
| 387 |
}, |
| 388 |
}, |
| 389 |
"satisfiesPzi": True or False, # Output only. Reserved for future use. |
| 390 |
"satisfiesPzs": True or False, # Output only. [Output Only] Reserved for future use. |
| 391 |
"selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. |
| 392 |
"selfLinkWithId": "A String", # Output only. [Output Only] Server-defined URL for this resource's resource id. |
| 393 |
"shieldedInstanceInitialState": { # Initial State for shielded instance, # Set the secure boot keys of shielded instance. |
| 394 |
# these are public keys which are safe to store in public |
| 395 |
"dbs": [ # The Key Database (db). |
| 396 |
{ |
| 397 |
"content": "A String", # The raw content in the secure keys file. |
| 398 |
"fileType": "A String", # The file type of source file. |
| 399 |
}, |
| 400 |
], |
| 401 |
"dbxs": [ # The forbidden key database (dbx). |
| 402 |
{ |
| 403 |
"content": "A String", # The raw content in the secure keys file. |
| 404 |
"fileType": "A String", # The file type of source file. |
| 405 |
}, |
| 406 |
], |
| 407 |
"keks": [ # The Key Exchange Key (KEK). |
| 408 |
{ |
| 409 |
"content": "A String", # The raw content in the secure keys file. |
| 410 |
"fileType": "A String", # The file type of source file. |
| 411 |
}, |
| 412 |
], |
| 413 |
"pk": { # The Platform Key (PK). |
| 414 |
"content": "A String", # The raw content in the secure keys file. |
| 415 |
"fileType": "A String", # The file type of source file. |
| 416 |
}, |
| 417 |
}, |
| 418 |
"sourceDisk": "A String", # URL of the source disk used to create this image. |
| 419 |
# For example, the following are valid values: |
| 420 |
# |
| 421 |
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk |
| 422 |
# - projects/project/zones/zone/disks/disk |
| 423 |
# - zones/zone/disks/disk |
| 424 |
# |
| 425 |
# |
| 426 |
# |
| 427 |
# In order to create an image, you must provide the full or partial URL of |
| 428 |
# one of the following: |
| 429 |
# |
| 430 |
# - The rawDisk.source URL |
| 431 |
# - The sourceDisk URL |
| 432 |
# - The sourceImage URL |
| 433 |
# - The sourceSnapshot URL |
| 434 |
"sourceDiskEncryptionKey": { # Thecustomer-supplied |
| 435 |
# encryption key of the source disk. Required if the source disk is |
| 436 |
# protected by a customer-supplied encryption key. |
| 437 |
"kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. |
| 438 |
# For example: |
| 439 |
# |
| 440 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 441 |
# key_region/cryptoKeys/key |
| 442 |
# |
| 443 |
# The fully-qualifed key name may be returned for resource GET requests. For |
| 444 |
# example: |
| 445 |
# |
| 446 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 447 |
# key_region/cryptoKeys/key |
| 448 |
# /cryptoKeyVersions/1 |
| 449 |
"kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS |
| 450 |
# key. If absent, the Compute Engine default service account is used. |
| 451 |
# For example: |
| 452 |
# |
| 453 |
# "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ |
| 454 |
"rawKey": "A String", # Specifies a 256-bit customer-supplied |
| 455 |
# encryption key, encoded in RFC |
| 456 |
# 4648 base64 to either encrypt or decrypt this resource. You can |
| 457 |
# provide either the rawKey or thersaEncryptedKey. |
| 458 |
# For example: |
| 459 |
# |
| 460 |
# "rawKey": |
| 461 |
# "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" |
| 462 |
"rsaEncryptedKey": "A String", # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit |
| 463 |
# customer-supplied encryption key to either encrypt or decrypt this |
| 464 |
# resource. You can provide either the rawKey or thersaEncryptedKey. |
| 465 |
# For example: |
| 466 |
# |
| 467 |
# "rsaEncryptedKey": |
| 468 |
# "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH |
| 469 |
# z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD |
| 470 |
# D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" |
| 471 |
# |
| 472 |
# The key must meet the following requirements before you can provide it to |
| 473 |
# Compute Engine: |
| 474 |
# |
| 475 |
# 1. The key is wrapped using a RSA public key certificate provided by |
| 476 |
# Google. |
| 477 |
# 2. After being wrapped, the key must be encoded in RFC 4648 base64 |
| 478 |
# encoding. |
| 479 |
# |
| 480 |
# Gets the RSA public key certificate provided by Google at: |
| 481 |
# |
| 482 |
# |
| 483 |
# https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem |
| 484 |
"sha256": "A String", # [Output only] TheRFC |
| 485 |
# 4648 base64 encoded SHA-256 hash of the customer-supplied |
| 486 |
# encryption key that protects this resource. |
| 487 |
}, |
| 488 |
"sourceDiskId": "A String", # Output only. [Output Only] |
| 489 |
# The ID value of the disk used to create this image. This value may be used |
| 490 |
# to determine whether the image was taken from the current or a previous |
| 491 |
# instance of a given disk name. |
| 492 |
"sourceImage": "A String", # URL of the source image used to create this image. |
| 493 |
# The following are valid formats for the URL: |
| 494 |
# |
| 495 |
# - https://www.googleapis.com/compute/v1/projects/project_id/global/ |
| 496 |
# images/image_name |
| 497 |
# - projects/project_id/global/images/image_name |
| 498 |
# |
| 499 |
# |
| 500 |
# |
| 501 |
# In order to create an image, you must provide the full or partial URL of |
| 502 |
# one of the following: |
| 503 |
# |
| 504 |
# - The rawDisk.source URL |
| 505 |
# - The sourceDisk URL |
| 506 |
# - The sourceImage URL |
| 507 |
# - The sourceSnapshot URL |
| 508 |
"sourceImageEncryptionKey": { # The customer-supplied encryption key of the source image. Required if the |
| 509 |
# source image is protected by a customer-supplied encryption key. |
| 510 |
"kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. |
| 511 |
# For example: |
| 512 |
# |
| 513 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 514 |
# key_region/cryptoKeys/key |
| 515 |
# |
| 516 |
# The fully-qualifed key name may be returned for resource GET requests. For |
| 517 |
# example: |
| 518 |
# |
| 519 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 520 |
# key_region/cryptoKeys/key |
| 521 |
# /cryptoKeyVersions/1 |
| 522 |
"kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS |
| 523 |
# key. If absent, the Compute Engine default service account is used. |
| 524 |
# For example: |
| 525 |
# |
| 526 |
# "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ |
| 527 |
"rawKey": "A String", # Specifies a 256-bit customer-supplied |
| 528 |
# encryption key, encoded in RFC |
| 529 |
# 4648 base64 to either encrypt or decrypt this resource. You can |
| 530 |
# provide either the rawKey or thersaEncryptedKey. |
| 531 |
# For example: |
| 532 |
# |
| 533 |
# "rawKey": |
| 534 |
# "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" |
| 535 |
"rsaEncryptedKey": "A String", # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit |
| 536 |
# customer-supplied encryption key to either encrypt or decrypt this |
| 537 |
# resource. You can provide either the rawKey or thersaEncryptedKey. |
| 538 |
# For example: |
| 539 |
# |
| 540 |
# "rsaEncryptedKey": |
| 541 |
# "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH |
| 542 |
# z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD |
| 543 |
# D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" |
| 544 |
# |
| 545 |
# The key must meet the following requirements before you can provide it to |
| 546 |
# Compute Engine: |
| 547 |
# |
| 548 |
# 1. The key is wrapped using a RSA public key certificate provided by |
| 549 |
# Google. |
| 550 |
# 2. After being wrapped, the key must be encoded in RFC 4648 base64 |
| 551 |
# encoding. |
| 552 |
# |
| 553 |
# Gets the RSA public key certificate provided by Google at: |
| 554 |
# |
| 555 |
# |
| 556 |
# https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem |
| 557 |
"sha256": "A String", # [Output only] TheRFC |
| 558 |
# 4648 base64 encoded SHA-256 hash of the customer-supplied |
| 559 |
# encryption key that protects this resource. |
| 560 |
}, |
| 561 |
"sourceImageId": "A String", # Output only. [Output Only] |
| 562 |
# The ID value of the image used to create this image. This value may be used |
| 563 |
# to determine whether the image was taken from the current or a previous |
| 564 |
# instance of a given image name. |
| 565 |
"sourceSnapshot": "A String", # URL of the source snapshot used to create this image. |
| 566 |
# The following are valid formats for the URL: |
| 567 |
# |
| 568 |
# - https://www.googleapis.com/compute/v1/projects/project_id/global/ |
| 569 |
# snapshots/snapshot_name |
| 570 |
# - projects/project_id/global/snapshots/snapshot_name |
| 571 |
# |
| 572 |
# |
| 573 |
# |
| 574 |
# In order to create an image, you must provide the full or partial URL of |
| 575 |
# one of the following: |
| 576 |
# |
| 577 |
# - The rawDisk.source URL |
| 578 |
# - The sourceDisk URL |
| 579 |
# - The sourceImage URL |
| 580 |
# - The sourceSnapshot URL |
| 581 |
"sourceSnapshotEncryptionKey": { # The customer-supplied encryption key of the source snapshot. Required if |
| 582 |
# the source snapshot is protected by a customer-supplied encryption key. |
| 583 |
"kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. |
| 584 |
# For example: |
| 585 |
# |
| 586 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 587 |
# key_region/cryptoKeys/key |
| 588 |
# |
| 589 |
# The fully-qualifed key name may be returned for resource GET requests. For |
| 590 |
# example: |
| 591 |
# |
| 592 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 593 |
# key_region/cryptoKeys/key |
| 594 |
# /cryptoKeyVersions/1 |
| 595 |
"kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS |
| 596 |
# key. If absent, the Compute Engine default service account is used. |
| 597 |
# For example: |
| 598 |
# |
| 599 |
# "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ |
| 600 |
"rawKey": "A String", # Specifies a 256-bit customer-supplied |
| 601 |
# encryption key, encoded in RFC |
| 602 |
# 4648 base64 to either encrypt or decrypt this resource. You can |
| 603 |
# provide either the rawKey or thersaEncryptedKey. |
| 604 |
# For example: |
| 605 |
# |
| 606 |
# "rawKey": |
| 607 |
# "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" |
| 608 |
"rsaEncryptedKey": "A String", # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit |
| 609 |
# customer-supplied encryption key to either encrypt or decrypt this |
| 610 |
# resource. You can provide either the rawKey or thersaEncryptedKey. |
| 611 |
# For example: |
| 612 |
# |
| 613 |
# "rsaEncryptedKey": |
| 614 |
# "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH |
| 615 |
# z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD |
| 616 |
# D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" |
| 617 |
# |
| 618 |
# The key must meet the following requirements before you can provide it to |
| 619 |
# Compute Engine: |
| 620 |
# |
| 621 |
# 1. The key is wrapped using a RSA public key certificate provided by |
| 622 |
# Google. |
| 623 |
# 2. After being wrapped, the key must be encoded in RFC 4648 base64 |
| 624 |
# encoding. |
| 625 |
# |
| 626 |
# Gets the RSA public key certificate provided by Google at: |
| 627 |
# |
| 628 |
# |
| 629 |
# https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem |
| 630 |
"sha256": "A String", # [Output only] TheRFC |
| 631 |
# 4648 base64 encoded SHA-256 hash of the customer-supplied |
| 632 |
# encryption key that protects this resource. |
| 633 |
}, |
| 634 |
"sourceSnapshotId": "A String", # Output only. [Output Only] |
| 635 |
# The ID value of the snapshot used to create this image. This value may be |
| 636 |
# used to determine whether the snapshot was taken from the current or a |
| 637 |
# previous instance of a given snapshot name. |
| 638 |
"sourceType": "RAW", # The type of the image used to create this disk. The |
| 639 |
# default and only valid value is RAW. |
| 640 |
"status": "A String", # Output only. [Output Only] The status of the image. An image can be used to create other |
| 641 |
# resources, such as instances, only after the image has been successfully |
| 642 |
# created and the status is set to READY. Possible |
| 643 |
# values are FAILED, PENDING, orREADY. |
| 644 |
"storageLocations": [ # Cloud Storage bucket storage location of the image (regional or |
| 645 |
# multi-regional). |
| 646 |
"A String", |
| 647 |
], |
| 648 |
}, |
| 649 |
}</pre> |
| 650 |
</div> |
| 651 |
|
| 652 |
<div class="method"> |
| 653 |
<code class="details" id="list">list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code> |
| 654 |
<pre>Returns a list of global ImageView resources, with a regional |
| 655 |
context. |
| 656 |
|
| 657 |
Args: |
| 658 |
project: string, Required. Project ID for this request. (required) |
| 659 |
region: string, Required. Name of the region for this request. (required) |
| 660 |
filter: string, A filter expression that filters resources listed in the response. Most |
| 661 |
Compute resources support two types of filter expressions: |
| 662 |
expressions that support regular expressions and expressions that follow |
| 663 |
API improvement proposal AIP-160. |
| 664 |
These two types of filter expressions cannot be mixed in one request. |
| 665 |
|
| 666 |
If you want to use AIP-160, your expression must specify the field name, an |
| 667 |
operator, and the value that you want to use for filtering. The value |
| 668 |
must be a string, a number, or a boolean. The operator |
| 669 |
must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. |
| 670 |
|
| 671 |
For example, if you are filtering Compute Engine instances, you can |
| 672 |
exclude instances named `example-instance` by specifying |
| 673 |
`name != example-instance`. |
| 674 |
|
| 675 |
The `:*` comparison can be used to test whether a key has been defined. |
| 676 |
For example, to find all objects with `owner` label use: |
| 677 |
``` |
| 678 |
labels.owner:* |
| 679 |
``` |
| 680 |
|
| 681 |
You can also filter nested fields. For example, you could specify |
| 682 |
`scheduling.automaticRestart = false` to include instances only |
| 683 |
if they are not scheduled for automatic restarts. You can use filtering |
| 684 |
on nested fields to filter based onresource labels. |
| 685 |
|
| 686 |
To filter on multiple expressions, provide each separate expression within |
| 687 |
parentheses. For example: |
| 688 |
``` |
| 689 |
(scheduling.automaticRestart = true) |
| 690 |
(cpuPlatform = "Intel Skylake") |
| 691 |
``` |
| 692 |
By default, each expression is an `AND` expression. However, you |
| 693 |
can include `AND` and `OR` expressions explicitly. |
| 694 |
For example: |
| 695 |
``` |
| 696 |
(cpuPlatform = "Intel Skylake") OR |
| 697 |
(cpuPlatform = "Intel Broadwell") AND |
| 698 |
(scheduling.automaticRestart = true) |
| 699 |
``` |
| 700 |
|
| 701 |
If you want to use a regular expression, use the `eq` (equal) or `ne` |
| 702 |
(not equal) operator against a single un-parenthesized expression with or |
| 703 |
without quotes or against multiple parenthesized expressions. Examples: |
| 704 |
|
| 705 |
`fieldname eq unquoted literal` |
| 706 |
`fieldname eq 'single quoted literal'` |
| 707 |
`fieldname eq "double quoted literal"` |
| 708 |
`(fieldname1 eq literal) (fieldname2 ne "literal")` |
| 709 |
|
| 710 |
The literal value is interpreted as a regular expression using GoogleRE2 library syntax. |
| 711 |
The literal value must match the entire field. |
| 712 |
|
| 713 |
For example, to filter for instances that do not end with name "instance", |
| 714 |
you would use `name ne .*instance`. |
| 715 |
|
| 716 |
You cannot combine constraints on multiple fields using regular |
| 717 |
expressions. |
| 718 |
maxResults: integer, The maximum number of results per page that should be returned. |
| 719 |
If the number of available results is larger than `maxResults`, |
| 720 |
Compute Engine returns a `nextPageToken` that can be used to get |
| 721 |
the next page of results in subsequent list requests. Acceptable values are |
| 722 |
`0` to `500`, inclusive. (Default: `500`) |
| 723 |
orderBy: string, Sorts list results by a certain order. By default, results |
| 724 |
are returned in alphanumerical order based on the resource name. |
| 725 |
|
| 726 |
You can also sort results in descending order based on the creation |
| 727 |
timestamp using `orderBy="creationTimestamp desc"`. This sorts |
| 728 |
results based on the `creationTimestamp` field in |
| 729 |
reverse chronological order (newest result first). Use this to sort |
| 730 |
resources like operations so that the newest operation is returned first. |
| 731 |
|
| 732 |
Currently, only sorting by `name` or |
| 733 |
`creationTimestamp desc` is supported. |
| 734 |
pageToken: string, Specifies a page token to use. Set `pageToken` to the |
| 735 |
`nextPageToken` returned by a previous list request to get |
| 736 |
the next page of results. |
| 737 |
returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case |
| 738 |
of failure. The default value is false. |
| 739 |
|
| 740 |
For example, when partial success behavior is enabled, aggregatedList for a |
| 741 |
single zone scope either returns all resources in the zone or no resources, |
| 742 |
with an error code. |
| 743 |
x__xgafv: string, V1 error format. |
| 744 |
Allowed values |
| 745 |
1 - v1 error format |
| 746 |
2 - v2 error format |
| 747 |
|
| 748 |
Returns: |
| 749 |
An object of the form: |
| 750 |
|
| 751 |
{ # Response message for ImageViewsService.List |
| 752 |
"etag": "A String", |
| 753 |
"id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. |
| 754 |
"items": [ # A list of Image resources. |
| 755 |
{ # Represents a read-only view of a global Image resource. |
| 756 |
"image": { # Represents an Image resource. |
| 757 |
# |
| 758 |
# You can use images to create boot disks for your VM instances. |
| 759 |
# For more information, read Images. |
| 760 |
"architecture": "A String", # The architecture of the image. Valid values are |
| 761 |
# ARM64 or X86_64. |
| 762 |
"archiveSizeBytes": "A String", # Size of the image tar.gz archive stored in Google Cloud |
| 763 |
# Storage (in bytes). |
| 764 |
"creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 |
| 765 |
# text format. |
| 766 |
"deprecated": { # Deprecation status for a public resource. # Output only. The deprecation status associated with this image. |
| 767 |
"deleted": "A String", # An optional RFC3339 timestamp on or after which the state of this |
| 768 |
# resource is intended to change to DELETED. This is only |
| 769 |
# informational and the status will not change unless the client explicitly |
| 770 |
# changes it. |
| 771 |
"deprecated": "A String", # An optional RFC3339 timestamp on or after which the state of this |
| 772 |
# resource is intended to change to DEPRECATED. This is only |
| 773 |
# informational and the status will not change unless the client explicitly |
| 774 |
# changes it. |
| 775 |
"obsolete": "A String", # An optional RFC3339 timestamp on or after which the state of this |
| 776 |
# resource is intended to change to OBSOLETE. This is only |
| 777 |
# informational and the status will not change unless the client explicitly |
| 778 |
# changes it. |
| 779 |
"replacement": "A String", # The URL of the suggested replacement for a deprecated resource. |
| 780 |
# The suggested replacement resource must be the same kind of resource as the |
| 781 |
# deprecated resource. |
| 782 |
"state": "A String", # The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED. |
| 783 |
# Operations which communicate the end of life date for an image, can useACTIVE. Operations which create a new resource using aDEPRECATED resource will return successfully, but with a |
| 784 |
# warning indicating the deprecated resource and recommending its |
| 785 |
# replacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error. |
| 786 |
"stateOverride": { # A rollout policy configuration. # The rollout policy for this deprecation. This policy is only enforced by |
| 787 |
# image family views. The rollout policy restricts the zones where the |
| 788 |
# associated resource is considered in a deprecated state. When the rollout |
| 789 |
# policy does not include the user specified zone, or if the zone is rolled |
| 790 |
# out, the associated resource is considered in a deprecated state. |
| 791 |
# |
| 792 |
# The rollout policy for this deprecation is read-only, except for |
| 793 |
# allowlisted users. This field might not be configured. To view the latest |
| 794 |
# non-deprecated image in a specific zone, use theimageFamilyViews.get method. |
| 795 |
"defaultRolloutTime": "A String", # An optional RFC3339 timestamp on or after which the update is |
| 796 |
# considered rolled out to any zone that is not explicitly stated. |
| 797 |
"locationRolloutPolicies": { # Location based rollout policies to apply to the resource. |
| 798 |
# |
| 799 |
# Currently only zone names are supported and must be represented |
| 800 |
# as valid URLs, like: zones/us-central1-a. |
| 801 |
# |
| 802 |
# The value expects an RFC3339 timestamp on or after which the update is |
| 803 |
# considered rolled out to the specified location. |
| 804 |
"a_key": "A String", |
| 805 |
}, |
| 806 |
}, |
| 807 |
}, |
| 808 |
"description": "A String", # An optional description of this resource. Provide this property when you |
| 809 |
# create the resource. |
| 810 |
"diskSizeGb": "A String", # Size of the image when restored onto a persistent disk (in GB). |
| 811 |
"enableConfidentialCompute": True or False, # Output only. Whether this image is created from a confidential compute mode disk. |
| 812 |
# [Output Only]: This field is not set by user, but from source disk. |
| 813 |
"family": "A String", # The name of the image family to which this image belongs. The image |
| 814 |
# family name can be from a publicly managed image family provided by |
| 815 |
# Compute Engine, or from a custom image family you create. For example,centos-stream-9 is a publicly available image family. |
| 816 |
# For more information, see Image |
| 817 |
# family best practices. |
| 818 |
# |
| 819 |
# When creating disks, you can specify an image family instead of a specific |
| 820 |
# image name. The image family always returns its latest image that is not |
| 821 |
# deprecated. The name of the image family must comply with RFC1035. |
| 822 |
"guestOsFeatures": [ # A list of features to enable on the guest operating system. Applicable |
| 823 |
# only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter. |
| 824 |
{ # Guest OS features. |
| 825 |
"type": "A String", # The ID of a supported feature. To add multiple values, use commas to |
| 826 |
# separate values. Set to one or more of the following values: |
| 827 |
# |
| 828 |
# - VIRTIO_SCSI_MULTIQUEUE |
| 829 |
# - WINDOWS |
| 830 |
# - MULTI_IP_SUBNET |
| 831 |
# - UEFI_COMPATIBLE |
| 832 |
# - GVNIC |
| 833 |
# - SEV_CAPABLE |
| 834 |
# - SUSPEND_RESUME_COMPATIBLE |
| 835 |
# - SEV_LIVE_MIGRATABLE_V2 |
| 836 |
# - SEV_SNP_CAPABLE |
| 837 |
# - TDX_CAPABLE |
| 838 |
# - IDPF |
| 839 |
# - SNP_SVSM_CAPABLE |
| 840 |
# - CCA_CAPABLE |
| 841 |
# |
| 842 |
# |
| 843 |
# For more information, see |
| 844 |
# Enabling guest operating system features. |
| 845 |
}, |
| 846 |
], |
| 847 |
"id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is |
| 848 |
# defined by the server. |
| 849 |
"imageEncryptionKey": { # Encrypts the image using acustomer-supplied |
| 850 |
# encryption key. |
| 851 |
# |
| 852 |
# After you encrypt an image with a customer-supplied key, you must provide |
| 853 |
# the same key if you use the image later (e.g. to create a disk from |
| 854 |
# the image). |
| 855 |
# |
| 856 |
# Customer-supplied encryption keys do not protect access to metadata |
| 857 |
# of the disk. |
| 858 |
# |
| 859 |
# If you do not provide an encryption key when creating the image, then the |
| 860 |
# disk will be encrypted using an automatically generated key and you do not |
| 861 |
# need to provide a key to use the image later. |
| 862 |
"kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. |
| 863 |
# For example: |
| 864 |
# |
| 865 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 866 |
# key_region/cryptoKeys/key |
| 867 |
# |
| 868 |
# The fully-qualifed key name may be returned for resource GET requests. For |
| 869 |
# example: |
| 870 |
# |
| 871 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 872 |
# key_region/cryptoKeys/key |
| 873 |
# /cryptoKeyVersions/1 |
| 874 |
"kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS |
| 875 |
# key. If absent, the Compute Engine default service account is used. |
| 876 |
# For example: |
| 877 |
# |
| 878 |
# "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ |
| 879 |
"rawKey": "A String", # Specifies a 256-bit customer-supplied |
| 880 |
# encryption key, encoded in RFC |
| 881 |
# 4648 base64 to either encrypt or decrypt this resource. You can |
| 882 |
# provide either the rawKey or thersaEncryptedKey. |
| 883 |
# For example: |
| 884 |
# |
| 885 |
# "rawKey": |
| 886 |
# "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" |
| 887 |
"rsaEncryptedKey": "A String", # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit |
| 888 |
# customer-supplied encryption key to either encrypt or decrypt this |
| 889 |
# resource. You can provide either the rawKey or thersaEncryptedKey. |
| 890 |
# For example: |
| 891 |
# |
| 892 |
# "rsaEncryptedKey": |
| 893 |
# "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH |
| 894 |
# z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD |
| 895 |
# D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" |
| 896 |
# |
| 897 |
# The key must meet the following requirements before you can provide it to |
| 898 |
# Compute Engine: |
| 899 |
# |
| 900 |
# 1. The key is wrapped using a RSA public key certificate provided by |
| 901 |
# Google. |
| 902 |
# 2. After being wrapped, the key must be encoded in RFC 4648 base64 |
| 903 |
# encoding. |
| 904 |
# |
| 905 |
# Gets the RSA public key certificate provided by Google at: |
| 906 |
# |
| 907 |
# |
| 908 |
# https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem |
| 909 |
"sha256": "A String", # [Output only] TheRFC |
| 910 |
# 4648 base64 encoded SHA-256 hash of the customer-supplied |
| 911 |
# encryption key that protects this resource. |
| 912 |
}, |
| 913 |
"kind": "compute#image", # Output only. [Output Only] Type of the resource. Always compute#image for |
| 914 |
# images. |
| 915 |
"labelFingerprint": "A String", # A fingerprint for the labels being applied to this image, which is |
| 916 |
# essentially a hash of the labels used for optimistic locking. The |
| 917 |
# fingerprint is initially generated by Compute Engine and changes after |
| 918 |
# every request to modify or update labels. You must always provide an |
| 919 |
# up-to-date fingerprint hash in order to update or change labels, |
| 920 |
# otherwise the request will fail with error412 conditionNotMet. |
| 921 |
# |
| 922 |
# To see the latest fingerprint, make a get() request to |
| 923 |
# retrieve an image. |
| 924 |
"labels": { # Labels to apply to this image. These can be later modified by |
| 925 |
# the setLabels method. |
| 926 |
"a_key": "A String", |
| 927 |
}, |
| 928 |
"licenseCodes": [ # Integer license codes indicating which licenses are attached to this image. |
| 929 |
"A String", |
| 930 |
], |
| 931 |
"licenses": [ # Any applicable license URI. |
| 932 |
"A String", |
| 933 |
], |
| 934 |
"locked": True or False, # A flag for marketplace VM disk created from the image, which is designed |
| 935 |
# for marketplace VM disk to prevent the proprietary data on the disk from |
| 936 |
# being accessed unwantedly. The flag will be inherited by the disk created |
| 937 |
# from the image. |
| 938 |
# |
| 939 |
# The disk with locked flag set to true will be prohibited from performing |
| 940 |
# the operations below: |
| 941 |
# |
| 942 |
# - R/W or R/O disk attach |
| 943 |
# - Disk detach, if disk is created via create-on-create |
| 944 |
# - Create images |
| 945 |
# - Create snapshots |
| 946 |
# - Create disk clone (create disk from the current disk) |
| 947 |
# |
| 948 |
# |
| 949 |
# |
| 950 |
# The image with the locked field set to true will be prohibited from |
| 951 |
# performing the operations below: |
| 952 |
# |
| 953 |
# - Create images from the current image |
| 954 |
# - Update the locked field for the current image |
| 955 |
# |
| 956 |
# |
| 957 |
# |
| 958 |
# The instance with at least one disk with locked flag set to true will be |
| 959 |
# prohibited from performing the operations below: |
| 960 |
# |
| 961 |
# - Secondary disk attach |
| 962 |
# - Create instant snapshot |
| 963 |
# - Create machine images |
| 964 |
# - Create instance template |
| 965 |
# - Delete the instance with --keep-disk parameter set to true |
| 966 |
"name": "A String", # Name of the resource; provided by the client when the resource is created. |
| 967 |
# The name must be 1-63 characters long, and comply withRFC1035. |
| 968 |
# Specifically, the name must be 1-63 characters long and match the regular |
| 969 |
# expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first |
| 970 |
# character must be a lowercase letter, and all following characters must be |
| 971 |
# a dash, lowercase letter, or digit, except the last character, which cannot |
| 972 |
# be a dash. |
| 973 |
"params": { # Additional image params. # Input only. [Input Only] Additional params passed with the request, but not persisted |
| 974 |
# as part of resource payload. |
| 975 |
"resourceManagerTags": { # Input only. Resource manager tags to be bound to the image. Tag keys and values have |
| 976 |
# the same definition as resource |
| 977 |
# manager tags. Keys and values can be either in numeric format, |
| 978 |
# such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in |
| 979 |
# namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and |
| 980 |
# `{tag_value_short_name}`. The field is ignored (both PUT & |
| 981 |
# PATCH) when empty. |
| 982 |
"a_key": "A String", |
| 983 |
}, |
| 984 |
}, |
| 985 |
"rawDisk": { # The parameters of the raw disk image. |
| 986 |
"containerType": "A String", # The format used to encode and transmit the block device, which should beTAR. This is just a container and transmission format and not |
| 987 |
# a runtime format. Provided by the client when the disk image is created. |
| 988 |
"sha1Checksum": "A String", # [Deprecated] This field is deprecated. |
| 989 |
# An optional SHA1 checksum of the disk image before unpackaging provided |
| 990 |
# by the client when the disk image is created. |
| 991 |
"source": "A String", # The full Google Cloud Storage URL or Artifact Registry path where the raw |
| 992 |
# disk image archive is stored. |
| 993 |
# The following are valid formats: |
| 994 |
# |
| 995 |
# - https://storage.googleapis.com/bucket_name/image_archive_name |
| 996 |
# - https://storage.googleapis.com/bucket_name/folder_name/image_archive_name |
| 997 |
# - projects/project/locations/location/repositories/repo/packages/package/versions/version_id |
| 998 |
# - projects/project/locations/location/repositories/repo/packages/package/versions/version_id@dirsum_sha256:hex_value |
| 999 |
# |
| 1000 |
# |
| 1001 |
# |
| 1002 |
# In order to create an image, you must provide the full or partial URL of |
| 1003 |
# one of the following: |
| 1004 |
# |
| 1005 |
# - The rawDisk.source URL |
| 1006 |
# - The sourceDisk URL |
| 1007 |
# - The sourceImage URL |
| 1008 |
# - The sourceSnapshot URL |
| 1009 |
}, |
| 1010 |
"rolloutOverride": { # A rollout policy configuration. # A rollout policy to apply to this image. When specified, the rollout policy |
| 1011 |
# overrides per-zone references to the image via the associated image family. |
| 1012 |
# The rollout policy restricts the zones where this image is accessible when |
| 1013 |
# using a zonal image family reference. When the rollout policy does not |
| 1014 |
# include the user specified zone, or if the zone is rolled out, this image |
| 1015 |
# is accessible. |
| 1016 |
# |
| 1017 |
# The rollout policy for this image is read-only, except for allowlisted |
| 1018 |
# users. This field might not be configured. To view the latest |
| 1019 |
# non-deprecated image in a specific zone, use theimageFamilyViews.get method. |
| 1020 |
"defaultRolloutTime": "A String", # An optional RFC3339 timestamp on or after which the update is |
| 1021 |
# considered rolled out to any zone that is not explicitly stated. |
| 1022 |
"locationRolloutPolicies": { # Location based rollout policies to apply to the resource. |
| 1023 |
# |
| 1024 |
# Currently only zone names are supported and must be represented |
| 1025 |
# as valid URLs, like: zones/us-central1-a. |
| 1026 |
# |
| 1027 |
# The value expects an RFC3339 timestamp on or after which the update is |
| 1028 |
# considered rolled out to the specified location. |
| 1029 |
"a_key": "A String", |
| 1030 |
}, |
| 1031 |
}, |
| 1032 |
"satisfiesPzi": True or False, # Output only. Reserved for future use. |
| 1033 |
"satisfiesPzs": True or False, # Output only. [Output Only] Reserved for future use. |
| 1034 |
"selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. |
| 1035 |
"selfLinkWithId": "A String", # Output only. [Output Only] Server-defined URL for this resource's resource id. |
| 1036 |
"shieldedInstanceInitialState": { # Initial State for shielded instance, # Set the secure boot keys of shielded instance. |
| 1037 |
# these are public keys which are safe to store in public |
| 1038 |
"dbs": [ # The Key Database (db). |
| 1039 |
{ |
| 1040 |
"content": "A String", # The raw content in the secure keys file. |
| 1041 |
"fileType": "A String", # The file type of source file. |
| 1042 |
}, |
| 1043 |
], |
| 1044 |
"dbxs": [ # The forbidden key database (dbx). |
| 1045 |
{ |
| 1046 |
"content": "A String", # The raw content in the secure keys file. |
| 1047 |
"fileType": "A String", # The file type of source file. |
| 1048 |
}, |
| 1049 |
], |
| 1050 |
"keks": [ # The Key Exchange Key (KEK). |
| 1051 |
{ |
| 1052 |
"content": "A String", # The raw content in the secure keys file. |
| 1053 |
"fileType": "A String", # The file type of source file. |
| 1054 |
}, |
| 1055 |
], |
| 1056 |
"pk": { # The Platform Key (PK). |
| 1057 |
"content": "A String", # The raw content in the secure keys file. |
| 1058 |
"fileType": "A String", # The file type of source file. |
| 1059 |
}, |
| 1060 |
}, |
| 1061 |
"sourceDisk": "A String", # URL of the source disk used to create this image. |
| 1062 |
# For example, the following are valid values: |
| 1063 |
# |
| 1064 |
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk |
| 1065 |
# - projects/project/zones/zone/disks/disk |
| 1066 |
# - zones/zone/disks/disk |
| 1067 |
# |
| 1068 |
# |
| 1069 |
# |
| 1070 |
# In order to create an image, you must provide the full or partial URL of |
| 1071 |
# one of the following: |
| 1072 |
# |
| 1073 |
# - The rawDisk.source URL |
| 1074 |
# - The sourceDisk URL |
| 1075 |
# - The sourceImage URL |
| 1076 |
# - The sourceSnapshot URL |
| 1077 |
"sourceDiskEncryptionKey": { # Thecustomer-supplied |
| 1078 |
# encryption key of the source disk. Required if the source disk is |
| 1079 |
# protected by a customer-supplied encryption key. |
| 1080 |
"kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. |
| 1081 |
# For example: |
| 1082 |
# |
| 1083 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 1084 |
# key_region/cryptoKeys/key |
| 1085 |
# |
| 1086 |
# The fully-qualifed key name may be returned for resource GET requests. For |
| 1087 |
# example: |
| 1088 |
# |
| 1089 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 1090 |
# key_region/cryptoKeys/key |
| 1091 |
# /cryptoKeyVersions/1 |
| 1092 |
"kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS |
| 1093 |
# key. If absent, the Compute Engine default service account is used. |
| 1094 |
# For example: |
| 1095 |
# |
| 1096 |
# "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ |
| 1097 |
"rawKey": "A String", # Specifies a 256-bit customer-supplied |
| 1098 |
# encryption key, encoded in RFC |
| 1099 |
# 4648 base64 to either encrypt or decrypt this resource. You can |
| 1100 |
# provide either the rawKey or thersaEncryptedKey. |
| 1101 |
# For example: |
| 1102 |
# |
| 1103 |
# "rawKey": |
| 1104 |
# "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" |
| 1105 |
"rsaEncryptedKey": "A String", # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit |
| 1106 |
# customer-supplied encryption key to either encrypt or decrypt this |
| 1107 |
# resource. You can provide either the rawKey or thersaEncryptedKey. |
| 1108 |
# For example: |
| 1109 |
# |
| 1110 |
# "rsaEncryptedKey": |
| 1111 |
# "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH |
| 1112 |
# z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD |
| 1113 |
# D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" |
| 1114 |
# |
| 1115 |
# The key must meet the following requirements before you can provide it to |
| 1116 |
# Compute Engine: |
| 1117 |
# |
| 1118 |
# 1. The key is wrapped using a RSA public key certificate provided by |
| 1119 |
# Google. |
| 1120 |
# 2. After being wrapped, the key must be encoded in RFC 4648 base64 |
| 1121 |
# encoding. |
| 1122 |
# |
| 1123 |
# Gets the RSA public key certificate provided by Google at: |
| 1124 |
# |
| 1125 |
# |
| 1126 |
# https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem |
| 1127 |
"sha256": "A String", # [Output only] TheRFC |
| 1128 |
# 4648 base64 encoded SHA-256 hash of the customer-supplied |
| 1129 |
# encryption key that protects this resource. |
| 1130 |
}, |
| 1131 |
"sourceDiskId": "A String", # Output only. [Output Only] |
| 1132 |
# The ID value of the disk used to create this image. This value may be used |
| 1133 |
# to determine whether the image was taken from the current or a previous |
| 1134 |
# instance of a given disk name. |
| 1135 |
"sourceImage": "A String", # URL of the source image used to create this image. |
| 1136 |
# The following are valid formats for the URL: |
| 1137 |
# |
| 1138 |
# - https://www.googleapis.com/compute/v1/projects/project_id/global/ |
| 1139 |
# images/image_name |
| 1140 |
# - projects/project_id/global/images/image_name |
| 1141 |
# |
| 1142 |
# |
| 1143 |
# |
| 1144 |
# In order to create an image, you must provide the full or partial URL of |
| 1145 |
# one of the following: |
| 1146 |
# |
| 1147 |
# - The rawDisk.source URL |
| 1148 |
# - The sourceDisk URL |
| 1149 |
# - The sourceImage URL |
| 1150 |
# - The sourceSnapshot URL |
| 1151 |
"sourceImageEncryptionKey": { # The customer-supplied encryption key of the source image. Required if the |
| 1152 |
# source image is protected by a customer-supplied encryption key. |
| 1153 |
"kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. |
| 1154 |
# For example: |
| 1155 |
# |
| 1156 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 1157 |
# key_region/cryptoKeys/key |
| 1158 |
# |
| 1159 |
# The fully-qualifed key name may be returned for resource GET requests. For |
| 1160 |
# example: |
| 1161 |
# |
| 1162 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 1163 |
# key_region/cryptoKeys/key |
| 1164 |
# /cryptoKeyVersions/1 |
| 1165 |
"kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS |
| 1166 |
# key. If absent, the Compute Engine default service account is used. |
| 1167 |
# For example: |
| 1168 |
# |
| 1169 |
# "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ |
| 1170 |
"rawKey": "A String", # Specifies a 256-bit customer-supplied |
| 1171 |
# encryption key, encoded in RFC |
| 1172 |
# 4648 base64 to either encrypt or decrypt this resource. You can |
| 1173 |
# provide either the rawKey or thersaEncryptedKey. |
| 1174 |
# For example: |
| 1175 |
# |
| 1176 |
# "rawKey": |
| 1177 |
# "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" |
| 1178 |
"rsaEncryptedKey": "A String", # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit |
| 1179 |
# customer-supplied encryption key to either encrypt or decrypt this |
| 1180 |
# resource. You can provide either the rawKey or thersaEncryptedKey. |
| 1181 |
# For example: |
| 1182 |
# |
| 1183 |
# "rsaEncryptedKey": |
| 1184 |
# "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH |
| 1185 |
# z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD |
| 1186 |
# D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" |
| 1187 |
# |
| 1188 |
# The key must meet the following requirements before you can provide it to |
| 1189 |
# Compute Engine: |
| 1190 |
# |
| 1191 |
# 1. The key is wrapped using a RSA public key certificate provided by |
| 1192 |
# Google. |
| 1193 |
# 2. After being wrapped, the key must be encoded in RFC 4648 base64 |
| 1194 |
# encoding. |
| 1195 |
# |
| 1196 |
# Gets the RSA public key certificate provided by Google at: |
| 1197 |
# |
| 1198 |
# |
| 1199 |
# https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem |
| 1200 |
"sha256": "A String", # [Output only] TheRFC |
| 1201 |
# 4648 base64 encoded SHA-256 hash of the customer-supplied |
| 1202 |
# encryption key that protects this resource. |
| 1203 |
}, |
| 1204 |
"sourceImageId": "A String", # Output only. [Output Only] |
| 1205 |
# The ID value of the image used to create this image. This value may be used |
| 1206 |
# to determine whether the image was taken from the current or a previous |
| 1207 |
# instance of a given image name. |
| 1208 |
"sourceSnapshot": "A String", # URL of the source snapshot used to create this image. |
| 1209 |
# The following are valid formats for the URL: |
| 1210 |
# |
| 1211 |
# - https://www.googleapis.com/compute/v1/projects/project_id/global/ |
| 1212 |
# snapshots/snapshot_name |
| 1213 |
# - projects/project_id/global/snapshots/snapshot_name |
| 1214 |
# |
| 1215 |
# |
| 1216 |
# |
| 1217 |
# In order to create an image, you must provide the full or partial URL of |
| 1218 |
# one of the following: |
| 1219 |
# |
| 1220 |
# - The rawDisk.source URL |
| 1221 |
# - The sourceDisk URL |
| 1222 |
# - The sourceImage URL |
| 1223 |
# - The sourceSnapshot URL |
| 1224 |
"sourceSnapshotEncryptionKey": { # The customer-supplied encryption key of the source snapshot. Required if |
| 1225 |
# the source snapshot is protected by a customer-supplied encryption key. |
| 1226 |
"kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. |
| 1227 |
# For example: |
| 1228 |
# |
| 1229 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 1230 |
# key_region/cryptoKeys/key |
| 1231 |
# |
| 1232 |
# The fully-qualifed key name may be returned for resource GET requests. For |
| 1233 |
# example: |
| 1234 |
# |
| 1235 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 1236 |
# key_region/cryptoKeys/key |
| 1237 |
# /cryptoKeyVersions/1 |
| 1238 |
"kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS |
| 1239 |
# key. If absent, the Compute Engine default service account is used. |
| 1240 |
# For example: |
| 1241 |
# |
| 1242 |
# "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ |
| 1243 |
"rawKey": "A String", # Specifies a 256-bit customer-supplied |
| 1244 |
# encryption key, encoded in RFC |
| 1245 |
# 4648 base64 to either encrypt or decrypt this resource. You can |
| 1246 |
# provide either the rawKey or thersaEncryptedKey. |
| 1247 |
# For example: |
| 1248 |
# |
| 1249 |
# "rawKey": |
| 1250 |
# "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" |
| 1251 |
"rsaEncryptedKey": "A String", # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit |
| 1252 |
# customer-supplied encryption key to either encrypt or decrypt this |
| 1253 |
# resource. You can provide either the rawKey or thersaEncryptedKey. |
| 1254 |
# For example: |
| 1255 |
# |
| 1256 |
# "rsaEncryptedKey": |
| 1257 |
# "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH |
| 1258 |
# z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD |
| 1259 |
# D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" |
| 1260 |
# |
| 1261 |
# The key must meet the following requirements before you can provide it to |
| 1262 |
# Compute Engine: |
| 1263 |
# |
| 1264 |
# 1. The key is wrapped using a RSA public key certificate provided by |
| 1265 |
# Google. |
| 1266 |
# 2. After being wrapped, the key must be encoded in RFC 4648 base64 |
| 1267 |
# encoding. |
| 1268 |
# |
| 1269 |
# Gets the RSA public key certificate provided by Google at: |
| 1270 |
# |
| 1271 |
# |
| 1272 |
# https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem |
| 1273 |
"sha256": "A String", # [Output only] TheRFC |
| 1274 |
# 4648 base64 encoded SHA-256 hash of the customer-supplied |
| 1275 |
# encryption key that protects this resource. |
| 1276 |
}, |
| 1277 |
"sourceSnapshotId": "A String", # Output only. [Output Only] |
| 1278 |
# The ID value of the snapshot used to create this image. This value may be |
| 1279 |
# used to determine whether the snapshot was taken from the current or a |
| 1280 |
# previous instance of a given snapshot name. |
| 1281 |
"sourceType": "RAW", # The type of the image used to create this disk. The |
| 1282 |
# default and only valid value is RAW. |
| 1283 |
"status": "A String", # Output only. [Output Only] The status of the image. An image can be used to create other |
| 1284 |
# resources, such as instances, only after the image has been successfully |
| 1285 |
# created and the status is set to READY. Possible |
| 1286 |
# values are FAILED, PENDING, orREADY. |
| 1287 |
"storageLocations": [ # Cloud Storage bucket storage location of the image (regional or |
| 1288 |
# multi-regional). |
| 1289 |
"A String", |
| 1290 |
], |
| 1291 |
}, |
| 1292 |
}, |
| 1293 |
], |
| 1294 |
"kind": "compute#imageViewList", |
| 1295 |
"nextPageToken": "A String", |
| 1296 |
"selfLink": "A String", # Output only. [Output Only] Server-defined URL for this resource. |
| 1297 |
"unreachables": [ # Output only. [Output Only] Unreachable resources. |
| 1298 |
"A String", |
| 1299 |
], |
| 1300 |
"warning": { # [Output Only] Informational warning message. |
| 1301 |
"code": "A String", # [Output Only] A warning code, if applicable. For example, Compute |
| 1302 |
# Engine returns NO_RESULTS_ON_PAGE if there |
| 1303 |
# are no results in the response. |
| 1304 |
"data": [ # [Output Only] Metadata about this warning in key: |
| 1305 |
# value format. For example: |
| 1306 |
# |
| 1307 |
# "data": [ |
| 1308 |
# { |
| 1309 |
# "key": "scope", |
| 1310 |
# "value": "zones/us-east1-d" |
| 1311 |
# } |
| 1312 |
{ |
| 1313 |
"key": "A String", # [Output Only] A key that provides more detail on the warning being |
| 1314 |
# returned. For example, for warnings where there are no results in a list |
| 1315 |
# request for a particular zone, this key might be scope and |
| 1316 |
# the key value might be the zone name. Other examples might be a key |
| 1317 |
# indicating a deprecated resource and a suggested replacement, or a |
| 1318 |
# warning about invalid network settings (for example, if an instance |
| 1319 |
# attempts to perform IP forwarding but is not enabled for IP forwarding). |
| 1320 |
"value": "A String", # [Output Only] A warning data value corresponding to the key. |
| 1321 |
}, |
| 1322 |
], |
| 1323 |
"message": "A String", # [Output Only] A human-readable description of the warning code. |
| 1324 |
}, |
| 1325 |
}</pre> |
| 1326 |
</div> |
| 1327 |
|
| 1328 |
<div class="method"> |
| 1329 |
<code class="details" id="list_next">list_next()</code> |
| 1330 |
<pre>Retrieves the next page of results. |
| 1331 |
|
| 1332 |
Args: |
| 1333 |
previous_request: The request for the previous page. (required) |
| 1334 |
previous_response: The response from the request for the previous page. (required) |
| 1335 |
|
| 1336 |
Returns: |
| 1337 |
A request object that you can call 'execute()' on to request the next |
| 1338 |
page. Returns None if there are no more items in the collection. |
| 1339 |
</pre> |
| 1340 |
</div> |
| 1341 |
|
| 1342 |
</body></html> |