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.



6923
6924
6925
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6923

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)


6921
6922
6923
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6921

def field
  @field
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6928
6929
6930
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6928

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