Package com.google.cloudbuild.v1
Interface SecretManagerSecretOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SecretManagerSecret,SecretManagerSecret.Builder
@Generated
public interface SecretManagerSecretOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEnv()Environment variable name to associate with the secret.com.google.protobuf.ByteStringEnvironment variable name to associate with the secret.Resource name of the SecretVersion.com.google.protobuf.ByteStringResource name of the SecretVersion.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
-
getVersionName
String getVersionName()Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*
string version_name = 1 [(.google.api.resource_reference) = { ... }- Returns:
- The versionName.
-
getVersionNameBytes
com.google.protobuf.ByteString getVersionNameBytes()Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*
string version_name = 1 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for versionName.
-
getEnv
String getEnv()Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
string env = 2;- Returns:
- The env.
-
getEnvBytes
com.google.protobuf.ByteString getEnvBytes()Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
string env = 2;- Returns:
- The bytes for env.
-