Class Transform
java.lang.Object
com.google.genai.gaos.models.interactions.Transform
Transform
Headers to inject on all outbound requests matching this domain. Accepts a single dict or a list of dicts. The egress proxy injects these automatically.
-
Method Details
-
of
-
of
-
arrayOfMap
Returns anOptionalcontaining the value if it is of typeList<Map<String, String>>, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theList<Map<String, String>>value, or empty if not of this type
-
mapOfString
Returns anOptionalcontaining the value if it is of typeMap<String, String>, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theMap<String, String>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
-