Class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1ListJobsResponse

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

Overview

Response message for ListJobs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatapipelinesV1ListJobsResponse

Returns a new instance of GoogleCloudDatapipelinesV1ListJobsResponse.



466
467
468
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 466

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

Instance Attribute Details

#jobsArray<Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Job>

Results that were accessible to the caller. Results are always in descending order of job creation date. Corresponds to the JSON property jobs



458
459
460
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 458

def jobs
  @jobs
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)


464
465
466
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 464

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



471
472
473
474
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 471

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