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.



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

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)


744
745
746
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 744

def bool_value
  @bool_value
end

#double_valueFloat

A double parameter value. Corresponds to the JSON property doubleValue

Returns:

  • (Float)


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

def double_value
  @double_value
end

#int32_valueFixnum

An int32 parameter value. Corresponds to the JSON property int32Value

Returns:

  • (Fixnum)


755
756
757
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 755

def int32_value
  @int32_value
end

#secret_valueGoogle::Apis::BigqueryconnectionV1::ConnectorConfigurationSecret

Secret value parameter. Corresponds to the JSON property secretValue



760
761
762
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 760

def secret_value
  @secret_value
end

#string_valueString

A string parameter value. Corresponds to the JSON property stringValue

Returns:

  • (String)


765
766
767
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 765

def string_value
  @string_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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