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.



605
606
607
# File 'lib/google/apis/datastream_v1/classes.rb', line 605

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

Instance Attribute Details

#bigquery_clusteringGoogle::Apis::DatastreamV1::BigQueryClustering

BigQuery clustering configuration. Corresponds to the JSON property bigqueryClustering



598
599
600
# File 'lib/google/apis/datastream_v1/classes.rb', line 598

def bigquery_clustering
  @bigquery_clustering
end

#bigquery_partitioningGoogle::Apis::DatastreamV1::BigQueryPartitioning

BigQuery partitioning configuration. Corresponds to the JSON property bigqueryPartitioning



603
604
605
# File 'lib/google/apis/datastream_v1/classes.rb', line 603

def bigquery_partitioning
  @bigquery_partitioning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



610
611
612
613
# File 'lib/google/apis/datastream_v1/classes.rb', line 610

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