Class: Google::Apis::DatastreamV1::CustomizationRule
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::CustomizationRule
- 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
A customization rule to apply to a set of objects.
Instance Attribute Summary collapse
-
#bigquery_clustering ⇒ Google::Apis::DatastreamV1::BigQueryClustering
BigQuery clustering configuration.
-
#bigquery_partitioning ⇒ Google::Apis::DatastreamV1::BigQueryPartitioning
BigQuery partitioning configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomizationRule
constructor
A new instance of CustomizationRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomizationRule
Returns a new instance of CustomizationRule.
599 600 601 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 599 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bigquery_clustering ⇒ Google::Apis::DatastreamV1::BigQueryClustering
BigQuery clustering configuration.
Corresponds to the JSON property bigqueryClustering
592 593 594 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 592 def bigquery_clustering @bigquery_clustering end |
#bigquery_partitioning ⇒ Google::Apis::DatastreamV1::BigQueryPartitioning
BigQuery partitioning configuration.
Corresponds to the JSON property bigqueryPartitioning
597 598 599 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 597 def bigquery_partitioning @bigquery_partitioning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
604 605 606 607 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 604 def update!(**args) @bigquery_clustering = args[:bigquery_clustering] if args.key?(:bigquery_clustering) @bigquery_partitioning = args[:bigquery_partitioning] if args.key?(:bigquery_partitioning) end |