Interface InlineSecretOrBuilder (3.5.4)

Stay organized with collections Save and categorize content based on your preferences.
public interface InlineSecretOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsEnvMap(String key)

public abstract boolean containsEnvMap(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> env_map = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getEnvMap()

public abstract Map<String,ByteString> getEnvMap()

Use #getEnvMapMap() instead.

Returns
TypeDescription
Map<String,ByteString>

getEnvMapCount()

public abstract int getEnvMapCount()

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> env_map = 2;

Returns
TypeDescription
int

getEnvMapMap()

public abstract Map<String,ByteString> getEnvMapMap()

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> env_map = 2;

Returns
TypeDescription
Map<String,ByteString>

getEnvMapOrDefault(String key, ByteString defaultValue)

public abstract ByteString getEnvMapOrDefault(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> env_map = 2;

Parameters
NameDescription
keyString
defaultValueByteString
Returns
TypeDescription
ByteString

getEnvMapOrThrow(String key)

public abstract ByteString getEnvMapOrThrow(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> env_map = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
ByteString

getKmsKeyName()

public abstract String getKmsKeyName()

Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects/*/locations/*/keyRings/*/cryptoKeys/*

string kms_key_name = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The kmsKeyName.

getKmsKeyNameBytes()

public abstract ByteString getKmsKeyNameBytes()

Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects/*/locations/*/keyRings/*/cryptoKeys/*

string kms_key_name = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for kmsKeyName.