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.
629 630 631 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 629 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bigquery_clustering ⇒ Google::Apis::DatastreamV1::BigQueryClustering
BigQuery clustering configuration.
Corresponds to the JSON property bigqueryClustering
622 623 624 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 622 def bigquery_clustering @bigquery_clustering end |
#bigquery_partitioning ⇒ Google::Apis::DatastreamV1::BigQueryPartitioning
BigQuery partitioning configuration.
Corresponds to the JSON property bigqueryPartitioning
627 628 629 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 627 def bigquery_partitioning @bigquery_partitioning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
634 635 636 637 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 634 def update!(**args) @bigquery_clustering = args[:bigquery_clustering] if args.key?(:bigquery_clustering) @bigquery_partitioning = args[:bigquery_partitioning] if args.key?(:bigquery_partitioning) end |