Class: Google::Apis::VmmigrationV1alpha1::DiskMigrationJobTargetDetails
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1alpha1::DiskMigrationJobTargetDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmmigration_v1alpha1/classes.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb
Overview
Details of the target disk in Compute Engine.
Instance Attribute Summary collapse
-
#encryption ⇒ Google::Apis::VmmigrationV1alpha1::Encryption
Encryption message describes the details of the applied encryption.
-
#labels ⇒ Hash<String,String>
Optional.
-
#target_disk ⇒ Google::Apis::VmmigrationV1alpha1::ComputeEngineDisk
Compute Engine disk target details.
-
#target_project ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiskMigrationJobTargetDetails
constructor
A new instance of DiskMigrationJobTargetDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiskMigrationJobTargetDetails
Returns a new instance of DiskMigrationJobTargetDetails.
2265 2266 2267 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2265 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encryption ⇒ Google::Apis::VmmigrationV1alpha1::Encryption
Encryption message describes the details of the applied encryption.
Corresponds to the JSON property encryption
2246 2247 2248 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2246 def encryption @encryption end |
#labels ⇒ Hash<String,String>
Optional. A map of labels to associate with the disk.
Corresponds to the JSON property labels
2251 2252 2253 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2251 def labels @labels end |
#target_disk ⇒ Google::Apis::VmmigrationV1alpha1::ComputeEngineDisk
Compute Engine disk target details.
Corresponds to the JSON property targetDisk
2256 2257 2258 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2256 def target_disk @target_disk end |
#target_project ⇒ String
Required. The name of the resource of type TargetProject which represents the
Compute Engine project in which to create the disk. Should be of the form:
projects/project/locations/global/targetProjects/target-project
Corresponds to the JSON property targetProject
2263 2264 2265 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2263 def target_project @target_project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2270 2271 2272 2273 2274 2275 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2270 def update!(**args) @encryption = args[:encryption] if args.key?(:encryption) @labels = args[:labels] if args.key?(:labels) @target_disk = args[:target_disk] if args.key?(:target_disk) @target_project = args[:target_project] if args.key?(:target_project) end |