Class: Google::Apis::BigqueryV2::PartitioningDefinition

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb

Overview

The partitioning information, which includes managed table and external table partition information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PartitioningDefinition

Returns a new instance of PartitioningDefinition.



6942
6943
6944
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6942

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

Instance Attribute Details

#partitioned_columnArray<Google::Apis::BigqueryV2::PartitionedColumn>

Output only. Details about each partitioning column. BigQuery native tables only support 1 partitioning column. Other table types may support 0, 1 or more partitioning columns. Corresponds to the JSON property partitionedColumn



6940
6941
6942
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6940

def partitioned_column
  @partitioned_column
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6947
6948
6949
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6947

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