Class: Google::Apis::RunV2::GoogleCloudRunV2ListJobsResponse

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

Overview

Response message containing a list of Jobs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRunV2ListJobsResponse

Returns a new instance of GoogleCloudRunV2ListJobsResponse.



1071
1072
1073
# File 'lib/google/apis/run_v2/classes.rb', line 1071

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

Instance Attribute Details

#jobsArray<Google::Apis::RunV2::GoogleCloudRunV2Job>

The resulting list of Jobs. Corresponds to the JSON property jobs



1063
1064
1065
# File 'lib/google/apis/run_v2/classes.rb', line 1063

def jobs
  @jobs
end

#next_page_tokenString

A token indicating there are more items than page_size. Use it in the next ListJobs request to continue. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1069
1070
1071
# File 'lib/google/apis/run_v2/classes.rb', line 1069

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1076
1077
1078
1079
# File 'lib/google/apis/run_v2/classes.rb', line 1076

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