Package namespace.cloud.compute.v1beta
Interface Compute.EnvironmentVariableOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Compute.EnvironmentVariable,Compute.EnvironmentVariable.Builder
- Enclosing class:
Compute
public static interface Compute.EnvironmentVariableOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional: If set, overrides value.com.google.protobuf.ByteStringOptional: If set, overrides value.getName()Required: Name under which the environment variable will be available, e.g.com.google.protobuf.ByteStringRequired: Name under which the environment variable will be available, e.g.getValue()Optional: If set, use this static value for the environment variable.com.google.protobuf.ByteStringOptional: If set, use this static value for the environment variable.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
-
getName
String getName()Required: Name under which the environment variable will be available, e.g. "FOOBAR_VAR_NAME".
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required: Name under which the environment variable will be available, e.g. "FOOBAR_VAR_NAME".
string name = 1;- Returns:
- The bytes for name.
-
getValue
String getValue()Optional: If set, use this static value for the environment variable.
string value = 2;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()Optional: If set, use this static value for the environment variable.
string value = 2;- Returns:
- The bytes for value.
-
getFromSecretId
String getFromSecretId()Optional: If set, overrides value. Namespace will dynamically resolve the secret on instance creation. By default, no secrets are resolved unless requested explicitly.
string from_secret_id = 3;- Returns:
- The fromSecretId.
-
getFromSecretIdBytes
com.google.protobuf.ByteString getFromSecretIdBytes()Optional: If set, overrides value. Namespace will dynamically resolve the secret on instance creation. By default, no secrets are resolved unless requested explicitly.
string from_secret_id = 3;- Returns:
- The bytes for fromSecretId.
-