Class CreateEnvironmentRequestNetworkUnion
java.lang.Object
com.google.genai.gaos.models.environments.CreateEnvironmentRequestNetworkUnion
CreateEnvironmentRequestNetworkUnion
Network configuration for the environment.
-
Method Details
-
of
-
of
-
environmentNetworkEgressAllowlist
Returns anOptionalcontaining the value if it is of typeEnvironmentNetworkEgressAllowlist, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theEnvironmentNetworkEgressAllowlistvalue, or empty if not of this type
-
createEnvironmentRequestNetworkEnum
Returns anOptionalcontaining the value if it is of typeCreateEnvironmentRequestNetworkEnum, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theCreateEnvironmentRequestNetworkEnumvalue, 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
-