Interface AddSecretVersionRequestOrBuilder (2.27.0)

public interface AddSecretVersionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The resource name of the Secret to associate with the SecretVersion in the format projects/*/secrets/*.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The resource name of the Secret to associate with the SecretVersion in the format projects/*/secrets/*.

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

Returns
TypeDescription
ByteString

The bytes for parent.

getPayload()

public abstract SecretPayload getPayload()

Required. The secret payload of the SecretVersion.

.google.cloud.secretmanager.v1.SecretPayload payload = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SecretPayload

The payload.

getPayloadOrBuilder()

public abstract SecretPayloadOrBuilder getPayloadOrBuilder()

Required. The secret payload of the SecretVersion.

.google.cloud.secretmanager.v1.SecretPayload payload = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SecretPayloadOrBuilder

hasPayload()

public abstract boolean hasPayload()

Required. The secret payload of the SecretVersion.

.google.cloud.secretmanager.v1.SecretPayload payload = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the payload field is set.