networkservices

package
v0.0.0-...-a8a6208 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria_name = map[int32]string{
		0: "METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED",
		1: "MATCH_ANY",
		2: "MATCH_ALL",
	}
	EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria_value = map[string]int32{
		"METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED": 0,
		"MATCH_ANY": 1,
		"MATCH_ALL": 2,
	}
)

Enum value maps for EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria.

View Source
var (
	EndpointPolicy_EndpointPolicyType_name = map[int32]string{
		0: "ENDPOINT_POLICY_TYPE_UNSPECIFIED",
		1: "SIDECAR_PROXY",
		2: "GRPC_SERVER",
	}
	EndpointPolicy_EndpointPolicyType_value = map[string]int32{
		"ENDPOINT_POLICY_TYPE_UNSPECIFIED": 0,
		"SIDECAR_PROXY":                    1,
		"GRPC_SERVER":                      2,
	}
)

Enum value maps for EndpointPolicy_EndpointPolicyType.

View Source
var (
	Gateway_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "OPEN_MESH",
		2: "SECURE_WEB_GATEWAY",
	}
	Gateway_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":   0,
		"OPEN_MESH":          1,
		"SECURE_WEB_GATEWAY": 2,
	}
)

Enum value maps for Gateway_Type.

View Source
var (
	GrpcRoute_MethodMatch_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "EXACT",
		2: "REGULAR_EXPRESSION",
	}
	GrpcRoute_MethodMatch_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":   0,
		"EXACT":              1,
		"REGULAR_EXPRESSION": 2,
	}
)

Enum value maps for GrpcRoute_MethodMatch_Type.

View Source
var (
	GrpcRoute_HeaderMatch_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "EXACT",
		2: "REGULAR_EXPRESSION",
	}
	GrpcRoute_HeaderMatch_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":   0,
		"EXACT":              1,
		"REGULAR_EXPRESSION": 2,
	}
)

Enum value maps for GrpcRoute_HeaderMatch_Type.

View Source
var (
	HttpRoute_Redirect_ResponseCode_name = map[int32]string{
		0: "RESPONSE_CODE_UNSPECIFIED",
		1: "MOVED_PERMANENTLY_DEFAULT",
		2: "FOUND",
		3: "SEE_OTHER",
		4: "TEMPORARY_REDIRECT",
		5: "PERMANENT_REDIRECT",
	}
	HttpRoute_Redirect_ResponseCode_value = map[string]int32{
		"RESPONSE_CODE_UNSPECIFIED": 0,
		"MOVED_PERMANENTLY_DEFAULT": 1,
		"FOUND":                     2,
		"SEE_OTHER":                 3,
		"TEMPORARY_REDIRECT":        4,
		"PERMANENT_REDIRECT":        5,
	}
)

Enum value maps for HttpRoute_Redirect_ResponseCode.

View Source
var File_google_cloud_networkservices_v1_common_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_networkservices_v1_endpoint_policy_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_networkservices_v1_gateway_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_networkservices_v1_grpc_route_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_networkservices_v1_http_route_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_networkservices_v1_mesh_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_networkservices_v1_network_services_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_networkservices_v1_service_binding_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_networkservices_v1_tcp_route_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_networkservices_v1_tls_route_proto protoreflect.FileDescriptor

Functions

func RegisterNetworkServicesServer

func RegisterNetworkServicesServer(s *grpc.Server, srv NetworkServicesServer)

Types

type CreateEndpointPolicyRequest

type CreateEndpointPolicyRequest struct {

	// Required. The parent resource of the EndpointPolicy. Must be in the
	// format `projects/*/locations/global`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Short name of the EndpointPolicy resource to be created.
	// E.g. "CustomECS".
	EndpointPolicyId string `protobuf:"bytes,2,opt,name=endpoint_policy_id,json=endpointPolicyId,proto3" json:"endpoint_policy_id,omitempty"`
	// Required. EndpointPolicy resource to be created.
	EndpointPolicy *EndpointPolicy `protobuf:"bytes,3,opt,name=endpoint_policy,json=endpointPolicy,proto3" json:"endpoint_policy,omitempty"`
	// contains filtered or unexported fields
}

Request used with the CreateEndpointPolicy method.

func (*CreateEndpointPolicyRequest) Descriptor deprecated

