Class: Google::Apis::BigqueryV2::QueryParameterType::StructType

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StructType

Returns a new instance of StructType.



4744
4745
4746
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4744

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

Instance Attribute Details

#descriptionString

[Optional] Human-oriented description of the field. Corresponds to the JSON property description

Returns:

  • (String)


4732
4733
4734
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4732

def description
  @description
end

#nameString

[Optional] The name of this field. Corresponds to the JSON property name

Returns:

  • (String)


4737
4738
4739
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4737

def name
  @name
end

#typeGoogle::Apis::BigqueryV2::QueryParameterType

[Required] The type of this field. Corresponds to the JSON property type



4742
4743
4744
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4742

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4749
4750
4751
4752
4753
# File 'generated/google/apis/bigquery_v2/classes.rb', line 4749

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