Class: Google::Apis::AnalyticshubV1::DestinationDataset

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticshub_v1/classes.rb,
lib/google/apis/analyticshub_v1/representations.rb,
lib/google/apis/analyticshub_v1/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.



380
381
382
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 380

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

Instance Attribute Details

#dataset_referenceGoogle::Apis::AnalyticshubV1::DestinationDatasetReference

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



354
355
356
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 354

def dataset_reference
  @dataset_reference
end

#descriptionString

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

Returns:

  • (String)


359
360
361
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 359

def description
  @description
end

#friendly_nameString

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

Returns:

  • (String)


364
365
366
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 364

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


372
373
374
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 372

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)


378
379
380
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 378

def location
  @location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



385
386
387
388
389
390
391
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 385

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