Class BetaManagedAgentsLimitedCredentialNetworkingParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsLimitedCredentialNetworkingParamsSubstitute the secret only on requests to the listed hosts.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsLimitedCredentialNetworkingParams.BuilderA builder for BetaManagedAgentsLimitedCredentialNetworkingParams.
-
Method Summary
Modifier and Type Method Description final List<String>allowedHosts()The destination hosts of the outbound requests that the credential's secret is substituted into. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("limited")final JsonField<List<String>>_allowedHosts()Returns the raw JSON value of allowedHosts. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsLimitedCredentialNetworkingParams.BuildertoBuilder()final BetaManagedAgentsLimitedCredentialNetworkingParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsLimitedCredentialNetworkingParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsLimitedCredentialNetworkingParams. final static BetaManagedAgentsLimitedCredentialNetworkingParamsof(List<String> allowedHosts)Returns an immutable instance of BetaManagedAgentsLimitedCredentialNetworkingParams with the required allowedHosts set to the given value. -
-
Method Detail
-
allowedHosts
final List<String> allowedHosts()
The destination hosts of the outbound requests that the credential's secret is substituted into.
Each entry is a bare hostname (
api.example.com), an IPv4 address (192.0.2.1), or a*.wildcard (*.example.com). URLs, ports, paths, and IPv6 addresses aren't accepted. The list can have up to 16 entries.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("limited")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_allowedHosts
final JsonField<List<String>> _allowedHosts()
Returns the raw JSON value of allowedHosts.
Unlike allowedHosts, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsLimitedCredentialNetworkingParams.Builder toBuilder()
-
validate
final BetaManagedAgentsLimitedCredentialNetworkingParams 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 BetaManagedAgentsLimitedCredentialNetworkingParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsLimitedCredentialNetworkingParams.
The following fields are required:
.allowedHosts()
-
of
final static BetaManagedAgentsLimitedCredentialNetworkingParams of(List<String> allowedHosts)
Returns an immutable instance of BetaManagedAgentsLimitedCredentialNetworkingParams with the required allowedHosts set to the given value.
-
-
-
-