Class: Google::Apis::DatastreamV1::CustomizationRule

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_clusteringGoogle::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_partitioningGoogle::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