func (*CreateEndpointPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateEndpointPolicyRequest.ProtoReflect.Descriptor instead.

func (*CreateEndpointPolicyRequest) GetEndpointPolicy

func (x *CreateEndpointPolicyRequest) GetEndpointPolicy() *EndpointPolicy

func (*CreateEndpointPolicyRequest) GetEndpointPolicyId

func (x *CreateEndpointPolicyRequest) GetEndpointPolicyId() string

func (*CreateEndpointPolicyRequest) GetParent

func (x *CreateEndpointPolicyRequest) GetParent() string

func (*CreateEndpointPolicyRequest) ProtoMessage

func (*CreateEndpointPolicyRequest) ProtoMessage()

func (*CreateEndpointPolicyRequest) ProtoReflect

func (*CreateEndpointPolicyRequest) Reset

func (x *CreateEndpointPolicyRequest) Reset()

func (*CreateEndpointPolicyRequest) String

func (x *CreateEndpointPolicyRequest) String() string

type CreateGatewayRequest

type CreateGatewayRequest struct {

	// Required. The parent resource of the Gateway. Must be in the
	// format `projects/*/locations/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Short name of the Gateway resource to be created.
	GatewayId string `protobuf:"bytes,2,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
	// Required. Gateway resource to be created.
	Gateway *Gateway `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"`
	// contains filtered or unexported fields
}

Request used by the CreateGateway method.

func (*CreateGatewayRequest) Descriptor deprecated

func (*CreateGatewayRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateGatewayRequest.ProtoReflect.Descriptor instead.

func (*CreateGatewayRequest) GetGateway

func (x *CreateGatewayRequest) GetGateway() *Gateway

func (*CreateGatewayRequest) GetGatewayId

func (x *CreateGatewayRequest) GetGatewayId() string

func (*CreateGatewayRequest) GetParent

func (x *CreateGatewayRequest) GetParent() string

func (*CreateGatewayRequest) ProtoMessage

func (*CreateGatewayRequest) ProtoMessage()

func (*CreateGatewayRequest) ProtoReflect

func (x *CreateGatewayRequest) ProtoReflect() protoreflect.Message

func (*CreateGatewayRequest) Reset

func (x *CreateGatewayRequest) Reset()

func (*CreateGatewayRequest) String

func (x *CreateGatewayRequest) String() string

type CreateGrpcRouteRequest

type CreateGrpcRouteRequest struct {

	// Required. The parent resource of the GrpcRoute. Must be in the
	// format `projects/*/locations/global`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Short name of the GrpcRoute resource to be created.
	GrpcRouteId string `protobuf:"bytes,2,opt,name=grpc_route_id,json=grpcRouteId,proto3" json:"grpc_route_id,omitempty"`
	// Required. GrpcRoute resource to be created.
	GrpcRoute *GrpcRoute `protobuf:"bytes,3,opt,name=grpc_route,json=grpcRoute,proto3" json:"grpc_route,omitempty"`
	// contains filtered or unexported fields
}

Request used by the CreateGrpcRoute method.

func (*CreateGrpcRouteRequest) Descriptor deprecated

func (*CreateGrpcRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateGrpcRouteRequest.ProtoReflect.Descriptor instead.

func (*CreateGrpcRouteRequest) GetGrpcRoute

func (x *CreateGrpcRouteRequest) GetGrpcRoute() *GrpcRoute

func (*CreateGrpcRouteRequest) GetGrpcRouteId

func (x *CreateGrpcRouteRequest) GetGrpcRouteId() string

func (*CreateGrpcRouteRequest) GetParent

func (x *CreateGrpcRouteRequest) GetParent() string

func (*CreateGrpcRouteRequest) ProtoMessage

func (*CreateGrpcRouteRequest) ProtoMessage()

func (*CreateGrpcRouteRequest) ProtoReflect

func (x *CreateGrpcRouteRequest) ProtoReflect() protoreflect.Message

func (*CreateGrpcRouteRequest) Reset

func (x *CreateGrpcRouteRequest) Reset()

func (*CreateGrpcRouteRequest) String

func (x *CreateGrpcRouteRequest) String() string

type CreateHttpRouteRequest

type CreateHttpRouteRequest struct {

	// Required. The parent resource of the HttpRoute. Must be in the
	// format `projects/*/locations/global`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Short name of the HttpRoute resource to be created.
	HttpRouteId string `protobuf:"bytes,2,opt,name=http_route_id,json=httpRouteId,proto3" json:"http_route_id,omitempty"`
	// Required. HttpRoute resource to be created.
	HttpRoute *HttpRoute `protobuf:"bytes,3,opt,name=http_route,json=httpRoute,proto3" json:"http_route,omitempty"`
	// contains filtered or unexported fields
}

Request used by the HttpRoute method.

func (*CreateHttpRouteRequest) Descriptor deprecated

func (*CreateHttpRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateHttpRouteRequest.ProtoReflect.Descriptor instead.

func (*CreateHttpRouteRequest) GetHttpRoute

func (x *CreateHttpRouteRequest) GetHttpRoute() *HttpRoute

func (*CreateHttpRouteRequest) GetHttpRouteId

func (x *CreateHttpRouteRequest) GetHttpRouteId() string

func (*CreateHttpRouteRequest) GetParent

func (x *CreateHttpRouteRequest) GetParent() string

func (*CreateHttpRouteRequest) ProtoMessage

func (*CreateHttpRouteRequest) ProtoMessage()

func (*CreateHttpRouteRequest) ProtoReflect

func (x *CreateHttpRouteRequest) ProtoReflect() protoreflect.Message

func (*CreateHttpRouteRequest) Reset

func (x *CreateHttpRouteRequest) Reset()

func (*CreateHttpRouteRequest) String

func (x *CreateHttpRouteRequest) String() string

type CreateMeshRequest

type CreateMeshRequest struct {

	// Required. The parent resource of the Mesh. Must be in the
	// format `projects/*/locations/global`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Short name of the Mesh resource to be created.
	MeshId string `protobuf:"bytes,2,opt,name=mesh_id,json=meshId,proto3" json:"mesh_id,omitempty"`
	// Required. Mesh resource to be created.
	Mesh *Mesh `protobuf:"bytes,3,opt,name=mesh,proto3" json:"mesh,omitempty"`
	// contains filtered or unexported fields
}

Request used by the CreateMesh method.

func (*CreateMeshRequest) Descriptor deprecated

func (*CreateMeshRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateMeshRequest.ProtoReflect.Descriptor instead.

func (*CreateMeshRequest) GetMesh

func (x *CreateMeshRequest) GetMesh() *Mesh

func (*CreateMeshRequest) GetMeshId

func (x *CreateMeshRequest) GetMeshId() string

func (*CreateMeshRequest) GetParent

func (x *CreateMeshRequest) GetParent() string

func (*CreateMeshRequest) ProtoMessage

func (*CreateMeshRequest) ProtoMessage()

func (*CreateMeshRequest) ProtoReflect

func (x *CreateMeshRequest) ProtoReflect() protoreflect.Message

func (*CreateMeshRequest) Reset

func (x *CreateMeshRequest) Reset()

func (*CreateMeshRequest) String

func (x *CreateMeshRequest) String() string

type CreateServiceBindingRequest

type CreateServiceBindingRequest struct {

	// Required. The parent resource of the ServiceBinding. Must be in the
	// format `projects/*/locations/global`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Short name of the ServiceBinding resource to be created.
	ServiceBindingId string `protobuf:"bytes,2,opt,name=service_binding_id,json=serviceBindingId,proto3" json:"service_binding_id,omitempty"`
	// Required. ServiceBinding resource to be created.
	ServiceBinding *ServiceBinding `protobuf:"bytes,3,opt,name=service_binding,json=serviceBinding,proto3" json:"service_binding,omitempty"`
	// contains filtered or unexported fields
}

Request used by the ServiceBinding method.

func (*CreateServiceBindingRequest) Descriptor deprecated

func (*CreateServiceBindingRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateServiceBindingRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceBindingRequest) GetParent

func (x *CreateServiceBindingRequest) GetParent() string

func (*CreateServiceBindingRequest) GetServiceBinding

func (x *CreateServiceBindingRequest) GetServiceBinding() *ServiceBinding

func (*CreateServiceBindingRequest) GetServiceBindingId

func (x *CreateServiceBindingRequest) GetServiceBindingId() string

func (*CreateServiceBindingRequest) ProtoMessage

func (*CreateServiceBindingRequest) ProtoMessage()

func (*CreateServiceBindingRequest) ProtoReflect

func (*CreateServiceBindingRequest) Reset

func (x *CreateServiceBindingRequest) Reset()

func (*CreateServiceBindingRequest) String

func (x *CreateServiceBindingRequest) String() string

type CreateTcpRouteRequest

type CreateTcpRouteRequest struct {

	// Required. The parent resource of the TcpRoute. Must be in the
	// format `projects/*/locations/global`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Short name of the TcpRoute resource to be created. E.g. TODO(Add an
	// example).
	TcpRouteId string `protobuf:"bytes,2,opt,name=tcp_route_id,json=tcpRouteId,proto3" json:"tcp_route_id,omitempty"`
	// Required. TcpRoute resource to be created.
	TcpRoute *TcpRoute `protobuf:"bytes,3,opt,name=tcp_route,json=tcpRoute,proto3" json:"tcp_route,omitempty"`
	// contains filtered or unexported fields
}

Request used by the TcpRoute method.

func (*CreateTcpRouteRequest) Descriptor deprecated

func (*CreateTcpRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTcpRouteRequest.ProtoReflect.Descriptor instead.

func (*CreateTcpRouteRequest) GetParent

func (x *CreateTcpRouteRequest) GetParent() string

func (*CreateTcpRouteRequest) GetTcpRoute

func (x *CreateTcpRouteRequest) GetTcpRoute() *TcpRoute

func (*CreateTcpRouteRequest) GetTcpRouteId

func (x *CreateTcpRouteRequest) GetTcpRouteId() string

func (*CreateTcpRouteRequest) ProtoMessage

func (*CreateTcpRouteRequest) ProtoMessage()

func (*CreateTcpRouteRequest) ProtoReflect

func (x *CreateTcpRouteRequest) ProtoReflect() protoreflect.Message

func (*CreateTcpRouteRequest) Reset

func (x *CreateTcpRouteRequest) Reset()

func (*CreateTcpRouteRequest) String

func (x *CreateTcpRouteRequest) String() string

type CreateTlsRouteRequest

type CreateTlsRouteRequest struct {

	// Required. The parent resource of the TlsRoute. Must be in the
	// format `projects/*/locations/global`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Short name of the TlsRoute resource to be created. E.g. TODO(Add an
	// example).
	TlsRouteId string `protobuf:"bytes,2,opt,name=tls_route_id,json=tlsRouteId,proto3" json:"tls_route_id,omitempty"`
	// Required. TlsRoute resource to be created.
	TlsRoute *TlsRoute `protobuf:"bytes,3,opt,name=tls_route,json=tlsRoute,proto3" json:"tls_route,omitempty"`
	// contains filtered or unexported fields
}

Request used by the TlsRoute method.

func (*CreateTlsRouteRequest) Descriptor deprecated

func (*CreateTlsRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTlsRouteRequest.ProtoReflect.Descriptor instead.

func (*CreateTlsRouteRequest) GetParent

func (x *CreateTlsRouteRequest) GetParent() string

func (*CreateTlsRouteRequest) GetTlsRoute

func (x *CreateTlsRouteRequest) GetTlsRoute() *TlsRoute

func (*CreateTlsRouteRequest) GetTlsRouteId

func (x *CreateTlsRouteRequest) GetTlsRouteId() string

func (*CreateTlsRouteRequest) ProtoMessage

func (*CreateTlsRouteRequest) ProtoMessage()

func (*CreateTlsRouteRequest) ProtoReflect

func (x *CreateTlsRouteRequest) ProtoReflect() protoreflect.Message

func (*CreateTlsRouteRequest) Reset

func (x *CreateTlsRouteRequest) Reset()

func (*CreateTlsRouteRequest) String

func (x *CreateTlsRouteRequest) String() string

type DeleteEndpointPolicyRequest

type DeleteEndpointPolicyRequest struct {

	// Required. A name of the EndpointPolicy to delete. Must be in the format
	// `projects/*/locations/global/endpointPolicies/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used with the DeleteEndpointPolicy method.

func (*DeleteEndpointPolicyRequest) Descriptor deprecated

func (*DeleteEndpointPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteEndpointPolicyRequest.ProtoReflect.Descriptor instead.

func (*DeleteEndpointPolicyRequest) GetName

func (x *DeleteEndpointPolicyRequest) GetName() string

func (*DeleteEndpointPolicyRequest) ProtoMessage

func (*DeleteEndpointPolicyRequest) ProtoMessage()

func (*DeleteEndpointPolicyRequest) ProtoReflect

func (*DeleteEndpointPolicyRequest) Reset

func (x *DeleteEndpointPolicyRequest) Reset()

func (*DeleteEndpointPolicyRequest) String

func (x *DeleteEndpointPolicyRequest) String() string

type DeleteGatewayRequest

type DeleteGatewayRequest struct {

	// Required. A name of the Gateway to delete. Must be in the format
	// `projects/*/locations/*/gateways/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used by the DeleteGateway method.

func (*DeleteGatewayRequest) Descriptor deprecated

func (*DeleteGatewayRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteGatewayRequest.ProtoReflect.Descriptor instead.

func (*DeleteGatewayRequest) GetName

func (x *DeleteGatewayRequest) GetName() string

func (*DeleteGatewayRequest) ProtoMessage

func (*DeleteGatewayRequest) ProtoMessage()

func (*DeleteGatewayRequest) ProtoReflect

func (x *DeleteGatewayRequest) ProtoReflect() protoreflect.Message

func (*DeleteGatewayRequest) Reset

func (x *DeleteGatewayRequest) Reset()

func (*DeleteGatewayRequest) String

func (x *DeleteGatewayRequest) String() string

type DeleteGrpcRouteRequest

type DeleteGrpcRouteRequest struct {

	// Required. A name of the GrpcRoute to delete. Must be in the format
	// `projects/*/locations/global/grpcRoutes/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used by the DeleteGrpcRoute method.

func (*DeleteGrpcRouteRequest) Descriptor deprecated

func (*DeleteGrpcRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteGrpcRouteRequest.ProtoReflect.Descriptor instead.

func (*DeleteGrpcRouteRequest) GetName

func (x *DeleteGrpcRouteRequest) GetName() string

func (*DeleteGrpcRouteRequest) ProtoMessage

func (*DeleteGrpcRouteRequest) ProtoMessage()

func (*DeleteGrpcRouteRequest) ProtoReflect

func (x *DeleteGrpcRouteRequest) ProtoReflect() protoreflect.Message

func (*DeleteGrpcRouteRequest) Reset

func (x *DeleteGrpcRouteRequest) Reset()

func (*DeleteGrpcRouteRequest) String

func (x *DeleteGrpcRouteRequest) String() string

type DeleteHttpRouteRequest

type DeleteHttpRouteRequest struct {

	// Required. A name of the HttpRoute to delete. Must be in the format
	// `projects/*/locations/global/httpRoutes/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used by the DeleteHttpRoute method.

func (*DeleteHttpRouteRequest) Descriptor deprecated

func (*DeleteHttpRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteHttpRouteRequest.ProtoReflect.Descriptor instead.

func (*DeleteHttpRouteRequest) GetName

func (x *DeleteHttpRouteRequest) GetName() string

func (*DeleteHttpRouteRequest) ProtoMessage

func (*DeleteHttpRouteRequest) ProtoMessage()

func (*DeleteHttpRouteRequest) ProtoReflect

func (x *DeleteHttpRouteRequest) ProtoReflect() protoreflect.Message

func (*DeleteHttpRouteRequest) Reset

func (x *DeleteHttpRouteRequest) Reset()

func (*DeleteHttpRouteRequest) String

func (x *DeleteHttpRouteRequest) String() string

type DeleteMeshRequest

type DeleteMeshRequest struct {

	// Required. A name of the Mesh to delete. Must be in the format
	// `projects/*/locations/global/meshes/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used by the DeleteMesh method.

func (*DeleteMeshRequest) Descriptor deprecated

func (*DeleteMeshRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteMeshRequest.ProtoReflect.Descriptor instead.

func (*DeleteMeshRequest) GetName

func (x *DeleteMeshRequest) GetName() string

func (*DeleteMeshRequest) ProtoMessage

func (*DeleteMeshRequest) ProtoMessage()

func (*DeleteMeshRequest) ProtoReflect

func (x *DeleteMeshRequest) ProtoReflect() protoreflect.Message

func (*DeleteMeshRequest) Reset

func (x *DeleteMeshRequest) Reset()

func (*DeleteMeshRequest) String

func (x *DeleteMeshRequest) String() string

type DeleteServiceBindingRequest

type DeleteServiceBindingRequest struct {

	// Required. A name of the ServiceBinding to delete. Must be in the format
	// `projects/*/locations/global/serviceBindings/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used by the DeleteServiceBinding method.

func (*DeleteServiceBindingRequest) Descriptor deprecated

func (*DeleteServiceBindingRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteServiceBindingRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceBindingRequest) GetName

func (x *DeleteServiceBindingRequest) GetName() string

func (*DeleteServiceBindingRequest) ProtoMessage

func (*DeleteServiceBindingRequest) ProtoMessage()

func (*DeleteServiceBindingRequest) ProtoReflect

func (*DeleteServiceBindingRequest) Reset

func (x *DeleteServiceBindingRequest) Reset()

func (*DeleteServiceBindingRequest) String

func (x *DeleteServiceBindingRequest) String() string

type DeleteTcpRouteRequest

type DeleteTcpRouteRequest struct {

	// Required. A name of the TcpRoute to delete. Must be in the format
	// `projects/*/locations/global/tcpRoutes/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used by the DeleteTcpRoute method.

func (*DeleteTcpRouteRequest) Descriptor deprecated

func (*DeleteTcpRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTcpRouteRequest.ProtoReflect.Descriptor instead.

func (*DeleteTcpRouteRequest) GetName

func (x *DeleteTcpRouteRequest) GetName() string

func (*DeleteTcpRouteRequest) ProtoMessage

func (*DeleteTcpRouteRequest) ProtoMessage()

func (*DeleteTcpRouteRequest) ProtoReflect

func (x *DeleteTcpRouteRequest) ProtoReflect() protoreflect.Message

func (*DeleteTcpRouteRequest) Reset

func (x *DeleteTcpRouteRequest) Reset()

func (*DeleteTcpRouteRequest) String

func (x *DeleteTcpRouteRequest) String() string

type DeleteTlsRouteRequest

type DeleteTlsRouteRequest struct {

	// Required. A name of the TlsRoute to delete. Must be in the format
	// `projects/*/locations/global/tlsRoutes/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used by the DeleteTlsRoute method.

func (*DeleteTlsRouteRequest) Descriptor deprecated

func (*DeleteTlsRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTlsRouteRequest.ProtoReflect.Descriptor instead.

func (*DeleteTlsRouteRequest) GetName

func (x *DeleteTlsRouteRequest) GetName() string

func (*DeleteTlsRouteRequest) ProtoMessage

func (*DeleteTlsRouteRequest) ProtoMessage()

func (*DeleteTlsRouteRequest) ProtoReflect

func (x *DeleteTlsRouteRequest) ProtoReflect() protoreflect.Message

func (*DeleteTlsRouteRequest) Reset

func (x *DeleteTlsRouteRequest) Reset()

func (*DeleteTlsRouteRequest) String

func (x *DeleteTlsRouteRequest) String() string

type EndpointMatcher

type EndpointMatcher struct {

	// Specifies type of the matcher used for this endpoint matcher.
	//
	// Types that are assignable to MatcherType:
	//	*EndpointMatcher_MetadataLabelMatcher_
	MatcherType isEndpointMatcher_MatcherType `protobuf_oneof:"matcher_type"`
	// contains filtered or unexported fields
}

A definition of a matcher that selects endpoints to which the policies should be applied.

func (*EndpointMatcher) Descriptor deprecated

func (*EndpointMatcher) Descriptor() ([]byte, []int)

Deprecated: Use EndpointMatcher.ProtoReflect.Descriptor instead.

func (*EndpointMatcher) GetMatcherType

func (m *EndpointMatcher) GetMatcherType() isEndpointMatcher_MatcherType

func (*EndpointMatcher) GetMetadataLabelMatcher

func (x *EndpointMatcher) GetMetadataLabelMatcher() *EndpointMatcher_MetadataLabelMatcher

func (*EndpointMatcher) ProtoMessage

func (*EndpointMatcher) ProtoMessage()

func (*EndpointMatcher) ProtoReflect

func (x *EndpointMatcher) ProtoReflect() protoreflect.Message

func (*EndpointMatcher) Reset

func (x *EndpointMatcher) Reset()

func (*EndpointMatcher) String

func (x *EndpointMatcher) String() string

type EndpointMatcher_MetadataLabelMatcher

type EndpointMatcher_MetadataLabelMatcher struct {

	// Specifies how matching should be done.
	//
	// Supported values are:
	// MATCH_ANY: At least one of the Labels specified in the
	//   matcher should match the metadata presented by xDS client.
	// MATCH_ALL: The metadata presented by the xDS client should
	//   contain all of the labels specified here.
	//
	// The selection is determined based on the best match. For
	// example, suppose there are three EndpointPolicy
	// resources P1, P2 and P3 and if P1 has a the matcher as
	// MATCH_ANY <A:1, B:1>, P2 has MATCH_ALL <A:1,B:1>, and P3 has
	// MATCH_ALL <A:1,B:1,C:1>.
	//
	// If a client with label <A:1> connects, the config from P1
	// will be selected.
	//
	// If a client with label <A:1,B:1> connects, the config from P2
	// will be selected.
	//
	// If a client with label <A:1,B:1,C:1> connects, the config
	// from P3 will be selected.
	//
	// If there is more than one best match, (for example, if a
	// config P4 with selector <A:1,D:1> exists and if a client with
	// label <A:1,B:1,D:1> connects), an error will be thrown.
	MetadataLabelMatchCriteria EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria `` /* 245-byte string literal not displayed */
	// The list of label value pairs that must match labels in the
	// provided metadata based on filterMatchCriteria This list can
	// have at most 64 entries. The list can be empty if the match
	// criteria is MATCH_ANY, to specify a wildcard match (i.e this
	// matches any client).
	MetadataLabels []*EndpointMatcher_MetadataLabelMatcher_MetadataLabels `protobuf:"bytes,2,rep,name=metadata_labels,json=metadataLabels,proto3" json:"metadata_labels,omitempty"`
	// contains filtered or unexported fields
}

The matcher that is based on node metadata presented by xDS clients.

func (*EndpointMatcher_MetadataLabelMatcher) Descriptor deprecated

func (*EndpointMatcher_MetadataLabelMatcher) Descriptor() ([]byte, []int)

Deprecated: Use EndpointMatcher_MetadataLabelMatcher.ProtoReflect.Descriptor instead.

func (*EndpointMatcher_MetadataLabelMatcher) GetMetadataLabelMatchCriteria

func (*EndpointMatcher_MetadataLabelMatcher) GetMetadataLabels

func (*EndpointMatcher_MetadataLabelMatcher) ProtoMessage

func (*EndpointMatcher_MetadataLabelMatcher) ProtoMessage()

func (*EndpointMatcher_MetadataLabelMatcher) ProtoReflect

func (*EndpointMatcher_MetadataLabelMatcher) Reset

func (*EndpointMatcher_MetadataLabelMatcher) String

type EndpointMatcher_MetadataLabelMatcher_

type EndpointMatcher_MetadataLabelMatcher_ struct {
	// The matcher is based on node metadata presented by xDS clients.
	MetadataLabelMatcher *EndpointMatcher_MetadataLabelMatcher `protobuf:"bytes,1,opt,name=metadata_label_matcher,json=metadataLabelMatcher,proto3,oneof"`
}

type EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria

type EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria int32

Possible criteria values that define logic of how matching is made.

const (
	// Default value. Should not be used.
	EndpointMatcher_MetadataLabelMatcher_METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria = 0
	// At least one of the Labels specified in the matcher should match the
	// metadata presented by xDS client.
	EndpointMatcher_MetadataLabelMatcher_MATCH_ANY EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria = 1
	// The metadata presented by the xDS client should contain all of the
	// labels specified here.
	EndpointMatcher_MetadataLabelMatcher_MATCH_ALL EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria = 2
)

func (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Descriptor

func (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Enum

func (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) EnumDescriptor deprecated

Deprecated: Use EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria.Descriptor instead.

func (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Number

func (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) String

func (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Type

type EndpointMatcher_MetadataLabelMatcher_MetadataLabels

type EndpointMatcher_MetadataLabelMatcher_MetadataLabels struct {

	// Required. Label name presented as key in xDS Node Metadata.
	LabelName string `protobuf:"bytes,1,opt,name=label_name,json=labelName,proto3" json:"label_name,omitempty"`
	// Required. Label value presented as value corresponding to the above
	// key, in xDS Node Metadata.
	LabelValue string `protobuf:"bytes,2,opt,name=label_value,json=labelValue,proto3" json:"label_value,omitempty"`
	// contains filtered or unexported fields
}

Defines a name-pair value for a single label.

func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) Descriptor deprecated

Deprecated: Use EndpointMatcher_MetadataLabelMatcher_MetadataLabels.ProtoReflect.Descriptor instead.

func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) GetLabelName

func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) GetLabelValue

func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) ProtoMessage

func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) ProtoReflect

func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) Reset

func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) String

type EndpointPolicy

type EndpointPolicy struct {

	// Required. Name of the EndpointPolicy resource. It matches pattern
	// `projects/{project}/locations/global/endpointPolicies/{endpoint_policy}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The timestamp when the resource was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The timestamp when the resource was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. Set of label tags associated with the EndpointPolicy resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Required. The type of endpoint policy. This is primarily used to validate
	// the configuration.
	Type EndpointPolicy_EndpointPolicyType `` /* 133-byte string literal not displayed */
	// Optional. This field specifies the URL of AuthorizationPolicy resource that
	// applies authorization policies to the inbound traffic at the
	// matched endpoints. Refer to Authorization. If this field is not
	// specified, authorization is disabled(no authz checks) for this
	// endpoint.
	AuthorizationPolicy string `protobuf:"bytes,7,opt,name=authorization_policy,json=authorizationPolicy,proto3" json:"authorization_policy,omitempty"`
	// Required. A matcher that selects endpoints to which the policies should be applied.
	EndpointMatcher *EndpointMatcher `protobuf:"bytes,9,opt,name=endpoint_matcher,json=endpointMatcher,proto3" json:"endpoint_matcher,omitempty"`
	// Optional. Port selector for the (matched) endpoints. If no port selector is
	// provided, the matched config is applied to all ports.
	TrafficPortSelector *TrafficPortSelector `protobuf:"bytes,10,opt,name=traffic_port_selector,json=trafficPortSelector,proto3" json:"traffic_port_selector,omitempty"`
	// Optional. A free-text description of the resource. Max length 1024 characters.
	Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to
	// determine the authentication policy to be applied to terminate the inbound
	// traffic at the identified backends. If this field is not set,
	// authentication is disabled(open) for this endpoint.
	ServerTlsPolicy string `protobuf:"bytes,12,opt,name=server_tls_policy,json=serverTlsPolicy,proto3" json:"server_tls_policy,omitempty"`
	// Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set
	// to specify the authentication for traffic from the proxy to the actual
	// endpoints. More specifically, it is applied to the outgoing traffic from
	// the proxy to the endpoint. This is typically used for sidecar model where
	// the proxy identifies itself as endpoint to the control plane, with the
	// connection between sidecar and endpoint requiring authentication. If this
	// field is not set, authentication is disabled(open). Applicable only when
	// EndpointPolicyType is SIDECAR_PROXY.
	ClientTlsPolicy string `protobuf:"bytes,13,opt,name=client_tls_policy,json=clientTlsPolicy,proto3" json:"client_tls_policy,omitempty"`
	// contains filtered or unexported fields
}

EndpointPolicy is a resource that helps apply desired configuration on the endpoints that match specific criteria. For example, this resource can be used to apply "authentication config" an all endpoints that serve on port 8080.

func (*EndpointPolicy) Descriptor deprecated

func (*EndpointPolicy) Descriptor() ([]byte, []int)

Deprecated: Use EndpointPolicy.ProtoReflect.Descriptor instead.

func (*EndpointPolicy) GetAuthorizationPolicy

func (x *EndpointPolicy) GetAuthorizationPolicy() string

func (*EndpointPolicy) GetClientTlsPolicy

func (x *EndpointPolicy) GetClientTlsPolicy() string

func (*EndpointPolicy) GetCreateTime

func (x *EndpointPolicy) GetCreateTime() *timestamppb.Timestamp

func (*EndpointPolicy) GetDescription

func (x *EndpointPolicy) GetDescription() string

func (*EndpointPolicy) GetEndpointMatcher

func (x *EndpointPolicy) GetEndpointMatcher() *EndpointMatcher

func (*EndpointPolicy) GetLabels

func (x *EndpointPolicy) GetLabels() map[string]string

func (*EndpointPolicy) GetName

func (x *EndpointPolicy) GetName() string

func (*EndpointPolicy) GetServerTlsPolicy

func (x *EndpointPolicy) GetServerTlsPolicy() string

func (*EndpointPolicy) GetTrafficPortSelector

func (x *EndpointPolicy) GetTrafficPortSelector() *TrafficPortSelector

func (*EndpointPolicy) GetType

func (*EndpointPolicy) GetUpdateTime

func (x *EndpointPolicy) GetUpdateTime() *timestamppb.Timestamp

func (*EndpointPolicy) ProtoMessage

func (*EndpointPolicy) ProtoMessage()

func (*EndpointPolicy) ProtoReflect

func (x *EndpointPolicy) ProtoReflect() protoreflect.Message

func (*EndpointPolicy) Reset

func (x *EndpointPolicy) Reset()

func (*EndpointPolicy) String

func (x *EndpointPolicy) String() string

type EndpointPolicy_EndpointPolicyType

type EndpointPolicy_EndpointPolicyType int32

The type of endpoint policy.

const (
	// Default value. Must not be used.
	EndpointPolicy_ENDPOINT_POLICY_TYPE_UNSPECIFIED EndpointPolicy_EndpointPolicyType = 0
	// Represents a proxy deployed as a sidecar.
	EndpointPolicy_SIDECAR_PROXY EndpointPolicy_EndpointPolicyType = 1
	// Represents a proxyless gRPC backend.
	EndpointPolicy_GRPC_SERVER EndpointPolicy_EndpointPolicyType = 2
)

func (EndpointPolicy_EndpointPolicyType) Descriptor

func (EndpointPolicy_EndpointPolicyType) Enum

func (EndpointPolicy_EndpointPolicyType) EnumDescriptor deprecated

func (EndpointPolicy_EndpointPolicyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EndpointPolicy_EndpointPolicyType.Descriptor instead.

func (EndpointPolicy_EndpointPolicyType) Number

func (EndpointPolicy_EndpointPolicyType) String

func (EndpointPolicy_EndpointPolicyType) Type

type Gateway

type Gateway struct {

	// Required. Name of the Gateway resource. It matches pattern
	// `projects/*/locations/*/gateways/<gateway_name>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Server-defined URL of this resource
	SelfLink string `protobuf:"bytes,13,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// Output only. The timestamp when the resource was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The timestamp when the resource was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. Set of label tags associated with the Gateway resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Optional. A free-text description of the resource. Max length 1024 characters.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Immutable. The type of the customer managed gateway.
	// This field is required. If unspecified, an error is returned.
	Type Gateway_Type `protobuf:"varint,6,opt,name=type,proto3,enum=google.cloud.networkservices.v1.Gateway_Type" json:"type,omitempty"`
	// Required. One or more ports that the Gateway must receive traffic on. The proxy binds
	// to the ports specified. Gateway listen on 0.0.0.0 on the ports specified
	// below.
	Ports []int32 `protobuf:"varint,11,rep,packed,name=ports,proto3" json:"ports,omitempty"`
	// Required. Immutable. Scope determines how configuration across multiple Gateway instances are
	// merged. The configuration for multiple Gateway instances with the same
	// scope will be merged as presented as a single coniguration to the
	// proxy/load balancer.
	//
	// Max length 64 characters.
	// Scope should start with a letter and can only have letters, numbers,
	// hyphens.
	Scope string `protobuf:"bytes,8,opt,name=scope,proto3" json:"scope,omitempty"`
	// Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS
	// traffic is terminated. If empty, TLS termination is disabled.
	ServerTlsPolicy string `protobuf:"bytes,9,opt,name=server_tls_policy,json=serverTlsPolicy,proto3" json:"server_tls_policy,omitempty"`
	// contains filtered or unexported fields
}

Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which the services are exposed by the proxy, along with any policy configurations. Routes have reference to to Gateways to dictate how requests should be routed by this Gateway.

func (*Gateway) Descriptor deprecated

func (*Gateway) Descriptor() ([]byte, []int)

Deprecated: Use Gateway.ProtoReflect.Descriptor instead.

func (*Gateway) GetCreateTime

func (x *Gateway) GetCreateTime() *timestamppb.Timestamp

func (*Gateway) GetDescription

func (x *Gateway) GetDescription() string

func (*Gateway) GetLabels

func (x *Gateway) GetLabels() map[string]string

func (*Gateway) GetName

func (x *Gateway) GetName() string

func (*Gateway) GetPorts

func (x *Gateway) GetPorts() []int32

func (*Gateway) GetScope

func (x *Gateway) GetScope() string
func (x *Gateway) GetSelfLink() string

func (*Gateway) GetServerTlsPolicy

func (x *Gateway) GetServerTlsPolicy() string

func (*Gateway) GetType

func (x *Gateway) GetType() Gateway_Type

func (*Gateway) GetUpdateTime

func (x *Gateway) GetUpdateTime() *timestamppb.Timestamp

func (*Gateway) ProtoMessage

func (*Gateway) ProtoMessage()

func (*Gateway) ProtoReflect

func (x *Gateway) ProtoReflect() protoreflect.Message

func (*Gateway) Reset

func (x *Gateway) Reset()

func (*Gateway) String

func (x *Gateway) String() string

type Gateway_Type

type Gateway_Type int32

The type of the customer-managed gateway. Possible values are: * OPEN_MESH * SECURE_WEB_GATEWAY

const (
	// The type of the customer managed gateway is unspecified.
	Gateway_TYPE_UNSPECIFIED Gateway_Type = 0
	// The type of the customer managed gateway is TrafficDirector Open
	// Mesh.
	Gateway_OPEN_MESH Gateway_Type = 1
	// The type of the customer managed gateway is SecureWebGateway (SWG).
	Gateway_SECURE_WEB_GATEWAY Gateway_Type = 2
)

func (Gateway_Type) Descriptor

func (Gateway_Type) Enum

func (x Gateway_Type) Enum() *Gateway_Type

func (Gateway_Type) EnumDescriptor deprecated

func (Gateway_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Gateway_Type.Descriptor instead.

func (Gateway_Type) Number

func (Gateway_Type) String

func (x Gateway_Type) String() string

func (Gateway_Type) Type

type GetEndpointPolicyRequest

type GetEndpointPolicyRequest struct {

	// Required. A name of the EndpointPolicy to get. Must be in the format
	// `projects/*/locations/global/endpointPolicies/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used with the GetEndpointPolicy method.

func (*GetEndpointPolicyRequest) Descriptor deprecated

func (*GetEndpointPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetEndpointPolicyRequest.ProtoReflect.Descriptor instead.

func (*GetEndpointPolicyRequest) GetName

func (x *GetEndpointPolicyRequest) GetName() string

func (*GetEndpointPolicyRequest) ProtoMessage

func (*GetEndpointPolicyRequest) ProtoMessage()

func (*GetEndpointPolicyRequest) ProtoReflect

func (x *GetEndpointPolicyRequest) ProtoReflect() protoreflect.Message

func (*GetEndpointPolicyRequest) Reset

func (x *GetEndpointPolicyRequest) Reset()

func (*GetEndpointPolicyRequest) String

func (x *GetEndpointPolicyRequest) String() string

type GetGatewayRequest

type GetGatewayRequest struct {

	// Required. A name of the Gateway to get. Must be in the format
	// `projects/*/locations/*/gateways/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used by the GetGateway method.

func (*GetGatewayRequest) Descriptor deprecated

func (*GetGatewayRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetGatewayRequest.ProtoReflect.Descriptor instead.

func (*GetGatewayRequest) GetName

func (x *GetGatewayRequest) GetName() string

func (*GetGatewayRequest) ProtoMessage

func (*GetGatewayRequest) ProtoMessage()

func (*GetGatewayRequest) ProtoReflect

func (x *GetGatewayRequest) ProtoReflect() protoreflect.Message

func (*GetGatewayRequest) Reset

func (x *GetGatewayRequest) Reset()

func (*GetGatewayRequest) String

func (x *GetGatewayRequest) String() string

type GetGrpcRouteRequest

type GetGrpcRouteRequest struct {

	// Required. A name of the GrpcRoute to get. Must be in the format
	// `projects/*/locations/global/grpcRoutes/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used by the GetGrpcRoute method.

func (*GetGrpcRouteRequest) Descriptor deprecated

func (*GetGrpcRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetGrpcRouteRequest.ProtoReflect.Descriptor instead.

func (*GetGrpcRouteRequest) GetName

func (x *GetGrpcRouteRequest) GetName() string

func (*GetGrpcRouteRequest) ProtoMessage

func (*GetGrpcRouteRequest) ProtoMessage()

func (*GetGrpcRouteRequest) ProtoReflect

func (x *GetGrpcRouteRequest) ProtoReflect() protoreflect.Message

func (*GetGrpcRouteRequest) Reset

func (x *GetGrpcRouteRequest) Reset()

func (*GetGrpcRouteRequest) String

func (x *GetGrpcRouteRequest) String() string

type GetHttpRouteRequest

type GetHttpRouteRequest struct {

	// Required. A name of the HttpRoute to get. Must be in the format
	// `projects/*/locations/global/httpRoutes/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used by the GetHttpRoute method.

func (*GetHttpRouteRequest) Descriptor deprecated

func (*GetHttpRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetHttpRouteRequest.ProtoReflect.Descriptor instead.

func (*GetHttpRouteRequest) GetName

func (x *GetHttpRouteRequest) GetName() string

func (*GetHttpRouteRequest) ProtoMessage

func (*GetHttpRouteRequest) ProtoMessage()

func (*GetHttpRouteRequest) ProtoReflect

func (x *GetHttpRouteRequest) ProtoReflect() protoreflect.Message

func (*GetHttpRouteRequest) Reset

func (x *GetHttpRouteRequest) Reset()

func (*GetHttpRouteRequest) String

func (x *GetHttpRouteRequest) String() string

type GetMeshRequest

type GetMeshRequest struct {

	// Required. A name of the Mesh to get. Must be in the format
	// `projects/*/locations/global/meshes/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used by the GetMesh method.

func (*GetMeshRequest) Descriptor deprecated

func (*GetMeshRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMeshRequest.ProtoReflect.Descriptor instead.

func (*GetMeshRequest) GetName

func (x *GetMeshRequest) GetName() string

func (*GetMeshRequest) ProtoMessage

func (*GetMeshRequest) ProtoMessage()

func (*GetMeshRequest) ProtoReflect

func (x *GetMeshRequest) ProtoReflect() protoreflect.Message

func (*GetMeshRequest) Reset

func (x *GetMeshRequest) Reset()

func (*GetMeshRequest) String

func (x *GetMeshRequest) String() string

type GetServiceBindingRequest

type GetServiceBindingRequest struct {

	// Required. A name of the ServiceBinding to get. Must be in the format
	// `projects/*/locations/global/serviceBindings/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used by the GetServiceBinding method.

func (*GetServiceBindingRequest) Descriptor deprecated

func (*GetServiceBindingRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetServiceBindingRequest.ProtoReflect.Descriptor instead.

func (*GetServiceBindingRequest) GetName

func (x *GetServiceBindingRequest) GetName() string

func (*GetServiceBindingRequest) ProtoMessage

func (*GetServiceBindingRequest) ProtoMessage()

func (*GetServiceBindingRequest) ProtoReflect

func (x *GetServiceBindingRequest) ProtoReflect() protoreflect.Message

func (*GetServiceBindingRequest) Reset

func (x *GetServiceBindingRequest) Reset()

func (*GetServiceBindingRequest) String

func (x *GetServiceBindingRequest) String() string

type GetTcpRouteRequest

type GetTcpRouteRequest struct {

	// Required. A name of the TcpRoute to get. Must be in the format
	// `projects/*/locations/global/tcpRoutes/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used by the GetTcpRoute method.

func (*GetTcpRouteRequest) Descriptor deprecated

func (*GetTcpRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTcpRouteRequest.ProtoReflect.Descriptor instead.

func (*GetTcpRouteRequest) GetName

func (x *GetTcpRouteRequest) GetName() string

func (*GetTcpRouteRequest) ProtoMessage

func (*GetTcpRouteRequest) ProtoMessage()

func (*GetTcpRouteRequest) ProtoReflect

func (x *GetTcpRouteRequest) ProtoReflect() protoreflect.Message

func (*GetTcpRouteRequest) Reset

func (x *GetTcpRouteRequest) Reset()

func (*GetTcpRouteRequest) String

func (x *GetTcpRouteRequest) String() string

type GetTlsRouteRequest

type GetTlsRouteRequest struct {

	// Required. A name of the TlsRoute to get. Must be in the format
	// `projects/*/locations/global/tlsRoutes/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request used by the GetTlsRoute method.

func (*GetTlsRouteRequest) Descriptor deprecated

func (*GetTlsRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTlsRouteRequest.ProtoReflect.Descriptor instead.

func (*GetTlsRouteRequest) GetName

func (x *GetTlsRouteRequest) GetName() string

func (*GetTlsRouteRequest) ProtoMessage

func (*GetTlsRouteRequest) ProtoMessage()

func (*GetTlsRouteRequest) ProtoReflect

func (x *GetTlsRouteRequest) ProtoReflect() protoreflect.Message

func (*GetTlsRouteRequest) Reset

func (x *GetTlsRouteRequest) Reset()

func (*GetTlsRouteRequest) String

func (x *GetTlsRouteRequest) String() string

type GrpcRoute

type GrpcRoute struct {

	// Required. Name of the GrpcRoute resource. It matches pattern
	// `projects/*/locations/global/grpcRoutes/<grpc_route_name>`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Server-defined URL of this resource
	SelfLink string `protobuf:"bytes,12,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// Output only. The timestamp when the resource was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The timestamp when the resource was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. Set of label tags associated with the GrpcRoute resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Optional. A free-text description of the resource. Max length 1024 characters.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Required. Service hostnames with an optional port for which this route describes
	// traffic.
	//
	// Format: <hostname>[:<port>]
	//
	// Hostname is the fully qualified domain name of a network host. This matches
	// the RFC 1123 definition of a hostname with 2 notable exceptions:
	//  - IPs are not allowed.
	//  - A hostname may be prefixed with a wildcard label (*.). The wildcard
	//    label must appear by itself as the first label.
	//
	// Hostname can be "precise" which is a domain name without the terminating
	// dot of a network host (e.g. "foo.example.com") or "wildcard", which is a
	// domain name prefixed with a single wildcard label (e.g. *.example.com).
	//
	// Note that as per RFC1035 and RFC1123, a label must consist of lower case
	// alphanumeric characters or '-', and must start and end with an alphanumeric
	// character. No other punctuation is allowed.
	//
	// The routes associated with a Mesh or Gateway must have unique hostnames. If
	// you attempt to attach multiple routes with conflicting hostnames, the
	// configuration will be rejected.
	//
	// For example, while it is acceptable for routes for the hostnames
	// "*.foo.bar.com" and "*.bar.com" to be associated with the same route, it is
	// not possible to associate two routes both with "*.bar.com" or both with
	// "bar.com".
	//
	// If a port is specified, then gRPC clients must use the channel URI with the
	// port to match this rule (i.e. "xds:///service:123"), otherwise they must
	// supply the URI without a port (i.e. "xds:///service").
	Hostnames []string `protobuf:"bytes,6,rep,name=hostnames,proto3" json:"hostnames,omitempty"`
	// Optional. Meshes defines a list of meshes this GrpcRoute is attached to, as one of
	// the routing rules to route the requests served by the mesh.
	//
	// Each mesh reference should match the pattern:
	// `projects/*/locations/global/meshes/<mesh_name>`
	Meshes []string `protobuf:"bytes,9,rep,name=meshes,proto3" json:"meshes,omitempty"`
	// Optional. Gateways defines a list of gateways this GrpcRoute is attached to, as one
	// of the routing rules to route the requests served by the gateway.
	//
	// Each gateway reference should match the pattern:
	// `projects/*/locations/global/gateways/<gateway_name>`
	Gateways []string `protobuf:"bytes,10,rep,name=gateways,proto3" json:"gateways,omitempty"`
	// Required. A list of detailed rules defining how to route traffic.
	//
	// Within a single GrpcRoute, the GrpcRoute.RouteAction associated with the
	// first matching GrpcRoute.RouteRule will be executed. At least one rule
	// must be supplied.
	Rules []*GrpcRoute_RouteRule `protobuf:"bytes,7,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

GrpcRoute is the resource defining how gRPC traffic routed by a Mesh or Gateway resource is routed.

func (*GrpcRoute) Descriptor deprecated

func (*GrpcRoute) Descriptor() ([]byte, []int)

Deprecated: Use GrpcRoute.ProtoReflect.Descriptor instead.

func (*GrpcRoute) GetCreateTime

func (x *GrpcRoute) GetCreateTime() *timestamppb.Timestamp

func (*GrpcRoute) GetDescription

func (x *GrpcRoute) GetDescription() string

func (*GrpcRoute) GetGateways

func (x *GrpcRoute) GetGateways() []string

func (*GrpcRoute) GetHostnames

func (x *GrpcRoute) GetHostnames() []string

func (*GrpcRoute) GetLabels

func (x *GrpcRoute) GetLabels() map[string]string

func (*GrpcRoute) GetMeshes

func (x *GrpcRoute) GetMeshes() []string

func (*GrpcRoute) GetName

func (x *GrpcRoute) GetName() string

func (*GrpcRoute) GetRules

func (x *GrpcRoute) GetRules() []*GrpcRoute_RouteRule
func (x *GrpcRoute) GetSelfLink() string

func (*GrpcRoute) GetUpdateTime

func (x *GrpcRoute) GetUpdateTime() *timestamppb.Timestamp

func (*GrpcRoute) ProtoMessage

func (*GrpcRoute) ProtoMessage()

func (*GrpcRoute) ProtoReflect

func (x *GrpcRoute) ProtoReflect() protoreflect.Message

func (*GrpcRoute) Reset

func (x *GrpcRoute) Reset()

func (*GrpcRoute) String

func (x *GrpcRoute) String() string

type GrpcRoute_Destination

type GrpcRoute_Destination struct {

	// Specifies the kind of destination to which traffic will be routed.
	//
	// Types that are assignable to DestinationType:
	//	*GrpcRoute_Destination_ServiceName
	DestinationType isGrpcRoute_Destination_DestinationType `protobuf_oneof:"destination_type"`
	// Optional. Specifies the proportion of requests forwarded to the backend referenced
	// by the serviceName field. This is computed as:
	//         weight/Sum(weights in this destination list).
	// For non-zero values, there may be some epsilon from the exact proportion
	// defined here depending on the precision an implementation supports.
	//
	// If only one serviceName is specified and it has a weight greater than 0,
	// 100% of the traffic is forwarded to that backend.
	//
	// If weights are specified for any one service name, they need to be
	// specified for all of them.
	//
	// If weights are unspecified for all services, then, traffic is distributed
	// in equal proportions to all of them.
	Weight *int32 `protobuf:"varint,2,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

The destination to which traffic will be routed.

func (*GrpcRoute_Destination) Descriptor deprecated

func (*GrpcRoute_Destination) Descriptor() ([]byte, []int)

Deprecated: Use GrpcRoute_Destination.ProtoReflect.Descriptor instead.

func (*GrpcRoute_Destination) GetDestinationType

func (m *GrpcRoute_Destination) GetDestinationType() isGrpcRoute_Destination_DestinationType

func (*GrpcRoute_Destination) GetServiceName

func (x *GrpcRoute_Destination) GetServiceName() string

func (*GrpcRoute_Destination) GetWeight

func (x *GrpcRoute_Destination) GetWeight() int32

func (*GrpcRoute_Destination) ProtoMessage

func (*GrpcRoute_Destination) ProtoMessage()

func (*GrpcRoute_Destination) ProtoReflect

func (x *GrpcRoute_Destination) ProtoReflect() protoreflect.Message

func (*GrpcRoute_Destination) Reset

func (x *GrpcRoute_Destination) Reset()

func (*GrpcRoute_Destination) String

func (x *GrpcRoute_Destination) String() string

type GrpcRoute_Destination_ServiceName

type GrpcRoute_Destination_ServiceName struct {
	// Required. The URL of a destination service to which to route traffic. Must refer
	// to either a BackendService or ServiceDirectoryService.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3,oneof"`
}

type GrpcRoute_FaultInjectionPolicy

type GrpcRoute_FaultInjectionPolicy struct {

	// The specification for injecting delay to client requests.
	Delay *GrpcRoute_FaultInjectionPolicy_Delay `protobuf:"bytes,1,opt,name=delay,proto3,oneof" json:"delay,omitempty"`
	// The specification for aborting to client requests.
	Abort *GrpcRoute_FaultInjectionPolicy_Abort `protobuf:"bytes,2,opt,name=abort,proto3,oneof" json:"abort,omitempty"`
	// contains filtered or unexported fields
}

The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests.

func (*GrpcRoute_FaultInjectionPolicy) Descriptor deprecated

func (*GrpcRoute_FaultInjectionPolicy) Descriptor() ([]byte, []int)

Deprecated: Use GrpcRoute_FaultInjectionPolicy.ProtoReflect.Descriptor instead.

func (*GrpcRoute_FaultInjectionPolicy) GetAbort

func (*GrpcRoute_FaultInjectionPolicy) GetDelay

func (*GrpcRoute_FaultInjectionPolicy) ProtoMessage

func (*GrpcRoute_FaultInjectionPolicy) ProtoMessage()

func (*GrpcRoute_FaultInjectionPolicy) ProtoReflect

func (*GrpcRoute_FaultInjectionPolicy) Reset

func (x *GrpcRoute_FaultInjectionPolicy) Reset()

func (*GrpcRoute_FaultInjectionPolicy) String

type GrpcRoute_FaultInjectionPolicy_Abort

type GrpcRoute_FaultInjectionPolicy_Abort struct {

	// The HTTP status code used to abort the request.
	//
	// The value must be between 200 and 599 inclusive.
	HttpStatus *int32 `protobuf:"varint,1,opt,name=http_status,json=httpStatus,proto3,oneof" json:"http_status,omitempty"`
	// The percentage of traffic which will be aborted.
	//
	// The value must be between [0, 100]
	Percentage *int32 `protobuf:"varint,2,opt,name=percentage,proto3,oneof" json:"percentage,omitempty"`
	// contains filtered or unexported fields
}

Specification of how client requests are aborted as part of fault injection before being sent to a destination.

func (*GrpcRoute_FaultInjectionPolicy_Abort) Descriptor deprecated

func (*GrpcRoute_FaultInjectionPolicy_Abort) Descriptor() ([]byte, []int)

Deprecated: Use GrpcRoute_FaultInjectionPolicy_Abort.ProtoReflect.Descriptor instead.

func (*GrpcRoute_FaultInjectionPolicy_Abort) GetHttpStatus

func (x *GrpcRoute_FaultInjectionPolicy_Abort) GetHttpStatus() int32

func (*GrpcRoute_FaultInjectionPolicy_Abort) GetPercentage

func (x *GrpcRoute_FaultInjectionPolicy_Abort) GetPercentage() int32

func (*GrpcRoute_FaultInjectionPolicy_Abort) ProtoMessage

func (*GrpcRoute_FaultInjectionPolicy_Abort) ProtoMessage()

func (*GrpcRoute_FaultInjectionPolicy_Abort) ProtoReflect

func (*GrpcRoute_FaultInjectionPolicy_Abort) Reset

func (*GrpcRoute_FaultInjectionPolicy_Abort) String

type GrpcRoute_FaultInjectionPolicy_Delay

type GrpcRoute_FaultInjectionPolicy_Delay struct {

	// Specify a fixed delay before forwarding the request.
	FixedDelay *durationpb.Duration `protobuf:"bytes,1,opt,name=fixed_delay,json=fixedDelay,proto3,oneof" json:"fixed_delay,omitempty"`
	// The percentage of traffic on which delay will be injected.
	//
	// The value must be between [0, 100]
	Percentage *int32 `protobuf:"varint,2,opt,name=percentage,proto3,oneof" json:"percentage,omitempty"`
	// contains filtered or unexported fields
}

Specification of how client requests are delayed as part of fault injection before being sent to a destination.

func (*GrpcRoute_FaultInjectionPolicy_Delay) Descriptor deprecated

func (*GrpcRoute_FaultInjectionPolicy_Delay) Descriptor() ([]byte, []int)

Deprecated: Use GrpcRoute_FaultInjectionPolicy_Delay.ProtoReflect.Descriptor instead.

func (*GrpcRoute_FaultInjectionPolicy_Delay) GetFixedDelay

func (*GrpcRoute_FaultInjectionPolicy_Delay) GetPercentage

func (x *GrpcRoute_FaultInjectionPolicy_Delay) GetPercentage() int32

func (*GrpcRoute_FaultInjectionPolicy_Delay) ProtoMessage

func (*GrpcRoute_FaultInjectionPolicy_Delay) ProtoMessage()

func (*GrpcRoute_FaultInjectionPolicy_Delay) ProtoReflect

func (*GrpcRoute_FaultInjectionPolicy_Delay) Reset

func (*GrpcRoute_FaultInjectionPolicy_Delay) String

type GrpcRoute_HeaderMatch

type GrpcRoute_HeaderMatch struct {

	// Optional. Specifies how to match against the value of the header. If not
	// specified, a default value of EXACT is used.
	Type GrpcRoute_HeaderMatch_Type `` /* 126-byte string literal not displayed */
	// Required. The key of the header.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// Required. The value of the header.
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

A match against a collection of headers.

func (*GrpcRoute_HeaderMatch) Descriptor deprecated

func (*GrpcRoute_HeaderMatch) Descriptor() ([]byte, []int)

Deprecated: Use GrpcRoute_HeaderMatch.ProtoReflect.Descriptor instead.

func (*GrpcRoute_HeaderMatch) GetKey

func (x *GrpcRoute_HeaderMatch) GetKey() string

func (*GrpcRoute_HeaderMatch) GetType

func (*GrpcRoute_HeaderMatch) GetValue

func (x *GrpcRoute_HeaderMatch) GetValue() string

func (*GrpcRoute_HeaderMatch) ProtoMessage

func (*GrpcRoute_HeaderMatch) ProtoMessage()

func (*GrpcRoute_HeaderMatch) ProtoReflect

func (x *GrpcRoute_HeaderMatch) ProtoReflect() protoreflect.Message

func (*GrpcRoute_HeaderMatch) Reset

func (x *GrpcRoute_HeaderMatch) Reset()

func (*GrpcRoute_HeaderMatch) String

func (x *GrpcRoute_HeaderMatch) String() string

type GrpcRoute_HeaderMatch_Type

type GrpcRoute_HeaderMatch_Type int32

The type of match.

const (
	// Unspecified.
	GrpcRoute_HeaderMatch_TYPE_UNSPECIFIED GrpcRoute_HeaderMatch_Type = 0
	// Will only match the exact value provided.
	GrpcRoute_HeaderMatch_EXACT GrpcRoute_HeaderMatch_Type = 1
	// Will match paths conforming to the prefix specified by value. RE2
	// syntax is supported.
	GrpcRoute_HeaderMatch_REGULAR_EXPRESSION GrpcRoute_HeaderMatch_Type = 2
)

func (GrpcRoute_HeaderMatch_Type) Descriptor

func (GrpcRoute_HeaderMatch_Type) Enum

func (GrpcRoute_HeaderMatch_Type) EnumDescriptor deprecated

func (GrpcRoute_HeaderMatch_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use GrpcRoute_HeaderMatch_Type.Descriptor instead.

func (GrpcRoute_HeaderMatch_Type) Number

func (GrpcRoute_HeaderMatch_Type) String

func (GrpcRoute_HeaderMatch_Type) Type

type GrpcRoute_MethodMatch

type GrpcRoute_MethodMatch struct {

	// Optional. Specifies how to match against the name. If not specified, a default
	// value of "EXACT" is used.
	Type GrpcRoute_MethodMatch_Type `` /* 126-byte string literal not displayed */
	// Required. Name of the service to match against. If unspecified, will match all
	// services.
	GrpcService string `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
	// Required. Name of the method to match against. If unspecified, will match all
	// methods.
	GrpcMethod string `protobuf:"bytes,3,opt,name=grpc_method,json=grpcMethod,proto3" json:"grpc_method,omitempty"`
	// Optional. Specifies that matches are case sensitive.  The default value is true.
	// case_sensitive must not be used with a type of REGULAR_EXPRESSION.
	CaseSensitive *bool `protobuf:"varint,4,opt,name=case_sensitive,json=caseSensitive,proto3,oneof" json:"case_sensitive,omitempty"`
	// contains filtered or unexported fields
}

Specifies a match against a method.

func (*GrpcRoute_MethodMatch) Descriptor deprecated

func (*GrpcRoute_MethodMatch) Descriptor() ([]byte, []int)

Deprecated: Use GrpcRoute_MethodMatch.ProtoReflect.Descriptor instead.

func (*GrpcRoute_MethodMatch) GetCaseSensitive

func (x *GrpcRoute_MethodMatch) GetCaseSensitive() bool

func (*GrpcRoute_MethodMatch) GetGrpcMethod

func (x *GrpcRoute_MethodMatch) GetGrpcMethod() string

func (*GrpcRoute_MethodMatch) GetGrpcService

func (x *GrpcRoute_MethodMatch) GetGrpcService() string

func (*GrpcRoute_MethodMatch) GetType

func (*GrpcRoute_MethodMatch) ProtoMessage

func (*GrpcRoute_MethodMatch) ProtoMessage()

func (*GrpcRoute_MethodMatch) ProtoReflect

func (x *GrpcRoute_MethodMatch) ProtoReflect() protoreflect.Message

func (*GrpcRoute_MethodMatch) Reset

func (x *GrpcRoute_MethodMatch) Reset()

func (*GrpcRoute_MethodMatch) String

func (x *GrpcRoute_MethodMatch) String() string

type GrpcRoute_MethodMatch_Type

type GrpcRoute_MethodMatch_Type int32

The type of the match.

const (
	// Unspecified.
	GrpcRoute_MethodMatch_TYPE_UNSPECIFIED GrpcRoute_MethodMatch_Type = 0
	// Will only match the exact name provided.
	GrpcRoute_MethodMatch_EXACT GrpcRoute_MethodMatch_Type = 1
	// Will interpret grpc_method and grpc_service as regexes. RE2 syntax is
	// supported.
	GrpcRoute_MethodMatch_REGULAR_EXPRESSION GrpcRoute_MethodMatch_Type = 2
)

func (GrpcRoute_MethodMatch_Type) Descriptor

func (GrpcRoute_MethodMatch_Type) Enum

func (GrpcRoute_MethodMatch_Type) EnumDescriptor deprecated

func (GrpcRoute_MethodMatch_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use GrpcRoute_MethodMatch_Type.Descriptor instead.

func (GrpcRoute_MethodMatch_Type) Number

func (GrpcRoute_MethodMatch_Type) String

func (GrpcRoute_MethodMatch_Type) Type

type GrpcRoute_RetryPolicy

type GrpcRoute_RetryPolicy struct {

	// - connect-failure: Router will retry on failures connecting to Backend
	//    Services, for example due to connection timeouts.
	// - refused-stream: Router will retry if the backend service resets the
	// stream
	//    with a REFUSED_STREAM error code. This reset type indicates that it is
	//    safe to retry.
	// - cancelled: Router will retry if the gRPC status code in the response
	// header
	//    is set to cancelled
	// - deadline-exceeded: Router will retry if the gRPC status code in the
	// response
	//    header is set to deadline-exceeded
	// - resource-exhausted: Router will retry if the gRPC status code in the
	//    response header is set to resource-exhausted
	// - unavailable: Router will retry if the gRPC status code in the response
	//    header is set to unavailable
	RetryConditions []string `protobuf:"bytes,1,rep,name=retry_conditions,json=retryConditions,proto3" json:"retry_conditions,omitempty"`
	// Specifies the allowed number of retries. This number must be > 0. If not
	// specified, default to 1.
	NumRetries uint32 `protobuf:"varint,2,opt,name=num_retries,json=numRetries,proto3" json:"num_retries,omitempty"`
	// contains filtered or unexported fields
}

The specifications for retries.

func (*GrpcRoute_RetryPolicy) Descriptor deprecated

func (*GrpcRoute_RetryPolicy) Descriptor() ([]byte, []int)

Deprecated: Use GrpcRoute_RetryPolicy.ProtoReflect.Descriptor instead.

func (*GrpcRoute_RetryPolicy) GetNumRetries

func (x *GrpcRoute_RetryPolicy) GetNumRetries() uint32

func (*GrpcRoute_RetryPolicy) GetRetryConditions

func (x *GrpcRoute_RetryPolicy) GetRetryConditions() []string

func (*GrpcRoute_RetryPolicy) ProtoMessage

func (*GrpcRoute_RetryPolicy) ProtoMessage()

func (*GrpcRoute_RetryPolicy) ProtoReflect

func (x *GrpcRoute_RetryPolicy) ProtoReflect() protoreflect.Message

func (*GrpcRoute_RetryPolicy) Reset

func (x *GrpcRoute_RetryPolicy) Reset()

func (*GrpcRoute_RetryPolicy) String

func (x *GrpcRoute_RetryPolicy) String() string

type GrpcRoute_RouteAction

type GrpcRoute_RouteAction struct {

	// Optional. The destination services to which traffic should be forwarded. If
	// multiple destinations are specified, traffic will be split between
	// Backend Service(s) according to the weight field of these destinations.
	Destinations []*GrpcRoute_Destination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"`
	// Optional. The specification for fault injection introduced into traffic to test the
	// resiliency of clients to destination service failure. As part of fault
	// injection, when clients send requests to a destination, delays can be
	// introduced on a percentage of requests before sending those requests to
	// the destination service. Similarly requests from clients can be aborted
	// by for a percentage of requests.
	//
	// timeout and retry_policy will be ignored by clients that are configured
	// with a fault_injection_policy
	FaultInjectionPolicy *GrpcRoute_FaultInjectionPolicy `protobuf:"bytes,3,opt,name=fault_injection_policy,json=faultInjectionPolicy,proto3" json:"fault_injection_policy,omitempty"`
	// Optional. Specifies the timeout for selected route. Timeout is computed from the
	// time the request has been fully processed (i.e. end of stream) up until
	// the response has been completely processed. Timeout includes all retries.
	Timeout *durationpb.Duration `protobuf:"bytes,7,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Optional. Specifies the retry policy associated with this route.
	RetryPolicy *GrpcRoute_RetryPolicy `protobuf:"bytes,8,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
	// contains filtered or unexported fields
}

Specifies how to route matched traffic.

func (*GrpcRoute_RouteAction) Descriptor deprecated

func (*GrpcRoute_RouteAction) Descriptor() ([]byte, []int)

Deprecated: Use GrpcRoute_RouteAction.ProtoReflect.Descriptor instead.

func (*GrpcRoute_RouteAction) GetDestinations

func (x *GrpcRoute_RouteAction) GetDestinations() []*GrpcRoute_Destination

func (*GrpcRoute_RouteAction) GetFaultInjectionPolicy

func (x *GrpcRoute_RouteAction) GetFaultInjectionPolicy() *GrpcRoute_FaultInjectionPolicy

func (*GrpcRoute_RouteAction) GetRetryPolicy

func (x *GrpcRoute_RouteAction) GetRetryPolicy() *GrpcRoute_RetryPolicy

func (*GrpcRoute_RouteAction) GetTimeout

func (x *GrpcRoute_RouteAction) GetTimeout() *durationpb.Duration

func (*GrpcRoute_RouteAction) ProtoMessage

func (*GrpcRoute_RouteAction) ProtoMessage()

func (*GrpcRoute_RouteAction) ProtoReflect

func (x *GrpcRoute_RouteAction) ProtoReflect() protoreflect.Message

func (*GrpcRoute_RouteAction) Reset

func (x *GrpcRoute_RouteAction) Reset()

func (*GrpcRoute_RouteAction) String

func (x *GrpcRoute_RouteAction) String() string

type GrpcRoute_RouteMatch

type GrpcRoute_RouteMatch struct {

	// Optional. A gRPC method to match against. If this field is empty or omitted, will
	// match all methods.
	Method *GrpcRoute_MethodMatch `protobuf:"bytes,1,opt,name=method,proto3,oneof" json:"method,omitempty"`
	// Optional. Specifies a collection of headers to match.
	Headers []*GrpcRoute_HeaderMatch `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"`
	// contains filtered or unexported fields
}

Criteria for matching traffic. A RouteMatch will be considered to match when all supplied fields match.

func (*GrpcRoute_RouteMatch) Descriptor deprecated

func (*GrpcRoute_RouteMatch) Descriptor() ([]byte, []int)

Deprecated: Use GrpcRoute_RouteMatch.ProtoReflect.Descriptor instead.

func (*GrpcRoute_RouteMatch) GetHeaders

func (x *GrpcRoute_RouteMatch) GetHeaders() []*GrpcRoute_HeaderMatch

func (*GrpcRoute_RouteMatch) GetMethod

func (*GrpcRoute_RouteMatch) ProtoMessage

func (*GrpcRoute_RouteMatch) ProtoMessage()

func (*GrpcRoute_RouteMatch) ProtoReflect

func (x *GrpcRoute_RouteMatch) ProtoReflect() protoreflect.Message

func (*GrpcRoute_RouteMatch) Reset

func (x *GrpcRoute_RouteMatch) Reset()

func (*GrpcRoute_RouteMatch) String

func (x *GrpcRoute_RouteMatch) String() string

type GrpcRoute_RouteRule

type GrpcRoute_RouteRule struct {

	// Optional. Matches define conditions used for matching the rule against incoming
	// gRPC requests. Each match is independent, i.e. this rule will be matched
	// if ANY one of the matches is satisfied.  If no matches field is
	// specified, this rule will unconditionally match traffic.
	Matches []*GrpcRoute_RouteMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
	// Required. A detailed rule defining how to route traffic. This field is required.
	Action *GrpcRoute_RouteAction `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

Describes how to route traffic.

func (*GrpcRoute_RouteRule) Descriptor deprecated

func (*GrpcRoute_RouteRule) Descriptor() ([]byte, []int)

Deprecated: Use GrpcRoute_RouteRule.ProtoReflect.Descriptor instead.

func (*GrpcRoute_RouteRule) GetAction

func (*GrpcRoute_RouteRule) GetMatches

func (x *GrpcRoute_RouteRule) GetMatches() []*GrpcRoute_RouteMatch

func (*GrpcRoute_RouteRule) ProtoMessage

func (*GrpcRoute_RouteRule) ProtoMessage()

func (*GrpcRoute_RouteRule) ProtoReflect

func (x *GrpcRoute_RouteRule) ProtoReflect() protoreflect.Message

func (*GrpcRoute_RouteRule) Reset

func (x *GrpcRoute_RouteRule) Reset()

func (*GrpcRoute_RouteRule) String

func (x *GrpcRoute_RouteRule) String() string

type HttpRoute

type HttpRoute struct {

	// Required. Name of the HttpRoute resource. It matches pattern
	// `projects/*/locations/global/httpRoutes/http_route_name>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Server-defined URL of this resource
	SelfLink string `protobuf:"bytes,11,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// Optional. A free-text description of the resource. Max length 1024 characters.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The timestamp when the resource was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The timestamp when the resource was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Required. Hostnames define a set of hosts that should match against the HTTP host
	// header to select a HttpRoute to process the request. Hostname is the fully
	// qualified domain name of a network host, as defined by RFC 1123 with the
	// exception that:
	//  - IPs are not allowed.
	//  - A hostname may be prefixed with a wildcard label (*.). The wildcard
	//    label must appear by itself as the first label.
	//
	// Hostname can be "precise" which is a domain name without the terminating
	// dot of a network host (e.g. "foo.example.com") or "wildcard", which is a
	// domain name prefixed with a single wildcard label (e.g. *.example.com).
	//
	// Note that as per RFC1035 and RFC1123, a label must consist of lower case
	// alphanumeric characters or '-', and must start and end with an alphanumeric
	// character. No other punctuation is allowed.
	//
	// The routes associated with a Mesh or Gateways  must have unique hostnames.
	// If you attempt to attach multiple routes with conflicting hostnames,
	// the configuration will be rejected.
	//
	// For example, while it is acceptable for routes for the hostnames
	// "*.foo.bar.com" and "*.bar.com" to be associated with the same Mesh (or
	// Gateways under the same scope), it is not possible to associate two routes
	// both with "*.bar.com" or both with "bar.com".
	Hostnames []string `protobuf:"bytes,5,rep,name=hostnames,proto3" json:"hostnames,omitempty"`
	// Optional. Meshes defines a list of meshes this HttpRoute is attached to, as one of
	// the routing rules to route the requests served by the mesh.
	//
	// Each mesh reference should match the pattern:
	// `projects/*/locations/global/meshes/<mesh_name>`
	//
	// The attached Mesh should be of a type SIDECAR
	Meshes []string `protobuf:"bytes,8,rep,name=meshes,proto3" json:"meshes,omitempty"`
	// Optional. Gateways defines a list of gateways this HttpRoute is attached to, as one
	// of the routing rules to route the requests served by the gateway.
	//
	// Each gateway reference should match the pattern:
	// `projects/*/locations/global/gateways/<gateway_name>`
	Gateways []string `protobuf:"bytes,9,rep,name=gateways,proto3" json:"gateways,omitempty"`
	// Optional. Set of label tags associated with the HttpRoute resource.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Required. Rules that define how traffic is routed and handled.
	// Rules will be matched sequentially based on the RouteMatch specified for
	// the rule.
	Rules []*HttpRoute_RouteRule `protobuf:"bytes,6,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

HttpRoute is the resource defining how HTTP traffic should be routed by a Mesh or Gateway resource.

func (*HttpRoute) Descriptor deprecated

func (*HttpRoute) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute.ProtoReflect.Descriptor instead.

func (*HttpRoute) GetCreateTime

func (x *HttpRoute) GetCreateTime() *timestamppb.Timestamp

func (*HttpRoute) GetDescription

func (x *HttpRoute) GetDescription() string

func (*HttpRoute) GetGateways

func (x *HttpRoute) GetGateways() []string

func (*HttpRoute) GetHostnames

func (x *HttpRoute) GetHostnames() []string

func (*HttpRoute) GetLabels

func (x *HttpRoute) GetLabels() map[string]string

func (*HttpRoute) GetMeshes

func (x *HttpRoute) GetMeshes() []string

func (*HttpRoute) GetName

func (x *HttpRoute) GetName() string

func (*HttpRoute) GetRules

func (x *HttpRoute) GetRules() []*HttpRoute_RouteRule
func (x *HttpRoute) GetSelfLink() string

func (*HttpRoute) GetUpdateTime

func (x *HttpRoute) GetUpdateTime() *timestamppb.Timestamp

func (*HttpRoute) ProtoMessage

func (*HttpRoute) ProtoMessage()

func (*HttpRoute) ProtoReflect

func (x *HttpRoute) ProtoReflect() protoreflect.Message

func (*HttpRoute) Reset

func (x *HttpRoute) Reset()

func (*HttpRoute) String

func (x *HttpRoute) String() string

type HttpRoute_CorsPolicy

type HttpRoute_CorsPolicy struct {

	// Specifies the list of origins that will be allowed to do CORS requests.
	// An origin is allowed if it matches either an item in allow_origins or
	// an item in allow_origin_regexes.
	AllowOrigins []string `protobuf:"bytes,1,rep,name=allow_origins,json=allowOrigins,proto3" json:"allow_origins,omitempty"`
	// Specifies the regular expression patterns that match allowed origins. For
	// regular expression grammar, please see
	// https://github.com/google/re2/wiki/Syntax.
	AllowOriginRegexes []string `protobuf:"bytes,2,rep,name=allow_origin_regexes,json=allowOriginRegexes,proto3" json:"allow_origin_regexes,omitempty"`
	// Specifies the content for Access-Control-Allow-Methods header.
	AllowMethods []string `protobuf:"bytes,3,rep,name=allow_methods,json=allowMethods,proto3" json:"allow_methods,omitempty"`
	// Specifies the content for Access-Control-Allow-Headers header.
	AllowHeaders []string `protobuf:"bytes,4,rep,name=allow_headers,json=allowHeaders,proto3" json:"allow_headers,omitempty"`
	// Specifies the content for Access-Control-Expose-Headers header.
	ExposeHeaders []string `protobuf:"bytes,5,rep,name=expose_headers,json=exposeHeaders,proto3" json:"expose_headers,omitempty"`
	// Specifies how long result of a preflight request can be cached in
	// seconds. This translates to the Access-Control-Max-Age header.
	MaxAge string `protobuf:"bytes,6,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"`
	// In response to a preflight request, setting this to true indicates that
	// the actual request can include user credentials. This translates to the
	// Access-Control-Allow-Credentials header.
	//
	// Default value is false.
	AllowCredentials bool `protobuf:"varint,7,opt,name=allow_credentials,json=allowCredentials,proto3" json:"allow_credentials,omitempty"`
	// If true, the CORS policy is disabled. The default value is false, which
	// indicates that the CORS policy is in effect.
	Disabled bool `protobuf:"varint,8,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

The Specification for allowing client side cross-origin requests.

func (*HttpRoute_CorsPolicy) Descriptor deprecated

func (*HttpRoute_CorsPolicy) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_CorsPolicy.ProtoReflect.Descriptor instead.

func (*HttpRoute_CorsPolicy) GetAllowCredentials

func (x *HttpRoute_CorsPolicy) GetAllowCredentials() bool

func (*HttpRoute_CorsPolicy) GetAllowHeaders

func (x *HttpRoute_CorsPolicy) GetAllowHeaders() []string

func (*HttpRoute_CorsPolicy) GetAllowMethods

func (x *HttpRoute_CorsPolicy) GetAllowMethods() []string

func (*HttpRoute_CorsPolicy) GetAllowOriginRegexes

func (x *HttpRoute_CorsPolicy) GetAllowOriginRegexes() []string

func (*HttpRoute_CorsPolicy) GetAllowOrigins

func (x *HttpRoute_CorsPolicy) GetAllowOrigins() []string

func (*HttpRoute_CorsPolicy) GetDisabled

func (x *HttpRoute_CorsPolicy) GetDisabled() bool

func (*HttpRoute_CorsPolicy) GetExposeHeaders

func (x *HttpRoute_CorsPolicy) GetExposeHeaders() []string

func (*HttpRoute_CorsPolicy) GetMaxAge

func (x *HttpRoute_CorsPolicy) GetMaxAge() string

func (*HttpRoute_CorsPolicy) ProtoMessage

func (*HttpRoute_CorsPolicy) ProtoMessage()

func (*HttpRoute_CorsPolicy) ProtoReflect

func (x *HttpRoute_CorsPolicy) ProtoReflect() protoreflect.Message

func (*HttpRoute_CorsPolicy) Reset

func (x *HttpRoute_CorsPolicy) Reset()

func (*HttpRoute_CorsPolicy) String

func (x *HttpRoute_CorsPolicy) String() string

type HttpRoute_Destination

type HttpRoute_Destination struct {

	// The URL of a BackendService to route traffic to.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// Specifies the proportion of requests forwarded to the backend referenced
	// by the serviceName field. This is computed as:
	//         weight/Sum(weights in this destination list).
	// For non-zero values, there may be some epsilon from the exact proportion
	// defined here depending on the precision an implementation supports.
	//
	// If only one serviceName is specified and it has a weight greater than 0,
	// 100% of the traffic is forwarded to that backend.
	//
	// If weights are specified for any one service name, they need to be
	// specified for all of them.
	//
	// If weights are unspecified for all services, then, traffic is distributed
	// in equal proportions to all of them.
	Weight int32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

Specifications of a destination to which the request should be routed to.

func (*HttpRoute_Destination) Descriptor deprecated

func (*HttpRoute_Destination) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_Destination.ProtoReflect.Descriptor instead.

func (*HttpRoute_Destination) GetServiceName

func (x *HttpRoute_Destination) GetServiceName() string

func (*HttpRoute_Destination) GetWeight

func (x *HttpRoute_Destination) GetWeight() int32

func (*HttpRoute_Destination) ProtoMessage

func (*HttpRoute_Destination) ProtoMessage()

func (*HttpRoute_Destination) ProtoReflect

func (x *HttpRoute_Destination) ProtoReflect() protoreflect.Message

func (*HttpRoute_Destination) Reset

func (x *HttpRoute_Destination) Reset()

func (*HttpRoute_Destination) String

func (x *HttpRoute_Destination) String() string

type HttpRoute_FaultInjectionPolicy

type HttpRoute_FaultInjectionPolicy struct {

	// The specification for injecting delay to client requests.
	Delay *HttpRoute_FaultInjectionPolicy_Delay `protobuf:"bytes,1,opt,name=delay,proto3" json:"delay,omitempty"`
	// The specification for aborting to client requests.
	Abort *HttpRoute_FaultInjectionPolicy_Abort `protobuf:"bytes,2,opt,name=abort,proto3" json:"abort,omitempty"`
	// contains filtered or unexported fields
}

The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced by client proxy on a percentage of requests before sending those requests to the destination service. Similarly requests can be aborted by client proxy for a percentage of requests.

func (*HttpRoute_FaultInjectionPolicy) Descriptor deprecated

func (*HttpRoute_FaultInjectionPolicy) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_FaultInjectionPolicy.ProtoReflect.Descriptor instead.

func (*HttpRoute_FaultInjectionPolicy) GetAbort

func (*HttpRoute_FaultInjectionPolicy) GetDelay

func (*HttpRoute_FaultInjectionPolicy) ProtoMessage

func (*HttpRoute_FaultInjectionPolicy) ProtoMessage()

func (*HttpRoute_FaultInjectionPolicy) ProtoReflect

func (*HttpRoute_FaultInjectionPolicy) Reset

func (x *HttpRoute_FaultInjectionPolicy) Reset()

func (*HttpRoute_FaultInjectionPolicy) String

type HttpRoute_FaultInjectionPolicy_Abort

type HttpRoute_FaultInjectionPolicy_Abort struct {

	// The HTTP status code used to abort the request.
	//
	// The value must be between 200 and 599 inclusive.
	HttpStatus int32 `protobuf:"varint,1,opt,name=http_status,json=httpStatus,proto3" json:"http_status,omitempty"`
	// The percentage of traffic which will be aborted.
	//
	// The value must be between [0, 100]
	Percentage int32 `protobuf:"varint,2,opt,name=percentage,proto3" json:"percentage,omitempty"`
	// contains filtered or unexported fields
}

Specification of how client requests are aborted as part of fault injection before being sent to a destination.

func (*HttpRoute_FaultInjectionPolicy_Abort) Descriptor deprecated

func (*HttpRoute_FaultInjectionPolicy_Abort) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_FaultInjectionPolicy_Abort.ProtoReflect.Descriptor instead.

func (*HttpRoute_FaultInjectionPolicy_Abort) GetHttpStatus

func (x *HttpRoute_FaultInjectionPolicy_Abort) GetHttpStatus() int32

func (*HttpRoute_FaultInjectionPolicy_Abort) GetPercentage

func (x *HttpRoute_FaultInjectionPolicy_Abort) GetPercentage() int32

func (*HttpRoute_FaultInjectionPolicy_Abort) ProtoMessage

func (*HttpRoute_FaultInjectionPolicy_Abort) ProtoMessage()

func (*HttpRoute_FaultInjectionPolicy_Abort) ProtoReflect

func (*HttpRoute_FaultInjectionPolicy_Abort) Reset

func (*HttpRoute_FaultInjectionPolicy_Abort) String

type HttpRoute_FaultInjectionPolicy_Delay

type HttpRoute_FaultInjectionPolicy_Delay struct {

	// Specify a fixed delay before forwarding the request.
	FixedDelay *durationpb.Duration `protobuf:"bytes,1,opt,name=fixed_delay,json=fixedDelay,proto3" json:"fixed_delay,omitempty"`
	// The percentage of traffic on which delay will be injected.
	//
	// The value must be between [0, 100]
	Percentage int32 `protobuf:"varint,2,opt,name=percentage,proto3" json:"percentage,omitempty"`
	// contains filtered or unexported fields
}

Specification of how client requests are delayed as part of fault injection before being sent to a destination.

func (*HttpRoute_FaultInjectionPolicy_Delay) Descriptor deprecated

func (*HttpRoute_FaultInjectionPolicy_Delay) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_FaultInjectionPolicy_Delay.ProtoReflect.Descriptor instead.

func (*HttpRoute_FaultInjectionPolicy_Delay) GetFixedDelay

func (*HttpRoute_FaultInjectionPolicy_Delay) GetPercentage

func (x *HttpRoute_FaultInjectionPolicy_Delay) GetPercentage() int32

func (*HttpRoute_FaultInjectionPolicy_Delay) ProtoMessage

func (*HttpRoute_FaultInjectionPolicy_Delay) ProtoMessage()

func (*HttpRoute_FaultInjectionPolicy_Delay) ProtoReflect

func (*HttpRoute_FaultInjectionPolicy_Delay) Reset

func (*HttpRoute_FaultInjectionPolicy_Delay) String

type HttpRoute_HeaderMatch

type HttpRoute_HeaderMatch struct {

	// Types that are assignable to MatchType:
	//	*HttpRoute_HeaderMatch_ExactMatch
	//	*HttpRoute_HeaderMatch_RegexMatch
	//	*HttpRoute_HeaderMatch_PrefixMatch
	//	*HttpRoute_HeaderMatch_PresentMatch
	//	*HttpRoute_HeaderMatch_SuffixMatch
	//	*HttpRoute_HeaderMatch_RangeMatch
	MatchType isHttpRoute_HeaderMatch_MatchType `protobuf_oneof:"MatchType"`
	// The name of the HTTP header to match against.
	Header string `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// If specified, the match result will be inverted before checking. Default
	// value is set to false.
	InvertMatch bool `protobuf:"varint,8,opt,name=invert_match,json=invertMatch,proto3" json:"invert_match,omitempty"`
	// contains filtered or unexported fields
}

Specifies how to select a route rule based on HTTP request headers.

func (*HttpRoute_HeaderMatch) Descriptor deprecated

func (*HttpRoute_HeaderMatch) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_HeaderMatch.ProtoReflect.Descriptor instead.

func (*HttpRoute_HeaderMatch) GetExactMatch

func (x *HttpRoute_HeaderMatch) GetExactMatch() string

func (*HttpRoute_HeaderMatch) GetHeader

func (x *HttpRoute_HeaderMatch) GetHeader() string

func (*HttpRoute_HeaderMatch) GetInvertMatch

func (x *HttpRoute_HeaderMatch) GetInvertMatch() bool

func (*HttpRoute_HeaderMatch) GetMatchType

func (m *HttpRoute_HeaderMatch) GetMatchType() isHttpRoute_HeaderMatch_MatchType

func (*HttpRoute_HeaderMatch) GetPrefixMatch

func (x *HttpRoute_HeaderMatch) GetPrefixMatch() string

func (*HttpRoute_HeaderMatch) GetPresentMatch

func (x *HttpRoute_HeaderMatch) GetPresentMatch() bool

func (*HttpRoute_HeaderMatch) GetRangeMatch

func (*HttpRoute_HeaderMatch) GetRegexMatch

func (x *HttpRoute_HeaderMatch) GetRegexMatch() string

func (*HttpRoute_HeaderMatch) GetSuffixMatch

func (x *HttpRoute_HeaderMatch) GetSuffixMatch() string

func (*HttpRoute_HeaderMatch) ProtoMessage

func (*HttpRoute_HeaderMatch) ProtoMessage()

func (*HttpRoute_HeaderMatch) ProtoReflect

func (x *HttpRoute_HeaderMatch) ProtoReflect() protoreflect.Message

func (*HttpRoute_HeaderMatch) Reset

func (x *HttpRoute_HeaderMatch) Reset()

func (*HttpRoute_HeaderMatch) String

func (x *HttpRoute_HeaderMatch) String() string

type HttpRoute_HeaderMatch_ExactMatch

type HttpRoute_HeaderMatch_ExactMatch struct {
	// The value of the header should match exactly the content of
	// exact_match.
	ExactMatch string `protobuf:"bytes,2,opt,name=exact_match,json=exactMatch,proto3,oneof"`
}

type HttpRoute_HeaderMatch_IntegerRange

type HttpRoute_HeaderMatch_IntegerRange struct {

	// Start of the range (inclusive)
	Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	// End of the range (exclusive)
	End int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

Represents an integer value range.

func (*HttpRoute_HeaderMatch_IntegerRange) Descriptor deprecated

func (*HttpRoute_HeaderMatch_IntegerRange) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_HeaderMatch_IntegerRange.ProtoReflect.Descriptor instead.

func (*HttpRoute_HeaderMatch_IntegerRange) GetEnd

func (*HttpRoute_HeaderMatch_IntegerRange) GetStart

func (*HttpRoute_HeaderMatch_IntegerRange) ProtoMessage

func (*HttpRoute_HeaderMatch_IntegerRange) ProtoMessage()

func (*HttpRoute_HeaderMatch_IntegerRange) ProtoReflect

func (*HttpRoute_HeaderMatch_IntegerRange) Reset

func (*HttpRoute_HeaderMatch_IntegerRange) String

type HttpRoute_HeaderMatch_PrefixMatch

type HttpRoute_HeaderMatch_PrefixMatch struct {
	// The value of the header must start with the contents of prefix_match.
	PrefixMatch string `protobuf:"bytes,4,opt,name=prefix_match,json=prefixMatch,proto3,oneof"`
}

type HttpRoute_HeaderMatch_PresentMatch

type HttpRoute_HeaderMatch_PresentMatch struct {
	// A header with header_name must exist. The match takes place whether or
	// not the header has a value.
	PresentMatch bool `protobuf:"varint,5,opt,name=present_match,json=presentMatch,proto3,oneof"`
}

type HttpRoute_HeaderMatch_RangeMatch

type HttpRoute_HeaderMatch_RangeMatch struct {
	// If specified, the rule will match if the request header value is within
	// the range.
	RangeMatch *HttpRoute_HeaderMatch_IntegerRange `protobuf:"bytes,7,opt,name=range_match,json=rangeMatch,proto3,oneof"`
}

type HttpRoute_HeaderMatch_RegexMatch

type HttpRoute_HeaderMatch_RegexMatch struct {
	// The value of the header must match the regular expression specified in
	// regex_match. For regular expression grammar, please see:
	// https://github.com/google/re2/wiki/Syntax
	RegexMatch string `protobuf:"bytes,3,opt,name=regex_match,json=regexMatch,proto3,oneof"`
}

type HttpRoute_HeaderMatch_SuffixMatch

type HttpRoute_HeaderMatch_SuffixMatch struct {
	// The value of the header must end with the contents of suffix_match.
	SuffixMatch string `protobuf:"bytes,6,opt,name=suffix_match,json=suffixMatch,proto3,oneof"`
}

type HttpRoute_HeaderModifier

type HttpRoute_HeaderModifier struct {

	// Completely overwrite/replace the headers with given map where key is the
	// name of the header, value is the value of the header.
	Set map[string]string `` /* 147-byte string literal not displayed */
	// Add the headers with given map where key is the name of the header, value
	// is the value of the header.
	Add map[string]string `` /* 147-byte string literal not displayed */
	// Remove headers (matching by header names) specified in the list.
	Remove []string `protobuf:"bytes,3,rep,name=remove,proto3" json:"remove,omitempty"`
	// contains filtered or unexported fields
}

The specification for modifying HTTP header in HTTP request and HTTP response.

func (*HttpRoute_HeaderModifier) Descriptor deprecated

func (*HttpRoute_HeaderModifier) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_HeaderModifier.ProtoReflect.Descriptor instead.

func (*HttpRoute_HeaderModifier) GetAdd

func (x *HttpRoute_HeaderModifier) GetAdd() map[string]string

func (*HttpRoute_HeaderModifier) GetRemove

func (x *HttpRoute_HeaderModifier) GetRemove() []string

func (*HttpRoute_HeaderModifier) GetSet

func (x *HttpRoute_HeaderModifier) GetSet() map[string]string

func (*HttpRoute_HeaderModifier) ProtoMessage

func (*HttpRoute_HeaderModifier) ProtoMessage()

func (*HttpRoute_HeaderModifier) ProtoReflect

func (x *HttpRoute_HeaderModifier) ProtoReflect() protoreflect.Message

func (*HttpRoute_HeaderModifier) Reset

func (x *HttpRoute_HeaderModifier) Reset()

func (*HttpRoute_HeaderModifier) String

func (x *HttpRoute_HeaderModifier) String() string

type HttpRoute_QueryParameterMatch

type HttpRoute_QueryParameterMatch struct {

	// Types that are assignable to MatchType:
	//	*HttpRoute_QueryParameterMatch_ExactMatch
	//	*HttpRoute_QueryParameterMatch_RegexMatch
	//	*HttpRoute_QueryParameterMatch_PresentMatch
	MatchType isHttpRoute_QueryParameterMatch_MatchType `protobuf_oneof:"MatchType"`
	// The name of the query parameter to match.
	QueryParameter string `protobuf:"bytes,1,opt,name=query_parameter,json=queryParameter,proto3" json:"query_parameter,omitempty"`
	// contains filtered or unexported fields
}

Specifications to match a query parameter in the request.

func (*HttpRoute_QueryParameterMatch) Descriptor deprecated

func (*HttpRoute_QueryParameterMatch) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_QueryParameterMatch.ProtoReflect.Descriptor instead.

func (*HttpRoute_QueryParameterMatch) GetExactMatch

func (x *HttpRoute_QueryParameterMatch) GetExactMatch() string

func (*HttpRoute_QueryParameterMatch) GetMatchType

func (m *HttpRoute_QueryParameterMatch) GetMatchType() isHttpRoute_QueryParameterMatch_MatchType

func (*HttpRoute_QueryParameterMatch) GetPresentMatch

func (x *HttpRoute_QueryParameterMatch) GetPresentMatch() bool

func (*HttpRoute_QueryParameterMatch) GetQueryParameter

func (x *HttpRoute_QueryParameterMatch) GetQueryParameter() string

func (*HttpRoute_QueryParameterMatch) GetRegexMatch

func (x *HttpRoute_QueryParameterMatch) GetRegexMatch() string

func (*HttpRoute_QueryParameterMatch) ProtoMessage

func (*HttpRoute_QueryParameterMatch) ProtoMessage()

func (*HttpRoute_QueryParameterMatch) ProtoReflect

func (*HttpRoute_QueryParameterMatch) Reset

func (x *HttpRoute_QueryParameterMatch) Reset()

func (*HttpRoute_QueryParameterMatch) String

type HttpRoute_QueryParameterMatch_ExactMatch

type HttpRoute_QueryParameterMatch_ExactMatch struct {
	// The value of the query parameter must exactly match the contents of
	// exact_match.
	//
	// Only one of exact_match, regex_match, or present_match must be set.
	ExactMatch string `protobuf:"bytes,2,opt,name=exact_match,json=exactMatch,proto3,oneof"`
}

type HttpRoute_QueryParameterMatch_PresentMatch

type HttpRoute_QueryParameterMatch_PresentMatch struct {
	// Specifies that the QueryParameterMatcher matches if request contains
	// query parameter, irrespective of whether the parameter has a value or
	// not.
	//
	// Only one of exact_match, regex_match, or present_match must be set.
	PresentMatch bool `protobuf:"varint,4,opt,name=present_match,json=presentMatch,proto3,oneof"`
}

type HttpRoute_QueryParameterMatch_RegexMatch

type HttpRoute_QueryParameterMatch_RegexMatch struct {
	// The value of the query parameter must match the regular expression
	// specified by regex_match. For regular expression grammar, please see
	// https://github.com/google/re2/wiki/Syntax
	//
	// Only one of exact_match, regex_match, or present_match must be set.
	RegexMatch string `protobuf:"bytes,3,opt,name=regex_match,json=regexMatch,proto3,oneof"`
}

type HttpRoute_Redirect

type HttpRoute_Redirect struct {

	// The host that will be used in the redirect response instead of the one
	// that was supplied in the request.
	HostRedirect string `protobuf:"bytes,1,opt,name=host_redirect,json=hostRedirect,proto3" json:"host_redirect,omitempty"`
	// The path that will be used in the redirect response instead of the one
	// that was supplied in the request.
	// path_redirect can not be supplied together with prefix_redirect. Supply
	// one alone or neither. If neither is supplied, the path of the original
	// request will be used for the redirect.
	PathRedirect string `protobuf:"bytes,2,opt,name=path_redirect,json=pathRedirect,proto3" json:"path_redirect,omitempty"`
	// Indicates that during redirection, the matched prefix (or path) should be
	// swapped with this value. This option allows URLs be dynamically created
	// based on the request.
	PrefixRewrite string `protobuf:"bytes,3,opt,name=prefix_rewrite,json=prefixRewrite,proto3" json:"prefix_rewrite,omitempty"`
	// The HTTP Status code to use for the redirect.
	ResponseCode HttpRoute_Redirect_ResponseCode `` /* 167-byte string literal not displayed */
	// If set to true, the URL scheme in the redirected request is set to https.
	// If set to false, the URL scheme of the redirected request will remain the
	// same as that of the request.
	//
	// The default is set to false.
	HttpsRedirect bool `protobuf:"varint,5,opt,name=https_redirect,json=httpsRedirect,proto3" json:"https_redirect,omitempty"`
	// if set to true, any accompanying query portion of the original URL is
	// removed prior to redirecting the request. If set to false, the query
	// portion of the original URL is retained.
	//
	// The default is set to false.
	StripQuery bool `protobuf:"varint,6,opt,name=strip_query,json=stripQuery,proto3" json:"strip_query,omitempty"`
	// The port that will be used in the redirected request instead of the one
	// that was supplied in the request.
	PortRedirect int32 `protobuf:"varint,7,opt,name=port_redirect,json=portRedirect,proto3" json:"port_redirect,omitempty"`
	// contains filtered or unexported fields
}

The specification for redirecting traffic.

func (*HttpRoute_Redirect) Descriptor deprecated

func (*HttpRoute_Redirect) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_Redirect.ProtoReflect.Descriptor instead.

func (*HttpRoute_Redirect) GetHostRedirect

func (x *HttpRoute_Redirect) GetHostRedirect() string

func (*HttpRoute_Redirect) GetHttpsRedirect

func (x *HttpRoute_Redirect) GetHttpsRedirect() bool

func (*HttpRoute_Redirect) GetPathRedirect

func (x *HttpRoute_Redirect) GetPathRedirect() string

func (*HttpRoute_Redirect) GetPortRedirect

func (x *HttpRoute_Redirect) GetPortRedirect() int32

func (*HttpRoute_Redirect) GetPrefixRewrite

func (x *HttpRoute_Redirect) GetPrefixRewrite() string

func (*HttpRoute_Redirect) GetResponseCode

func (*HttpRoute_Redirect) GetStripQuery

func (x *HttpRoute_Redirect) GetStripQuery() bool

func (*HttpRoute_Redirect) ProtoMessage

func (*HttpRoute_Redirect) ProtoMessage()

func (*HttpRoute_Redirect) ProtoReflect

func (x *HttpRoute_Redirect) ProtoReflect() protoreflect.Message

func (*HttpRoute_Redirect) Reset

func (x *HttpRoute_Redirect) Reset()

func (*HttpRoute_Redirect) String

func (x *HttpRoute_Redirect) String() string

type HttpRoute_Redirect_ResponseCode

type HttpRoute_Redirect_ResponseCode int32

Supported HTTP response code.

const (
	// Default value
	HttpRoute_Redirect_RESPONSE_CODE_UNSPECIFIED HttpRoute_Redirect_ResponseCode = 0
	// Corresponds to 301.
	HttpRoute_Redirect_MOVED_PERMANENTLY_DEFAULT HttpRoute_Redirect_ResponseCode = 1
	// Corresponds to 302.
	HttpRoute_Redirect_FOUND HttpRoute_Redirect_ResponseCode = 2
	// Corresponds to 303.
	HttpRoute_Redirect_SEE_OTHER HttpRoute_Redirect_ResponseCode = 3
	// Corresponds to 307. In this case, the request method will be retained.
	HttpRoute_Redirect_TEMPORARY_REDIRECT HttpRoute_Redirect_ResponseCode = 4
	// Corresponds to 308. In this case, the request method will be retained.
	HttpRoute_Redirect_PERMANENT_REDIRECT HttpRoute_Redirect_ResponseCode = 5
)

func (HttpRoute_Redirect_ResponseCode) Descriptor

func (HttpRoute_Redirect_ResponseCode) Enum

func (HttpRoute_Redirect_ResponseCode) EnumDescriptor deprecated

func (HttpRoute_Redirect_ResponseCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use HttpRoute_Redirect_ResponseCode.Descriptor instead.

func (HttpRoute_Redirect_ResponseCode) Number

func (HttpRoute_Redirect_ResponseCode) String

func (HttpRoute_Redirect_ResponseCode) Type

type HttpRoute_RequestMirrorPolicy

type HttpRoute_RequestMirrorPolicy struct {

	// The destination the requests will be mirrored to. The weight of the
	// destination will be ignored.
	Destination *HttpRoute_Destination `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
	// contains filtered or unexported fields
}

Specifies the policy on how requests are shadowed to a separate mirrored destination service. The proxy does not wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.

func (*HttpRoute_RequestMirrorPolicy) Descriptor deprecated

func (*HttpRoute_RequestMirrorPolicy) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_RequestMirrorPolicy.ProtoReflect.Descriptor instead.

func (*HttpRoute_RequestMirrorPolicy) GetDestination

func (*HttpRoute_RequestMirrorPolicy) ProtoMessage

func (*HttpRoute_RequestMirrorPolicy) ProtoMessage()

func (*HttpRoute_RequestMirrorPolicy) ProtoReflect

func (*HttpRoute_RequestMirrorPolicy) Reset

func (x *HttpRoute_RequestMirrorPolicy) Reset()

func (*HttpRoute_RequestMirrorPolicy) String

type HttpRoute_RetryPolicy

type HttpRoute_RetryPolicy struct {

	// Specifies one or more conditions when this retry policy applies. Valid
	// values are:
	//   5xx: Proxy will attempt a retry if the destination service responds
	//     with any 5xx response code, of if the destination service does not
	//     respond at all, example: disconnect, reset, read timeout, connection
	//     failure and refused streams.
	//
	//   gateway-error: Similar to 5xx, but only applies to response codes 502,
	//     503, 504.
	//
	//   reset: Proxy will attempt a retry if the destination service does not
	//     respond at all (disconnect/reset/read timeout)
	//
	//   connect-failure: Proxy will retry on failures connecting to destination
	//     for example due to connection timeouts.
	//
	//   retriable-4xx: Proxy will retry fro retriable 4xx response codes.
	//     Currently the only retriable error supported is 409.
	//
	//   refused-stream: Proxy will retry if the destination resets the stream
	//     with a REFUSED_STREAM error code. This reset type indicates that it
	//     is safe to retry.
	RetryConditions []string `protobuf:"bytes,1,rep,name=retry_conditions,json=retryConditions,proto3" json:"retry_conditions,omitempty"`
	// Specifies the allowed number of retries. This number must be > 0. If not
	// specified, default to 1.
	NumRetries int32 `protobuf:"varint,2,opt,name=num_retries,json=numRetries,proto3" json:"num_retries,omitempty"`
	// Specifies a non-zero timeout per retry attempt.
	PerTryTimeout *durationpb.Duration `protobuf:"bytes,3,opt,name=per_try_timeout,json=perTryTimeout,proto3" json:"per_try_timeout,omitempty"`
	// contains filtered or unexported fields
}

The specifications for retries.

func (*HttpRoute_RetryPolicy) Descriptor deprecated

func (*HttpRoute_RetryPolicy) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_RetryPolicy.ProtoReflect.Descriptor instead.

func (*HttpRoute_RetryPolicy) GetNumRetries

func (x *HttpRoute_RetryPolicy) GetNumRetries() int32

func (*HttpRoute_RetryPolicy) GetPerTryTimeout

func (x *HttpRoute_RetryPolicy) GetPerTryTimeout() *durationpb.Duration

func (*HttpRoute_RetryPolicy) GetRetryConditions

func (x *HttpRoute_RetryPolicy) GetRetryConditions() []string

func (*HttpRoute_RetryPolicy) ProtoMessage

func (*HttpRoute_RetryPolicy) ProtoMessage()

func (*HttpRoute_RetryPolicy) ProtoReflect

func (x *HttpRoute_RetryPolicy) ProtoReflect() protoreflect.Message

func (*HttpRoute_RetryPolicy) Reset

func (x *HttpRoute_RetryPolicy) Reset()

func (*HttpRoute_RetryPolicy) String

func (x *HttpRoute_RetryPolicy) String() string

type HttpRoute_RouteAction

type HttpRoute_RouteAction struct {

	// The destination to which traffic should be forwarded.
	Destinations []*HttpRoute_Destination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"`
	// If set, the request is directed as configured by this field.
	Redirect *HttpRoute_Redirect `protobuf:"bytes,2,opt,name=redirect,proto3" json:"redirect,omitempty"`
	// The specification for fault injection introduced into traffic to test the
	// resiliency of clients to backend service failure. As part of fault
	// injection, when clients send requests to a backend service, delays can be
	// introduced  on a percentage of requests before sending those requests to
	// the backend service. Similarly requests from clients can be aborted for a
	// percentage of requests.
	//
	// timeout and retry_policy will be ignored by clients that are configured
	// with a fault_injection_policy
	FaultInjectionPolicy *HttpRoute_FaultInjectionPolicy `protobuf:"bytes,4,opt,name=fault_injection_policy,json=faultInjectionPolicy,proto3" json:"fault_injection_policy,omitempty"`
	// The specification for modifying the headers of a matching request prior
	// to delivery of the request to the destination.
	RequestHeaderModifier *HttpRoute_HeaderModifier `` /* 126-byte string literal not displayed */
	// The specification for modifying the headers of a response prior to
	// sending the response back to the client.
	ResponseHeaderModifier *HttpRoute_HeaderModifier `` /* 129-byte string literal not displayed */
	// The specification for rewrite URL before forwarding requests to the
	// destination.
	UrlRewrite *HttpRoute_URLRewrite `protobuf:"bytes,7,opt,name=url_rewrite,json=urlRewrite,proto3" json:"url_rewrite,omitempty"`
	// Specifies the timeout for selected route. Timeout is computed from the
	// time the request has been fully processed (i.e. end of stream) up until
	// the response has been completely processed. Timeout includes all retries.
	Timeout *durationpb.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Specifies the retry policy associated with this route.
	RetryPolicy *HttpRoute_RetryPolicy `protobuf:"bytes,9,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
	// Specifies the policy on how requests intended for the routes destination
	// are shadowed to a separate mirrored destination. Proxy will not wait for
	// the shadow destination to respond before returning the response. Prior to
	// sending traffic to the shadow service, the host/authority header is
	// suffixed with -shadow.
	RequestMirrorPolicy *HttpRoute_RequestMirrorPolicy `protobuf:"bytes,10,opt,name=request_mirror_policy,json=requestMirrorPolicy,proto3" json:"request_mirror_policy,omitempty"`
	// The specification for allowing client side cross-origin requests.
	CorsPolicy *HttpRoute_CorsPolicy `protobuf:"bytes,11,opt,name=cors_policy,json=corsPolicy,proto3" json:"cors_policy,omitempty"`
	// contains filtered or unexported fields
}

The specifications for routing traffic and applying associated policies.

func (*HttpRoute_RouteAction) Descriptor deprecated

func (*HttpRoute_RouteAction) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_RouteAction.ProtoReflect.Descriptor instead.

func (*HttpRoute_RouteAction) GetCorsPolicy

func (x *HttpRoute_RouteAction) GetCorsPolicy() *HttpRoute_CorsPolicy

func (*HttpRoute_RouteAction) GetDestinations

func (x *HttpRoute_RouteAction) GetDestinations() []*HttpRoute_Destination

func (*HttpRoute_RouteAction) GetFaultInjectionPolicy

func (x *HttpRoute_RouteAction) GetFaultInjectionPolicy() *HttpRoute_FaultInjectionPolicy

func (*HttpRoute_RouteAction) GetRedirect

func (x *HttpRoute_RouteAction) GetRedirect() *HttpRoute_Redirect

func (*HttpRoute_RouteAction) GetRequestHeaderModifier

func (x *HttpRoute_RouteAction) GetRequestHeaderModifier() *HttpRoute_HeaderModifier

func (*HttpRoute_RouteAction) GetRequestMirrorPolicy

func (x *HttpRoute_RouteAction) GetRequestMirrorPolicy() *HttpRoute_RequestMirrorPolicy

func (*HttpRoute_RouteAction) GetResponseHeaderModifier

func (x *HttpRoute_RouteAction) GetResponseHeaderModifier() *HttpRoute_HeaderModifier

func (*HttpRoute_RouteAction) GetRetryPolicy

func (x *HttpRoute_RouteAction) GetRetryPolicy() *HttpRoute_RetryPolicy

func (*HttpRoute_RouteAction) GetTimeout

func (x *HttpRoute_RouteAction) GetTimeout() *durationpb.Duration

func (*HttpRoute_RouteAction) GetUrlRewrite

func (x *HttpRoute_RouteAction) GetUrlRewrite() *HttpRoute_URLRewrite

func (*HttpRoute_RouteAction) ProtoMessage

func (*HttpRoute_RouteAction) ProtoMessage()

func (*HttpRoute_RouteAction) ProtoReflect

func (x *HttpRoute_RouteAction) ProtoReflect() protoreflect.Message

func (*HttpRoute_RouteAction) Reset

func (x *HttpRoute_RouteAction) Reset()

func (*HttpRoute_RouteAction) String

func (x *HttpRoute_RouteAction) String() string

type HttpRoute_RouteMatch

type HttpRoute_RouteMatch struct {

	// Types that are assignable to PathMatch:
	//	*HttpRoute_RouteMatch_FullPathMatch
	//	*HttpRoute_RouteMatch_PrefixMatch
	//	*HttpRoute_RouteMatch_RegexMatch
	PathMatch isHttpRoute_RouteMatch_PathMatch `protobuf_oneof:"PathMatch"`
	// Specifies if prefix_match and full_path_match matches are case sensitive.
	// The default value is false.
	IgnoreCase bool `protobuf:"varint,4,opt,name=ignore_case,json=ignoreCase,proto3" json:"ignore_case,omitempty"`
	// Specifies a list of HTTP request headers to match against. ALL of the
	// supplied headers must be matched.
	Headers []*HttpRoute_HeaderMatch `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty"`
	// Specifies a list of query parameters to match against. ALL of the query
	// parameters must be matched.
	QueryParameters []*HttpRoute_QueryParameterMatch `protobuf:"bytes,6,rep,name=query_parameters,json=queryParameters,proto3" json:"query_parameters,omitempty"`
	// contains filtered or unexported fields
}

RouteMatch defines specifications used to match requests. If multiple match types are set, this RouteMatch will match if ALL type of matches are matched.

func (*HttpRoute_RouteMatch) Descriptor deprecated

func (*HttpRoute_RouteMatch) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_RouteMatch.ProtoReflect.Descriptor instead.

func (*HttpRoute_RouteMatch) GetFullPathMatch

func (x *HttpRoute_RouteMatch) GetFullPathMatch() string

func (*HttpRoute_RouteMatch) GetHeaders

func (x *HttpRoute_RouteMatch) GetHeaders() []*HttpRoute_HeaderMatch

func (*HttpRoute_RouteMatch) GetIgnoreCase

func (x *HttpRoute_RouteMatch) GetIgnoreCase() bool

func (*HttpRoute_RouteMatch) GetPathMatch

func (m *HttpRoute_RouteMatch) GetPathMatch() isHttpRoute_RouteMatch_PathMatch

func (*HttpRoute_RouteMatch) GetPrefixMatch

func (x *HttpRoute_RouteMatch) GetPrefixMatch() string

func (*HttpRoute_RouteMatch) GetQueryParameters

func (x *HttpRoute_RouteMatch) GetQueryParameters() []*HttpRoute_QueryParameterMatch

func (*HttpRoute_RouteMatch) GetRegexMatch

func (x *HttpRoute_RouteMatch) GetRegexMatch() string

func (*HttpRoute_RouteMatch) ProtoMessage

func (*HttpRoute_RouteMatch) ProtoMessage()

func (*HttpRoute_RouteMatch) ProtoReflect

func (x *HttpRoute_RouteMatch) ProtoReflect() protoreflect.Message

func (*HttpRoute_RouteMatch) Reset

func (x *HttpRoute_RouteMatch) Reset()

func (*HttpRoute_RouteMatch) String

func (x *HttpRoute_RouteMatch) String() string

type HttpRoute_RouteMatch_FullPathMatch

type HttpRoute_RouteMatch_FullPathMatch struct {
	// The HTTP request path value should exactly match this value.
	//
	// Only one of full_path_match, prefix_match, or regex_match should be
	// used.
	FullPathMatch string `protobuf:"bytes,1,opt,name=full_path_match,json=fullPathMatch,proto3,oneof"`
}

type HttpRoute_RouteMatch_PrefixMatch

type HttpRoute_RouteMatch_PrefixMatch struct {
	// The HTTP request path value must begin with specified prefix_match.
	// prefix_match must begin with a /.
	//
	// Only one of full_path_match, prefix_match, or regex_match should be
	// used.
	PrefixMatch string `protobuf:"bytes,2,opt,name=prefix_match,json=prefixMatch,proto3,oneof"`
}

type HttpRoute_RouteMatch_RegexMatch

type HttpRoute_RouteMatch_RegexMatch struct {
	// The HTTP request path value must satisfy the regular expression
	// specified by regex_match after removing any query parameters and anchor
	// supplied with the original URL. For regular expression grammar, please
	// see https://github.com/google/re2/wiki/Syntax
	//
	// Only one of full_path_match, prefix_match, or regex_match should be
	// used.
	RegexMatch string `protobuf:"bytes,3,opt,name=regex_match,json=regexMatch,proto3,oneof"`
}

type HttpRoute_RouteRule

type HttpRoute_RouteRule struct {

	// A list of matches define conditions used for matching the rule against
	// incoming HTTP requests. Each match is independent, i.e. this rule will be
	// matched if ANY one of the matches is satisfied.
	//
	// If no matches field is specified, this rule will unconditionally match
	// traffic.
	//
	// If a default rule is desired to be configured, add a rule with no matches
	// specified to the end of the rules list.
	Matches []*HttpRoute_RouteMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
	// The detailed rule defining how to route matched traffic.
	Action *HttpRoute_RouteAction `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

Specifies how to match traffic and how to route traffic when traffic is matched.

func (*HttpRoute_RouteRule) Descriptor deprecated

func (*HttpRoute_RouteRule) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_RouteRule.ProtoReflect.Descriptor instead.

func (*HttpRoute_RouteRule) GetAction

func (*HttpRoute_RouteRule) GetMatches

func (x *HttpRoute_RouteRule) GetMatches() []*HttpRoute_RouteMatch

func (*HttpRoute_RouteRule) ProtoMessage

func (*HttpRoute_RouteRule) ProtoMessage()

func (*HttpRoute_RouteRule) ProtoReflect

func (x *HttpRoute_RouteRule) ProtoReflect() protoreflect.Message

func (*HttpRoute_RouteRule) Reset

func (x *HttpRoute_RouteRule) Reset()

func (*HttpRoute_RouteRule) String

func (x *HttpRoute_RouteRule) String() string

type HttpRoute_URLRewrite

type HttpRoute_URLRewrite struct {

	// Prior to forwarding the request to the selected destination, the matching
	// portion of the requests path is replaced by this value.
	PathPrefixRewrite string `protobuf:"bytes,1,opt,name=path_prefix_rewrite,json=pathPrefixRewrite,proto3" json:"path_prefix_rewrite,omitempty"`
	// Prior to forwarding the request to the selected destination, the requests
	// host header is replaced by this value.
	HostRewrite string `protobuf:"bytes,2,opt,name=host_rewrite,json=hostRewrite,proto3" json:"host_rewrite,omitempty"`
	// contains filtered or unexported fields
}

The specification for modifying the URL of the request, prior to forwarding the request to the destination.

func (*HttpRoute_URLRewrite) Descriptor deprecated

func (*HttpRoute_URLRewrite) Descriptor() ([]byte, []int)

Deprecated: Use HttpRoute_URLRewrite.ProtoReflect.Descriptor instead.

func (*HttpRoute_URLRewrite) GetHostRewrite

func (x *HttpRoute_URLRewrite) GetHostRewrite() string

func (*HttpRoute_URLRewrite) GetPathPrefixRewrite

func (x *HttpRoute_URLRewrite) GetPathPrefixRewrite() string

func (*HttpRoute_URLRewrite) ProtoMessage

func (*HttpRoute_URLRewrite) ProtoMessage()

func (*HttpRoute_URLRewrite) ProtoReflect

func (x *HttpRoute_URLRewrite) ProtoReflect() protoreflect.Message

func (*HttpRoute_URLRewrite) Reset

func (x *HttpRoute_URLRewrite) Reset()

func (*HttpRoute_URLRewrite) String

func (x *HttpRoute_URLRewrite) String() string

type ListEndpointPoliciesRequest

type ListEndpointPoliciesRequest struct {

	// Required. The project and location from which the EndpointPolicies should be
	// listed, specified in the format `projects/*/locations/global`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Maximum number of EndpointPolicies to return per call.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The value returned by the last `ListEndpointPoliciesResponse`
	// Indicates that this is a continuation of a prior
	// `ListEndpointPolicies` call, and that the system should return the
	// next page of data.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request used with the ListEndpointPolicies method.

func (*ListEndpointPoliciesRequest) Descriptor deprecated

func (*ListEndpointPoliciesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListEndpointPoliciesRequest.ProtoReflect.Descriptor instead.

func (*ListEndpointPoliciesRequest) GetPageSize

func (x *ListEndpointPoliciesRequest) GetPageSize() int32

func (*ListEndpointPoliciesRequest) GetPageToken

func (x *ListEndpointPoliciesRequest) GetPageToken() string

func (*ListEndpointPoliciesRequest) GetParent

func (x *ListEndpointPoliciesRequest) GetParent() string

func (*ListEndpointPoliciesRequest) ProtoMessage

func (*ListEndpointPoliciesRequest) ProtoMessage()

func (*ListEndpointPoliciesRequest) ProtoReflect

func (*ListEndpointPoliciesRequest) Reset

func (x *ListEndpointPoliciesRequest) Reset()

func (*ListEndpointPoliciesRequest) String

func (x *ListEndpointPoliciesRequest) String() string

type ListEndpointPoliciesResponse

type ListEndpointPoliciesResponse struct {

	// List of EndpointPolicy resources.
	EndpointPolicies []*EndpointPolicy `protobuf:"bytes,1,rep,name=endpoint_policies,json=endpointPolicies,proto3" json:"endpoint_policies,omitempty"`
	// If there might be more results than those appearing in this response, then
	// `next_page_token` is included. To get the next set of results, call this
	// method again using the value of `next_page_token` as `page_token`.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response returned by the ListEndpointPolicies method.

func (*ListEndpointPoliciesResponse) Descriptor deprecated

func (*ListEndpointPoliciesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListEndpointPoliciesResponse.ProtoReflect.Descriptor instead.

func (*ListEndpointPoliciesResponse) GetEndpointPolicies

func (x *ListEndpointPoliciesResponse) GetEndpointPolicies() []*EndpointPolicy

func (*ListEndpointPoliciesResponse) GetNextPageToken

func (x *ListEndpointPoliciesResponse) GetNextPageToken() string

func (*ListEndpointPoliciesResponse) ProtoMessage

func (*ListEndpointPoliciesResponse) ProtoMessage()

func (*ListEndpointPoliciesResponse) ProtoReflect

func (*ListEndpointPoliciesResponse) Reset

func (x *ListEndpointPoliciesResponse) Reset()

func (*ListEndpointPoliciesResponse) String

type ListGatewaysRequest

type ListGatewaysRequest struct {

	// Required. The project and location from which the Gateways should be
	// listed, specified in the format `projects/*/locations/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Maximum number of Gateways to return per call.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The value returned by the last `ListGatewaysResponse`
	// Indicates that this is a continuation of a prior `ListGateways` call,
	// and that the system should return the next page of data.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request used with the ListGateways method.

func (*ListGatewaysRequest) Descriptor deprecated

func (*ListGatewaysRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListGatewaysRequest.ProtoReflect.Descriptor instead.

func (*ListGatewaysRequest) GetPageSize

func (x *ListGatewaysRequest) GetPageSize() int32

func (*ListGatewaysRequest) GetPageToken

func (x *ListGatewaysRequest) GetPageToken() string

func (*ListGatewaysRequest) GetParent

func (x *ListGatewaysRequest) GetParent() string

func (*ListGatewaysRequest) ProtoMessage

func (*ListGatewaysRequest) ProtoMessage()

func (*ListGatewaysRequest) ProtoReflect

func (x *ListGatewaysRequest) ProtoReflect() protoreflect.Message

func (*ListGatewaysRequest) Reset

func (x *ListGatewaysRequest) Reset()

func (*ListGatewaysRequest) String

func (x *ListGatewaysRequest) String() string

type ListGatewaysResponse

type ListGatewaysResponse struct {

	// List of Gateway resources.
	Gateways []*Gateway `protobuf:"bytes,1,rep,name=gateways,proto3" json:"gateways,omitempty"`
	// If there might be more results than those appearing in this response, then
	// `next_page_token` is included. To get the next set of results, call this
	// method again using the value of `next_page_token` as `page_token`.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response returned by the ListGateways method.

func (*ListGatewaysResponse) Descriptor deprecated

func (*ListGatewaysResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListGatewaysResponse.ProtoReflect.Descriptor instead.

func (*ListGatewaysResponse) GetGateways

func (x *ListGatewaysResponse) GetGateways() []*Gateway

func (*ListGatewaysResponse) GetNextPageToken

func (x *ListGatewaysResponse) GetNextPageToken() string

func (*ListGatewaysResponse) ProtoMessage

func (*ListGatewaysResponse) ProtoMessage()

func (*ListGatewaysResponse) ProtoReflect

func (x *ListGatewaysResponse) ProtoReflect() protoreflect.Message

func (*ListGatewaysResponse) Reset

func (x *ListGatewaysResponse) Reset()

func (*ListGatewaysResponse) String

func (x *ListGatewaysResponse) String() string

type ListGrpcRoutesRequest

type ListGrpcRoutesRequest struct {

	// Required. The project and location from which the GrpcRoutes should be
	// listed, specified in the format `projects/*/locations/global`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Maximum number of GrpcRoutes to return per call.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The value returned by the last `ListGrpcRoutesResponse`
	// Indicates that this is a continuation of a prior `ListGrpcRoutes` call,
	// and that the system should return the next page of data.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request used with the ListGrpcRoutes method.

func (*ListGrpcRoutesRequest) Descriptor deprecated

func (*ListGrpcRoutesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListGrpcRoutesRequest.ProtoReflect.Descriptor instead.

func (*ListGrpcRoutesRequest) GetPageSize

func (x *ListGrpcRoutesRequest) GetPageSize() int32

func (*ListGrpcRoutesRequest) GetPageToken

func (x *ListGrpcRoutesRequest) GetPageToken() string

func (*ListGrpcRoutesRequest) GetParent

func (x *ListGrpcRoutesRequest) GetParent() string

func (*ListGrpcRoutesRequest) ProtoMessage

func (*ListGrpcRoutesRequest) ProtoMessage()

func (*ListGrpcRoutesRequest) ProtoReflect

func (x *ListGrpcRoutesRequest) ProtoReflect() protoreflect.Message

func (*ListGrpcRoutesRequest) Reset

func (x *ListGrpcRoutesRequest) Reset()

func (*ListGrpcRoutesRequest) String

func (x *ListGrpcRoutesRequest) String() string

type ListGrpcRoutesResponse

type ListGrpcRoutesResponse struct {

	// List of GrpcRoute resources.
	GrpcRoutes []*GrpcRoute `protobuf:"bytes,1,rep,name=grpc_routes,json=grpcRoutes,proto3" json:"grpc_routes,omitempty"`
	// If there might be more results than those appearing in this response, then
	// `next_page_token` is included. To get the next set of results, call this
	// method again using the value of `next_page_token` as `page_token`.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response returned by the ListGrpcRoutes method.

func (*ListGrpcRoutesResponse) Descriptor deprecated

func (*ListGrpcRoutesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListGrpcRoutesResponse.ProtoReflect.Descriptor instead.

func (*ListGrpcRoutesResponse) GetGrpcRoutes

func (x *ListGrpcRoutesResponse) GetGrpcRoutes() []*GrpcRoute

func (*ListGrpcRoutesResponse) GetNextPageToken

func (x *ListGrpcRoutesResponse) GetNextPageToken() string

func (*ListGrpcRoutesResponse) ProtoMessage

func (*ListGrpcRoutesResponse) ProtoMessage()

func (*ListGrpcRoutesResponse) ProtoReflect

func (x *ListGrpcRoutesResponse) ProtoReflect() protoreflect.Message

func (*ListGrpcRoutesResponse) Reset

func (x *ListGrpcRoutesResponse) Reset()

func (*ListGrpcRoutesResponse) String

func (x *ListGrpcRoutesResponse) String() string

type ListHttpRoutesRequest

type ListHttpRoutesRequest struct {

	// Required. The project and location from which the HttpRoutes should be
	// listed, specified in the format `projects/*/locations/global`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Maximum number of HttpRoutes to return per call.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The value returned by the last `ListHttpRoutesResponse`
	// Indicates that this is a continuation of a prior `ListHttpRoutes` call,
	// and that the system should return the next page of data.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request used with the ListHttpRoutes method.

func (*ListHttpRoutesRequest) Descriptor deprecated

func (*ListHttpRoutesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListHttpRoutesRequest.ProtoReflect.Descriptor instead.

func (*ListHttpRoutesRequest) GetPageSize

func (x *ListHttpRoutesRequest) GetPageSize() int32

func (*ListHttpRoutesRequest) GetPageToken

func (x *ListHttpRoutesRequest) GetPageToken() string

func (*ListHttpRoutesRequest) GetParent

func (x *ListHttpRoutesRequest) GetParent() string

func (*ListHttpRoutesRequest) ProtoMessage

func (*ListHttpRoutesRequest) ProtoMessage()

func (*ListHttpRoutesRequest) ProtoReflect

func (x *ListHttpRoutesRequest) ProtoReflect() protoreflect.Message

func (*ListHttpRoutesRequest) Reset

func (x *ListHttpRoutesRequest) Reset()

func (*ListHttpRoutesRequest) String

func (x *ListHttpRoutesRequest) String() string

type ListHttpRoutesResponse

type ListHttpRoutesResponse struct {

	// List of HttpRoute resources.
	HttpRoutes []*HttpRoute `protobuf:"bytes,1,rep,name=http_routes,json=httpRoutes,proto3" json:"http_routes,omitempty"`
	// If there might be more results than those appearing in this response, then
	// `next_page_token` is included. To get the next set of results, call this
	// method again using the value of `next_page_token` as `page_token`.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response returned by the ListHttpRoutes method.

func (*ListHttpRoutesResponse) Descriptor deprecated

func (*ListHttpRoutesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListHttpRoutesResponse.ProtoReflect.Descriptor instead.

func (*ListHttpRoutesResponse) GetHttpRoutes

func (x *ListHttpRoutesResponse) GetHttpRoutes() []*HttpRoute

func (*ListHttpRoutesResponse) GetNextPageToken

func (x *ListHttpRoutesResponse) GetNextPageToken() string

func (*ListHttpRoutesResponse) ProtoMessage

func (*ListHttpRoutesResponse) ProtoMessage()

func (*ListHttpRoutesResponse) ProtoReflect

func (x *ListHttpRoutesResponse) ProtoReflect() protoreflect.Message

func (*ListHttpRoutesResponse) Reset

func (x *ListHttpRoutesResponse) Reset()

func (*ListHttpRoutesResponse) String

func (x *ListHttpRoutesResponse) String() string

type ListMeshesRequest

type ListMeshesRequest struct {

	// Required. The project and location from which the Meshes should be
	// listed, specified in the format `projects/*/locations/global`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Maximum number of Meshes to return per call.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The value returned by the last `ListMeshesResponse`
	// Indicates that this is a continuation of a prior `ListMeshes` call,
	// and that the system should return the next page of data.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request used with the ListMeshes method.

func (*ListMeshesRequest) Descriptor deprecated

func (*ListMeshesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListMeshesRequest.ProtoReflect.Descriptor instead.

func (*ListMeshesRequest) GetPageSize

func (x *ListMeshesRequest) GetPageSize() int32

func (*ListMeshesRequest) GetPageToken

func (x *ListMeshesRequest) GetPageToken() string

func (*ListMeshesRequest) GetParent

func (x *ListMeshesRequest) GetParent() string

func (*ListMeshesRequest) ProtoMessage

func (*ListMeshesRequest) ProtoMessage()

func (*ListMeshesRequest) ProtoReflect

func (x *ListMeshesRequest) ProtoReflect() protoreflect.Message

func (*ListMeshesRequest) Reset

func (x *ListMeshesRequest) Reset()

func (*ListMeshesRequest) String

func (x *ListMeshesRequest) String() string

type ListMeshesResponse

type ListMeshesResponse struct {

	// List of Mesh resources.
	Meshes []*Mesh `protobuf:"bytes,1,rep,name=meshes,proto3" json:"meshes,omitempty"`
	// If there might be more results than those appearing in this response, then
	// `next_page_token` is included. To get the next set of results, call this
	// method again using the value of `next_page_token` as `page_token`.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response returned by the ListMeshes method.

func (*ListMeshesResponse) Descriptor deprecated

func (*ListMeshesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListMeshesResponse.ProtoReflect.Descriptor instead.

func (*ListMeshesResponse) GetMeshes

func (x *ListMeshesResponse) GetMeshes() []*Mesh

func (*ListMeshesResponse) GetNextPageToken

func (x *ListMeshesResponse) GetNextPageToken() string

func (*ListMeshesResponse) ProtoMessage

func (*ListMeshesResponse) ProtoMessage()

func (*ListMeshesResponse) ProtoReflect

func (x *ListMeshesResponse) ProtoReflect() protoreflect.Message

func (*ListMeshesResponse) Reset

func (x *ListMeshesResponse) Reset()

func (*ListMeshesResponse) String

func (x *ListMeshesResponse) String() string

type ListServiceBindingsRequest

type ListServiceBindingsRequest struct {

	// Required. The project and location from which the ServiceBindings should be
	// listed, specified in the format `projects/*/locations/global`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Maximum number of ServiceBindings to return per call.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The value returned by the last `ListServiceBindingsResponse`
	// Indicates that this is a continuation of a prior `ListRouters` call,
	// and that the system should return the next page of data.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request used with the ListServiceBindings method.

func (*ListServiceBindingsRequest) Descriptor deprecated

func (*ListServiceBindingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListServiceBindingsRequest.ProtoReflect.Descriptor instead.

func (*ListServiceBindingsRequest) GetPageSize

func (x *ListServiceBindingsRequest) GetPageSize() int32

func (*ListServiceBindingsRequest) GetPageToken

func (x *ListServiceBindingsRequest) GetPageToken() string

func (*ListServiceBindingsRequest) GetParent

func (x *ListServiceBindingsRequest) GetParent() string

func (*ListServiceBindingsRequest) ProtoMessage

func (*ListServiceBindingsRequest) ProtoMessage()

func (*ListServiceBindingsRequest) ProtoReflect

func (*ListServiceBindingsRequest) Reset

func (x *ListServiceBindingsRequest) Reset()

func (*ListServiceBindingsRequest) String

func (x *ListServiceBindingsRequest) String() string

type ListServiceBindingsResponse

type ListServiceBindingsResponse struct {

	// List of ServiceBinding resources.
	ServiceBindings []*ServiceBinding `protobuf:"bytes,1,rep,name=service_bindings,json=serviceBindings,proto3" json:"service_bindings,omitempty"`
	// If there might be more results than those appearing in this response, then
	// `next_page_token` is included. To get the next set of results, call this
	// method again using the value of `next_page_token` as `page_token`.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response returned by the ListServiceBindings method.

func (*ListServiceBindingsResponse) Descriptor deprecated

func (*ListServiceBindingsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListServiceBindingsResponse.ProtoReflect.Descriptor instead.

func (*ListServiceBindingsResponse) GetNextPageToken

func (x *ListServiceBindingsResponse) GetNextPageToken() string

func (*ListServiceBindingsResponse) GetServiceBindings

func (x *ListServiceBindingsResponse) GetServiceBindings() []*ServiceBinding

func (*ListServiceBindingsResponse) ProtoMessage

func (*ListServiceBindingsResponse) ProtoMessage()

func (*ListServiceBindingsResponse) ProtoReflect

func (*ListServiceBindingsResponse) Reset

func (x *ListServiceBindingsResponse) Reset()

func (*ListServiceBindingsResponse) String

func (x *ListServiceBindingsResponse) String() string

type ListTcpRoutesRequest

type ListTcpRoutesRequest struct {

	// Required. The project and location from which the TcpRoutes should be
	// listed, specified in the format `projects/*/locations/global`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Maximum number of TcpRoutes to return per call.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The value returned by the last `ListTcpRoutesResponse`
	// Indicates that this is a continuation of a prior `ListTcpRoutes` call,
	// and that the system should return the next page of data.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request used with the ListTcpRoutes method.

func (*ListTcpRoutesRequest) Descriptor deprecated

func (*ListTcpRoutesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTcpRoutesRequest.ProtoReflect.Descriptor instead.

func (*ListTcpRoutesRequest) GetPageSize

func (x *ListTcpRoutesRequest) GetPageSize() int32

func (*ListTcpRoutesRequest) GetPageToken

func (x *ListTcpRoutesRequest) GetPageToken() string

func (*ListTcpRoutesRequest) GetParent

func (x *ListTcpRoutesRequest) GetParent() string

func (*ListTcpRoutesRequest) ProtoMessage

func (*ListTcpRoutesRequest) ProtoMessage()

func (*ListTcpRoutesRequest) ProtoReflect

func (x *ListTcpRoutesRequest) ProtoReflect() protoreflect.Message

func (*ListTcpRoutesRequest) Reset

func (x *ListTcpRoutesRequest) Reset()

func (*ListTcpRoutesRequest) String

func (x *ListTcpRoutesRequest) String() string

type ListTcpRoutesResponse

type ListTcpRoutesResponse struct {

	// List of TcpRoute resources.
	TcpRoutes []*TcpRoute `protobuf:"bytes,1,rep,name=tcp_routes,json=tcpRoutes,proto3" json:"tcp_routes,omitempty"`
	// If there might be more results than those appearing in this response, then
	// `next_page_token` is included. To get the next set of results, call this
	// method again using the value of `next_page_token` as `page_token`.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response returned by the ListTcpRoutes method.

func (*ListTcpRoutesResponse) Descriptor deprecated

func (*ListTcpRoutesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListTcpRoutesResponse.ProtoReflect.Descriptor instead.

func (*ListTcpRoutesResponse) GetNextPageToken

func (x *ListTcpRoutesResponse) GetNextPageToken() string

func (*ListTcpRoutesResponse) GetTcpRoutes

func (x *ListTcpRoutesResponse) GetTcpRoutes() []*TcpRoute

func (*ListTcpRoutesResponse) ProtoMessage

func (*ListTcpRoutesResponse) ProtoMessage()

func (*ListTcpRoutesResponse) ProtoReflect

func (x *ListTcpRoutesResponse) ProtoReflect() protoreflect.Message

func (*ListTcpRoutesResponse) Reset

func (x *ListTcpRoutesResponse) Reset()

func (*ListTcpRoutesResponse) String

func (x *ListTcpRoutesResponse) String() string

type ListTlsRoutesRequest

type ListTlsRoutesRequest struct {

	// Required. The project and location from which the TlsRoutes should be
	// listed, specified in the format `projects/*/locations/global`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Maximum number of TlsRoutes to return per call.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The value returned by the last `ListTlsRoutesResponse`
	// Indicates that this is a continuation of a prior `ListTlsRoutes` call,
	// and that the system should return the next page of data.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request used with the ListTlsRoutes method.

func (*ListTlsRoutesRequest) Descriptor deprecated

func (*ListTlsRoutesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTlsRoutesRequest.ProtoReflect.Descriptor instead.

func (*ListTlsRoutesRequest) GetPageSize

func (x *ListTlsRoutesRequest) GetPageSize() int32

func (*ListTlsRoutesRequest) GetPageToken

func (x *ListTlsRoutesRequest) GetPageToken() string

func (*ListTlsRoutesRequest) GetParent

func (x *ListTlsRoutesRequest) GetParent() string

func (*ListTlsRoutesRequest) ProtoMessage

func (*ListTlsRoutesRequest) ProtoMessage()

func (*ListTlsRoutesRequest) ProtoReflect

func (x *ListTlsRoutesRequest) ProtoReflect() protoreflect.Message

func (*ListTlsRoutesRequest) Reset

func (x *ListTlsRoutesRequest) Reset()

func (*ListTlsRoutesRequest) String

func (x *ListTlsRoutesRequest) String() string

type ListTlsRoutesResponse

type ListTlsRoutesResponse struct {

	// List of TlsRoute resources.
	TlsRoutes []*TlsRoute `protobuf:"bytes,1,rep,name=tls_routes,json=tlsRoutes,proto3" json:"tls_routes,omitempty"`
	// If there might be more results than those appearing in this response, then
	// `next_page_token` is included. To get the next set of results, call this
	// method again using the value of `next_page_token` as `page_token`.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response returned by the ListTlsRoutes method.

func (*ListTlsRoutesResponse) Descriptor deprecated

func (*ListTlsRoutesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListTlsRoutesResponse.ProtoReflect.Descriptor instead.

func (*ListTlsRoutesResponse) GetNextPageToken

func (x *ListTlsRoutesResponse) GetNextPageToken() string

func (*ListTlsRoutesResponse) GetTlsRoutes

func (x *ListTlsRoutesResponse) GetTlsRoutes() []*TlsRoute

func (*ListTlsRoutesResponse) ProtoMessage

func (*ListTlsRoutesResponse) ProtoMessage()

func (*ListTlsRoutesResponse) ProtoReflect

func (x *ListTlsRoutesResponse) ProtoReflect() protoreflect.Message

func (*ListTlsRoutesResponse) Reset

func (x *ListTlsRoutesResponse) Reset()

func (*ListTlsRoutesResponse) String

func (x *ListTlsRoutesResponse) String() string

type Mesh

type Mesh struct {

	// Required. Name of the Mesh resource. It matches pattern
	// `projects/*/locations/global/meshes/<mesh_name>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Server-defined URL of this resource
	SelfLink string `protobuf:"bytes,9,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// Output only. The timestamp when the resource was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The timestamp when the resource was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. Set of label tags associated with the Mesh resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Optional. A free-text description of the resource. Max length 1024 characters.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to listen
	// on the specified port of localhost (127.0.0.1) address. The SIDECAR proxy
	// will expect all traffic to be redirected to this port regardless of its
	// actual ip:port destination. If unset, a port '15001' is used as the
	// interception port. This will is applicable only for sidecar proxy
	// deployments.
	InterceptionPort int32 `protobuf:"varint,8,opt,name=interception_port,json=interceptionPort,proto3" json:"interception_port,omitempty"`
	// contains filtered or unexported fields
}

Mesh represents a logical configuration grouping for workload to workload communication within a service mesh. Routes that point to mesh dictate how requests are routed within this logical mesh boundary.

func (*Mesh) Descriptor deprecated

func (*Mesh) Descriptor() ([]byte, []int)

Deprecated: Use Mesh.ProtoReflect.Descriptor instead.

func (*Mesh) GetCreateTime

func (x *Mesh) GetCreateTime() *timestamppb.Timestamp

func (*Mesh) GetDescription

func (x *Mesh) GetDescription() string

func (*Mesh) GetInterceptionPort

func (x *Mesh) GetInterceptionPort() int32

func (*Mesh) GetLabels

func (x *Mesh) GetLabels() map[string]string

func (*Mesh) GetName

func (x *Mesh) GetName() string
func (x *Mesh) GetSelfLink() string

func (*Mesh) GetUpdateTime

func (x *Mesh) GetUpdateTime() *timestamppb.Timestamp

func (*Mesh) ProtoMessage

func (*Mesh) ProtoMessage()

func (*Mesh) ProtoReflect

func (x *Mesh) ProtoReflect() protoreflect.Message

func (*Mesh) Reset

func (x *Mesh) Reset()

func (*Mesh) String

func (x *Mesh) String() string

type NetworkServicesClient

type NetworkServicesClient interface {
	// Lists EndpointPolicies in a given project and location.
	ListEndpointPolicies(ctx context.Context, in *ListEndpointPoliciesRequest, opts ...grpc.CallOption) (*ListEndpointPoliciesResponse, error)
	// Gets details of a single EndpointPolicy.
	GetEndpointPolicy(ctx context.Context, in *GetEndpointPolicyRequest, opts ...grpc.CallOption) (*EndpointPolicy, error)
	// Creates a new EndpointPolicy in a given project and location.
	CreateEndpointPolicy(ctx context.Context, in *CreateEndpointPolicyRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates the parameters of a single EndpointPolicy.
	UpdateEndpointPolicy(ctx context.Context, in *UpdateEndpointPolicyRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes a single EndpointPolicy.
	DeleteEndpointPolicy(ctx context.Context, in *DeleteEndpointPolicyRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Lists Gateways in a given project and location.
	ListGateways(ctx context.Context, in *ListGatewaysRequest, opts ...grpc.CallOption) (*ListGatewaysResponse, error)
	// Gets details of a single Gateway.
	GetGateway(ctx context.Context, in *GetGatewayRequest, opts ...grpc.CallOption) (*Gateway, error)
	// Creates a new Gateway in a given project and location.
	CreateGateway(ctx context.Context, in *CreateGatewayRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates the parameters of a single Gateway.
	UpdateGateway(ctx context.Context, in *UpdateGatewayRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes a single Gateway.
	DeleteGateway(ctx context.Context, in *DeleteGatewayRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Lists GrpcRoutes in a given project and location.
	ListGrpcRoutes(ctx context.Context, in *ListGrpcRoutesRequest, opts ...grpc.CallOption) (*ListGrpcRoutesResponse, error)
	// Gets details of a single GrpcRoute.
	GetGrpcRoute(ctx context.Context, in *GetGrpcRouteRequest, opts ...grpc.CallOption) (*GrpcRoute, error)
	// Creates a new GrpcRoute in a given project and location.
	CreateGrpcRoute(ctx context.Context, in *CreateGrpcRouteRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates the parameters of a single GrpcRoute.
	UpdateGrpcRoute(ctx context.Context, in *UpdateGrpcRouteRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes a single GrpcRoute.
	DeleteGrpcRoute(ctx context.Context, in *DeleteGrpcRouteRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Lists HttpRoute in a given project and location.
	ListHttpRoutes(ctx context.Context, in *ListHttpRoutesRequest, opts ...grpc.CallOption) (*ListHttpRoutesResponse, error)
	// Gets details of a single HttpRoute.
	GetHttpRoute(ctx context.Context, in *GetHttpRouteRequest, opts ...grpc.CallOption) (*HttpRoute, error)
	// Creates a new HttpRoute in a given project and location.
	CreateHttpRoute(ctx context.Context, in *CreateHttpRouteRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates the parameters of a single HttpRoute.
	UpdateHttpRoute(ctx context.Context, in *UpdateHttpRouteRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes a single HttpRoute.
	DeleteHttpRoute(ctx context.Context, in *DeleteHttpRouteRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Lists TcpRoute in a given project and location.
	ListTcpRoutes(ctx context.Context, in *ListTcpRoutesRequest, opts ...grpc.CallOption) (*ListTcpRoutesResponse, error)
	// Gets details of a single TcpRoute.
	GetTcpRoute(ctx context.Context, in *GetTcpRouteRequest, opts ...grpc.CallOption) (*TcpRoute, error)
	// Creates a new TcpRoute in a given project and location.
	CreateTcpRoute(ctx context.Context, in *CreateTcpRouteRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates the parameters of a single TcpRoute.
	UpdateTcpRoute(ctx context.Context, in *UpdateTcpRouteRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes a single TcpRoute.
	DeleteTcpRoute(ctx context.Context, in *DeleteTcpRouteRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Lists TlsRoute in a given project and location.
	ListTlsRoutes(ctx context.Context, in *ListTlsRoutesRequest, opts ...grpc.CallOption) (*ListTlsRoutesResponse, error)
	// Gets details of a single TlsRoute.
	GetTlsRoute(ctx context.Context, in *GetTlsRouteRequest, opts ...grpc.CallOption) (*TlsRoute, error)
	// Creates a new TlsRoute in a given project and location.
	CreateTlsRoute(ctx context.Context, in *CreateTlsRouteRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates the parameters of a single TlsRoute.
	UpdateTlsRoute(ctx context.Context, in *UpdateTlsRouteRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes a single TlsRoute.
	DeleteTlsRoute(ctx context.Context, in *DeleteTlsRouteRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Lists ServiceBinding in a given project and location.
	ListServiceBindings(ctx context.Context, in *ListServiceBindingsRequest, opts ...grpc.CallOption) (*ListServiceBindingsResponse, error)
	// Gets details of a single ServiceBinding.
	GetServiceBinding(ctx context.Context, in *GetServiceBindingRequest, opts ...grpc.CallOption) (*ServiceBinding, error)
	// Creates a new ServiceBinding in a given project and location.
	CreateServiceBinding(ctx context.Context, in *CreateServiceBindingRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes a single ServiceBinding.
	DeleteServiceBinding(ctx context.Context, in *DeleteServiceBindingRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Lists Meshes in a given project and location.
	ListMeshes(ctx context.Context, in *ListMeshesRequest, opts ...grpc.CallOption) (*ListMeshesResponse, error)
	// Gets details of a single Mesh.
	GetMesh(ctx context.Context, in *GetMeshRequest, opts ...grpc.CallOption) (*Mesh, error)
	// Creates a new Mesh in a given project and location.
	CreateMesh(ctx context.Context, in *CreateMeshRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates the parameters of a single Mesh.
	UpdateMesh(ctx context.Context, in *UpdateMeshRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes a single Mesh.
	DeleteMesh(ctx context.Context, in *DeleteMeshRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

NetworkServicesClient is the client API for NetworkServices service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type NetworkServicesServer

type NetworkServicesServer interface {
	// Lists EndpointPolicies in a given project and location.
	ListEndpointPolicies(context.Context, *ListEndpointPoliciesRequest) (*ListEndpointPoliciesResponse, error)
	// Gets details of a single EndpointPolicy.
	GetEndpointPolicy(context.Context, *GetEndpointPolicyRequest) (*EndpointPolicy, error)
	// Creates a new EndpointPolicy in a given project and location.
	CreateEndpointPolicy(context.Context, *CreateEndpointPolicyRequest) (*longrunning.Operation, error)
	// Updates the parameters of a single EndpointPolicy.
	UpdateEndpointPolicy(context.Context, *UpdateEndpointPolicyRequest) (*longrunning.Operation, error)
	// Deletes a single EndpointPolicy.
	DeleteEndpointPolicy(context.Context, *DeleteEndpointPolicyRequest) (*longrunning.Operation, error)
	// Lists Gateways in a given project and location.
	ListGateways(context.Context, *ListGatewaysRequest) (*ListGatewaysResponse, error)
	// Gets details of a single Gateway.
	GetGateway(context.Context, *GetGatewayRequest) (*Gateway, error)
	// Creates a new Gateway in a given project and location.
	CreateGateway(context.Context, *CreateGatewayRequest) (*longrunning.Operation, error)
	// Updates the parameters of a single Gateway.
	UpdateGateway(context.Context, *UpdateGatewayRequest) (*longrunning.Operation, error)
	// Deletes a single Gateway.
	DeleteGateway(context.Context, *DeleteGatewayRequest) (*longrunning.Operation, error)
	// Lists GrpcRoutes in a given project and location.
	ListGrpcRoutes(context.Context, *ListGrpcRoutesRequest) (*ListGrpcRoutesResponse, error)
	// Gets details of a single GrpcRoute.
	GetGrpcRoute(context.Context, *GetGrpcRouteRequest) (*GrpcRoute, error)
	// Creates a new GrpcRoute in a given project and location.
	CreateGrpcRoute(context.Context, *CreateGrpcRouteRequest) (*longrunning.Operation, error)
	// Updates the parameters of a single GrpcRoute.
	UpdateGrpcRoute(context.Context, *UpdateGrpcRouteRequest) (*longrunning.Operation, error)
	// Deletes a single GrpcRoute.
	DeleteGrpcRoute(context.Context, *DeleteGrpcRouteRequest) (*longrunning.Operation, error)
	// Lists HttpRoute in a given project and location.
	ListHttpRoutes(context.Context, *ListHttpRoutesRequest) (*ListHttpRoutesResponse, error)
	// Gets details of a single HttpRoute.
	GetHttpRoute(context.Context, *GetHttpRouteRequest) (*HttpRoute, error)
	// Creates a new HttpRoute in a given project and location.
	CreateHttpRoute(context.Context, *CreateHttpRouteRequest) (*longrunning.Operation, error)
	// Updates the parameters of a single HttpRoute.
	UpdateHttpRoute(context.Context, *UpdateHttpRouteRequest) (*longrunning.Operation, error)
	// Deletes a single HttpRoute.
	DeleteHttpRoute(context.Context, *DeleteHttpRouteRequest) (*longrunning.Operation, error)
	// Lists TcpRoute in a given project and location.
	ListTcpRoutes(context.Context, *ListTcpRoutesRequest) (*ListTcpRoutesResponse, error)
	// Gets details of a single TcpRoute.
	GetTcpRoute(context.Context, *GetTcpRouteRequest) (*TcpRoute, error)
	// Creates a new TcpRoute in a given project and location.
	CreateTcpRoute(context.Context, *CreateTcpRouteRequest) (*longrunning.Operation, error)
	// Updates the parameters of a single TcpRoute.
	UpdateTcpRoute(context.Context, *UpdateTcpRouteRequest) (*longrunning.Operation, error)
	// Deletes a single TcpRoute.
	DeleteTcpRoute(context.Context, *DeleteTcpRouteRequest) (*longrunning.Operation, error)
	// Lists TlsRoute in a given project and location.
	ListTlsRoutes(context.Context, *ListTlsRoutesRequest) (*ListTlsRoutesResponse, error)
	// Gets details of a single TlsRoute.
	GetTlsRoute(context.Context, *GetTlsRouteRequest) (*TlsRoute, error)
	// Creates a new TlsRoute in a given project and location.
	CreateTlsRoute(context.Context, *CreateTlsRouteRequest) (*longrunning.Operation, error)
	// Updates the parameters of a single TlsRoute.
	UpdateTlsRoute(context.Context, *UpdateTlsRouteRequest) (*longrunning.Operation, error)
	// Deletes a single TlsRoute.
	DeleteTlsRoute(context.Context, *DeleteTlsRouteRequest) (*longrunning.Operation, error)
	// Lists ServiceBinding in a given project and location.
	ListServiceBindings(context.Context, *ListServiceBindingsRequest) (*ListServiceBindingsResponse, error)
	// Gets details of a single ServiceBinding.
	GetServiceBinding(context.Context, *GetServiceBindingRequest) (*ServiceBinding, error)
	// Creates a new ServiceBinding in a given project and location.
	CreateServiceBinding(context.Context, *CreateServiceBindingRequest) (*longrunning.Operation, error)
	// Deletes a single ServiceBinding.
	DeleteServiceBinding(context.Context, *DeleteServiceBindingRequest) (*longrunning.Operation, error)
	// Lists Meshes in a given project and location.
	ListMeshes(context.Context, *ListMeshesRequest) (*ListMeshesResponse, error)
	// Gets details of a single Mesh.
	GetMesh(context.Context, *GetMeshRequest) (*Mesh, error)
	// Creates a new Mesh in a given project and location.
	CreateMesh(context.Context, *CreateMeshRequest) (*longrunning.Operation, error)
	// Updates the parameters of a single Mesh.
	UpdateMesh(context.Context, *UpdateMeshRequest) (*longrunning.Operation, error)
	// Deletes a single Mesh.
	DeleteMesh(context.Context, *DeleteMeshRequest) (*longrunning.Operation, error)
}

NetworkServicesServer is the server API for NetworkServices service.

type OperationMetadata

type OperationMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Output only. Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Output only. Human-readable status of the operation, if any.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Output only. Identifies whether the user has requested cancellation
	// of the operation. Operations that have successfully been cancelled
	// have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
	// corresponding to `Code.CANCELLED`.
	RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor deprecated

func (*OperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

func (x *OperationMetadata) ProtoReflect() protoreflect.Message

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type ServiceBinding

type ServiceBinding struct {

	// Required. Name of the ServiceBinding resource. It matches pattern
	// `projects/*/locations/global/serviceBindings/service_binding_name>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. A free-text description of the resource. Max length 1024 characters.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The timestamp when the resource was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The timestamp when the resource was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Required. The full service directory service name of the format
	// /projects/*/locations/*/namespaces/*/services/*
	Service string `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"`
	// Optional. Set of label tags associated with the ServiceBinding resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

ServiceBinding is the resource that defines a Service Directory Service to be used in a BackendService resource.

func (*ServiceBinding) Descriptor deprecated

func (*ServiceBinding) Descriptor() ([]byte, []int)

Deprecated: Use ServiceBinding.ProtoReflect.Descriptor instead.

func (*ServiceBinding) GetCreateTime

func (x *ServiceBinding) GetCreateTime() *timestamppb.Timestamp

func (*ServiceBinding) GetDescription

func (x *ServiceBinding) GetDescription() string

func (*ServiceBinding) GetLabels

func (x *ServiceBinding) GetLabels() map[string]string

func (*ServiceBinding) GetName

func (x *ServiceBinding) GetName() string

func (*ServiceBinding) GetService

func (x *ServiceBinding) GetService() string

func (*ServiceBinding) GetUpdateTime

func (x *ServiceBinding) GetUpdateTime() *timestamppb.Timestamp

func (*ServiceBinding) ProtoMessage

func (*ServiceBinding) ProtoMessage()

func (*ServiceBinding) ProtoReflect

func (x *ServiceBinding) ProtoReflect() protoreflect.Message

func (*ServiceBinding) Reset

func (x *ServiceBinding) Reset()

func (*ServiceBinding) String

func (x *ServiceBinding) String() string

type TcpRoute

type TcpRoute struct {

	// Required. Name of the TcpRoute resource. It matches pattern
	// `projects/*/locations/global/tcpRoutes/tcp_route_name>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Server-defined URL of this resource
	SelfLink string `protobuf:"bytes,11,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// Output only. The timestamp when the resource was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The timestamp when the resource was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. A free-text description of the resource. Max length 1024 characters.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Required. Rules that define how traffic is routed and handled. At least one RouteRule
	// must be supplied. If there are multiple rules then the action taken will be
	// the first rule to match.
	Rules []*TcpRoute_RouteRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
	// Optional. Meshes defines a list of meshes this TcpRoute is attached to, as one of the
	// routing rules to route the requests served by the mesh.
	//
	// Each mesh reference should match the pattern:
	// `projects/*/locations/global/meshes/<mesh_name>`
	//
	// The attached Mesh should be of a type SIDECAR
	Meshes []string `protobuf:"bytes,8,rep,name=meshes,proto3" json:"meshes,omitempty"`
	// Optional. Gateways defines a list of gateways this TcpRoute is attached to, as one of
	// the routing rules to route the requests served by the gateway.
	//
	// Each gateway reference should match the pattern:
	// `projects/*/locations/global/gateways/<gateway_name>`
	Gateways []string `protobuf:"bytes,9,rep,name=gateways,proto3" json:"gateways,omitempty"`
	// Optional. Set of label tags associated with the TcpRoute resource.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

TcpRoute is the resource defining how TCP traffic should be routed by a Mesh/Gateway resource.

func (*TcpRoute) Descriptor deprecated

func (*TcpRoute) Descriptor() ([]byte, []int)

Deprecated: Use TcpRoute.ProtoReflect.Descriptor instead.

func (*TcpRoute) GetCreateTime

func (x *TcpRoute) GetCreateTime() *timestamppb.Timestamp

func (*TcpRoute) GetDescription

func (x *TcpRoute) GetDescription() string

func (*TcpRoute) GetGateways

func (x *TcpRoute) GetGateways() []string

func (*TcpRoute) GetLabels

func (x *TcpRoute) GetLabels() map[string]string

func (*TcpRoute) GetMeshes

func (x *TcpRoute) GetMeshes() []string

func (*TcpRoute) GetName

func (x *TcpRoute) GetName() string

func (*TcpRoute) GetRules

func (x *TcpRoute) GetRules() []*TcpRoute_RouteRule
func (x *TcpRoute) GetSelfLink() string

func (*TcpRoute) GetUpdateTime

func (x *TcpRoute) GetUpdateTime() *timestamppb.Timestamp

func (*TcpRoute) ProtoMessage

func (*TcpRoute) ProtoMessage()

func (*TcpRoute) ProtoReflect

func (x *TcpRoute) ProtoReflect() protoreflect.Message

func (*TcpRoute) Reset

func (x *TcpRoute) Reset()

func (*TcpRoute) String

func (x *TcpRoute) String() string

type TcpRoute_RouteAction

type TcpRoute_RouteAction struct {

	// Optional. The destination services to which traffic should be forwarded. At least
	// one destination service is required.
	Destinations []*TcpRoute_RouteDestination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"`
	// Optional. If true, Router will use the destination IP and port of the original
	// connection as the destination of the request. Default is false.
	OriginalDestination bool `protobuf:"varint,3,opt,name=original_destination,json=originalDestination,proto3" json:"original_destination,omitempty"`
	// contains filtered or unexported fields
}

The specifications for routing traffic and applying associated policies.

func (*TcpRoute_RouteAction) Descriptor deprecated

func (*TcpRoute_RouteAction) Descriptor() ([]byte, []int)

Deprecated: Use TcpRoute_RouteAction.ProtoReflect.Descriptor instead.

func (*TcpRoute_RouteAction) GetDestinations

func (x *TcpRoute_RouteAction) GetDestinations() []*TcpRoute_RouteDestination

func (*TcpRoute_RouteAction) GetOriginalDestination

func (x *TcpRoute_RouteAction) GetOriginalDestination() bool

func (*TcpRoute_RouteAction) ProtoMessage

func (*TcpRoute_RouteAction) ProtoMessage()

func (*TcpRoute_RouteAction) ProtoReflect

func (x *TcpRoute_RouteAction) ProtoReflect() protoreflect.Message

func (*TcpRoute_RouteAction) Reset

func (x *TcpRoute_RouteAction) Reset()

func (*TcpRoute_RouteAction) String

func (x *TcpRoute_RouteAction) String() string

type TcpRoute_RouteDestination

type TcpRoute_RouteDestination struct {

	// Required. The URL of a BackendService to route traffic to.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// Optional. Specifies the proportion of requests forwarded to the backend referenced
	// by the serviceName field. This is computed as:
	//         weight/Sum(weights in this destination list).
	// For non-zero values, there may be some epsilon from the exact proportion
	// defined here depending on the precision an implementation supports.
	//
	// If only one serviceName is specified and it has a weight greater than 0,
	// 100% of the traffic is forwarded to that backend.
	//
	// If weights are specified for any one service name, they need to be
	// specified for all of them.
	//
	// If weights are unspecified for all services, then, traffic is distributed
	// in equal proportions to all of them.
	Weight int32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

Describe the destination for traffic to be routed to.

func (*TcpRoute_RouteDestination) Descriptor deprecated

func (*TcpRoute_RouteDestination) Descriptor() ([]byte, []int)

Deprecated: Use TcpRoute_RouteDestination.ProtoReflect.Descriptor instead.

func (*TcpRoute_RouteDestination) GetServiceName

func (x *TcpRoute_RouteDestination) GetServiceName() string

func (*TcpRoute_RouteDestination) GetWeight

func (x *TcpRoute_RouteDestination) GetWeight() int32

func (*TcpRoute_RouteDestination) ProtoMessage

func (*TcpRoute_RouteDestination) ProtoMessage()

func (*TcpRoute_RouteDestination) ProtoReflect

func (*TcpRoute_RouteDestination) Reset

func (x *TcpRoute_RouteDestination) Reset()

func (*TcpRoute_RouteDestination) String

func (x *TcpRoute_RouteDestination) String() string

type TcpRoute_RouteMatch

type TcpRoute_RouteMatch struct {

	// Required. Must be specified in the CIDR range format. A CIDR range consists of an
	// IP Address and a prefix length to construct the subnet mask. By default,
	// the prefix length is 32 (i.e. matches a single IP address). Only IPV4
	// addresses are supported.
	// Examples:
	// "10.0.0.1" - matches against this exact IP address.
	// "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet
	// and 255.255.255.0 mask.
	// "0.0.0.0/0" - matches against any IP address'.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Required. Specifies the destination port to match against.
	Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic.

func (*TcpRoute_RouteMatch) Descriptor deprecated

func (*TcpRoute_RouteMatch) Descriptor() ([]byte, []int)

Deprecated: Use TcpRoute_RouteMatch.ProtoReflect.Descriptor instead.

func (*TcpRoute_RouteMatch) GetAddress

func (x *TcpRoute_RouteMatch) GetAddress() string

func (*TcpRoute_RouteMatch) GetPort

func (x *TcpRoute_RouteMatch) GetPort() string

func (*TcpRoute_RouteMatch) ProtoMessage

func (*TcpRoute_RouteMatch) ProtoMessage()

func (*TcpRoute_RouteMatch) ProtoReflect

func (x *TcpRoute_RouteMatch) ProtoReflect() protoreflect.Message

func (*TcpRoute_RouteMatch) Reset

func (x *TcpRoute_RouteMatch) Reset()

func (*TcpRoute_RouteMatch) String

func (x *TcpRoute_RouteMatch) String() string

type TcpRoute_RouteRule

type TcpRoute_RouteRule struct {

	// Optional. RouteMatch defines the predicate used to match requests to a given
	// action. Multiple match types are "OR"ed for evaluation.
	// If no routeMatch field is specified, this rule will unconditionally match
	// traffic.
	Matches []*TcpRoute_RouteMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
	// Required. The detailed rule defining how to route matched traffic.
	Action *TcpRoute_RouteAction `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

Specifies how to match traffic and how to route traffic when traffic is matched.

func (*TcpRoute_RouteRule) Descriptor deprecated

func (*TcpRoute_RouteRule) Descriptor() ([]byte, []int)

Deprecated: Use TcpRoute_RouteRule.ProtoReflect.Descriptor instead.

func (*TcpRoute_RouteRule) GetAction

func (x *TcpRoute_RouteRule) GetAction() *TcpRoute_RouteAction

func (*TcpRoute_RouteRule) GetMatches

func (x *TcpRoute_RouteRule) GetMatches() []*TcpRoute_RouteMatch

func (*TcpRoute_RouteRule) ProtoMessage

func (*TcpRoute_RouteRule) ProtoMessage()

func (*TcpRoute_RouteRule) ProtoReflect

func (x *TcpRoute_RouteRule) ProtoReflect() protoreflect.Message

func (*TcpRoute_RouteRule) Reset

func (x *TcpRoute_RouteRule) Reset()

func (*TcpRoute_RouteRule) String

func (x *TcpRoute_RouteRule) String() string

type TlsRoute

type TlsRoute struct {

	// Required. Name of the TlsRoute resource. It matches pattern
	// `projects/*/locations/global/tlsRoutes/tls_route_name>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Server-defined URL of this resource
	SelfLink string `protobuf:"bytes,8,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// Output only. The timestamp when the resource was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The timestamp when the resource was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. A free-text description of the resource. Max length 1024 characters.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Required. Rules that define how traffic is routed and handled. At least one RouteRule
	// must be supplied. If there are multiple rules then the action taken will be
	// the first rule to match.
	Rules []*TlsRoute_RouteRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
	// Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the
	// routing rules to route the requests served by the mesh.
	//
	// Each mesh reference should match the pattern:
	// `projects/*/locations/global/meshes/<mesh_name>`
	//
	// The attached Mesh should be of a type SIDECAR
	Meshes []string `protobuf:"bytes,6,rep,name=meshes,proto3" json:"meshes,omitempty"`
	// Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of
	// the routing rules to route the requests served by the gateway.
	//
	// Each gateway reference should match the pattern:
	// `projects/*/locations/global/gateways/<gateway_name>`
	Gateways []string `protobuf:"bytes,7,rep,name=gateways,proto3" json:"gateways,omitempty"`
	// contains filtered or unexported fields
}

TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes.

func (*TlsRoute) Descriptor deprecated

func (*TlsRoute) Descriptor() ([]byte, []int)

Deprecated: Use TlsRoute.ProtoReflect.Descriptor instead.

func (*TlsRoute) GetCreateTime

func (x *TlsRoute) GetCreateTime() *timestamppb.Timestamp

func (*TlsRoute) GetDescription

func (x *TlsRoute) GetDescription() string

func (*TlsRoute) GetGateways

func (x *TlsRoute) GetGateways() []string

func (*TlsRoute) GetMeshes

func (x *TlsRoute) GetMeshes() []string

func (*TlsRoute) GetName

func (x *TlsRoute) GetName() string

func (*TlsRoute) GetRules

func (x *TlsRoute) GetRules() []*TlsRoute_RouteRule
func (x *TlsRoute) GetSelfLink() string

func (*TlsRoute) GetUpdateTime

func (x *TlsRoute) GetUpdateTime() *timestamppb.Timestamp

func (*TlsRoute) ProtoMessage

func (*TlsRoute) ProtoMessage()

func (*TlsRoute) ProtoReflect

func (x *TlsRoute) ProtoReflect() protoreflect.Message

func (*TlsRoute) Reset

func (x *TlsRoute) Reset()

func (*TlsRoute) String

func (x *TlsRoute) String() string

type TlsRoute_RouteAction

type TlsRoute_RouteAction struct {

	// Required. The destination services to which traffic should be forwarded. At least
	// one destination service is required.
	Destinations []*TlsRoute_RouteDestination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"`
	// contains filtered or unexported fields
}

The specifications for routing traffic and applying associated policies.

func (*TlsRoute_RouteAction) Descriptor deprecated

func (*TlsRoute_RouteAction) Descriptor() ([]byte, []int)

Deprecated: Use TlsRoute_RouteAction.ProtoReflect.Descriptor instead.

func (*TlsRoute_RouteAction) GetDestinations

func (x *TlsRoute_RouteAction) GetDestinations() []*TlsRoute_RouteDestination

func (*TlsRoute_RouteAction) ProtoMessage

func (*TlsRoute_RouteAction) ProtoMessage()

func (*TlsRoute_RouteAction) ProtoReflect

func (x *TlsRoute_RouteAction) ProtoReflect() protoreflect.Message

func (*TlsRoute_RouteAction) Reset

func (x *TlsRoute_RouteAction) Reset()

func (*TlsRoute_RouteAction) String

func (x *TlsRoute_RouteAction) String() string

type TlsRoute_RouteDestination

type TlsRoute_RouteDestination struct {

	// Required. The URL of a BackendService to route traffic to.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// Optional. Specifies the proportion of requests forwareded to the backend referenced
	// by the service_name field. This is computed as:
	//         weight/Sum(weights in destinations)
	// Weights in all destinations does not need to sum up to 100.
	Weight int32 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

Describe the destination for traffic to be routed to.

func (*TlsRoute_RouteDestination) Descriptor deprecated

func (*TlsRoute_RouteDestination) Descriptor() ([]byte, []int)

Deprecated: Use TlsRoute_RouteDestination.ProtoReflect.Descriptor instead.

func (*TlsRoute_RouteDestination) GetServiceName

func (x *TlsRoute_RouteDestination) GetServiceName() string

func (*TlsRoute_RouteDestination) GetWeight

func (x *TlsRoute_RouteDestination) GetWeight() int32

func (*TlsRoute_RouteDestination) ProtoMessage

func (*TlsRoute_RouteDestination) ProtoMessage()

func (*TlsRoute_RouteDestination) ProtoReflect

func (*TlsRoute_RouteDestination) Reset

func (x *TlsRoute_RouteDestination) Reset()

func (*TlsRoute_RouteDestination) String

func (x *TlsRoute_RouteDestination) String() string

type TlsRoute_RouteMatch

type TlsRoute_RouteMatch struct {

	// Optional. SNI (server name indicator) to match against.
	// SNI will be matched against all wildcard domains, i.e. www.example.com
	// will be first matched against www.example.com, then *.example.com, then
	// *.com.
	// Partial wildcards are not supported, and values like *w.example.com are
	// invalid.
	// At least one of sni_host and alpn is required.
	// Up to 5 sni hosts across all matches can be set.
	SniHost []string `protobuf:"bytes,1,rep,name=sni_host,json=sniHost,proto3" json:"sni_host,omitempty"`
	// Optional. ALPN (Application-Layer Protocol Negotiation) to match against.
	// Examples: "http/1.1", "h2".
	// At least one of sni_host and alpn is required.
	// Up to 5 alpns across all matches can be set.
	Alpn []string `protobuf:"bytes,2,rep,name=alpn,proto3" json:"alpn,omitempty"`
	// contains filtered or unexported fields
}

RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "AND"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic.

func (*TlsRoute_RouteMatch) Descriptor deprecated

func (*TlsRoute_RouteMatch) Descriptor() ([]byte, []int)

Deprecated: Use TlsRoute_RouteMatch.ProtoReflect.Descriptor instead.

func (*TlsRoute_RouteMatch) GetAlpn

func (x *TlsRoute_RouteMatch) GetAlpn() []string

func (*TlsRoute_RouteMatch) GetSniHost

func (x *TlsRoute_RouteMatch) GetSniHost() []string

func (*TlsRoute_RouteMatch) ProtoMessage

func (*TlsRoute_RouteMatch) ProtoMessage()

func (*TlsRoute_RouteMatch) ProtoReflect

func (x *TlsRoute_RouteMatch) ProtoReflect() protoreflect.Message

func (*TlsRoute_RouteMatch) Reset

func (x *TlsRoute_RouteMatch) Reset()

func (*TlsRoute_RouteMatch) String

func (x *TlsRoute_RouteMatch) String() string

type TlsRoute_RouteRule

type TlsRoute_RouteRule struct {

	// Required. RouteMatch defines the predicate used to match requests to a given
	// action. Multiple match types are "OR"ed for evaluation.
	Matches []*TlsRoute_RouteMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
	// Required. The detailed rule defining how to route matched traffic.
	Action *TlsRoute_RouteAction `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

Specifies how to match traffic and how to route traffic when traffic is matched.

func (*TlsRoute_RouteRule) Descriptor deprecated

func (*TlsRoute_RouteRule) Descriptor() ([]byte, []int)

Deprecated: Use TlsRoute_RouteRule.ProtoReflect.Descriptor instead.

func (*TlsRoute_RouteRule) GetAction

func (x *TlsRoute_RouteRule) GetAction() *TlsRoute_RouteAction

func (*TlsRoute_RouteRule) GetMatches

func (x *TlsRoute_RouteRule) GetMatches() []*TlsRoute_RouteMatch

func (*TlsRoute_RouteRule) ProtoMessage

func (*TlsRoute_RouteRule) ProtoMessage()

func (*TlsRoute_RouteRule) ProtoReflect

func (x *TlsRoute_RouteRule) ProtoReflect() protoreflect.Message

func (*TlsRoute_RouteRule) Reset

func (x *TlsRoute_RouteRule) Reset()

func (*TlsRoute_RouteRule) String

func (x *TlsRoute_RouteRule) String() string

type TrafficPortSelector

type TrafficPortSelector struct {

	// Optional. A list of ports. Can be port numbers or port range
	// (example, [80-90] specifies all ports from 80 to 90, including
	// 80 and 90) or named ports or * to specify all ports. If the
	// list is empty, all ports are selected.
	Ports []string `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"`
	// contains filtered or unexported fields
}

Specification of a port-based selector.

func (*TrafficPortSelector) Descriptor deprecated

func (*TrafficPortSelector) Descriptor() ([]byte, []int)

Deprecated: Use TrafficPortSelector.ProtoReflect.Descriptor instead.

func (*TrafficPortSelector) GetPorts

func (x *TrafficPortSelector) GetPorts() []string

func (*TrafficPortSelector) ProtoMessage

func (*TrafficPortSelector) ProtoMessage()

func (*TrafficPortSelector) ProtoReflect

func (x *TrafficPortSelector) ProtoReflect() protoreflect.Message

func (*TrafficPortSelector) Reset

func (x *TrafficPortSelector) Reset()

func (*TrafficPortSelector) String

func (x *TrafficPortSelector) String() string

type UnimplementedNetworkServicesServer

type UnimplementedNetworkServicesServer struct {
}

UnimplementedNetworkServicesServer can be embedded to have forward compatible implementations.

func (*UnimplementedNetworkServicesServer) CreateEndpointPolicy

func (*UnimplementedNetworkServicesServer) CreateGateway

func (*UnimplementedNetworkServicesServer) CreateGrpcRoute

func (*UnimplementedNetworkServicesServer) CreateHttpRoute

func (*UnimplementedNetworkServicesServer) CreateMesh

func (*UnimplementedNetworkServicesServer) CreateServiceBinding

func (*UnimplementedNetworkServicesServer) CreateTcpRoute

func (*UnimplementedNetworkServicesServer) CreateTlsRoute

func (*UnimplementedNetworkServicesServer) DeleteEndpointPolicy

func (*UnimplementedNetworkServicesServer) DeleteGateway

func (*UnimplementedNetworkServicesServer) DeleteGrpcRoute

func (*UnimplementedNetworkServicesServer) DeleteHttpRoute

func (*UnimplementedNetworkServicesServer) DeleteMesh

func (*UnimplementedNetworkServicesServer) DeleteServiceBinding

func (*UnimplementedNetworkServicesServer) DeleteTcpRoute

func (*UnimplementedNetworkServicesServer) DeleteTlsRoute

func (*UnimplementedNetworkServicesServer) GetEndpointPolicy

func (*UnimplementedNetworkServicesServer) GetGateway

func (*UnimplementedNetworkServicesServer) GetGrpcRoute

func (*UnimplementedNetworkServicesServer) GetHttpRoute

func (*UnimplementedNetworkServicesServer) GetMesh

func (*UnimplementedNetworkServicesServer) GetServiceBinding

func (*UnimplementedNetworkServicesServer) GetTcpRoute

func (*UnimplementedNetworkServicesServer) GetTlsRoute

func (*UnimplementedNetworkServicesServer) ListEndpointPolicies

func (*UnimplementedNetworkServicesServer) ListGateways

func (*UnimplementedNetworkServicesServer) ListGrpcRoutes

func (*UnimplementedNetworkServicesServer) ListHttpRoutes

func (*UnimplementedNetworkServicesServer) ListMeshes

func (*UnimplementedNetworkServicesServer) ListServiceBindings

func (*UnimplementedNetworkServicesServer) ListTcpRoutes

func (*UnimplementedNetworkServicesServer) ListTlsRoutes

func (*UnimplementedNetworkServicesServer) UpdateEndpointPolicy

func (*UnimplementedNetworkServicesServer) UpdateGateway

func (*UnimplementedNetworkServicesServer) UpdateGrpcRoute

func (*UnimplementedNetworkServicesServer) UpdateHttpRoute

func (*UnimplementedNetworkServicesServer) UpdateMesh

func (*UnimplementedNetworkServicesServer) UpdateTcpRoute

func (*UnimplementedNetworkServicesServer) UpdateTlsRoute

type UpdateEndpointPolicyRequest

type UpdateEndpointPolicyRequest struct {

	// Optional. Field mask is used to specify the fields to be overwritten in the
	// EndpointPolicy resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. Updated EndpointPolicy resource.
	EndpointPolicy *EndpointPolicy `protobuf:"bytes,2,opt,name=endpoint_policy,json=endpointPolicy,proto3" json:"endpoint_policy,omitempty"`
	// contains filtered or unexported fields
}

Request used with the UpdateEndpointPolicy method.

func (*UpdateEndpointPolicyRequest) Descriptor deprecated

func (*UpdateEndpointPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateEndpointPolicyRequest.ProtoReflect.Descriptor instead.

func (*UpdateEndpointPolicyRequest) GetEndpointPolicy

func (x *UpdateEndpointPolicyRequest) GetEndpointPolicy() *EndpointPolicy

func (*UpdateEndpointPolicyRequest) GetUpdateMask

func (*UpdateEndpointPolicyRequest) ProtoMessage

func (*UpdateEndpointPolicyRequest) ProtoMessage()

func (*UpdateEndpointPolicyRequest) ProtoReflect

func (*UpdateEndpointPolicyRequest) Reset

func (x *UpdateEndpointPolicyRequest) Reset()

func (*UpdateEndpointPolicyRequest) String

func (x *UpdateEndpointPolicyRequest) String() string

type UpdateGatewayRequest

type UpdateGatewayRequest struct {

	// Optional. Field mask is used to specify the fields to be overwritten in the
	// Gateway resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. Updated Gateway resource.
	Gateway *Gateway `protobuf:"bytes,2,opt,name=gateway,proto3" json:"gateway,omitempty"`
	// contains filtered or unexported fields
}

Request used by the UpdateGateway method.

func (*UpdateGatewayRequest) Descriptor deprecated

func (*UpdateGatewayRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateGatewayRequest.ProtoReflect.Descriptor instead.

func (*UpdateGatewayRequest) GetGateway

func (x *UpdateGatewayRequest) GetGateway() *Gateway

func (*UpdateGatewayRequest) GetUpdateMask

func (x *UpdateGatewayRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateGatewayRequest) ProtoMessage

func (*UpdateGatewayRequest) ProtoMessage()

func (*UpdateGatewayRequest) ProtoReflect

func (x *UpdateGatewayRequest) ProtoReflect() protoreflect.Message

func (*UpdateGatewayRequest) Reset

func (x *UpdateGatewayRequest) Reset()

func (*UpdateGatewayRequest) String

func (x *UpdateGatewayRequest) String() string

type UpdateGrpcRouteRequest

type UpdateGrpcRouteRequest struct {

	// Optional. Field mask is used to specify the fields to be overwritten in the
	// GrpcRoute resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. Updated GrpcRoute resource.
	GrpcRoute *GrpcRoute `protobuf:"bytes,2,opt,name=grpc_route,json=grpcRoute,proto3" json:"grpc_route,omitempty"`
	// contains filtered or unexported fields
}

Request used by the UpdateGrpcRoute method.

func (*UpdateGrpcRouteRequest) Descriptor deprecated

func (*UpdateGrpcRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateGrpcRouteRequest.ProtoReflect.Descriptor instead.

func (*UpdateGrpcRouteRequest) GetGrpcRoute

func (x *UpdateGrpcRouteRequest) GetGrpcRoute() *GrpcRoute

func (*UpdateGrpcRouteRequest) GetUpdateMask

func (x *UpdateGrpcRouteRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateGrpcRouteRequest) ProtoMessage

func (*UpdateGrpcRouteRequest) ProtoMessage()

func (*UpdateGrpcRouteRequest) ProtoReflect

func (x *UpdateGrpcRouteRequest) ProtoReflect() protoreflect.Message

func (*UpdateGrpcRouteRequest) Reset

func (x *UpdateGrpcRouteRequest) Reset()

func (*UpdateGrpcRouteRequest) String

func (x *UpdateGrpcRouteRequest) String() string

type UpdateHttpRouteRequest

type UpdateHttpRouteRequest struct {

	// Optional. Field mask is used to specify the fields to be overwritten in the
	// HttpRoute resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. Updated HttpRoute resource.
	HttpRoute *HttpRoute `protobuf:"bytes,2,opt,name=http_route,json=httpRoute,proto3" json:"http_route,omitempty"`
	// contains filtered or unexported fields
}

Request used by the UpdateHttpRoute method.

func (*UpdateHttpRouteRequest) Descriptor deprecated

func (*UpdateHttpRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateHttpRouteRequest.ProtoReflect.Descriptor instead.

func (*UpdateHttpRouteRequest) GetHttpRoute

func (x *UpdateHttpRouteRequest) GetHttpRoute() *HttpRoute

func (*UpdateHttpRouteRequest) GetUpdateMask

func (x *UpdateHttpRouteRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateHttpRouteRequest) ProtoMessage

func (*UpdateHttpRouteRequest) ProtoMessage()

func (*UpdateHttpRouteRequest) ProtoReflect

func (x *UpdateHttpRouteRequest) ProtoReflect() protoreflect.Message

func (*UpdateHttpRouteRequest) Reset

func (x *UpdateHttpRouteRequest) Reset()

func (*UpdateHttpRouteRequest) String

func (x *UpdateHttpRouteRequest) String() string

type UpdateMeshRequest

type UpdateMeshRequest struct {

	// Optional. Field mask is used to specify the fields to be overwritten in the
	// Mesh resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. Updated Mesh resource.
	Mesh *Mesh `protobuf:"bytes,2,opt,name=mesh,proto3" json:"mesh,omitempty"`
	// contains filtered or unexported fields
}

Request used by the UpdateMesh method.

func (*UpdateMeshRequest) Descriptor deprecated

func (*UpdateMeshRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateMeshRequest.ProtoReflect.Descriptor instead.

func (*UpdateMeshRequest) GetMesh

func (x *UpdateMeshRequest) GetMesh() *Mesh

func (*UpdateMeshRequest) GetUpdateMask

func (x *UpdateMeshRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateMeshRequest) ProtoMessage

func (*UpdateMeshRequest) ProtoMessage()

func (*UpdateMeshRequest) ProtoReflect

func (x *UpdateMeshRequest) ProtoReflect() protoreflect.Message

func (*UpdateMeshRequest) Reset

func (x *UpdateMeshRequest) Reset()

func (*UpdateMeshRequest) String

func (x *UpdateMeshRequest) String() string

type UpdateTcpRouteRequest

type UpdateTcpRouteRequest struct {

	// Optional. Field mask is used to specify the fields to be overwritten in the
	// TcpRoute resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. Updated TcpRoute resource.
	TcpRoute *TcpRoute `protobuf:"bytes,2,opt,name=tcp_route,json=tcpRoute,proto3" json:"tcp_route,omitempty"`
	// contains filtered or unexported fields
}

Request used by the UpdateTcpRoute method.

func (*UpdateTcpRouteRequest) Descriptor deprecated

func (*UpdateTcpRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateTcpRouteRequest.ProtoReflect.Descriptor instead.

func (*UpdateTcpRouteRequest) GetTcpRoute

func (x *UpdateTcpRouteRequest) GetTcpRoute() *TcpRoute

func (*UpdateTcpRouteRequest) GetUpdateMask

func (x *UpdateTcpRouteRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateTcpRouteRequest) ProtoMessage

func (*UpdateTcpRouteRequest) ProtoMessage()

func (*UpdateTcpRouteRequest) ProtoReflect

func (x *UpdateTcpRouteRequest) ProtoReflect() protoreflect.Message

func (*UpdateTcpRouteRequest) Reset

func (x *UpdateTcpRouteRequest) Reset()

func (*UpdateTcpRouteRequest) String

func (x *UpdateTcpRouteRequest) String() string

type UpdateTlsRouteRequest

type UpdateTlsRouteRequest struct {

	// Optional. Field mask is used to specify the fields to be overwritten in the
	// TlsRoute resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. Updated TlsRoute resource.
	TlsRoute *TlsRoute `protobuf:"bytes,2,opt,name=tls_route,json=tlsRoute,proto3" json:"tls_route,omitempty"`
	// contains filtered or unexported fields
}

Request used by the UpdateTlsRoute method.

func (*UpdateTlsRouteRequest) Descriptor deprecated

func (*UpdateTlsRouteRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateTlsRouteRequest.ProtoReflect.Descriptor instead.

func (*UpdateTlsRouteRequest) GetTlsRoute

func (x *UpdateTlsRouteRequest) GetTlsRoute() *TlsRoute

func (*UpdateTlsRouteRequest) GetUpdateMask

func (x *UpdateTlsRouteRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateTlsRouteRequest) ProtoMessage

func (*UpdateTlsRouteRequest) ProtoMessage()

func (*UpdateTlsRouteRequest) ProtoReflect

func (x *UpdateTlsRouteRequest) ProtoReflect() protoreflect.Message

func (*UpdateTlsRouteRequest) Reset

func (x *UpdateTlsRouteRequest) Reset()

func (*UpdateTlsRouteRequest) String

func (x *UpdateTlsRouteRequest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL