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.



705
706
707
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 705

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



679
680
681
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 679

def dataset_reference
  @dataset_reference
end

#descriptionString

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

Returns:

  • (String)


684
685
686
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 684

def description
  @description
end

#friendly_nameString

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

Returns:

  • (String)


689
690
691
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 689

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


697
698
699
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 697

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)


703
704
705
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 703

def location
  @location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



710
711
712
713
714
715
716
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 710

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