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.



350
351
352
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 350

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

Instance Attribute Details

#dataset_reference ⇒ Google::Apis::AnalyticshubV1beta1::DestinationDatasetReference

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



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

def dataset_reference
  @dataset_reference
end

#description ⇒ String

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

Returns:

  • (String)


329
330
331
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 329

def description
  @description
end

#friendly_name ⇒ String

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

Returns:

  • (String)


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

def friendly_name
  @friendly_name
end

#labels ⇒ Hash<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>)


342
343
344
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 342

def labels
  @labels
end

#location ⇒ String

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)


348
349
350
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 348

def location
  @location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



355
356
357
358
359
360
361
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 355

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