Class: Google::Apis::LoggingV2::BigQueryDataset

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

Overview

Describes a BigQuery dataset that was created by a link.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BigQueryDataset

Returns a new instance of BigQueryDataset.



109
110
111
# File 'lib/google/apis/logging_v2/classes.rb', line 109

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

Instance Attribute Details

#dataset_idString

Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only).The dataset will have a resource path of "bigquery.googleapis.com/projects/ PROJECT_ID/datasets/DATASET_ID" Corresponds to the JSON property datasetId

Returns:

  • (String)


107
108
109
# File 'lib/google/apis/logging_v2/classes.rb', line 107

def dataset_id
  @dataset_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



114
115
116
# File 'lib/google/apis/logging_v2/classes.rb', line 114

def update!(**args)
  @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
end