Class: Google::Apis::AnalyticshubV1beta1::DestinationDataset

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

Overview

Defines the destination bigquery dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DestinationDataset

Returns a new instance of DestinationDataset.



325
326
327
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 325

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

Instance Attribute Details

#dataset_referenceGoogle::Apis::AnalyticshubV1beta1::DestinationDatasetReference

Contains the reference that identifies a destination bigquery dataset. Corresponds to the JSON property datasetReference



299
300
301
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 299

def dataset_reference
  @dataset_reference
end

#descriptionString

Optional. A user-friendly description of the dataset. Corresponds to the JSON property description

Returns:

  • (String)


304
305
306
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 304

def description
  @description
end

#friendly_nameString

Optional. A descriptive name for the dataset. Corresponds to the JSON property friendlyName

Returns:

  • (String)


309
310
311
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 309

def friendly_name
  @friendly_name
end

#labelsHash<String,String>

Optional. The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See https://cloud.google.com/resource-manager/docs/ creating-managing-labels for more information. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


317
318
319
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 317

def labels
  @labels
end

#locationString

Required. The geographic location where the dataset should reside. See https:// cloud.google.com/bigquery/docs/locations for supported locations. Corresponds to the JSON property location

Returns:

  • (String)


323
324
325
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 323

def location
  @location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



330
331
332
333
334
335
336
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 330

def update!(**args)
  @dataset_reference = args[:dataset_reference] if args.key?(:dataset_reference)
  @description = args[:description] if args.key?(:description)
  @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
  @labels = args[:labels] if args.key?(:labels)
  @location = args[:location] if args.key?(:location)
end