Class: Google::Apis::VmmigrationV1::DiskMigrationJobTargetDetails
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::DiskMigrationJobTargetDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmmigration_v1/classes.rb,
lib/google/apis/vmmigration_v1/representations.rb,
lib/google/apis/vmmigration_v1/representations.rb
Overview
Details of the target disk in Compute Engine.
Instance Attribute Summary collapse
-
#encryption ⇒ Google::Apis::VmmigrationV1::Encryption
Encryption message describes the details of the applied encryption.
-
#labels ⇒ Hash<String,String>
Optional.
-
#target_disk ⇒ Google::Apis::VmmigrationV1::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.
2224 2225 2226 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2224 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encryption ⇒ Google::Apis::VmmigrationV1::Encryption
Encryption message describes the details of the applied encryption.
Corresponds to the JSON property encryption
2205 2206 2207 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2205 def encryption @encryption end |
#labels ⇒ Hash<String,String>
Optional. A map of labels to associate with the disk.
Corresponds to the JSON property labels
2210 2211 2212 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2210 def labels @labels end |
#target_disk ⇒ Google::Apis::VmmigrationV1::ComputeEngineDisk
Compute Engine disk target details.
Corresponds to the JSON property targetDisk
2215 2216 2217 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2215 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
2222 2223 2224 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2222 def target_project @target_project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2229 2230 2231 2232 2233 2234 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2229 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 |