Class: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationParameterValue

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigqueryconnection_v1/classes.rb,
lib/google/apis/bigqueryconnection_v1/representations.rb,
lib/google/apis/bigqueryconnection_v1/representations.rb

Overview

Represents a value for a connector parameter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectorConfigurationParameterValue

Returns a new instance of ConnectorConfigurationParameterValue.



774
775
776
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 774

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

Instance Attribute Details

#bool_valueBoolean Also known as: bool_value?

A boolean parameter value. Corresponds to the JSON property boolValue

Returns:

  • (Boolean)


751
752
753
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 751

def bool_value
  @bool_value
end

#double_valueFloat

A double parameter value. Corresponds to the JSON property doubleValue

Returns:

  • (Float)


757
758
759
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 757

def double_value
  @double_value
end

#int32_valueFixnum

An int32 parameter value. Corresponds to the JSON property int32Value

Returns:

  • (Fixnum)


762
763
764
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 762

def int32_value
  @int32_value
end

#secret_valueGoogle::Apis::BigqueryconnectionV1::ConnectorConfigurationSecret

Secret value parameter. Corresponds to the JSON property secretValue



767
768
769
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 767

def secret_value
  @secret_value
end

#string_valueString

A string parameter value. Corresponds to the JSON property stringValue

Returns:

  • (String)


772
773
774
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 772

def string_value
  @string_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



779
780
781
782
783
784
785
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 779

def update!(**args)
  @bool_value = args[:bool_value] if args.key?(:bool_value)
  @double_value = args[:double_value] if args.key?(:double_value)
  @int32_value = args[:int32_value] if args.key?(:int32_value)
  @secret_value = args[:secret_value] if args.key?(:secret_value)
  @string_value = args[:string_value] if args.key?(:string_value)
end