Class: Google::Apis::TranscoderV1::SecretManagerSource
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::SecretManagerSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/transcoder_v1/classes.rb,
lib/google/apis/transcoder_v1/representations.rb,
lib/google/apis/transcoder_v1/representations.rb
Overview
Configuration for secrets stored in Google Secret Manager.
Instance Attribute Summary collapse
-
#secret_version ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecretManagerSource
constructor
A new instance of SecretManagerSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecretManagerSource
Returns a new instance of SecretManagerSource.
1969 1970 1971 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1969 def initialize(**args) update!(**args) end |
Instance Attribute Details
#secret_version ⇒ String
Required. The name of the Secret Version containing the encryption key in the
following format: projects/
project/secrets/
secret_id/versions/
version_number`Note that only numbered versions are supported. Aliases like "
latest" are not supported.
Corresponds to the JSON property
secretVersion`
1967 1968 1969 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1967 def secret_version @secret_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1974 1975 1976 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1974 def update!(**args) @secret_version = args[:secret_version] if args.key?(:secret_version) end |