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.



709
710
711
# File 'lib/google/apis/connectors_v2/classes.rb', line 709

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

Instance Attribute Details

#data_typeString

Corresponds to the JSON property dataType

Returns:

  • (String)


702
703
704
# File 'lib/google/apis/connectors_v2/classes.rb', line 702

def data_type
  @data_type
end

#valueObject

Corresponds to the JSON property value

Returns:

  • (Object)


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