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.
9105 9106 9107 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9105 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
9103 9104 9105 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9103 def fields @fields end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9110 9111 9112 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9110 def update!(**args) @fields = args[:fields] if args.key?(:fields) end |