Class EnvironmentVariableConfigInjectionLocation
java.lang.Object
com.google.genai.gaos.models.credentials.EnvironmentVariableConfigInjectionLocation
EnvironmentVariableConfigInjectionLocation
Required. Locations where the environment variable can be injected in outgoing HTTP requests. Must contain at least one location. Accepts either a single location (e.g. "header") or an array of locations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.fasterxml.jackson.databind.JsonNode>asJson()Returns anOptionalcontaining the value as aJsonNode.booleaninthashCode()of(InjectionLocationEnum value) of(List<InjectionLocationEnum> value) toString()
-
Method Details
-
of
-
of
-
injectionLocationEnum
Returns anOptionalcontaining the value if it is of typeInjectionLocationEnum, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theInjectionLocationEnumvalue, or empty if not of this type
-
arrayOfInjectionLocationEnum
Returns anOptionalcontaining the value if it is of typeList<InjectionLocationEnum>, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theList<InjectionLocationEnum>value, or empty if not of this type
-
asJson
Returns anOptionalcontaining the value as aJsonNode. This accessor returns the raw JSON when the value doesn't match any of the defined union types.- Returns:
- an
Optionalcontaining theJsonNodevalue, or empty if value matched a known type
-
equals
-
hashCode
public int hashCode() -
toString
-