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.



7775
7776
7777
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7775

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)


7773
7774
7775
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7773

def field
  @field
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7780
7781
7782
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7780

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