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.



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

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)


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