Class: Google::Apis::BigqueryV2::DatasetList
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::DatasetList
- 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
Defined Under Namespace
Classes: Dataset
Instance Attribute Summary collapse
-
#datasets ⇒ Array<Google::Apis::BigqueryV2::DatasetList::Dataset>
An array of the dataset resources in the project.
-
#etag ⇒ String
A hash value of the results page.
-
#kind ⇒ String
The list type.
-
#next_page_token ⇒ String
A token that can be used to request the next results page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DatasetList
constructor
A new instance of DatasetList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DatasetList
Returns a new instance of DatasetList.
1651 1652 1653 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1651 def initialize(**args) update!(**args) end |
Instance Attribute Details
#datasets ⇒ Array<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
1632 1633 1634 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1632 def datasets @datasets end |
#etag ⇒ String
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
1638 1639 1640 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1638 def etag @etag end |
#kind ⇒ String
The list type. This property always returns the value "bigquery#datasetList".
Corresponds to the JSON property kind
1643 1644 1645 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1643 def kind @kind end |
#next_page_token ⇒ String
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
1649 1650 1651 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1649 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1656 1657 1658 1659 1660 1661 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1656 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 |