Class: Google::Apis::BigqueryV2::PartitionedColumn

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 column information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PartitionedColumn

Returns a new instance of PartitionedColumn.



7441
7442
7443
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7441

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

Instance Attribute Details

#fieldString

Required. The name of the partition column. Corresponds to the JSON property field

Returns:

  • (String)


7439
7440
7441
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7439

def field
  @field
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7446
7447
7448
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7446

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