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.



2044
2045
2046
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2044

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



2031
2032
2033
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2031

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)


2037
2038
2039
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2037

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


2042
2043
2044
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2042

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2049
2050
2051
2052
2053
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2049

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