Class: Google::Cloud::Compute::V1::AttachedDiskInitializeParams
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::AttachedDiskInitializeParams
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This field is persisted and returned for instanceTemplate and not returned in the context of instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both.
Defined Under Namespace
Modules: Architecture, OnUpdateAction Classes: LabelsEntry, ResourceManagerTagsEntry
Instance Attribute Summary collapse
-
#architecture ⇒ ::String
The architecture of the attached disk.
-
#description ⇒ ::String
An optional description.
-
#disk_name ⇒ ::String
Specifies the disk name.
-
#disk_size_gb ⇒ ::Integer
Specifies the size of the disk in base-2 GB.
-
#disk_type ⇒ ::String
Specifies the disk type to use to create the instance.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Labels to apply to this disk.
-
#licenses ⇒ ::Array<::String>
A list of publicly visible licenses.
-
#on_update_action ⇒ ::String
Specifies which action to take on instance update with this disk.
-
#provisioned_iops ⇒ ::Integer
Indicates how many IOPS to provision for the disk.
-
#resource_manager_tags ⇒ ::Google::Protobuf::Map{::String => ::String}
Resource manager tags to be bound to the disk.
-
#resource_policies ⇒ ::Array<::String>
Resource policies applied to this disk for automatic snapshot creations.
-
#source_image ⇒ ::String
The source image to create this disk.
-
#source_image_encryption_key ⇒ ::Google::Cloud::Compute::V1::CustomerEncryptionKey
The customer-supplied encryption key of the source image.
-
#source_snapshot ⇒ ::String
The source snapshot to create this disk.
-
#source_snapshot_encryption_key ⇒ ::Google::Cloud::Compute::V1::CustomerEncryptionKey
The customer-supplied encryption key of the source snapshot.
Instance Attribute Details
#architecture ⇒ ::String
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2351 class AttachedDiskInitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The architecture of the attached disk. Valid values are arm64 or x86_64. module Architecture # A value indicating that the enum field is not set. UNDEFINED_ARCHITECTURE = 0 # Default value indicating Architecture is not set. ARCHITECTURE_UNSPECIFIED = 394_750_507 # Machines with architecture ARM64 ARM64 = 62_547_450 # Machines with architecture X86_64 X86_64 = 425_300_551 end # Specifies which action to take on instance update with this disk. Default is to use the existing disk. module OnUpdateAction # A value indicating that the enum field is not set. UNDEFINED_ON_UPDATE_ACTION = 0 # Always recreate the disk. RECREATE_DISK = 494_767_853 # Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RECREATE_DISK_IF_SOURCE_CHANGED = 398_099_712 # Use the existing disk, this is the default behaviour. USE_EXISTING_DISK = 232_682_233 end end |
#description ⇒ ::String
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2351 class AttachedDiskInitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The architecture of the attached disk. Valid values are arm64 or x86_64. module Architecture # A value indicating that the enum field is not set. UNDEFINED_ARCHITECTURE = 0 # Default value indicating Architecture is not set. ARCHITECTURE_UNSPECIFIED = 394_750_507 # Machines with architecture ARM64 ARM64 = 62_547_450 # Machines with architecture X86_64 X86_64 = 425_300_551 end # Specifies which action to take on instance update with this disk. Default is to use the existing disk. module OnUpdateAction # A value indicating that the enum field is not set. UNDEFINED_ON_UPDATE_ACTION = 0 # Always recreate the disk. RECREATE_DISK = 494_767_853 # Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RECREATE_DISK_IF_SOURCE_CHANGED = 398_099_712 # Use the existing disk, this is the default behaviour. USE_EXISTING_DISK = 232_682_233 end end |
#disk_name ⇒ ::String
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2351 class AttachedDiskInitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The architecture of the attached disk. Valid values are arm64 or x86_64. module Architecture # A value indicating that the enum field is not set. UNDEFINED_ARCHITECTURE = 0 # Default value indicating Architecture is not set. ARCHITECTURE_UNSPECIFIED = 394_750_507 # Machines with architecture ARM64 ARM64 = 62_547_450 # Machines with architecture X86_64 X86_64 = 425_300_551 end # Specifies which action to take on instance update with this disk. Default is to use the existing disk. module OnUpdateAction # A value indicating that the enum field is not set. UNDEFINED_ON_UPDATE_ACTION = 0 # Always recreate the disk. RECREATE_DISK = 494_767_853 # Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RECREATE_DISK_IF_SOURCE_CHANGED = 398_099_712 # Use the existing disk, this is the default behaviour. USE_EXISTING_DISK = 232_682_233 end end |
#disk_size_gb ⇒ ::Integer
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2351 class AttachedDiskInitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The architecture of the attached disk. Valid values are arm64 or x86_64. module Architecture # A value indicating that the enum field is not set. UNDEFINED_ARCHITECTURE = 0 # Default value indicating Architecture is not set. ARCHITECTURE_UNSPECIFIED = 394_750_507 # Machines with architecture ARM64 ARM64 = 62_547_450 # Machines with architecture X86_64 X86_64 = 425_300_551 end # Specifies which action to take on instance update with this disk. Default is to use the existing disk. module OnUpdateAction # A value indicating that the enum field is not set. UNDEFINED_ON_UPDATE_ACTION = 0 # Always recreate the disk. RECREATE_DISK = 494_767_853 # Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RECREATE_DISK_IF_SOURCE_CHANGED = 398_099_712 # Use the existing disk, this is the default behaviour. USE_EXISTING_DISK = 232_682_233 end end |
#disk_type ⇒ ::String
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2351 class AttachedDiskInitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The architecture of the attached disk. Valid values are arm64 or x86_64. module Architecture # A value indicating that the enum field is not set. UNDEFINED_ARCHITECTURE = 0 # Default value indicating Architecture is not set. ARCHITECTURE_UNSPECIFIED = 394_750_507 # Machines with architecture ARM64 ARM64 = 62_547_450 # Machines with architecture X86_64 X86_64 = 425_300_551 end # Specifies which action to take on instance update with this disk. Default is to use the existing disk. module OnUpdateAction # A value indicating that the enum field is not set. UNDEFINED_ON_UPDATE_ACTION = 0 # Always recreate the disk. RECREATE_DISK = 494_767_853 # Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RECREATE_DISK_IF_SOURCE_CHANGED = 398_099_712 # Use the existing disk, this is the default behaviour. USE_EXISTING_DISK = 232_682_233 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2351 class AttachedDiskInitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The architecture of the attached disk. Valid values are arm64 or x86_64. module Architecture # A value indicating that the enum field is not set. UNDEFINED_ARCHITECTURE = 0 # Default value indicating Architecture is not set. ARCHITECTURE_UNSPECIFIED = 394_750_507 # Machines with architecture ARM64 ARM64 = 62_547_450 # Machines with architecture X86_64 X86_64 = 425_300_551 end # Specifies which action to take on instance update with this disk. Default is to use the existing disk. module OnUpdateAction # A value indicating that the enum field is not set. UNDEFINED_ON_UPDATE_ACTION = 0 # Always recreate the disk. RECREATE_DISK = 494_767_853 # Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RECREATE_DISK_IF_SOURCE_CHANGED = 398_099_712 # Use the existing disk, this is the default behaviour. USE_EXISTING_DISK = 232_682_233 end end |
#licenses ⇒ ::Array<::String>
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2351 class AttachedDiskInitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The architecture of the attached disk. Valid values are arm64 or x86_64. module Architecture # A value indicating that the enum field is not set. UNDEFINED_ARCHITECTURE = 0 # Default value indicating Architecture is not set. ARCHITECTURE_UNSPECIFIED = 394_750_507 # Machines with architecture ARM64 ARM64 = 62_547_450 # Machines with architecture X86_64 X86_64 = 425_300_551 end # Specifies which action to take on instance update with this disk. Default is to use the existing disk. module OnUpdateAction # A value indicating that the enum field is not set. UNDEFINED_ON_UPDATE_ACTION = 0 # Always recreate the disk. RECREATE_DISK = 494_767_853 # Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RECREATE_DISK_IF_SOURCE_CHANGED = 398_099_712 # Use the existing disk, this is the default behaviour. USE_EXISTING_DISK = 232_682_233 end end |
#on_update_action ⇒ ::String
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2351 class AttachedDiskInitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The architecture of the attached disk. Valid values are arm64 or x86_64. module Architecture # A value indicating that the enum field is not set. UNDEFINED_ARCHITECTURE = 0 # Default value indicating Architecture is not set. ARCHITECTURE_UNSPECIFIED = 394_750_507 # Machines with architecture ARM64 ARM64 = 62_547_450 # Machines with architecture X86_64 X86_64 = 425_300_551 end # Specifies which action to take on instance update with this disk. Default is to use the existing disk. module OnUpdateAction # A value indicating that the enum field is not set. UNDEFINED_ON_UPDATE_ACTION = 0 # Always recreate the disk. RECREATE_DISK = 494_767_853 # Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RECREATE_DISK_IF_SOURCE_CHANGED = 398_099_712 # Use the existing disk, this is the default behaviour. USE_EXISTING_DISK = 232_682_233 end end |
#provisioned_iops ⇒ ::Integer
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2351 class AttachedDiskInitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The architecture of the attached disk. Valid values are arm64 or x86_64. module Architecture # A value indicating that the enum field is not set. UNDEFINED_ARCHITECTURE = 0 # Default value indicating Architecture is not set. ARCHITECTURE_UNSPECIFIED = 394_750_507 # Machines with architecture ARM64 ARM64 = 62_547_450 # Machines with architecture X86_64 X86_64 = 425_300_551 end # Specifies which action to take on instance update with this disk. Default is to use the existing disk. module OnUpdateAction # A value indicating that the enum field is not set. UNDEFINED_ON_UPDATE_ACTION = 0 # Always recreate the disk. RECREATE_DISK = 494_767_853 # Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RECREATE_DISK_IF_SOURCE_CHANGED = 398_099_712 # Use the existing disk, this is the default behaviour. USE_EXISTING_DISK = 232_682_233 end end |
#resource_manager_tags ⇒ ::Google::Protobuf::Map{::String => ::String}
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2351 class AttachedDiskInitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The architecture of the attached disk. Valid values are arm64 or x86_64. module Architecture # A value indicating that the enum field is not set. UNDEFINED_ARCHITECTURE = 0 # Default value indicating Architecture is not set. ARCHITECTURE_UNSPECIFIED = 394_750_507 # Machines with architecture ARM64 ARM64 = 62_547_450 # Machines with architecture X86_64 X86_64 = 425_300_551 end # Specifies which action to take on instance update with this disk. Default is to use the existing disk. module OnUpdateAction # A value indicating that the enum field is not set. UNDEFINED_ON_UPDATE_ACTION = 0 # Always recreate the disk. RECREATE_DISK = 494_767_853 # Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RECREATE_DISK_IF_SOURCE_CHANGED = 398_099_712 # Use the existing disk, this is the default behaviour. USE_EXISTING_DISK = 232_682_233 end end |
#resource_policies ⇒ ::Array<::String>
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2351 class AttachedDiskInitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The architecture of the attached disk. Valid values are arm64 or x86_64. module Architecture # A value indicating that the enum field is not set. UNDEFINED_ARCHITECTURE = 0 # Default value indicating Architecture is not set. ARCHITECTURE_UNSPECIFIED = 394_750_507 # Machines with architecture ARM64 ARM64 = 62_547_450 # Machines with architecture X86_64 X86_64 = 425_300_551 end # Specifies which action to take on instance update with this disk. Default is to use the existing disk. module OnUpdateAction # A value indicating that the enum field is not set. UNDEFINED_ON_UPDATE_ACTION = 0 # Always recreate the disk. RECREATE_DISK = 494_767_853 # Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RECREATE_DISK_IF_SOURCE_CHANGED = 398_099_712 # Use the existing disk, this is the default behaviour. USE_EXISTING_DISK = 232_682_233 end end |
#source_image ⇒ ::String
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2351 class AttachedDiskInitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The architecture of the attached disk. Valid values are arm64 or x86_64. module Architecture # A value indicating that the enum field is not set. UNDEFINED_ARCHITECTURE = 0 # Default value indicating Architecture is not set. ARCHITECTURE_UNSPECIFIED = 394_750_507 # Machines with architecture ARM64 ARM64 = 62_547_450 # Machines with architecture X86_64 X86_64 = 425_300_551 end # Specifies which action to take on instance update with this disk. Default is to use the existing disk. module OnUpdateAction # A value indicating that the enum field is not set. UNDEFINED_ON_UPDATE_ACTION = 0 # Always recreate the disk. RECREATE_DISK = 494_767_853 # Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RECREATE_DISK_IF_SOURCE_CHANGED = 398_099_712 # Use the existing disk, this is the default behaviour. USE_EXISTING_DISK = 232_682_233 end end |
#source_image_encryption_key ⇒ ::Google::Cloud::Compute::V1::CustomerEncryptionKey
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2351 class AttachedDiskInitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The architecture of the attached disk. Valid values are arm64 or x86_64. module Architecture # A value indicating that the enum field is not set. UNDEFINED_ARCHITECTURE = 0 # Default value indicating Architecture is not set. ARCHITECTURE_UNSPECIFIED = 394_750_507 # Machines with architecture ARM64 ARM64 = 62_547_450 # Machines with architecture X86_64 X86_64 = 425_300_551 end # Specifies which action to take on instance update with this disk. Default is to use the existing disk. module OnUpdateAction # A value indicating that the enum field is not set. UNDEFINED_ON_UPDATE_ACTION = 0 # Always recreate the disk. RECREATE_DISK = 494_767_853 # Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RECREATE_DISK_IF_SOURCE_CHANGED = 398_099_712 # Use the existing disk, this is the default behaviour. USE_EXISTING_DISK = 232_682_233 end end |
#source_snapshot ⇒ ::String
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2351 class AttachedDiskInitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The architecture of the attached disk. Valid values are arm64 or x86_64. module Architecture # A value indicating that the enum field is not set. UNDEFINED_ARCHITECTURE = 0 # Default value indicating Architecture is not set. ARCHITECTURE_UNSPECIFIED = 394_750_507 # Machines with architecture ARM64 ARM64 = 62_547_450 # Machines with architecture X86_64 X86_64 = 425_300_551 end # Specifies which action to take on instance update with this disk. Default is to use the existing disk. module OnUpdateAction # A value indicating that the enum field is not set. UNDEFINED_ON_UPDATE_ACTION = 0 # Always recreate the disk. RECREATE_DISK = 494_767_853 # Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RECREATE_DISK_IF_SOURCE_CHANGED = 398_099_712 # Use the existing disk, this is the default behaviour. USE_EXISTING_DISK = 232_682_233 end end |
#source_snapshot_encryption_key ⇒ ::Google::Cloud::Compute::V1::CustomerEncryptionKey
2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2351 class AttachedDiskInitializeParams include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class ResourceManagerTagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The architecture of the attached disk. Valid values are arm64 or x86_64. module Architecture # A value indicating that the enum field is not set. UNDEFINED_ARCHITECTURE = 0 # Default value indicating Architecture is not set. ARCHITECTURE_UNSPECIFIED = 394_750_507 # Machines with architecture ARM64 ARM64 = 62_547_450 # Machines with architecture X86_64 X86_64 = 425_300_551 end # Specifies which action to take on instance update with this disk. Default is to use the existing disk. module OnUpdateAction # A value indicating that the enum field is not set. UNDEFINED_ON_UPDATE_ACTION = 0 # Always recreate the disk. RECREATE_DISK = 494_767_853 # Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RECREATE_DISK_IF_SOURCE_CHANGED = 398_099_712 # Use the existing disk, this is the default behaviour. USE_EXISTING_DISK = 232_682_233 end end |