Class: Google::Apis::TranscoderV1::SecretManagerSource

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecretManagerSource

Returns a new instance of SecretManagerSource.



1963
1964
1965
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1963

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#secret_versionString

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`

Returns:

  • (String)


1961
1962
1963
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1961

def secret_version
  @secret_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1968
1969
1970
# File 'lib/google/apis/transcoder_v1/classes.rb', line 1968

def update!(**args)
  @secret_version = args[:secret_version] if args.key?(:secret_version)
end