Class: Google::Apis::ConnectorsV2::QueryParameter
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV2::QueryParameter
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v2/classes.rb,
lib/google/apis/connectors_v2/representations.rb,
lib/google/apis/connectors_v2/representations.rb
Overview
Query parameter definition
Instance Attribute Summary collapse
-
#data_type ⇒ String
Corresponds to the JSON property
dataType. -
#value ⇒ Object
Corresponds to the JSON property
value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryParameter
constructor
A new instance of QueryParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QueryParameter
Returns a new instance of QueryParameter.
709 710 711 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 709 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_type ⇒ String
Corresponds to the JSON property dataType
702 703 704 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 702 def data_type @data_type end |
#value ⇒ Object
Corresponds to the JSON property value
707 708 709 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 707 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
714 715 716 717 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 714 def update!(**args) @data_type = args[:data_type] if args.key?(:data_type) @value = args[:value] if args.key?(:value) end |