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.



7694
7695
7696
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7694

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)


7692
7693
7694
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7692

def field
  @field
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7699
7700
7701
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7699

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