Class: Google::Apis::DatastreamV1::BigQueryClustering
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::BigQueryClustering
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1/classes.rb,
lib/google/apis/datastream_v1/representations.rb,
lib/google/apis/datastream_v1/representations.rb
Overview
BigQuery clustering configuration.
Instance Attribute Summary collapse
-
#columns ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BigQueryClustering
constructor
A new instance of BigQueryClustering.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BigQueryClustering
Returns a new instance of BigQueryClustering.
182 183 184 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 182 def initialize(**args) update!(**args) end |
Instance Attribute Details
#columns ⇒ Array<String>
Required. Column names to set as clustering columns.
Corresponds to the JSON property columns
180 181 182 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 180 def columns @columns end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
187 188 189 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 187 def update!(**args) @columns = args[:columns] if args.key?(:columns) end |