class Google::Apis::CloudfunctionsV1::SecretVersion
Configuration for a single version.
Attributes
path[RW]
Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `/secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`. Corresponds to the JSON property `path` @return [String]
version[RW]
Version of the secret (version number or the string 'latest'). It is preferrable to use `latest` version with secret volumes as secret value changes are reflected immediately. Corresponds to the JSON property `version` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudfunctions_v1/classes.rb, line 1166 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudfunctions_v1/classes.rb, line 1171 def update!(**args) @path = args[:path] if args.key?(:path) @version = args[:version] if args.key?(:version) end