Interface GetSecretVersionRequestOrBuilder (2.22.0)

public interface GetSecretVersionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The resource name of the SecretVersion in the format projects/*/secrets/*/versions/*.

projects/*/secrets/*/versions/latest is an alias to the most recently created SecretVersion.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The resource name of the SecretVersion in the format projects/*/secrets/*/versions/*.

projects/*/secrets/*/versions/latest is an alias to the most recently created SecretVersion.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.