Class: Google::Apis::BigqueryV2::JobList
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::JobList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Overview
JobList is the response format for a jobs.list call.
Defined Under Namespace
Classes: Job
Instance Attribute Summary collapse
-
#etag ⇒ String
A hash of this page of results.
-
#jobs ⇒ Array<Google::Apis::BigqueryV2::JobList::Job>
List of jobs that were requested.
-
#kind ⇒ String
The resource type of the response.
-
#next_page_token ⇒ String
A token to request the next page of results.
-
#unreachable ⇒ Array<String>
A list of skipped locations that were unreachable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobList
constructor
A new instance of JobList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JobList
Returns a new instance of JobList.
5259 5260 5261 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5259 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
A hash of this page of results.
Corresponds to the JSON property etag
5235 5236 5237 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5235 def etag @etag end |
#jobs ⇒ Array<Google::Apis::BigqueryV2::JobList::Job>
List of jobs that were requested.
Corresponds to the JSON property jobs
5240 5241 5242 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5240 def jobs @jobs end |
#kind ⇒ String
The resource type of the response.
Corresponds to the JSON property kind
5245 5246 5247 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5245 def kind @kind end |
#next_page_token ⇒ String
A token to request the next page of results.
Corresponds to the JSON property nextPageToken
5250 5251 5252 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5250 def next_page_token @next_page_token end |
#unreachable ⇒ Array<String>
A list of skipped locations that were unreachable. For more information about
BigQuery locations, see: https://cloud.google.com/bigquery/docs/locations.
Example: "europe-west5"
Corresponds to the JSON property unreachable
5257 5258 5259 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5257 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5264 5265 5266 5267 5268 5269 5270 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5264 def update!(**args) @etag = args[:etag] if args.key?(:etag) @jobs = args[:jobs] if args.key?(:jobs) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable = args[:unreachable] if args.key?(:unreachable) end |