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.
214 215 216 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 214 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
212 213 214 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 212 def columns @columns end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
219 220 221 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 219 def update!(**args) @columns = args[:columns] if args.key?(:columns) end |