class Google::Apis::ConnectorsV1::ConfigVariable

ConfigVariable represents a configuration variable present in a Connection. or AuthConfig.

Attributes

bool_value[RW]

Value is a bool. Corresponds to the JSON property ‘boolValue` @return [Boolean]

bool_value?[RW]

Value is a bool. Corresponds to the JSON property ‘boolValue` @return [Boolean]

int_value[RW]

Value is an integer Corresponds to the JSON property ‘intValue` @return [Fixnum]

key[RW]

Key of the config variable. Corresponds to the JSON property ‘key` @return [String]

secret_value[RW]

Secret provides a reference to entries in Secret Manager. Corresponds to the JSON property ‘secretValue` @return [Google::Apis::ConnectorsV1::Secret]

string_value[RW]

Value is a string. Corresponds to the JSON property ‘stringValue` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/connectors_v1/classes.rb, line 282
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/connectors_v1/classes.rb, line 287
def update!(**args)
  @bool_value = args[:bool_value] if args.key?(:bool_value)
  @int_value = args[:int_value] if args.key?(:int_value)
  @key = args[:key] if args.key?(:key)
  @secret_value = args[:secret_value] if args.key?(:secret_value)
  @string_value = args[:string_value] if args.key?(:string_value)
end