Class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Overview
ConfigVariable represents a configuration variable present in a Connection. or AuthConfig.
Instance Attribute Summary collapse
-
#bool_value ⇒ Boolean
(also: #bool_value?)
Value is a bool.
-
#encryption_key_value ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EncryptionKey
Encryption Key value.
-
#int_value ⇒ Fixnum
Value is an integer Corresponds to the JSON property
intValue
. -
#key ⇒ String
Key of the config variable.
-
#secret_value ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1Secret
Secret provides a reference to entries in Secret Manager.
-
#string_value ⇒ String
Value is a string.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudConnectorsV1ConfigVariable
constructor
A new instance of GoogleCloudConnectorsV1ConfigVariable.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudConnectorsV1ConfigVariable
Returns a new instance of GoogleCloudConnectorsV1ConfigVariable.
5424 5425 5426 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5424 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bool_value ⇒ Boolean Also known as: bool_value?
Value is a bool.
Corresponds to the JSON property boolValue
5396 5397 5398 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5396 def bool_value @bool_value end |
#encryption_key_value ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EncryptionKey
Encryption Key value.
Corresponds to the JSON property encryptionKeyValue
5402 5403 5404 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5402 def encryption_key_value @encryption_key_value end |
#int_value ⇒ Fixnum
Value is an integer
Corresponds to the JSON property intValue
5407 5408 5409 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5407 def int_value @int_value end |
#key ⇒ String
Key of the config variable.
Corresponds to the JSON property key
5412 5413 5414 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5412 def key @key end |
#secret_value ⇒ Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1Secret
Secret provides a reference to entries in Secret Manager.
Corresponds to the JSON property secretValue
5417 5418 5419 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5417 def secret_value @secret_value end |
#string_value ⇒ String
Value is a string.
Corresponds to the JSON property stringValue
5422 5423 5424 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5422 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5429 5430 5431 5432 5433 5434 5435 5436 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 5429 def update!(**args) @bool_value = args[:bool_value] if args.key?(:bool_value) @encryption_key_value = args[:encryption_key_value] if args.key?(:encryption_key_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 |