Class: Google::Apis::BigqueryV2::QueryParameterType::StructType
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::QueryParameterType::StructType
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/google/apis/bigquery_v2/representations.rb
Instance Attribute Summary collapse
-
#description ⇒ String
[Optional] Human-oriented description of the field.
-
#name ⇒ String
[Optional] The name of this field.
-
#type ⇒ Google::Apis::BigqueryV2::QueryParameterType
[Required] The type of this field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StructType
constructor
A new instance of StructType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ StructType
Returns a new instance of StructType.
2112 2113 2114 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
[Optional] Human-oriented description of the field.
Corresponds to the JSON property description
2100 2101 2102 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2100 def description @description end |
#name ⇒ String
[Optional] The name of this field.
Corresponds to the JSON property name
2105 2106 2107 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2105 def name @name end |
#type ⇒ Google::Apis::BigqueryV2::QueryParameterType
[Required] The type of this field.
Corresponds to the JSON property type
2110 2111 2112 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2110 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2117 2118 2119 2120 2121 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2117 def update!(**args) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end |