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.



9127
9128
9129
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9127

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

Instance Attribute Details

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

Fields within the struct. Corresponds to the JSON property fields



9125
9126
9127
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9125

def fields
  @fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9132
9133
9134
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9132

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