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.



6964
6965
6966
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6964

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)


6962
6963
6964
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6962

def field
  @field
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6969
6970
6971
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6969

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