Class: Google::Apis::AnalyticshubV1::DestinationDataset
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticshubV1::DestinationDataset
- 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
-
#dataset_reference ⇒ Google::Apis::AnalyticshubV1::DestinationDatasetReference
Contains the reference that identifies a destination bigquery dataset.
-
#description ⇒ String
Optional.
-
#friendly_name ⇒ String
Optional.
-
#labels ⇒ Hash<String,String>
Optional.
-
#location ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DestinationDataset
constructor
A new instance of DestinationDataset.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_reference ⇒ Google::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 |
#description ⇒ String
Optional. A user-friendly description of the dataset.
Corresponds to the JSON property description
684 685 686 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 684 def description @description end |
#friendly_name ⇒ String
Optional. A descriptive name for the dataset.
Corresponds to the JSON property friendlyName
689 690 691 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 689 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
697 698 699 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 697 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
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 |