Interface EnvironmentOrBuilder (0.5.0)

public interface EnvironmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsSecretVariables(String key)

public abstract boolean containsSecretVariables(String key)

A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.

map<string, string> secret_variables = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsVariables(String key)

public abstract boolean containsVariables(String key)

A map of environment variable names to values.

map<string, string> variables = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getEncryptedVariables()

public abstract Environment.KMSEnvMap getEncryptedVariables()

An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.

.google.cloud.batch.v1alpha.Environment.KMSEnvMap encrypted_variables = 3;

Returns
TypeDescription
Environment.KMSEnvMap

The encryptedVariables.

getEncryptedVariablesOrBuilder()

public abstract Environment.KMSEnvMapOrBuilder getEncryptedVariablesOrBuilder()

An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.

.google.cloud.batch.v1alpha.Environment.KMSEnvMap encrypted_variables = 3;

Returns
TypeDescription
Environment.KMSEnvMapOrBuilder

getSecretVariables()

public abstract Map<String,String> getSecretVariables()
Returns
TypeDescription
Map<String,String>

getSecretVariablesCount()

public abstract int getSecretVariablesCount()

A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.

map<string, string> secret_variables = 2;

Returns
TypeDescription
int

getSecretVariablesMap()

public abstract Map<String,String> getSecretVariablesMap()

A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.

map<string, string> secret_variables = 2;

Returns
TypeDescription
Map<String,String>

getSecretVariablesOrDefault(String key, String defaultValue)

public abstract String getSecretVariablesOrDefault(String key, String defaultValue)

A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.

map<string, string> secret_variables = 2;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getSecretVariablesOrThrow(String key)

public abstract String getSecretVariablesOrThrow(String key)

A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.

map<string, string> secret_variables = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getVariables()

public abstract Map<String,String> getVariables()

Use #getVariablesMap() instead.

Returns
TypeDescription
Map<String,String>

getVariablesCount()

public abstract int getVariablesCount()

A map of environment variable names to values.

map<string, string> variables = 1;

Returns
TypeDescription
int

getVariablesMap()

public abstract Map<String,String> getVariablesMap()

A map of environment variable names to values.

map<string, string> variables = 1;

Returns
TypeDescription
Map<String,String>

getVariablesOrDefault(String key, String defaultValue)

public abstract String getVariablesOrDefault(String key, String defaultValue)

A map of environment variable names to values.

map<string, string> variables = 1;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getVariablesOrThrow(String key)

public abstract String getVariablesOrThrow(String key)

A map of environment variable names to values.

map<string, string> variables = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

hasEncryptedVariables()

public abstract boolean hasEncryptedVariables()

An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.

.google.cloud.batch.v1alpha.Environment.KMSEnvMap encrypted_variables = 3;

Returns
TypeDescription
boolean

Whether the encryptedVariables field is set.