class Google::Apis::BigqueryV2::DatasetList::Dataset

Attributes

dataset_reference[RW]

The dataset reference. Use this property to access specific parts of the dataset's ID, such as project ID or dataset ID. Corresponds to the JSON property `datasetReference` @return [Google::Apis::BigqueryV2::DatasetReference]

friendly_name[RW]

A descriptive name for the dataset, if one exists. Corresponds to the JSON property `friendlyName` @return [String]

id[RW]

The fully-qualified, unique, opaque ID of the dataset. Corresponds to the JSON property `id` @return [String]

kind[RW]

The resource type. This property always returns the value “bigquery#dataset”. Corresponds to the JSON property `kind` @return [String]

labels[RW]

The labels associated with this dataset. You can use these to organize and group your datasets. Corresponds to the JSON property `labels` @return [Hash<String,String>]

location[RW]

The geographic location where the data resides. Corresponds to the JSON property `location` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/bigquery_v2/classes.rb, line 1861
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/bigquery_v2/classes.rb, line 1866
def update!(**args)
  @dataset_reference = args[:dataset_reference] if args.key?(:dataset_reference)
  @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @labels = args[:labels] if args.key?(:labels)
  @location = args[:location] if args.key?(:location)
end