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.



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

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



3066
3067
3068
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 3066

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)


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

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>)


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

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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