Class BetaCloudConfigParams
-
- All Implemented Interfaces:
public final class BetaCloudConfigParamsRequest params for
cloudenvironment configuration.Fields default to null; on update, omitted fields preserve the existing value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaCloudConfigParams.BuilderA builder for BetaCloudConfigParams.
public final classBetaCloudConfigParams.NetworkingNetwork configuration policy. Omit on update to preserve the existing value.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Environment typeExpected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("cloud")final Optional<BetaCloudConfigParams.Networking>networking()Network configuration policy. final Optional<BetaPackagesParams>packages()Specify packages (and optionally their versions) available in this environment. final JsonField<BetaCloudConfigParams.Networking>_networking()Returns the raw JSON value of networking. final JsonField<BetaPackagesParams>_packages()Returns the raw JSON value of packages. final Map<String, JsonValue>_additionalProperties()final BetaCloudConfigParams.BuildertoBuilder()final BetaCloudConfigParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaCloudConfigParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaCloudConfigParams. -
-
Method Detail
-
_type
final JsonValue _type()
Environment type
Expected to always return the following:
JsonValue.from("cloud")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
networking
final Optional<BetaCloudConfigParams.Networking> networking()
Network configuration policy. Omit on update to preserve the existing value.
-
packages
final Optional<BetaPackagesParams> packages()
Specify packages (and optionally their versions) available in this environment.
When versioning, use the version semantics relevant for the package manager, e.g. for
pipusepackage==1.0.0. You are responsible for validating the package and version exist. Unversioned installs the latest.
-
_networking
final JsonField<BetaCloudConfigParams.Networking> _networking()
Returns the raw JSON value of networking.
Unlike networking, this method doesn't throw if the JSON field has an unexpected type.
-
_packages
final JsonField<BetaPackagesParams> _packages()
Returns the raw JSON value of packages.
Unlike packages, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaCloudConfigParams.Builder toBuilder()
-
validate
final BetaCloudConfigParams validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaCloudConfigParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaCloudConfigParams.
-
-
-
-