Class: Google::Apis::ClouddeployV1::ListJobRunsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb

Overview

ListJobRunsResponse is the response object returned by ListJobRuns.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListJobRunsResponse

Returns a new instance of ListJobRunsResponse.



3005
3006
3007
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3005

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

Instance Attribute Details

#job_runsArray<Google::Apis::ClouddeployV1::JobRun>

The JobRun objects. Corresponds to the JSON property jobRuns



2992
2993
2994
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2992

def job_runs
  @job_runs
end

#next_page_tokenString

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)


2998
2999
3000
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2998

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Locations that could not be reached Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


3003
3004
3005
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3003

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3010
3011
3012
3013
3014
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3010

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