Class: Google::Apis::VmmigrationV1alpha1::ListCloneJobsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/vmmigration_v1alpha1/classes.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb,
lib/google/apis/vmmigration_v1alpha1/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.



1547
1548
1549
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1547

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

Instance Attribute Details

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

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



1534
1535
1536
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1534

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)


1540
1541
1542
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1540

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


1545
1546
1547
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1545

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1552
1553
1554
1555
1556
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1552

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