Class: Google::Apis::BigqueryV2::IntArray

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

An array of int.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IntArray

Returns a new instance of IntArray.



3370
3371
3372
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3370

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

Instance Attribute Details

#elementsArray<Fixnum>

Elements in the int array. Corresponds to the JSON property elements

Returns:

  • (Array<Fixnum>)


3368
3369
3370
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3368

def elements
  @elements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3375
3376
3377
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3375

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