Class EnvironmentVariableUpdateConfig
java.lang.Object
com.google.genai.gaos.models.credentials.EnvironmentVariableUpdateConfig
- All Implemented Interfaces:
CredentialUpdate
EnvironmentVariableUpdateConfig
Configuration for updating environment variable credentials.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentVariableUpdateConfig(EnvironmentVariableUpdateConfigInjectionLocation injectionLocation, List<String> trustedDomains, String value) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()Optional.toString()Optional.type()value()Optional.withInjectionLocation(EnvironmentVariableUpdateConfigInjectionLocation injectionLocation) Optional.withTrustedDomains(List<String> trustedDomains) Optional.Optional.
-
Constructor Details
-
EnvironmentVariableUpdateConfig
public EnvironmentVariableUpdateConfig(@Nullable EnvironmentVariableUpdateConfigInjectionLocation injectionLocation, @Nullable List<String> trustedDomains, @Nullable String value) -
EnvironmentVariableUpdateConfig
public EnvironmentVariableUpdateConfig()
-
-
Method Details
-
injectionLocation
Optional. Locations where the environment variable can be injected in outgoing HTTP requests. Accepts either a single location (e.g. "header") or an array of locations. -
trustedDomains
Optional. List of domains allowed to receive this environment variable value in HTTP requests. -
type
- Specified by:
typein interfaceCredentialUpdate
-
value
Optional. Input only. Secret value of the environment variable.Write-only; never returned in responses.
-
builder
-
withInjectionLocation
public EnvironmentVariableUpdateConfig withInjectionLocation(@Nullable EnvironmentVariableUpdateConfigInjectionLocation injectionLocation) Optional. Locations where the environment variable can be injected in outgoing HTTP requests. Accepts either a single location (e.g. "header") or an array of locations. -
withTrustedDomains
Optional. List of domains allowed to receive this environment variable value in HTTP requests. -
withValue
Optional. Input only. Secret value of the environment variable.Write-only; never returned in responses.
-
equals
-
hashCode
public int hashCode() -
toString
-