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.



598
599
600
# File 'lib/google/apis/connectors_v2/classes.rb', line 598

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

Instance Attribute Details

#data_typeString

Corresponds to the JSON property dataType

Returns:

  • (String)


591
592
593
# File 'lib/google/apis/connectors_v2/classes.rb', line 591

def data_type
  @data_type
end

#valueObject

Corresponds to the JSON property value

Returns:

  • (Object)


596
597
598
# File 'lib/google/apis/connectors_v2/classes.rb', line 596

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



603
604
605
606
# File 'lib/google/apis/connectors_v2/classes.rb', line 603

def update!(**args)
  @data_type = args[:data_type] if args.key?(:data_type)
  @value = args[:value] if args.key?(:value)
end