Class: Google::Apis::BigqueryV2::StandardSqlStructType

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 representation of a SQL STRUCT type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StandardSqlStructType

Returns a new instance of StandardSqlStructType.



9053
9054
9055
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9053

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

Instance Attribute Details

#fieldsArray<Google::Apis::BigqueryV2::StandardSqlField>

Fields within the struct. Corresponds to the JSON property fields



9051
9052
9053
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9051

def fields
  @fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9058
9059
9060
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9058

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