public interface AddSecretVersionRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the payload field is set. |