Class: Google::Apis::ConnectorsV2::QueryParameter

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

Instance Method Summary collapse

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_typeString

Corresponds to the JSON property dataType

Returns:

  • (String)


1993
1994
1995
# File 'lib/google/apis/connectors_v2/classes.rb', line 1993

def data_type
  @data_type
end

#valueObject

Corresponds to the JSON property value

Returns:

  • (Object)


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