Class: Google::Apis::VmmigrationV1::ListDiskMigrationJobsResponse

Inherits:
Object
  • Object
show all
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

Response message for 'ListDiskMigrationJobs' request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDiskMigrationJobsResponse

Returns a new instance of ListDiskMigrationJobsResponse.



3085
3086
3087
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 3085

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#disk_migration_jobsArray<Google::Apis::VmmigrationV1::DiskMigrationJob>

Output only. The list of the disk migration jobs. Corresponds to the JSON property diskMigrationJobs



3072
3073
3074
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 3072

def disk_migration_jobs
  @disk_migration_jobs
end

#next_page_tokenString

Optional. Output only. A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3078
3079
3080
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 3078

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Output only. Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


3083
3084
3085
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 3083

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3090
3091
3092
3093
3094
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 3090

def update!(**args)
  @disk_migration_jobs = args[:disk_migration_jobs] if args.key?(:disk_migration_jobs)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @unreachable = args[:unreachable] if args.key?(:unreachable)
end