Class: Google::Apis::BigqueryV2::DatasetList

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

Defined Under Namespace

Classes: Dataset

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) ⇒ DatasetList

Returns a new instance of DatasetList.



1308
1309
1310
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1308

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

Instance Attribute Details

#datasetsArray<Google::Apis::BigqueryV2::DatasetList::Dataset>

An array of the dataset resources in the project. Each resource contains basic information. For full information about a particular dataset resource, use the Datasets: get method. This property is omitted when there are no datasets in the project. Corresponds to the JSON property datasets



1289
1290
1291
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1289

def datasets
  @datasets
end

#etagString

A hash value of the results page. You can use this property to determine if the page has changed since the last request. Corresponds to the JSON property etag

Returns:

  • (String)


1295
1296
1297
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1295

def etag
  @etag
end

#kindString

The list type. This property always returns the value "bigquery#datasetList". Corresponds to the JSON property kind

Returns:

  • (String)


1300
1301
1302
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1300

def kind
  @kind
end

#next_page_tokenString

A token that can be used to request the next results page. This property is omitted on the final results page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1306
1307
1308
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1306

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1313
1314
1315
1316
1317
1318
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1313

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