Class: Google::Apis::VmmigrationV1::DiskMigrationJob
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::DiskMigrationJob
- 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
Describes the disk which will be migrated from the source environment. The source disk has to be unattached.
Instance Attribute Summary collapse
-
#aws_source_disk_details ⇒ Google::Apis::VmmigrationV1::AwsSourceDiskDetails
Represents the source AWS Disk details.
-
#create_time ⇒ String
Output only.
-
#errors ⇒ Array<Google::Apis::VmmigrationV1::Status>
Output only.
-
#name ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#steps ⇒ Array<Google::Apis::VmmigrationV1::DiskMigrationStep>
Output only.
-
#target_details ⇒ Google::Apis::VmmigrationV1::DiskMigrationJobTargetDetails
Details of the target disk in Compute Engine.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiskMigrationJob
constructor
A new instance of DiskMigrationJob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiskMigrationJob
Returns a new instance of DiskMigrationJob.
2181 2182 2183 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2181 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aws_source_disk_details ⇒ Google::Apis::VmmigrationV1::AwsSourceDiskDetails
Represents the source AWS Disk details.
Corresponds to the JSON property awsSourceDiskDetails
2143 2144 2145 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2143 def aws_source_disk_details @aws_source_disk_details end |
#create_time ⇒ String
Output only. The time the DiskMigrationJob resource was created.
Corresponds to the JSON property createTime
2148 2149 2150 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2148 def create_time @create_time end |
#errors ⇒ Array<Google::Apis::VmmigrationV1::Status>
Output only. Provides details on the errors that led to the disk migration job'
s state in case of an error.
Corresponds to the JSON property errors
2154 2155 2156 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2154 def errors @errors end |
#name ⇒ String
Output only. Identifier. The identifier of the DiskMigrationJob.
Corresponds to the JSON property name
2159 2160 2161 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2159 def name @name end |
#state ⇒ String
Output only. State of the DiskMigrationJob.
Corresponds to the JSON property state
2164 2165 2166 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2164 def state @state end |
#steps ⇒ Array<Google::Apis::VmmigrationV1::DiskMigrationStep>
Output only. The disk migration steps list representing its progress.
Corresponds to the JSON property steps
2169 2170 2171 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2169 def steps @steps end |
#target_details ⇒ Google::Apis::VmmigrationV1::DiskMigrationJobTargetDetails
Details of the target disk in Compute Engine.
Corresponds to the JSON property targetDetails
2174 2175 2176 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2174 def target_details @target_details end |
#update_time ⇒ String
Output only. The last time the DiskMigrationJob resource was updated.
Corresponds to the JSON property updateTime
2179 2180 2181 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2179 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2186 def update!(**args) @aws_source_disk_details = args[:aws_source_disk_details] if args.key?(:aws_source_disk_details) @create_time = args[:create_time] if args.key?(:create_time) @errors = args[:errors] if args.key?(:errors) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @steps = args[:steps] if args.key?(:steps) @target_details = args[:target_details] if args.key?(:target_details) @update_time = args[:update_time] if args.key?(:update_time) end |