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.



2986
2987
2988
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2986

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

Instance Attribute Details

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

The JobRun objects. Corresponds to the JSON property jobRuns



2973
2974
2975
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2973

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)


2979
2980
2981
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2979

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


2984
2985
2986
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2984

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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