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
more...

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.

[View source]

9082
9083
9084
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9082

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

Instance Attribute Details

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

Fields within the struct. Corresponds to the JSON property fields


9080
9081
9082
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9080

def fields
  @fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

9087
9088
9089
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9087

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