Class: Google::Apis::BigqueryV2::JobList

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ JobList

Returns a new instance of JobList.



5255
5256
5257
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5255

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

Instance Attribute Details

#etagString

A hash of this page of results. Corresponds to the JSON property etag

Returns:

  • (String)


5231
5232
5233
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5231

def etag
  @etag
end

#jobsArray<Google::Apis::BigqueryV2::JobList::Job>

List of jobs that were requested. Corresponds to the JSON property jobs



5236
5237
5238
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5236

def jobs
  @jobs
end

#kindString

The resource type of the response. Corresponds to the JSON property kind

Returns:

  • (String)


5241
5242
5243
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5241

def kind
  @kind
end

#next_page_tokenString

A token to request the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


5246
5247
5248
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5246

def next_page_token
  @next_page_token
end

#unreachableArray<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

Returns:

  • (Array<String>)


5253
5254
5255
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5253

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5260
5261
5262
5263
5264
5265
5266
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5260

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