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.



2524
2525
2526
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2524

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



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

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)


2517
2518
2519
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2517

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


2522
2523
2524
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2522

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2529
2530
2531
2532
2533
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2529

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