Class: Google::Apis::VmmigrationV1::ListCloneJobsResponse

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 'ListCloneJobs' request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListCloneJobsResponse

Returns a new instance of ListCloneJobsResponse.



2431
2432
2433
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2431

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

Instance Attribute Details

#clone_jobsArray<Google::Apis::VmmigrationV1::CloneJob>

Output only. The list of clone jobs response. Corresponds to the JSON property cloneJobs



2418
2419
2420
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2418

def clone_jobs
  @clone_jobs
end

#next_page_tokenString

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)


2424
2425
2426
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2424

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


2429
2430
2431
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2429

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2436
2437
2438
2439
2440
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2436

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