Google Cloud Container V1 Client - Class GCPSecretManagerCertificateConfig (2.3.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class GCPSecretManagerCertificateConfig.

GCPSecretManagerCertificateConfig configures a secret from Google Secret Manager.

Generated from protobuf message google.container.v1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.GCPSecretManagerCertificateConfig

Namespace

Google \ Cloud \ Container \ V1 \ ContainerdConfig \ PrivateRegistryAccessConfig \ CertificateAuthorityDomainConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ secret_uri string

Secret URI, in the form "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION". Version can be fixed (e.g. "2") or "latest"

getSecretUri

Secret URI, in the form "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION".

Version can be fixed (e.g. "2") or "latest"

Returns
Type Description
string

setSecretUri

Secret URI, in the form "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION".

Version can be fixed (e.g. "2") or "latest"

Parameter
Name Description
var string
Returns
Type Description
$this