Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConfigVariable
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConfigVariable
- 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
-
#bool_value ⇒ Boolean
(also: #bool_value?)
Value is a bool.
-
#int_value ⇒ Fixnum
Value is an integer Corresponds to the JSON property
intValue. -
#key ⇒ String
Key of the config variable.
-
#secret_value ⇒ Google::Apis::IntegrationsV1alpha::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.
4992 4993 4994 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4992 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
4969 4970 4971 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4969 def bool_value @bool_value end |
#int_value ⇒ Fixnum
Value is an integer
Corresponds to the JSON property intValue
4975 4976 4977 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4975 def int_value @int_value end |
#key ⇒ String
Key of the config variable.
Corresponds to the JSON property key
4980 4981 4982 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4980 def key @key end |
#secret_value ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret
Secret provides a reference to entries in Secret Manager.
Corresponds to the JSON property secretValue
4985 4986 4987 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4985 def secret_value @secret_value end |
#string_value ⇒ String
Value is a string.
Corresponds to the JSON property stringValue
4990 4991 4992 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4990 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4997 4998 4999 5000 5001 5002 5003 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4997 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 |