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.



567
568
569
# File 'lib/google/apis/datastream_v1/classes.rb', line 567

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bigquery_clusteringGoogle::Apis::DatastreamV1::BigQueryClustering

BigQuery clustering configuration. Corresponds to the JSON property bigqueryClustering



560
561
562
# File 'lib/google/apis/datastream_v1/classes.rb', line 560

def bigquery_clustering
  @bigquery_clustering
end

#bigquery_partitioningGoogle::Apis::DatastreamV1::BigQueryPartitioning

BigQuery partitioning configuration. Corresponds to the JSON property bigqueryPartitioning



565
566
567
# File 'lib/google/apis/datastream_v1/classes.rb', line 565

def bigquery_partitioning
  @bigquery_partitioning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



572
573
574
575
# File 'lib/google/apis/datastream_v1/classes.rb', line 572

def update!(**args)
  @bigquery_clustering = args[:bigquery_clustering] if args.key?(:bigquery_clustering)
  @bigquery_partitioning = args[:bigquery_partitioning] if args.key?(:bigquery_partitioning)
end