Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConfigVariable

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudConnectorsV1ConfigVariable

Returns a new instance of GoogleCloudConnectorsV1ConfigVariable.



5170
5171
5172
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5170

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

Instance Attribute Details

#bool_valueBoolean Also known as: bool_value?

Value is a bool. Corresponds to the JSON property boolValue

Returns:

  • (Boolean)


5142
5143
5144
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5142

def bool_value
  @bool_value
end

#int_valueFixnum

Value is an integer Corresponds to the JSON property intValue

Returns:

  • (Fixnum)


5148
5149
5150
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5148

def int_value
  @int_value
end

#keyString

Key of the config variable. Corresponds to the JSON property key

Returns:

  • (String)


5153
5154
5155
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5153

def key
  @key
end

#key_valueGoogle::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1EncryptionKey

Encryption Key value. Corresponds to the JSON property keyValue



5158
5159
5160
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5158

def key_value
  @key_value
end

#secret_valueGoogle::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret

Secret provides a reference to entries in Secret Manager. Corresponds to the JSON property secretValue



5163
5164
5165
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5163

def secret_value
  @secret_value
end

#string_valueString

Value is a string. Corresponds to the JSON property stringValue

Returns:

  • (String)


5168
5169
5170
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5168

def string_value
  @string_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5175
5176
5177
5178
5179
5180
5181
5182
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5175

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)
  @key_value = args[:key_value] if args.key?(:key_value)
  @secret_value = args[:secret_value] if args.key?(:secret_value)
  @string_value = args[:string_value] if args.key?(:string_value)
end