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.
2003 2004 2005 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2003 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 propertysecretVersion`
2001 2002 2003 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2001 def secret_version @secret_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2008 2009 2010 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 2008 def update!(**args) @secret_version = args[:secret_version] if args.key?(:secret_version) end |