Class: Google::Apis::DataflowV1b3::ListJobsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::ListJobsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb
Overview
Response to a request to list Cloud Dataflow jobs in a project. This might be a partial response, depending on the page size in the ListJobsRequest. However, if the project does not have any jobs, an instance of ListJobsResponse is not returned and the requests's response body is empty ``.
Instance Attribute Summary collapse
-
#failed_location ⇒ Array<Google::Apis::DataflowV1b3::FailedLocation>
Zero or more messages describing the regional endpoints that failed to respond.
-
#jobs ⇒ Array<Google::Apis::DataflowV1b3::Job>
A subset of the requested job information.
-
#next_page_token ⇒ String
Set if there may be more results than fit in this response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListJobsResponse
constructor
A new instance of ListJobsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListJobsResponse
Returns a new instance of ListJobsResponse.
3003 3004 3005 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3003 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failed_location ⇒ Array<Google::Apis::DataflowV1b3::FailedLocation>
Zero or more messages describing the regional endpoints that failed to respond.
Corresponds to the JSON property failedLocation
2991 2992 2993 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2991 def failed_location @failed_location end |
#jobs ⇒ Array<Google::Apis::DataflowV1b3::Job>
A subset of the requested job information.
Corresponds to the JSON property jobs
2996 2997 2998 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2996 def jobs @jobs end |
#next_page_token ⇒ String
Set if there may be more results than fit in this response.
Corresponds to the JSON property nextPageToken
3001 3002 3003 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3001 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3008 3009 3010 3011 3012 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3008 def update!(**args) @failed_location = args[:failed_location] if args.key?(:failed_location) @jobs = args[:jobs] if args.key?(:jobs) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |