Class: Google::Apis::BigqueryV2::StandardSqlStructType
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::StandardSqlStructType
- 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
-
#fields ⇒ Array<Google::Apis::BigqueryV2::StandardSqlField>
Fields within the struct.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StandardSqlStructType
constructor
A new instance of StandardSqlStructType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StandardSqlStructType
Returns a new instance of StandardSqlStructType.
9125 9126 9127 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9125 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fields ⇒ Array<Google::Apis::BigqueryV2::StandardSqlField>
Fields within the struct.
Corresponds to the JSON property fields
9123 9124 9125 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9123 def fields @fields end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9130 9131 9132 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9130 def update!(**args) @fields = args[:fields] if args.key?(:fields) end |