| 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_beta.html">Compute Engine API</a> . <a href="compute_beta.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 |
<h3>Method Details</h3> |
| 84 |
<div class="method"> |
| 85 |
<code class="details" id="close">close()</code> |
| 86 |
<pre>Close httplib2 connections.</pre> |
| 87 |
</div> |
| 88 |
|
| 89 |
<div class="method"> |
| 90 |
<code class="details" id="get">get(project, region, resourceId, x__xgafv=None)</code> |
| 91 |
<pre>Returns the specified global ImageView resource, with a regional |
| 92 |
context. |
| 93 |
|
| 94 |
Args: |
| 95 |
project: string, Required. Project ID for this request. (required) |
| 96 |
region: string, Required. Name of the region for this request. (required) |
| 97 |
resourceId: string, Name of the image resource to return. (required) |
| 98 |
x__xgafv: string, V1 error format. |
| 99 |
Allowed values |
| 100 |
1 - v1 error format |
| 101 |
2 - v2 error format |
| 102 |
|
| 103 |
Returns: |
| 104 |
An object of the form: |
| 105 |
|
| 106 |
{ # Represents a read-only view of a global Image resource. |
| 107 |
"image": { # Represents an Image resource. |
| 108 |
# |
| 109 |
# You can use images to create boot disks for your VM instances. |
| 110 |
# For more information, read Images. |
| 111 |
"architecture": "A String", # The architecture of the image. Valid values are |
| 112 |
# ARM64 or X86_64. |
| 113 |
"archiveSizeBytes": "A String", # Size of the image tar.gz archive stored in Google Cloud |
| 114 |
# Storage (in bytes). |
| 115 |
"creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 |
| 116 |
# text format. |
| 117 |
"deprecated": { # Deprecation status for a public resource. # Output only. The deprecation status associated with this image. |
| 118 |
"deleted": "A String", # An optional RFC3339 timestamp on or after which the state of this |
| 119 |
# resource is intended to change to DELETED. This is only |
| 120 |
# informational and the status will not change unless the client explicitly |
| 121 |
# changes it. |
| 122 |
"deprecated": "A String", # An optional RFC3339 timestamp on or after which the state of this |
| 123 |
# resource is intended to change to DEPRECATED. This is only |
| 124 |
# informational and the status will not change unless the client explicitly |
| 125 |
# changes it. |
| 126 |
"obsolete": "A String", # An optional RFC3339 timestamp on or after which the state of this |
| 127 |
# resource is intended to change to OBSOLETE. This is only |
| 128 |
# informational and the status will not change unless the client explicitly |
| 129 |
# changes it. |
| 130 |
"replacement": "A String", # The URL of the suggested replacement for a deprecated resource. |
| 131 |
# The suggested replacement resource must be the same kind of resource as the |
| 132 |
# deprecated resource. |
| 133 |
"state": "A String", # The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED. |
| 134 |
# 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 |
| 135 |
# warning indicating the deprecated resource and recommending its |
| 136 |
# replacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error. |
| 137 |
"stateOverride": { # A rollout policy configuration. # The rollout policy for this deprecation. This policy is only enforced by |
| 138 |
# image family views. The rollout policy restricts the zones where the |
| 139 |
# associated resource is considered in a deprecated state. When the rollout |
| 140 |
# policy does not include the user specified zone, or if the zone is rolled |
| 141 |
# out, the associated resource is considered in a deprecated state. |
| 142 |
# |
| 143 |
# The rollout policy for this deprecation is read-only, except for |
| 144 |
# allowlisted users. This field might not be configured. To view the latest |
| 145 |
# non-deprecated image in a specific zone, use theimageFamilyViews.get method. |
| 146 |
"defaultRolloutTime": "A String", # An optional RFC3339 timestamp on or after which the update is |
| 147 |
# considered rolled out to any zone that is not explicitly stated. |
| 148 |
"locationRolloutPolicies": { # Location based rollout policies to apply to the resource. |
| 149 |
# |
| 150 |
# Currently only zone names are supported and must be represented |
| 151 |
# as valid URLs, like: zones/us-central1-a. |
| 152 |
# |
| 153 |
# The value expects an RFC3339 timestamp on or after which the update is |
| 154 |
# considered rolled out to the specified location. |
| 155 |
"a_key": "A String", |
| 156 |
}, |
| 157 |
}, |
| 158 |
}, |
| 159 |
"description": "A String", # An optional description of this resource. Provide this property when you |
| 160 |
# create the resource. |
| 161 |
"diskSizeGb": "A String", # Size of the image when restored onto a persistent disk (in GB). |
| 162 |
"enableConfidentialCompute": True or False, # Output only. Whether this image is created from a confidential compute mode disk. |
| 163 |
# [Output Only]: This field is not set by user, but from source disk. |
| 164 |
"family": "A String", # The name of the image family to which this image belongs. The image |
| 165 |
# family name can be from a publicly managed image family provided by |
| 166 |
# Compute Engine, or from a custom image family you create. For example,centos-stream-9 is a publicly available image family. |
| 167 |
# For more information, see Image |
| 168 |
# family best practices. |
| 169 |
# |
| 170 |
# When creating disks, you can specify an image family instead of a specific |
| 171 |
# image name. The image family always returns its latest image that is not |
| 172 |
# deprecated. The name of the image family must comply with RFC1035. |
| 173 |
"guestOsFeatures": [ # A list of features to enable on the guest operating system. Applicable |
| 174 |
# only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter. |
| 175 |
{ # Guest OS features. |
| 176 |
"type": "A String", # The ID of a supported feature. To add multiple values, use commas to |
| 177 |
# separate values. Set to one or more of the following values: |
| 178 |
# |
| 179 |
# - VIRTIO_SCSI_MULTIQUEUE |
| 180 |
# - WINDOWS |
| 181 |
# - MULTI_IP_SUBNET |
| 182 |
# - UEFI_COMPATIBLE |
| 183 |
# - GVNIC |
| 184 |
# - SEV_CAPABLE |
| 185 |
# - SUSPEND_RESUME_COMPATIBLE |
| 186 |
# - SEV_LIVE_MIGRATABLE_V2 |
| 187 |
# - SEV_SNP_CAPABLE |
| 188 |
# - TDX_CAPABLE |
| 189 |
# - IDPF |
| 190 |
# - SNP_SVSM_CAPABLE |
| 191 |
# - CCA_CAPABLE |
| 192 |
# |
| 193 |
# |
| 194 |
# For more information, see |
| 195 |
# Enabling guest operating system features. |
| 196 |
}, |
| 197 |
], |
| 198 |
"id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is |
| 199 |
# defined by the server. |
| 200 |
"imageEncryptionKey": { # Encrypts the image using acustomer-supplied |
| 201 |
# encryption key. |
| 202 |
# |
| 203 |
# After you encrypt an image with a customer-supplied key, you must provide |
| 204 |
# the same key if you use the image later (e.g. to create a disk from |
| 205 |
# the image). |
| 206 |
# |
| 207 |
# Customer-supplied encryption keys do not protect access to metadata |
| 208 |
# of the disk. |
| 209 |
# |
| 210 |
# If you do not provide an encryption key when creating the image, then the |
| 211 |
# disk will be encrypted using an automatically generated key and you do not |
| 212 |
# need to provide a key to use the image later. |
| 213 |
"kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. |
| 214 |
# For example: |
| 215 |
# |
| 216 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 217 |
# key_region/cryptoKeys/key |
| 218 |
# |
| 219 |
# The fully-qualifed key name may be returned for resource GET requests. For |
| 220 |
# example: |
| 221 |
# |
| 222 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 223 |
# key_region/cryptoKeys/key |
| 224 |
# /cryptoKeyVersions/1 |
| 225 |
"kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS |
| 226 |
# key. If absent, the Compute Engine default service account is used. |
| 227 |
# For example: |
| 228 |
# |
| 229 |
# "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ |
| 230 |
"rawKey": "A String", # Specifies a 256-bit customer-supplied |
| 231 |
# encryption key, encoded in RFC |
| 232 |
# 4648 base64 to either encrypt or decrypt this resource. You can |
| 233 |
# provide either the rawKey or thersaEncryptedKey. |
| 234 |
# For example: |
| 235 |
# |
| 236 |
# "rawKey": |
| 237 |
# "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" |
| 238 |
"rsaEncryptedKey": "A String", # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit |
| 239 |
# customer-supplied encryption key to either encrypt or decrypt this |
| 240 |
# resource. You can provide either the rawKey or thersaEncryptedKey. |
| 241 |
# For example: |
| 242 |
# |
| 243 |
# "rsaEncryptedKey": |
| 244 |
# "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH |
| 245 |
# z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD |
| 246 |
# D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" |
| 247 |
# |
| 248 |
# The key must meet the following requirements before you can provide it to |
| 249 |
# Compute Engine: |
| 250 |
# |
| 251 |
# 1. The key is wrapped using a RSA public key certificate provided by |
| 252 |
# Google. |
| 253 |
# 2. After being wrapped, the key must be encoded in RFC 4648 base64 |
| 254 |
# encoding. |
| 255 |
# |
| 256 |
# Gets the RSA public key certificate provided by Google at: |
| 257 |
# |
| 258 |
# |
| 259 |
# https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem |
| 260 |
"sha256": "A String", # [Output only] TheRFC |
| 261 |
# 4648 base64 encoded SHA-256 hash of the customer-supplied |
| 262 |
# encryption key that protects this resource. |
| 263 |
}, |
| 264 |
"kind": "compute#image", # Output only. [Output Only] Type of the resource. Always compute#image for |
| 265 |
# images. |
| 266 |
"labelFingerprint": "A String", # A fingerprint for the labels being applied to this image, which is |
| 267 |
# essentially a hash of the labels used for optimistic locking. The |
| 268 |
# fingerprint is initially generated by Compute Engine and changes after |
| 269 |
# every request to modify or update labels. You must always provide an |
| 270 |
# up-to-date fingerprint hash in order to update or change labels, |
| 271 |
# otherwise the request will fail with error412 conditionNotMet. |
| 272 |
# |
| 273 |
# To see the latest fingerprint, make a get() request to |
| 274 |
# retrieve an image. |
| 275 |
"labels": { # Labels to apply to this image. These can be later modified by |
| 276 |
# the setLabels method. |
| 277 |
"a_key": "A String", |
| 278 |
}, |
| 279 |
"licenseCodes": [ # Integer license codes indicating which licenses are attached to this image. |
| 280 |
"A String", |
| 281 |
], |
| 282 |
"licenses": [ # Any applicable license URI. |
| 283 |
"A String", |
| 284 |
], |
| 285 |
"locked": True or False, # A flag for marketplace VM disk created from the image, which is designed |
| 286 |
# for marketplace VM disk to prevent the proprietary data on the disk from |
| 287 |
# being accessed unwantedly. The flag will be inherited by the disk created |
| 288 |
# from the image. |
| 289 |
# |
| 290 |
# The disk with locked flag set to true will be prohibited from performing |
| 291 |
# the operations below: |
| 292 |
# |
| 293 |
# - R/W or R/O disk attach |
| 294 |
# - Disk detach, if disk is created via create-on-create |
| 295 |
# - Create images |
| 296 |
# - Create snapshots |
| 297 |
# - Create disk clone (create disk from the current disk) |
| 298 |
# |
| 299 |
# |
| 300 |
# |
| 301 |
# The image with the locked field set to true will be prohibited from |
| 302 |
# performing the operations below: |
| 303 |
# |
| 304 |
# - Create images from the current image |
| 305 |
# - Update the locked field for the current image |
| 306 |
# |
| 307 |
# |
| 308 |
# |
| 309 |
# The instance with at least one disk with locked flag set to true will be |
| 310 |
# prohibited from performing the operations below: |
| 311 |
# |
| 312 |
# - Secondary disk attach |
| 313 |
# - Create instant snapshot |
| 314 |
# - Create machine images |
| 315 |
# - Create instance template |
| 316 |
# - Delete the instance with --keep-disk parameter set to true |
| 317 |
"name": "A String", # Name of the resource; provided by the client when the resource is created. |
| 318 |
# The name must be 1-63 characters long, and comply withRFC1035. |
| 319 |
# Specifically, the name must be 1-63 characters long and match the regular |
| 320 |
# expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first |
| 321 |
# character must be a lowercase letter, and all following characters must be |
| 322 |
# a dash, lowercase letter, or digit, except the last character, which cannot |
| 323 |
# be a dash. |
| 324 |
"params": { # Additional image params. # Input only. [Input Only] Additional params passed with the request, but not persisted |
| 325 |
# as part of resource payload. |
| 326 |
"resourceManagerTags": { # Input only. Resource manager tags to be bound to the image. Tag keys and values have |
| 327 |
# the same definition as resource |
| 328 |
# manager tags. Keys and values can be either in numeric format, |
| 329 |
# such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in |
| 330 |
# namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and |
| 331 |
# `{tag_value_short_name}`. The field is ignored (both PUT & |
| 332 |
# PATCH) when empty. |
| 333 |
"a_key": "A String", |
| 334 |
}, |
| 335 |
}, |
| 336 |
"rawDisk": { # The parameters of the raw disk image. |
| 337 |
"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 |
| 338 |
# a runtime format. Provided by the client when the disk image is created. |
| 339 |
"sha1Checksum": "A String", # [Deprecated] This field is deprecated. |
| 340 |
# An optional SHA1 checksum of the disk image before unpackaging provided |
| 341 |
# by the client when the disk image is created. |
| 342 |
"source": "A String", # The full Google Cloud Storage URL or Artifact Registry path where the raw |
| 343 |
# disk image archive is stored. |
| 344 |
# The following are valid formats: |
| 345 |
# |
| 346 |
# - https://storage.googleapis.com/bucket_name/image_archive_name |
| 347 |
# - https://storage.googleapis.com/bucket_name/folder_name/image_archive_name |
| 348 |
# - projects/project/locations/location/repositories/repo/packages/package/versions/version_id |
| 349 |
# - projects/project/locations/location/repositories/repo/packages/package/versions/version_id@dirsum_sha256:hex_value |
| 350 |
# |
| 351 |
# |
| 352 |
# |
| 353 |
# In order to create an image, you must provide the full or partial URL of |
| 354 |
# one of the following: |
| 355 |
# |
| 356 |
# - The rawDisk.source URL |
| 357 |
# - The sourceDisk URL |
| 358 |
# - The sourceImage URL |
| 359 |
# - The sourceSnapshot URL |
| 360 |
}, |
| 361 |
"rolloutOverride": { # A rollout policy configuration. # A rollout policy to apply to this image. When specified, the rollout policy |
| 362 |
# overrides per-zone references to the image via the associated image family. |
| 363 |
# The rollout policy restricts the zones where this image is accessible when |
| 364 |
# using a zonal image family reference. When the rollout policy does not |
| 365 |
# include the user specified zone, or if the zone is rolled out, this image |
| 366 |
# is accessible. |
| 367 |
# |
| 368 |
# The rollout policy for this image is read-only, except for allowlisted |
| 369 |
# users. This field might not be configured. To view the latest |
| 370 |
# non-deprecated image in a specific zone, use theimageFamilyViews.get method. |
| 371 |
"defaultRolloutTime": "A String", # An optional RFC3339 timestamp on or after which the update is |
| 372 |
# considered rolled out to any zone that is not explicitly stated. |
| 373 |
"locationRolloutPolicies": { # Location based rollout policies to apply to the resource. |
| 374 |
# |
| 375 |
# Currently only zone names are supported and must be represented |
| 376 |
# as valid URLs, like: zones/us-central1-a. |
| 377 |
# |
| 378 |
# The value expects an RFC3339 timestamp on or after which the update is |
| 379 |
# considered rolled out to the specified location. |
| 380 |
"a_key": "A String", |
| 381 |
}, |
| 382 |
}, |
| 383 |
"satisfiesPzi": True or False, # Output only. Reserved for future use. |
| 384 |
"satisfiesPzs": True or False, # Output only. [Output Only] Reserved for future use. |
| 385 |
"selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. |
| 386 |
"shieldedInstanceInitialState": { # Initial State for shielded instance, # Set the secure boot keys of shielded instance. |
| 387 |
# these are public keys which are safe to store in public |
| 388 |
"dbs": [ # The Key Database (db). |
| 389 |
{ |
| 390 |
"content": "A String", # The raw content in the secure keys file. |
| 391 |
"fileType": "A String", # The file type of source file. |
| 392 |
}, |
| 393 |
], |
| 394 |
"dbxs": [ # The forbidden key database (dbx). |
| 395 |
{ |
| 396 |
"content": "A String", # The raw content in the secure keys file. |
| 397 |
"fileType": "A String", # The file type of source file. |
| 398 |
}, |
| 399 |
], |
| 400 |
"keks": [ # The Key Exchange Key (KEK). |
| 401 |
{ |
| 402 |
"content": "A String", # The raw content in the secure keys file. |
| 403 |
"fileType": "A String", # The file type of source file. |
| 404 |
}, |
| 405 |
], |
| 406 |
"pk": { # The Platform Key (PK). |
| 407 |
"content": "A String", # The raw content in the secure keys file. |
| 408 |
"fileType": "A String", # The file type of source file. |
| 409 |
}, |
| 410 |
}, |
| 411 |
"sourceDisk": "A String", # URL of the source disk used to create this image. |
| 412 |
# For example, the following are valid values: |
| 413 |
# |
| 414 |
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk |
| 415 |
# - projects/project/zones/zone/disks/disk |
| 416 |
# - zones/zone/disks/disk |
| 417 |
# |
| 418 |
# |
| 419 |
# |
| 420 |
# In order to create an image, you must provide the full or partial URL of |
| 421 |
# one of the following: |
| 422 |
# |
| 423 |
# - The rawDisk.source URL |
| 424 |
# - The sourceDisk URL |
| 425 |
# - The sourceImage URL |
| 426 |
# - The sourceSnapshot URL |
| 427 |
"sourceDiskEncryptionKey": { # Thecustomer-supplied |
| 428 |
# encryption key of the source disk. Required if the source disk is |
| 429 |
# protected by a customer-supplied encryption key. |
| 430 |
"kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. |
| 431 |
# For example: |
| 432 |
# |
| 433 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 434 |
# key_region/cryptoKeys/key |
| 435 |
# |
| 436 |
# The fully-qualifed key name may be returned for resource GET requests. For |
| 437 |
# example: |
| 438 |
# |
| 439 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 440 |
# key_region/cryptoKeys/key |
| 441 |
# /cryptoKeyVersions/1 |
| 442 |
"kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS |
| 443 |
# key. If absent, the Compute Engine default service account is used. |
| 444 |
# For example: |
| 445 |
# |
| 446 |
# "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ |
| 447 |
"rawKey": "A String", # Specifies a 256-bit customer-supplied |
| 448 |
# encryption key, encoded in RFC |
| 449 |
# 4648 base64 to either encrypt or decrypt this resource. You can |
| 450 |
# provide either the rawKey or thersaEncryptedKey. |
| 451 |
# For example: |
| 452 |
# |
| 453 |
# "rawKey": |
| 454 |
# "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" |
| 455 |
"rsaEncryptedKey": "A String", # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit |
| 456 |
# customer-supplied encryption key to either encrypt or decrypt this |
| 457 |
# resource. You can provide either the rawKey or thersaEncryptedKey. |
| 458 |
# For example: |
| 459 |
# |
| 460 |
# "rsaEncryptedKey": |
| 461 |
# "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH |
| 462 |
# z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD |
| 463 |
# D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" |
| 464 |
# |
| 465 |
# The key must meet the following requirements before you can provide it to |
| 466 |
# Compute Engine: |
| 467 |
# |
| 468 |
# 1. The key is wrapped using a RSA public key certificate provided by |
| 469 |
# Google. |
| 470 |
# 2. After being wrapped, the key must be encoded in RFC 4648 base64 |
| 471 |
# encoding. |
| 472 |
# |
| 473 |
# Gets the RSA public key certificate provided by Google at: |
| 474 |
# |
| 475 |
# |
| 476 |
# https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem |
| 477 |
"sha256": "A String", # [Output only] TheRFC |
| 478 |
# 4648 base64 encoded SHA-256 hash of the customer-supplied |
| 479 |
# encryption key that protects this resource. |
| 480 |
}, |
| 481 |
"sourceDiskId": "A String", # Output only. [Output Only] |
| 482 |
# The ID value of the disk used to create this image. This value may be used |
| 483 |
# to determine whether the image was taken from the current or a previous |
| 484 |
# instance of a given disk name. |
| 485 |
"sourceImage": "A String", # URL of the source image used to create this image. |
| 486 |
# The following are valid formats for the URL: |
| 487 |
# |
| 488 |
# - https://www.googleapis.com/compute/v1/projects/project_id/global/ |
| 489 |
# images/image_name |
| 490 |
# - projects/project_id/global/images/image_name |
| 491 |
# |
| 492 |
# |
| 493 |
# |
| 494 |
# In order to create an image, you must provide the full or partial URL of |
| 495 |
# one of the following: |
| 496 |
# |
| 497 |
# - The rawDisk.source URL |
| 498 |
# - The sourceDisk URL |
| 499 |
# - The sourceImage URL |
| 500 |
# - The sourceSnapshot URL |
| 501 |
"sourceImageEncryptionKey": { # The customer-supplied encryption key of the source image. Required if the |
| 502 |
# source image is protected by a customer-supplied encryption key. |
| 503 |
"kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. |
| 504 |
# For example: |
| 505 |
# |
| 506 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 507 |
# key_region/cryptoKeys/key |
| 508 |
# |
| 509 |
# The fully-qualifed key name may be returned for resource GET requests. For |
| 510 |
# example: |
| 511 |
# |
| 512 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 513 |
# key_region/cryptoKeys/key |
| 514 |
# /cryptoKeyVersions/1 |
| 515 |
"kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS |
| 516 |
# key. If absent, the Compute Engine default service account is used. |
| 517 |
# For example: |
| 518 |
# |
| 519 |
# "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ |
| 520 |
"rawKey": "A String", # Specifies a 256-bit customer-supplied |
| 521 |
# encryption key, encoded in RFC |
| 522 |
# 4648 base64 to either encrypt or decrypt this resource. You can |
| 523 |
# provide either the rawKey or thersaEncryptedKey. |
| 524 |
# For example: |
| 525 |
# |
| 526 |
# "rawKey": |
| 527 |
# "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" |
| 528 |
"rsaEncryptedKey": "A String", # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit |
| 529 |
# customer-supplied encryption key to either encrypt or decrypt this |
| 530 |
# resource. You can provide either the rawKey or thersaEncryptedKey. |
| 531 |
# For example: |
| 532 |
# |
| 533 |
# "rsaEncryptedKey": |
| 534 |
# "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH |
| 535 |
# z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD |
| 536 |
# D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" |
| 537 |
# |
| 538 |
# The key must meet the following requirements before you can provide it to |
| 539 |
# Compute Engine: |
| 540 |
# |
| 541 |
# 1. The key is wrapped using a RSA public key certificate provided by |
| 542 |
# Google. |
| 543 |
# 2. After being wrapped, the key must be encoded in RFC 4648 base64 |
| 544 |
# encoding. |
| 545 |
# |
| 546 |
# Gets the RSA public key certificate provided by Google at: |
| 547 |
# |
| 548 |
# |
| 549 |
# https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem |
| 550 |
"sha256": "A String", # [Output only] TheRFC |
| 551 |
# 4648 base64 encoded SHA-256 hash of the customer-supplied |
| 552 |
# encryption key that protects this resource. |
| 553 |
}, |
| 554 |
"sourceImageId": "A String", # Output only. [Output Only] |
| 555 |
# The ID value of the image used to create this image. This value may be used |
| 556 |
# to determine whether the image was taken from the current or a previous |
| 557 |
# instance of a given image name. |
| 558 |
"sourceSnapshot": "A String", # URL of the source snapshot used to create this image. |
| 559 |
# The following are valid formats for the URL: |
| 560 |
# |
| 561 |
# - https://www.googleapis.com/compute/v1/projects/project_id/global/ |
| 562 |
# snapshots/snapshot_name |
| 563 |
# - projects/project_id/global/snapshots/snapshot_name |
| 564 |
# |
| 565 |
# |
| 566 |
# |
| 567 |
# In order to create an image, you must provide the full or partial URL of |
| 568 |
# one of the following: |
| 569 |
# |
| 570 |
# - The rawDisk.source URL |
| 571 |
# - The sourceDisk URL |
| 572 |
# - The sourceImage URL |
| 573 |
# - The sourceSnapshot URL |
| 574 |
"sourceSnapshotEncryptionKey": { # The customer-supplied encryption key of the source snapshot. Required if |
| 575 |
# the source snapshot is protected by a customer-supplied encryption key. |
| 576 |
"kmsKeyName": "A String", # The name of the encryption key that is stored in Google Cloud KMS. |
| 577 |
# For example: |
| 578 |
# |
| 579 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 580 |
# key_region/cryptoKeys/key |
| 581 |
# |
| 582 |
# The fully-qualifed key name may be returned for resource GET requests. For |
| 583 |
# example: |
| 584 |
# |
| 585 |
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ |
| 586 |
# key_region/cryptoKeys/key |
| 587 |
# /cryptoKeyVersions/1 |
| 588 |
"kmsKeyServiceAccount": "A String", # The service account being used for the encryption request for the given KMS |
| 589 |
# key. If absent, the Compute Engine default service account is used. |
| 590 |
# For example: |
| 591 |
# |
| 592 |
# "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ |
| 593 |
"rawKey": "A String", # Specifies a 256-bit customer-supplied |
| 594 |
# encryption key, encoded in RFC |
| 595 |
# 4648 base64 to either encrypt or decrypt this resource. You can |
| 596 |
# provide either the rawKey or thersaEncryptedKey. |
| 597 |
# For example: |
| 598 |
# |
| 599 |
# "rawKey": |
| 600 |
# "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" |
| 601 |
"rsaEncryptedKey": "A String", # Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit |
| 602 |
# customer-supplied encryption key to either encrypt or decrypt this |
| 603 |
# resource. You can provide either the rawKey or thersaEncryptedKey. |
| 604 |
# For example: |
| 605 |
# |
| 606 |
# "rsaEncryptedKey": |
| 607 |
# "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH |
| 608 |
# z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD |
| 609 |
# D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" |
| 610 |
# |
| 611 |
# The key must meet the following requirements before you can provide it to |
| 612 |
# Compute Engine: |
| 613 |
# |
| 614 |
# 1. The key is wrapped using a RSA public key certificate provided by |
| 615 |
# Google. |
| 616 |
# 2. After being wrapped, the key must be encoded in RFC 4648 base64 |
| 617 |
# encoding. |
| 618 |
# |
| 619 |
# Gets the RSA public key certificate provided by Google at: |
| 620 |
# |
| 621 |
# |
| 622 |
# https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem |
| 623 |
"sha256": "A String", # [Output only] TheRFC |
| 624 |
# 4648 base64 encoded SHA-256 hash of the customer-supplied |
| 625 |
# encryption key that protects this resource. |
| 626 |
}, |
| 627 |
"sourceSnapshotId": "A String", # Output only. [Output Only] |
| 628 |
# The ID value of the snapshot used to create this image. This value may be |
| 629 |
# used to determine whether the snapshot was taken from the current or a |
| 630 |
# previous instance of a given snapshot name. |
| 631 |
"sourceType": "RAW", # The type of the image used to create this disk. The |
| 632 |
# default and only valid value is RAW. |
| 633 |
"status": "A String", # Output only. [Output Only] The status of the image. An image can be used to create other |
| 634 |
# resources, such as instances, only after the image has been successfully |
| 635 |
# created and the status is set to READY. Possible |
| 636 |
# values are FAILED, PENDING, orREADY. |
| 637 |
"storageLocations": [ # Cloud Storage bucket storage location of the image (regional or |
| 638 |
# multi-regional). |
| 639 |
"A String", |
| 640 |
], |
| 641 |
}, |
| 642 |
}</pre> |
| 643 |
</div> |
| 644 |
|
| 645 |
</body></html> |