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.
2000 2001 2002 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 2000 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_type ⇒ String
Corresponds to the JSON property dataType
1993 1994 1995 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 1993 def data_type @data_type end |
#value ⇒ Object
Corresponds to the JSON property value
1998 1999 2000 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 1998 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2005 2006 2007 2008 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 2005 def update!(**args) @data_type = args[:data_type] if args.key?(:data_type) @value = args[:value] if args.key?(:value) end |