Reference documentation and code samples for the Google Cloud Network Services V1 Client class EndpointPolicyType.
The type of endpoint policy.
Protobuf type google.cloud.networkservices.v1.EndpointPolicy.EndpointPolicyType
Namespace
Google \ Cloud \ NetworkServices \ V1 \ EndpointPolicyMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
ENDPOINT_POLICY_TYPE_UNSPECIFIED
Value: 0Default value. Must not be used.
Generated from protobuf enum ENDPOINT_POLICY_TYPE_UNSPECIFIED = 0;
SIDECAR_PROXY
Value: 1Represents a proxy deployed as a sidecar.
Generated from protobuf enum SIDECAR_PROXY = 1;
GRPC_SERVER
Value: 2Represents a proxyless gRPC backend.
Generated from protobuf enum GRPC_SERVER = 2;