Class: Google::Apis::DataflowV1b3::ListJobsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb

Overview

Response to a request to list Dataflow jobs. This may be a partial response, depending on the page size in the ListJobsRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListJobsResponse

Returns a new instance of ListJobsResponse.


913
914
915
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 913

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

Instance Attribute Details

#jobsArray<Google::Apis::DataflowV1b3::Job>

A subset of the requested job information. Corresponds to the JSON property jobs


906
907
908
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 906

def jobs
  @jobs
end

#next_page_tokenString

Set if there may be more results than fit in this response. Corresponds to the JSON property nextPageToken

Returns:

  • (String)

911
912
913
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 911

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


918
919
920
921
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 918

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