Class: Google::Apis::BigqueryV2::TableFieldSchema::Categories

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

Deprecated.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Categories

Returns a new instance of Categories.



11237
11238
11239
# File 'lib/google/apis/bigquery_v2/classes.rb', line 11237

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

Instance Attribute Details

#namesArray<String>

Deprecated. Corresponds to the JSON property names

Returns:

  • (Array<String>)


11235
11236
11237
# File 'lib/google/apis/bigquery_v2/classes.rb', line 11235

def names
  @names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11242
11243
11244
# File 'lib/google/apis/bigquery_v2/classes.rb', line 11242

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