Interface CreateSecretRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateSecretRequest,CreateSecretRequest.Builder
@Generated
public interface CreateSecretRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.ByteStringRequired.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The resource name of the project to associate with the [Secret][google.cloud.secretmanager.v1beta2.Secret], in the format `projects/*` or `projects/*/locations/*`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The resource name of the project to associate with the [Secret][google.cloud.secretmanager.v1beta2.Secret], in the format `projects/*` or `projects/*/locations/*`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getSecretId
String getSecretId()Required. This must be unique within the project. A secret ID is a string with a maximum length of 255 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (`-`) and underscore (`_`) characters.
string secret_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The secretId.
-
getSecretIdBytes
com.google.protobuf.ByteString getSecretIdBytes()Required. This must be unique within the project. A secret ID is a string with a maximum length of 255 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (`-`) and underscore (`_`) characters.
string secret_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for secretId.
-
hasSecret
boolean hasSecret()Required. A [Secret][google.cloud.secretmanager.v1beta2.Secret] with initial field values.
.google.cloud.secretmanager.v1beta2.Secret secret = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the secret field is set.
-
getSecret
Secret getSecret()Required. A [Secret][google.cloud.secretmanager.v1beta2.Secret] with initial field values.
.google.cloud.secretmanager.v1beta2.Secret secret = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The secret.
-
getSecretOrBuilder
SecretOrBuilder getSecretOrBuilder()Required. A [Secret][google.cloud.secretmanager.v1beta2.Secret] with initial field values.
.google.cloud.secretmanager.v1beta2.Secret secret = 3 [(.google.api.field_behavior) = REQUIRED];
-