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.



2506
2507
2508
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2506

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



2493
2494
2495
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2493

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)


2499
2500
2501
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2499

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


2504
2505
2506
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2504

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2511
2512
2513
2514
2515
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2511

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