Interface BetaManagedAgentsCredentialNetworkingParams.Visitor
-
- All Implemented Interfaces:
public interface BetaManagedAgentsCredentialNetworkingParams.Visitor<T extends Object>An interface that defines how to map each variant of BetaManagedAgentsCredentialNetworkingParams to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitUnrestricted(BetaManagedAgentsUnrestrictedCredentialNetworkingParams unrestricted)Substitute the secret on any host the session's Environment network policy permits egress to. abstract TvisitLimited(BetaManagedAgentsLimitedCredentialNetworkingParams limited)Substitute the secret only on requests to the listed hosts. Tunknown(JsonValue json)Maps an unknown variant of BetaManagedAgentsCredentialNetworkingParams to a value of type T. -
-
Method Detail
-
visitUnrestricted
abstract T visitUnrestricted(BetaManagedAgentsUnrestrictedCredentialNetworkingParams unrestricted)
Substitute the secret on any host the session's Environment network policy permits egress to. The Environment's network policy is the only boundary on where the secret can reach.
-
visitLimited
abstract T visitLimited(BetaManagedAgentsLimitedCredentialNetworkingParams limited)
Substitute the secret only on requests to the listed hosts.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of BetaManagedAgentsCredentialNetworkingParams to a value of type T.
An instance of BetaManagedAgentsCredentialNetworkingParams can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-