Class Allowlist
java.lang.Object
com.google.genai.gaos.models.interactions.Allowlist
Allowlist
List of allowed domains and their configurations. Set to `"disabled"` to block all network egress.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
of
-
of
-
arrayOfAllowlistEntry
Returns anOptionalcontaining the value if it is of typeList<AllowlistEntry>, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theList<AllowlistEntry>value, or empty if not of this type
-
disabled
Returns anOptionalcontaining the value if it is of typeDisabled, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theDisabledvalue, 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
-