protocol property

String? protocol
getter/setter pair

The protocol used by this TargetServer.

Immutable. Possible string values are:

  • "PROTOCOL_UNSPECIFIED" : UNSPECIFIED defaults to HTTP for backwards compatibility.
  • "HTTP" : The TargetServer uses HTTP.
  • "HTTP2" : The TargetSever uses HTTP2.
  • "GRPC_TARGET" : The TargetServer uses GRPC.
  • "GRPC" : GRPC TargetServer to be used in ExternalCallout Policy. Prefer to use EXTERNAL_CALLOUT instead. TODO(b/266125112) deprecate once EXTERNAL _CALLOUT generally available.
  • "EXTERNAL_CALLOUT" : The TargetServer is to be used in the ExternalCallout Policy

Implementation

core.String? protocol;