Google Cloud Video Transcoder V1 Client - Class SecretManagerSource (1.3.1)

Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class SecretManagerSource.

Configuration for secrets stored in Google Secret Manager.

Generated from protobuf message google.cloud.video.transcoder.v1.Encryption.SecretManagerSource

Namespace

Google \ Cloud \ Video \ Transcoder \ V1 \ Encryption

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ 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.

getSecretVersion

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.

Returns
Type Description
string

setSecretVersion

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.

Parameter
Name Description
var string
Returns
Type Description
$this

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.