- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.6
- 3.4.1
- 3.3.12
public interface SecretOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsSecretEnv(String key)
public abstract boolean containsSecretEnv(String key)
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
map<string, bytes> secret_env = 3;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getKmsKeyName()
public abstract String getKmsKeyName()
Cloud KMS key name to use to decrypt these envs.
string kms_key_name = 1;
Returns | |
---|---|
Type | Description |
String |
The kmsKeyName. |
getKmsKeyNameBytes()
public abstract ByteString getKmsKeyNameBytes()
Cloud KMS key name to use to decrypt these envs.
string kms_key_name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for kmsKeyName. |
getSecretEnv() (deprecated)
public abstract Map<String,ByteString> getSecretEnv()
Use #getSecretEnvMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,ByteString> |
getSecretEnvCount()
public abstract int getSecretEnvCount()
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
map<string, bytes> secret_env = 3;
Returns | |
---|---|
Type | Description |
int |
getSecretEnvMap()
public abstract Map<String,ByteString> getSecretEnvMap()
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
map<string, bytes> secret_env = 3;
Returns | |
---|---|
Type | Description |
Map<String,ByteString> |
getSecretEnvOrDefault(String key, ByteString defaultValue)
public abstract ByteString getSecretEnvOrDefault(String key, ByteString defaultValue)
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
map<string, bytes> secret_env = 3;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
ByteString |
Returns | |
---|---|
Type | Description |
ByteString |
getSecretEnvOrThrow(String key)
public abstract ByteString getSecretEnvOrThrow(String key)
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
map<string, bytes> secret_env = 3;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
ByteString |