Class: Google::Apis::ConnectorsV1::EuaSecret
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::EuaSecret
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
EUASecret provides a reference to entries in Secret Manager.
Instance Attribute Summary collapse
-
#secret_value ⇒ String
Optional.
-
#secret_version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EuaSecret
constructor
A new instance of EuaSecret.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EuaSecret
Returns a new instance of EuaSecret.
2114 2115 2116 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2114 def initialize(**args) update!(**args) end |
Instance Attribute Details
#secret_value ⇒ String
Optional. The plain string value of the secret.
Corresponds to the JSON property secretValue
2106 2107 2108 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2106 def secret_value @secret_value end |
#secret_version ⇒ String
Optional. The resource name of the secret version in the format, format as:
projects/*/secrets/*/versions/*.
Corresponds to the JSON property secretVersion
2112 2113 2114 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2112 def secret_version @secret_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2119 2120 2121 2122 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2119 def update!(**args) @secret_value = args[:secret_value] if args.key?(:secret_value) @secret_version = args[:secret_version] if args.key?(:secret_version) end |