Interface AccessSecretVersionResponseOrBuilder (2.52.0)

public interface AccessSecretVersionResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

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

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

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

Returns
Type Description
ByteString

The bytes for name.

getPayload()

public abstract SecretPayload getPayload()

Secret payload

.google.cloud.secretmanager.v1.SecretPayload payload = 2;

Returns
Type Description
SecretPayload

The payload.

getPayloadOrBuilder()

public abstract SecretPayloadOrBuilder getPayloadOrBuilder()

Secret payload

.google.cloud.secretmanager.v1.SecretPayload payload = 2;

Returns
Type Description
SecretPayloadOrBuilder

hasPayload()

public abstract boolean hasPayload()

Secret payload

.google.cloud.secretmanager.v1.SecretPayload payload = 2;

Returns
Type Description
boolean

Whether the payload field is set.