Constants
DepService_ListLbTrafficExtensions_FullMethodName, DepService_GetLbTrafficExtension_FullMethodName, DepService_CreateLbTrafficExtension_FullMethodName, DepService_UpdateLbTrafficExtension_FullMethodName, DepService_DeleteLbTrafficExtension_FullMethodName, DepService_ListLbRouteExtensions_FullMethodName, DepService_GetLbRouteExtension_FullMethodName, DepService_CreateLbRouteExtension_FullMethodName, DepService_UpdateLbRouteExtension_FullMethodName, DepService_DeleteLbRouteExtension_FullMethodName, DepService_ListLbEdgeExtensions_FullMethodName, DepService_GetLbEdgeExtension_FullMethodName, DepService_CreateLbEdgeExtension_FullMethodName, DepService_UpdateLbEdgeExtension_FullMethodName, DepService_DeleteLbEdgeExtension_FullMethodName, DepService_ListAuthzExtensions_FullMethodName, DepService_GetAuthzExtension_FullMethodName, DepService_CreateAuthzExtension_FullMethodName, DepService_UpdateAuthzExtension_FullMethodName, DepService_DeleteAuthzExtension_FullMethodName
const (
DepService_ListLbTrafficExtensions_FullMethodName = "/google.cloud.networkservices.v1.DepService/ListLbTrafficExtensions"
DepService_GetLbTrafficExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/GetLbTrafficExtension"
DepService_CreateLbTrafficExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/CreateLbTrafficExtension"
DepService_UpdateLbTrafficExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/UpdateLbTrafficExtension"
DepService_DeleteLbTrafficExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/DeleteLbTrafficExtension"
DepService_ListLbRouteExtensions_FullMethodName = "/google.cloud.networkservices.v1.DepService/ListLbRouteExtensions"
DepService_GetLbRouteExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/GetLbRouteExtension"
DepService_CreateLbRouteExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/CreateLbRouteExtension"
DepService_UpdateLbRouteExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/UpdateLbRouteExtension"
DepService_DeleteLbRouteExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/DeleteLbRouteExtension"
DepService_ListLbEdgeExtensions_FullMethodName = "/google.cloud.networkservices.v1.DepService/ListLbEdgeExtensions"
DepService_GetLbEdgeExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/GetLbEdgeExtension"
DepService_CreateLbEdgeExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/CreateLbEdgeExtension"
DepService_UpdateLbEdgeExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/UpdateLbEdgeExtension"
DepService_DeleteLbEdgeExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/DeleteLbEdgeExtension"
DepService_ListAuthzExtensions_FullMethodName = "/google.cloud.networkservices.v1.DepService/ListAuthzExtensions"
DepService_GetAuthzExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/GetAuthzExtension"
DepService_CreateAuthzExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/CreateAuthzExtension"
DepService_UpdateAuthzExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/UpdateAuthzExtension"
DepService_DeleteAuthzExtension_FullMethodName = "/google.cloud.networkservices.v1.DepService/DeleteAuthzExtension"
)NetworkServices_ListEndpointPolicies_FullMethodName, NetworkServices_GetEndpointPolicy_FullMethodName, NetworkServices_CreateEndpointPolicy_FullMethodName, NetworkServices_UpdateEndpointPolicy_FullMethodName, NetworkServices_DeleteEndpointPolicy_FullMethodName, NetworkServices_ListWasmPluginVersions_FullMethodName, NetworkServices_GetWasmPluginVersion_FullMethodName, NetworkServices_CreateWasmPluginVersion_FullMethodName, NetworkServices_DeleteWasmPluginVersion_FullMethodName, NetworkServices_ListWasmPlugins_FullMethodName, NetworkServices_GetWasmPlugin_FullMethodName, NetworkServices_CreateWasmPlugin_FullMethodName, NetworkServices_UpdateWasmPlugin_FullMethodName, NetworkServices_DeleteWasmPlugin_FullMethodName, NetworkServices_ListGateways_FullMethodName, NetworkServices_GetGateway_FullMethodName, NetworkServices_CreateGateway_FullMethodName, NetworkServices_UpdateGateway_FullMethodName, NetworkServices_DeleteGateway_FullMethodName, NetworkServices_ListGrpcRoutes_FullMethodName, NetworkServices_GetGrpcRoute_FullMethodName, NetworkServices_CreateGrpcRoute_FullMethodName, NetworkServices_UpdateGrpcRoute_FullMethodName, NetworkServices_DeleteGrpcRoute_FullMethodName, NetworkServices_ListHttpRoutes_FullMethodName, NetworkServices_GetHttpRoute_FullMethodName, NetworkServices_CreateHttpRoute_FullMethodName, NetworkServices_UpdateHttpRoute_FullMethodName, NetworkServices_DeleteHttpRoute_FullMethodName, NetworkServices_ListTcpRoutes_FullMethodName, NetworkServices_GetTcpRoute_FullMethodName, NetworkServices_CreateTcpRoute_FullMethodName, NetworkServices_UpdateTcpRoute_FullMethodName, NetworkServices_DeleteTcpRoute_FullMethodName, NetworkServices_ListTlsRoutes_FullMethodName, NetworkServices_GetTlsRoute_FullMethodName, NetworkServices_CreateTlsRoute_FullMethodName, NetworkServices_UpdateTlsRoute_FullMethodName, NetworkServices_DeleteTlsRoute_FullMethodName, NetworkServices_ListServiceBindings_FullMethodName, NetworkServices_GetServiceBinding_FullMethodName, NetworkServices_CreateServiceBinding_FullMethodName, NetworkServices_UpdateServiceBinding_FullMethodName, NetworkServices_DeleteServiceBinding_FullMethodName, NetworkServices_ListMeshes_FullMethodName, NetworkServices_GetMesh_FullMethodName, NetworkServices_CreateMesh_FullMethodName, NetworkServices_UpdateMesh_FullMethodName, NetworkServices_DeleteMesh_FullMethodName, NetworkServices_ListServiceLbPolicies_FullMethodName, NetworkServices_GetServiceLbPolicy_FullMethodName, NetworkServices_CreateServiceLbPolicy_FullMethodName, NetworkServices_UpdateServiceLbPolicy_FullMethodName, NetworkServices_DeleteServiceLbPolicy_FullMethodName, NetworkServices_GetGatewayRouteView_FullMethodName, NetworkServices_GetMeshRouteView_FullMethodName, NetworkServices_ListGatewayRouteViews_FullMethodName, NetworkServices_ListMeshRouteViews_FullMethodName
const (
NetworkServices_ListEndpointPolicies_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListEndpointPolicies"
NetworkServices_GetEndpointPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetEndpointPolicy"
NetworkServices_CreateEndpointPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateEndpointPolicy"
NetworkServices_UpdateEndpointPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateEndpointPolicy"
NetworkServices_DeleteEndpointPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteEndpointPolicy"
NetworkServices_ListWasmPluginVersions_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListWasmPluginVersions"
NetworkServices_GetWasmPluginVersion_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetWasmPluginVersion"
NetworkServices_CreateWasmPluginVersion_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateWasmPluginVersion"
NetworkServices_DeleteWasmPluginVersion_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteWasmPluginVersion"
NetworkServices_ListWasmPlugins_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListWasmPlugins"
NetworkServices_GetWasmPlugin_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetWasmPlugin"
NetworkServices_CreateWasmPlugin_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateWasmPlugin"
NetworkServices_UpdateWasmPlugin_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateWasmPlugin"
NetworkServices_DeleteWasmPlugin_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteWasmPlugin"
NetworkServices_ListGateways_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListGateways"
NetworkServices_GetGateway_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetGateway"
NetworkServices_CreateGateway_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateGateway"
NetworkServices_UpdateGateway_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateGateway"
NetworkServices_DeleteGateway_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteGateway"
NetworkServices_ListGrpcRoutes_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListGrpcRoutes"
NetworkServices_GetGrpcRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetGrpcRoute"
NetworkServices_CreateGrpcRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateGrpcRoute"
NetworkServices_UpdateGrpcRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateGrpcRoute"
NetworkServices_DeleteGrpcRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteGrpcRoute"
NetworkServices_ListHttpRoutes_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListHttpRoutes"
NetworkServices_GetHttpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetHttpRoute"
NetworkServices_CreateHttpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateHttpRoute"
NetworkServices_UpdateHttpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateHttpRoute"
NetworkServices_DeleteHttpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteHttpRoute"
NetworkServices_ListTcpRoutes_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListTcpRoutes"
NetworkServices_GetTcpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetTcpRoute"
NetworkServices_CreateTcpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateTcpRoute"
NetworkServices_UpdateTcpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateTcpRoute"
NetworkServices_DeleteTcpRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteTcpRoute"
NetworkServices_ListTlsRoutes_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListTlsRoutes"
NetworkServices_GetTlsRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetTlsRoute"
NetworkServices_CreateTlsRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateTlsRoute"
NetworkServices_UpdateTlsRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateTlsRoute"
NetworkServices_DeleteTlsRoute_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteTlsRoute"
NetworkServices_ListServiceBindings_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListServiceBindings"
NetworkServices_GetServiceBinding_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetServiceBinding"
NetworkServices_CreateServiceBinding_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateServiceBinding"
NetworkServices_UpdateServiceBinding_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateServiceBinding"
NetworkServices_DeleteServiceBinding_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteServiceBinding"
NetworkServices_ListMeshes_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListMeshes"
NetworkServices_GetMesh_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetMesh"
NetworkServices_CreateMesh_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateMesh"
NetworkServices_UpdateMesh_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateMesh"
NetworkServices_DeleteMesh_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteMesh"
NetworkServices_ListServiceLbPolicies_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListServiceLbPolicies"
NetworkServices_GetServiceLbPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetServiceLbPolicy"
NetworkServices_CreateServiceLbPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/CreateServiceLbPolicy"
NetworkServices_UpdateServiceLbPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/UpdateServiceLbPolicy"
NetworkServices_DeleteServiceLbPolicy_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/DeleteServiceLbPolicy"
NetworkServices_GetGatewayRouteView_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetGatewayRouteView"
NetworkServices_GetMeshRouteView_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/GetMeshRouteView"
NetworkServices_ListGatewayRouteViews_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListGatewayRouteViews"
NetworkServices_ListMeshRouteViews_FullMethodName = "/google.cloud.networkservices.v1.NetworkServices/ListMeshRouteViews"
)Variables
EnvoyHeaders_name, EnvoyHeaders_value
var (
EnvoyHeaders_name = map[int32]string{
0: "ENVOY_HEADERS_UNSPECIFIED",
1: "NONE",
2: "DEBUG_HEADERS",
}
EnvoyHeaders_value = map[string]int32{
"ENVOY_HEADERS_UNSPECIFIED": 0,
"NONE": 1,
"DEBUG_HEADERS": 2,
}
)Enum value maps for EnvoyHeaders.
EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria_name, EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria_value
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.
EventType_name, EventType_value
var (
EventType_name = map[int32]string{
0: "EVENT_TYPE_UNSPECIFIED",
1: "REQUEST_HEADERS",
2: "REQUEST_BODY",
3: "RESPONSE_HEADERS",
4: "RESPONSE_BODY",
5: "REQUEST_TRAILERS",
6: "RESPONSE_TRAILERS",
}
EventType_value = map[string]int32{
"EVENT_TYPE_UNSPECIFIED": 0,
"REQUEST_HEADERS": 1,
"REQUEST_BODY": 2,
"RESPONSE_HEADERS": 3,
"RESPONSE_BODY": 4,
"REQUEST_TRAILERS": 5,
"RESPONSE_TRAILERS": 6,
}
)Enum value maps for EventType.
LoadBalancingScheme_name, LoadBalancingScheme_value
var (
LoadBalancingScheme_name = map[int32]string{
0: "LOAD_BALANCING_SCHEME_UNSPECIFIED",
1: "INTERNAL_MANAGED",
2: "EXTERNAL_MANAGED",
}
LoadBalancingScheme_value = map[string]int32{
"LOAD_BALANCING_SCHEME_UNSPECIFIED": 0,
"INTERNAL_MANAGED": 1,
"EXTERNAL_MANAGED": 2,
}
)Enum value maps for LoadBalancingScheme.
WireFormat_name, WireFormat_value
var (
WireFormat_name = map[int32]string{
0: "WIRE_FORMAT_UNSPECIFIED",
1: "EXT_PROC_GRPC",
}
WireFormat_value = map[string]int32{
"WIRE_FORMAT_UNSPECIFIED": 0,
"EXT_PROC_GRPC": 1,
}
)Enum value maps for WireFormat.
EndpointPolicy_EndpointPolicyType_name, EndpointPolicy_EndpointPolicyType_value
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.
WasmPluginView_name, WasmPluginView_value
var (
WasmPluginView_name = map[int32]string{
0: "WASM_PLUGIN_VIEW_UNSPECIFIED",
1: "WASM_PLUGIN_VIEW_BASIC",
2: "WASM_PLUGIN_VIEW_FULL",
}
WasmPluginView_value = map[string]int32{
"WASM_PLUGIN_VIEW_UNSPECIFIED": 0,
"WASM_PLUGIN_VIEW_BASIC": 1,
"WASM_PLUGIN_VIEW_FULL": 2,
}
)Enum value maps for WasmPluginView.
WasmPlugin_LogConfig_LogLevel_name, WasmPlugin_LogConfig_LogLevel_value
var (
WasmPlugin_LogConfig_LogLevel_name = map[int32]string{
0: "LOG_LEVEL_UNSPECIFIED",
1: "TRACE",
2: "DEBUG",
3: "INFO",
4: "WARN",
5: "ERROR",
6: "CRITICAL",
}
WasmPlugin_LogConfig_LogLevel_value = map[string]int32{
"LOG_LEVEL_UNSPECIFIED": 0,
"TRACE": 1,
"DEBUG": 2,
"INFO": 3,
"WARN": 4,
"ERROR": 5,
"CRITICAL": 6,
}
)Enum value maps for WasmPlugin_LogConfig_LogLevel.
Gateway_Type_name, Gateway_Type_value
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.
Gateway_IpVersion_name, Gateway_IpVersion_value
var (
Gateway_IpVersion_name = map[int32]string{
0: "IP_VERSION_UNSPECIFIED",
1: "IPV4",
2: "IPV6",
}
Gateway_IpVersion_value = map[string]int32{
"IP_VERSION_UNSPECIFIED": 0,
"IPV4": 1,
"IPV6": 2,
}
)Enum value maps for Gateway_IpVersion.
Gateway_RoutingMode_name, Gateway_RoutingMode_value
var (
Gateway_RoutingMode_name = map[int32]string{
0: "EXPLICIT_ROUTING_MODE",
1: "NEXT_HOP_ROUTING_MODE",
}
Gateway_RoutingMode_value = map[string]int32{
"EXPLICIT_ROUTING_MODE": 0,
"NEXT_HOP_ROUTING_MODE": 1,
}
)Enum value maps for Gateway_RoutingMode.
GrpcRoute_MethodMatch_Type_name, GrpcRoute_MethodMatch_Type_value
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.
GrpcRoute_HeaderMatch_Type_name, GrpcRoute_HeaderMatch_Type_value
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.
HttpRoute_Redirect_ResponseCode_name, HttpRoute_Redirect_ResponseCode_value
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.
ServiceLbPolicy_LoadBalancingAlgorithm_name, ServiceLbPolicy_LoadBalancingAlgorithm_value
var (
ServiceLbPolicy_LoadBalancingAlgorithm_name = map[int32]string{
0: "LOAD_BALANCING_ALGORITHM_UNSPECIFIED",
3: "SPRAY_TO_WORLD",
4: "SPRAY_TO_REGION",
5: "WATERFALL_BY_REGION",
6: "WATERFALL_BY_ZONE",
}
ServiceLbPolicy_LoadBalancingAlgorithm_value = map[string]int32{
"LOAD_BALANCING_ALGORITHM_UNSPECIFIED": 0,
"SPRAY_TO_WORLD": 3,
"SPRAY_TO_REGION": 4,
"WATERFALL_BY_REGION": 5,
"WATERFALL_BY_ZONE": 6,
}
)Enum value maps for ServiceLbPolicy_LoadBalancingAlgorithm.
ServiceLbPolicy_IsolationGranularity_name, ServiceLbPolicy_IsolationGranularity_value
var (
ServiceLbPolicy_IsolationGranularity_name = map[int32]string{
0: "ISOLATION_GRANULARITY_UNSPECIFIED",
1: "REGION",
}
ServiceLbPolicy_IsolationGranularity_value = map[string]int32{
"ISOLATION_GRANULARITY_UNSPECIFIED": 0,
"REGION": 1,
}
)Enum value maps for ServiceLbPolicy_IsolationGranularity.
ServiceLbPolicy_IsolationMode_name, ServiceLbPolicy_IsolationMode_value
var (
ServiceLbPolicy_IsolationMode_name = map[int32]string{
0: "ISOLATION_MODE_UNSPECIFIED",
1: "NEAREST",
2: "STRICT",
}
ServiceLbPolicy_IsolationMode_value = map[string]int32{
"ISOLATION_MODE_UNSPECIFIED": 0,
"NEAREST": 1,
"STRICT": 2,
}
)Enum value maps for ServiceLbPolicy_IsolationMode.
DepService_ServiceDesc
var DepService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.networkservices.v1.DepService",
HandlerType: (*DepServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListLbTrafficExtensions",
Handler: _DepService_ListLbTrafficExtensions_Handler,
},
{
MethodName: "GetLbTrafficExtension",
Handler: _DepService_GetLbTrafficExtension_Handler,
},
{
MethodName: "CreateLbTrafficExtension",
Handler: _DepService_CreateLbTrafficExtension_Handler,
},
{
MethodName: "UpdateLbTrafficExtension",
Handler: _DepService_UpdateLbTrafficExtension_Handler,
},
{
MethodName: "DeleteLbTrafficExtension",
Handler: _DepService_DeleteLbTrafficExtension_Handler,
},
{
MethodName: "ListLbRouteExtensions",
Handler: _DepService_ListLbRouteExtensions_Handler,
},
{
MethodName: "GetLbRouteExtension",
Handler: _DepService_GetLbRouteExtension_Handler,
},
{
MethodName: "CreateLbRouteExtension",
Handler: _DepService_CreateLbRouteExtension_Handler,
},
{
MethodName: "UpdateLbRouteExtension",
Handler: _DepService_UpdateLbRouteExtension_Handler,
},
{
MethodName: "DeleteLbRouteExtension",
Handler: _DepService_DeleteLbRouteExtension_Handler,
},
{
MethodName: "ListLbEdgeExtensions",
Handler: _DepService_ListLbEdgeExtensions_Handler,
},
{
MethodName: "GetLbEdgeExtension",
Handler: _DepService_GetLbEdgeExtension_Handler,
},
{
MethodName: "CreateLbEdgeExtension",
Handler: _DepService_CreateLbEdgeExtension_Handler,
},
{
MethodName: "UpdateLbEdgeExtension",
Handler: _DepService_UpdateLbEdgeExtension_Handler,
},
{
MethodName: "DeleteLbEdgeExtension",
Handler: _DepService_DeleteLbEdgeExtension_Handler,
},
{
MethodName: "ListAuthzExtensions",
Handler: _DepService_ListAuthzExtensions_Handler,
},
{
MethodName: "GetAuthzExtension",
Handler: _DepService_GetAuthzExtension_Handler,
},
{
MethodName: "CreateAuthzExtension",
Handler: _DepService_CreateAuthzExtension_Handler,
},
{
MethodName: "UpdateAuthzExtension",
Handler: _DepService_UpdateAuthzExtension_Handler,
},
{
MethodName: "DeleteAuthzExtension",
Handler: _DepService_DeleteAuthzExtension_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/networkservices/v1/dep.proto",
}DepService_ServiceDesc is the grpc.ServiceDesc for DepService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_networkservices_v1_common_proto
var File_google_cloud_networkservices_v1_common_proto protoreflect.FileDescriptorFile_google_cloud_networkservices_v1_dep_proto
var File_google_cloud_networkservices_v1_dep_proto protoreflect.FileDescriptorFile_google_cloud_networkservices_v1_endpoint_policy_proto
var File_google_cloud_networkservices_v1_endpoint_policy_proto protoreflect.FileDescriptorFile_google_cloud_networkservices_v1_extensibility_proto
var File_google_cloud_networkservices_v1_extensibility_proto protoreflect.FileDescriptorFile_google_cloud_networkservices_v1_gateway_proto
var File_google_cloud_networkservices_v1_gateway_proto protoreflect.FileDescriptorFile_google_cloud_networkservices_v1_grpc_route_proto
var File_google_cloud_networkservices_v1_grpc_route_proto protoreflect.FileDescriptorFile_google_cloud_networkservices_v1_http_route_proto
var File_google_cloud_networkservices_v1_http_route_proto protoreflect.FileDescriptorFile_google_cloud_networkservices_v1_mesh_proto
var File_google_cloud_networkservices_v1_mesh_proto protoreflect.FileDescriptorFile_google_cloud_networkservices_v1_network_services_proto
var File_google_cloud_networkservices_v1_network_services_proto protoreflect.FileDescriptorFile_google_cloud_networkservices_v1_route_view_proto
var File_google_cloud_networkservices_v1_route_view_proto protoreflect.FileDescriptorFile_google_cloud_networkservices_v1_service_binding_proto
var File_google_cloud_networkservices_v1_service_binding_proto protoreflect.FileDescriptorFile_google_cloud_networkservices_v1_service_lb_policy_proto
var File_google_cloud_networkservices_v1_service_lb_policy_proto protoreflect.FileDescriptorFile_google_cloud_networkservices_v1_tcp_route_proto
var File_google_cloud_networkservices_v1_tcp_route_proto protoreflect.FileDescriptorFile_google_cloud_networkservices_v1_tls_route_proto
var File_google_cloud_networkservices_v1_tls_route_proto protoreflect.FileDescriptorNetworkServices_ServiceDesc
var NetworkServices_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.networkservices.v1.NetworkServices",
HandlerType: (*NetworkServicesServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListEndpointPolicies",
Handler: _NetworkServices_ListEndpointPolicies_Handler,
},
{
MethodName: "GetEndpointPolicy",
Handler: _NetworkServices_GetEndpointPolicy_Handler,
},
{
MethodName: "CreateEndpointPolicy",
Handler: _NetworkServices_CreateEndpointPolicy_Handler,
},
{
MethodName: "UpdateEndpointPolicy",
Handler: _NetworkServices_UpdateEndpointPolicy_Handler,
},
{
MethodName: "DeleteEndpointPolicy",
Handler: _NetworkServices_DeleteEndpointPolicy_Handler,
},
{
MethodName: "ListWasmPluginVersions",
Handler: _NetworkServices_ListWasmPluginVersions_Handler,
},
{
MethodName: "GetWasmPluginVersion",
Handler: _NetworkServices_GetWasmPluginVersion_Handler,
},
{
MethodName: "CreateWasmPluginVersion",
Handler: _NetworkServices_CreateWasmPluginVersion_Handler,
},
{
MethodName: "DeleteWasmPluginVersion",
Handler: _NetworkServices_DeleteWasmPluginVersion_Handler,
},
{
MethodName: "ListWasmPlugins",
Handler: _NetworkServices_ListWasmPlugins_Handler,
},
{
MethodName: "GetWasmPlugin",
Handler: _NetworkServices_GetWasmPlugin_Handler,
},
{
MethodName: "CreateWasmPlugin",
Handler: _NetworkServices_CreateWasmPlugin_Handler,
},
{
MethodName: "UpdateWasmPlugin",
Handler: _NetworkServices_UpdateWasmPlugin_Handler,
},
{
MethodName: "DeleteWasmPlugin",
Handler: _NetworkServices_DeleteWasmPlugin_Handler,
},
{
MethodName: "ListGateways",
Handler: _NetworkServices_ListGateways_Handler,
},
{
MethodName: "GetGateway",
Handler: _NetworkServices_GetGateway_Handler,
},
{
MethodName: "CreateGateway",
Handler: _NetworkServices_CreateGateway_Handler,
},
{
MethodName: "UpdateGateway",
Handler: _NetworkServices_UpdateGateway_Handler,
},
{
MethodName: "DeleteGateway",
Handler: _NetworkServices_DeleteGateway_Handler,
},
{
MethodName: "ListGrpcRoutes",
Handler: _NetworkServices_ListGrpcRoutes_Handler,
},
{
MethodName: "GetGrpcRoute",
Handler: _NetworkServices_GetGrpcRoute_Handler,
},
{
MethodName: "CreateGrpcRoute",
Handler: _NetworkServices_CreateGrpcRoute_Handler,
},
{
MethodName: "UpdateGrpcRoute",
Handler: _NetworkServices_UpdateGrpcRoute_Handler,
},
{
MethodName: "DeleteGrpcRoute",
Handler: _NetworkServices_DeleteGrpcRoute_Handler,
},
{
MethodName: "ListHttpRoutes",
Handler: _NetworkServices_ListHttpRoutes_Handler,
},
{
MethodName: "GetHttpRoute",
Handler: _NetworkServices_GetHttpRoute_Handler,
},
{
MethodName: "CreateHttpRoute",
Handler: _NetworkServices_CreateHttpRoute_Handler,
},
{
MethodName: "UpdateHttpRoute",
Handler: _NetworkServices_UpdateHttpRoute_Handler,
},
{
MethodName: "DeleteHttpRoute",
Handler: _NetworkServices_DeleteHttpRoute_Handler,
},
{
MethodName: "ListTcpRoutes",
Handler: _NetworkServices_ListTcpRoutes_Handler,
},
{
MethodName: "GetTcpRoute",
Handler: _NetworkServices_GetTcpRoute_Handler,
},
{
MethodName: "CreateTcpRoute",
Handler: _NetworkServices_CreateTcpRoute_Handler,
},
{
MethodName: "UpdateTcpRoute",
Handler: _NetworkServices_UpdateTcpRoute_Handler,
},
{
MethodName: "DeleteTcpRoute",
Handler: _NetworkServices_DeleteTcpRoute_Handler,
},
{
MethodName: "ListTlsRoutes",
Handler: _NetworkServices_ListTlsRoutes_Handler,
},
{
MethodName: "GetTlsRoute",
Handler: _NetworkServices_GetTlsRoute_Handler,
},
{
MethodName: "CreateTlsRoute",
Handler: _NetworkServices_CreateTlsRoute_Handler,
},
{
MethodName: "UpdateTlsRoute",
Handler: _NetworkServices_UpdateTlsRoute_Handler,
},
{
MethodName: "DeleteTlsRoute",
Handler: _NetworkServices_DeleteTlsRoute_Handler,
},
{
MethodName: "ListServiceBindings",
Handler: _NetworkServices_ListServiceBindings_Handler,
},
{
MethodName: "GetServiceBinding",
Handler: _NetworkServices_GetServiceBinding_Handler,
},
{
MethodName: "CreateServiceBinding",
Handler: _NetworkServices_CreateServiceBinding_Handler,
},
{
MethodName: "UpdateServiceBinding",
Handler: _NetworkServices_UpdateServiceBinding_Handler,
},
{
MethodName: "DeleteServiceBinding",
Handler: _NetworkServices_DeleteServiceBinding_Handler,
},
{
MethodName: "ListMeshes",
Handler: _NetworkServices_ListMeshes_Handler,
},
{
MethodName: "GetMesh",
Handler: _NetworkServices_GetMesh_Handler,
},
{
MethodName: "CreateMesh",
Handler: _NetworkServices_CreateMesh_Handler,
},
{
MethodName: "UpdateMesh",
Handler: _NetworkServices_UpdateMesh_Handler,
},
{
MethodName: "DeleteMesh",
Handler: _NetworkServices_DeleteMesh_Handler,
},
{
MethodName: "ListServiceLbPolicies",
Handler: _NetworkServices_ListServiceLbPolicies_Handler,
},
{
MethodName: "GetServiceLbPolicy",
Handler: _NetworkServices_GetServiceLbPolicy_Handler,
},
{
MethodName: "CreateServiceLbPolicy",
Handler: _NetworkServices_CreateServiceLbPolicy_Handler,
},
{
MethodName: "UpdateServiceLbPolicy",
Handler: _NetworkServices_UpdateServiceLbPolicy_Handler,
},
{
MethodName: "DeleteServiceLbPolicy",
Handler: _NetworkServices_DeleteServiceLbPolicy_Handler,
},
{
MethodName: "GetGatewayRouteView",
Handler: _NetworkServices_GetGatewayRouteView_Handler,
},
{
MethodName: "GetMeshRouteView",
Handler: _NetworkServices_GetMeshRouteView_Handler,
},
{
MethodName: "ListGatewayRouteViews",
Handler: _NetworkServices_ListGatewayRouteViews_Handler,
},
{
MethodName: "ListMeshRouteViews",
Handler: _NetworkServices_ListMeshRouteViews_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/networkservices/v1/network_services.proto",
}NetworkServices_ServiceDesc is the grpc.ServiceDesc for NetworkServices service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterDepServiceServer
func RegisterDepServiceServer(s grpc.ServiceRegistrar, srv DepServiceServer)func RegisterNetworkServicesServer
func RegisterNetworkServicesServer(s grpc.ServiceRegistrar, srv NetworkServicesServer)AuthzExtension
type AuthzExtension struct {
// Required. Identifier. Name of the `AuthzExtension` resource in the
// following format:
// `projects/{project}/locations/{location}/authzExtensions/{authz_extension}`.
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. A human-readable description of the resource.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Set of labels associated with the `AuthzExtension`
// resource.
//
// The format must comply with [the requirements for
// labels](/compute/docs/labeling-resources#requirements) for Google Cloud
// resources.
Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Required. All backend services and forwarding rules referenced by this
// extension must share the same load balancing scheme. Supported values:
// `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to
// [Backend services
// overview](https://cloud.google.com/load-balancing/docs/backend-service).
LoadBalancingScheme LoadBalancingScheme `protobuf:"varint,6,opt,name=load_balancing_scheme,json=loadBalancingScheme,proto3,enum=google.cloud.networkservices.v1.LoadBalancingScheme" json:"load_balancing_scheme,omitempty"`
// Required. The `:authority` header in the gRPC request sent from Envoy
// to the extension service.
Authority string `protobuf:"bytes,7,opt,name=authority,proto3" json:"authority,omitempty"`
// Required. The reference to the service that runs the extension.
//
// To configure a callout extension, `service` must be a fully-qualified
// reference
// to a [backend
// service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices)
// in the format:
// `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}`
// or
// `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`.
Service string `protobuf:"bytes,8,opt,name=service,proto3" json:"service,omitempty"`
// Required. Specifies the timeout for each individual message on the stream.
// The timeout must be between 10-10000 milliseconds.
Timeout *durationpb.Duration `protobuf:"bytes,9,opt,name=timeout,proto3" json:"timeout,omitempty"`
// Optional. Determines how the proxy behaves if the call to the extension
// fails or times out.
//
// When set to `TRUE`, request or response processing continues without
// error. Any subsequent extensions in the extension chain are also
// executed. When set to `FALSE` or the default setting of `FALSE` is used,
// one of the following happens:
//
// * If response headers have not been delivered to the downstream client,
// a generic 500 error is returned to the client. The error response can be
// tailored by configuring a custom error response in the load balancer.
//
// * If response headers have been delivered, then the HTTP stream to the
// downstream client is reset.
FailOpen bool `protobuf:"varint,10,opt,name=fail_open,json=failOpen,proto3" json:"fail_open,omitempty"`
// Optional. The metadata provided here is included as part of the
// `metadata_context` (of type `google.protobuf.Struct`) in the
// `ProcessingRequest` message sent to the extension
// server. The metadata is available under the namespace
// `com.google.authz_extension.AuthzExtension is a resource that allows traffic forwarding
to a callout backend service to make an authorization decision.
func (*AuthzExtension) Descriptor
func (*AuthzExtension) Descriptor() ([]byte, []int)Deprecated: Use AuthzExtension.ProtoReflect.Descriptor instead.
func (*AuthzExtension) GetAuthority
func (x *AuthzExtension) GetAuthority() stringfunc (*AuthzExtension) GetCreateTime
func (x *AuthzExtension) GetCreateTime() *timestamppb.Timestampfunc (*AuthzExtension) GetDescription
func (x *AuthzExtension) GetDescription() stringfunc (*AuthzExtension) GetFailOpen
func (x *AuthzExtension) GetFailOpen() boolfunc (*AuthzExtension) GetForwardHeaders
func (x *AuthzExtension) GetForwardHeaders() []stringfunc (*AuthzExtension) GetLabels
func (x *AuthzExtension) GetLabels() map[string]stringfunc (*AuthzExtension) GetLoadBalancingScheme
func (x *AuthzExtension) GetLoadBalancingScheme() LoadBalancingSchemefunc (*AuthzExtension) GetMetadata
func (x *AuthzExtension) GetMetadata() *structpb.Structfunc (*AuthzExtension) GetName
func (x *AuthzExtension) GetName() stringfunc (*AuthzExtension) GetService
func (x *AuthzExtension) GetService() stringfunc (*AuthzExtension) GetTimeout
func (x *AuthzExtension) GetTimeout() *durationpb.Durationfunc (*AuthzExtension) GetUpdateTime
func (x *AuthzExtension) GetUpdateTime() *timestamppb.Timestampfunc (*AuthzExtension) GetWireFormat
func (x *AuthzExtension) GetWireFormat() WireFormatfunc (*AuthzExtension) ProtoMessage
func (*AuthzExtension) ProtoMessage()func (*AuthzExtension) ProtoReflect
func (x *AuthzExtension) ProtoReflect() protoreflect.Messagefunc (*AuthzExtension) Reset
func (x *AuthzExtension) Reset()func (*AuthzExtension) String
func (x *AuthzExtension) String() stringCreateAuthzExtensionRequest
type CreateAuthzExtensionRequest struct {
// Required. The parent resource of the `AuthzExtension` resource. Must
// be in the format `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. User-provided ID of the `AuthzExtension` resource to be
// created.
AuthzExtensionId string `protobuf:"bytes,2,opt,name=authz_extension_id,json=authzExtensionId,proto3" json:"authz_extension_id,omitempty"`
// Required. `AuthzExtension` resource to be created.
AuthzExtension *AuthzExtension `protobuf:"bytes,3,opt,name=authz_extension,json=authzExtension,proto3" json:"authz_extension,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server guarantees
// that for 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server ignores the second request This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for creating a AuthzExtension resource.
func (*CreateAuthzExtensionRequest) Descriptor
func (*CreateAuthzExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateAuthzExtensionRequest.ProtoReflect.Descriptor instead.
func (*CreateAuthzExtensionRequest) GetAuthzExtension
func (x *CreateAuthzExtensionRequest) GetAuthzExtension() *AuthzExtensionfunc (*CreateAuthzExtensionRequest) GetAuthzExtensionId
func (x *CreateAuthzExtensionRequest) GetAuthzExtensionId() stringfunc (*CreateAuthzExtensionRequest) GetParent
func (x *CreateAuthzExtensionRequest) GetParent() stringfunc (*CreateAuthzExtensionRequest) GetRequestId
func (x *CreateAuthzExtensionRequest) GetRequestId() stringfunc (*CreateAuthzExtensionRequest) ProtoMessage
func (*CreateAuthzExtensionRequest) ProtoMessage()func (*CreateAuthzExtensionRequest) ProtoReflect
func (x *CreateAuthzExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*CreateAuthzExtensionRequest) Reset
func (x *CreateAuthzExtensionRequest) Reset()func (*CreateAuthzExtensionRequest) String
func (x *CreateAuthzExtensionRequest) String() stringCreateEndpointPolicyRequest
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
func (*CreateEndpointPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateEndpointPolicyRequest.ProtoReflect.Descriptor instead.
func (*CreateEndpointPolicyRequest) GetEndpointPolicy
func (x *CreateEndpointPolicyRequest) GetEndpointPolicy() *EndpointPolicyfunc (*CreateEndpointPolicyRequest) GetEndpointPolicyId
func (x *CreateEndpointPolicyRequest) GetEndpointPolicyId() stringfunc (*CreateEndpointPolicyRequest) GetParent
func (x *CreateEndpointPolicyRequest) GetParent() stringfunc (*CreateEndpointPolicyRequest) ProtoMessage
func (*CreateEndpointPolicyRequest) ProtoMessage()func (*CreateEndpointPolicyRequest) ProtoReflect
func (x *CreateEndpointPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*CreateEndpointPolicyRequest) Reset
func (x *CreateEndpointPolicyRequest) Reset()func (*CreateEndpointPolicyRequest) String
func (x *CreateEndpointPolicyRequest) String() stringCreateGatewayRequest
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
func (*CreateGatewayRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateGatewayRequest.ProtoReflect.Descriptor instead.
func (*CreateGatewayRequest) GetGateway
func (x *CreateGatewayRequest) GetGateway() *Gatewayfunc (*CreateGatewayRequest) GetGatewayId
func (x *CreateGatewayRequest) GetGatewayId() stringfunc (*CreateGatewayRequest) GetParent
func (x *CreateGatewayRequest) GetParent() stringfunc (*CreateGatewayRequest) ProtoMessage
func (*CreateGatewayRequest) ProtoMessage()func (*CreateGatewayRequest) ProtoReflect
func (x *CreateGatewayRequest) ProtoReflect() protoreflect.Messagefunc (*CreateGatewayRequest) Reset
func (x *CreateGatewayRequest) Reset()func (*CreateGatewayRequest) String
func (x *CreateGatewayRequest) String() stringCreateGrpcRouteRequest
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
func (*CreateGrpcRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateGrpcRouteRequest.ProtoReflect.Descriptor instead.
func (*CreateGrpcRouteRequest) GetGrpcRoute
func (x *CreateGrpcRouteRequest) GetGrpcRoute() *GrpcRoutefunc (*CreateGrpcRouteRequest) GetGrpcRouteId
func (x *CreateGrpcRouteRequest) GetGrpcRouteId() stringfunc (*CreateGrpcRouteRequest) GetParent
func (x *CreateGrpcRouteRequest) GetParent() stringfunc (*CreateGrpcRouteRequest) ProtoMessage
func (*CreateGrpcRouteRequest) ProtoMessage()func (*CreateGrpcRouteRequest) ProtoReflect
func (x *CreateGrpcRouteRequest) ProtoReflect() protoreflect.Messagefunc (*CreateGrpcRouteRequest) Reset
func (x *CreateGrpcRouteRequest) Reset()func (*CreateGrpcRouteRequest) String
func (x *CreateGrpcRouteRequest) String() stringCreateHttpRouteRequest
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
func (*CreateHttpRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateHttpRouteRequest.ProtoReflect.Descriptor instead.
func (*CreateHttpRouteRequest) GetHttpRoute
func (x *CreateHttpRouteRequest) GetHttpRoute() *HttpRoutefunc (*CreateHttpRouteRequest) GetHttpRouteId
func (x *CreateHttpRouteRequest) GetHttpRouteId() stringfunc (*CreateHttpRouteRequest) GetParent
func (x *CreateHttpRouteRequest) GetParent() stringfunc (*CreateHttpRouteRequest) ProtoMessage
func (*CreateHttpRouteRequest) ProtoMessage()func (*CreateHttpRouteRequest) ProtoReflect
func (x *CreateHttpRouteRequest) ProtoReflect() protoreflect.Messagefunc (*CreateHttpRouteRequest) Reset
func (x *CreateHttpRouteRequest) Reset()func (*CreateHttpRouteRequest) String
func (x *CreateHttpRouteRequest) String() stringCreateLbEdgeExtensionRequest
type CreateLbEdgeExtensionRequest struct {
// Required. The parent resource of the `LbEdgeExtension` resource. Must be in
// the format `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. User-provided ID of the `LbEdgeExtension` resource to be created.
LbEdgeExtensionId string `protobuf:"bytes,2,opt,name=lb_edge_extension_id,json=lbEdgeExtensionId,proto3" json:"lb_edge_extension_id,omitempty"`
// Required. `LbEdgeExtension` resource to be created.
LbEdgeExtension *LbEdgeExtension `protobuf:"bytes,3,opt,name=lb_edge_extension,json=lbEdgeExtension,proto3" json:"lb_edge_extension,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server guarantees
// that for 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server ignores the second request This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for creating a LbEdgeExtension resource.
func (*CreateLbEdgeExtensionRequest) Descriptor
func (*CreateLbEdgeExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateLbEdgeExtensionRequest.ProtoReflect.Descriptor instead.
func (*CreateLbEdgeExtensionRequest) GetLbEdgeExtension
func (x *CreateLbEdgeExtensionRequest) GetLbEdgeExtension() *LbEdgeExtensionfunc (*CreateLbEdgeExtensionRequest) GetLbEdgeExtensionId
func (x *CreateLbEdgeExtensionRequest) GetLbEdgeExtensionId() stringfunc (*CreateLbEdgeExtensionRequest) GetParent
func (x *CreateLbEdgeExtensionRequest) GetParent() stringfunc (*CreateLbEdgeExtensionRequest) GetRequestId
func (x *CreateLbEdgeExtensionRequest) GetRequestId() stringfunc (*CreateLbEdgeExtensionRequest) ProtoMessage
func (*CreateLbEdgeExtensionRequest) ProtoMessage()func (*CreateLbEdgeExtensionRequest) ProtoReflect
func (x *CreateLbEdgeExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*CreateLbEdgeExtensionRequest) Reset
func (x *CreateLbEdgeExtensionRequest) Reset()func (*CreateLbEdgeExtensionRequest) String
func (x *CreateLbEdgeExtensionRequest) String() stringCreateLbRouteExtensionRequest
type CreateLbRouteExtensionRequest struct {
// Required. The parent resource of the `LbRouteExtension` resource. Must be
// in the format `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. User-provided ID of the `LbRouteExtension` resource to be
// created.
LbRouteExtensionId string `protobuf:"bytes,2,opt,name=lb_route_extension_id,json=lbRouteExtensionId,proto3" json:"lb_route_extension_id,omitempty"`
// Required. `LbRouteExtension` resource to be created.
LbRouteExtension *LbRouteExtension `protobuf:"bytes,3,opt,name=lb_route_extension,json=lbRouteExtension,proto3" json:"lb_route_extension,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server guarantees
// that for 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server ignores the second request This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for creating a LbRouteExtension resource.
func (*CreateLbRouteExtensionRequest) Descriptor
func (*CreateLbRouteExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateLbRouteExtensionRequest.ProtoReflect.Descriptor instead.
func (*CreateLbRouteExtensionRequest) GetLbRouteExtension
func (x *CreateLbRouteExtensionRequest) GetLbRouteExtension() *LbRouteExtensionfunc (*CreateLbRouteExtensionRequest) GetLbRouteExtensionId
func (x *CreateLbRouteExtensionRequest) GetLbRouteExtensionId() stringfunc (*CreateLbRouteExtensionRequest) GetParent
func (x *CreateLbRouteExtensionRequest) GetParent() stringfunc (*CreateLbRouteExtensionRequest) GetRequestId
func (x *CreateLbRouteExtensionRequest) GetRequestId() stringfunc (*CreateLbRouteExtensionRequest) ProtoMessage
func (*CreateLbRouteExtensionRequest) ProtoMessage()func (*CreateLbRouteExtensionRequest) ProtoReflect
func (x *CreateLbRouteExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*CreateLbRouteExtensionRequest) Reset
func (x *CreateLbRouteExtensionRequest) Reset()func (*CreateLbRouteExtensionRequest) String
func (x *CreateLbRouteExtensionRequest) String() stringCreateLbTrafficExtensionRequest
type CreateLbTrafficExtensionRequest struct {
// Required. The parent resource of the `LbTrafficExtension` resource. Must be
// in the format `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. User-provided ID of the `LbTrafficExtension` resource to be
// created.
LbTrafficExtensionId string `protobuf:"bytes,2,opt,name=lb_traffic_extension_id,json=lbTrafficExtensionId,proto3" json:"lb_traffic_extension_id,omitempty"`
// Required. `LbTrafficExtension` resource to be created.
LbTrafficExtension *LbTrafficExtension `protobuf:"bytes,3,opt,name=lb_traffic_extension,json=lbTrafficExtension,proto3" json:"lb_traffic_extension,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server guarantees
// that for 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server ignores the second request This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for creating a LbTrafficExtension resource.
func (*CreateLbTrafficExtensionRequest) Descriptor
func (*CreateLbTrafficExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateLbTrafficExtensionRequest.ProtoReflect.Descriptor instead.
func (*CreateLbTrafficExtensionRequest) GetLbTrafficExtension
func (x *CreateLbTrafficExtensionRequest) GetLbTrafficExtension() *LbTrafficExtensionfunc (*CreateLbTrafficExtensionRequest) GetLbTrafficExtensionId
func (x *CreateLbTrafficExtensionRequest) GetLbTrafficExtensionId() stringfunc (*CreateLbTrafficExtensionRequest) GetParent
func (x *CreateLbTrafficExtensionRequest) GetParent() stringfunc (*CreateLbTrafficExtensionRequest) GetRequestId
func (x *CreateLbTrafficExtensionRequest) GetRequestId() stringfunc (*CreateLbTrafficExtensionRequest) ProtoMessage
func (*CreateLbTrafficExtensionRequest) ProtoMessage()func (*CreateLbTrafficExtensionRequest) ProtoReflect
func (x *CreateLbTrafficExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*CreateLbTrafficExtensionRequest) Reset
func (x *CreateLbTrafficExtensionRequest) Reset()func (*CreateLbTrafficExtensionRequest) String
func (x *CreateLbTrafficExtensionRequest) String() stringCreateMeshRequest
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
func (*CreateMeshRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateMeshRequest.ProtoReflect.Descriptor instead.
func (*CreateMeshRequest) GetMesh
func (x *CreateMeshRequest) GetMesh() *Meshfunc (*CreateMeshRequest) GetMeshId
func (x *CreateMeshRequest) GetMeshId() stringfunc (*CreateMeshRequest) GetParent
func (x *CreateMeshRequest) GetParent() stringfunc (*CreateMeshRequest) ProtoMessage
func (*CreateMeshRequest) ProtoMessage()func (*CreateMeshRequest) ProtoReflect
func (x *CreateMeshRequest) ProtoReflect() protoreflect.Messagefunc (*CreateMeshRequest) Reset
func (x *CreateMeshRequest) Reset()func (*CreateMeshRequest) String
func (x *CreateMeshRequest) String() stringCreateServiceBindingRequest
type CreateServiceBindingRequest struct {
// Required. The parent resource of the ServiceBinding. Must be in the
// format `projects/*/locations/*`.
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
func (*CreateServiceBindingRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateServiceBindingRequest.ProtoReflect.Descriptor instead.
func (*CreateServiceBindingRequest) GetParent
func (x *CreateServiceBindingRequest) GetParent() stringfunc (*CreateServiceBindingRequest) GetServiceBinding
func (x *CreateServiceBindingRequest) GetServiceBinding() *ServiceBindingfunc (*CreateServiceBindingRequest) GetServiceBindingId
func (x *CreateServiceBindingRequest) GetServiceBindingId() stringfunc (*CreateServiceBindingRequest) ProtoMessage
func (*CreateServiceBindingRequest) ProtoMessage()func (*CreateServiceBindingRequest) ProtoReflect
func (x *CreateServiceBindingRequest) ProtoReflect() protoreflect.Messagefunc (*CreateServiceBindingRequest) Reset
func (x *CreateServiceBindingRequest) Reset()func (*CreateServiceBindingRequest) String
func (x *CreateServiceBindingRequest) String() stringCreateServiceLbPolicyRequest
type CreateServiceLbPolicyRequest struct {
// Required. The parent resource of the ServiceLbPolicy. Must be in the
// format `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Short name of the ServiceLbPolicy resource to be created.
// E.g. for resource name
// `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.
// the id is value of {service_lb_policy_name}
ServiceLbPolicyId string `protobuf:"bytes,2,opt,name=service_lb_policy_id,json=serviceLbPolicyId,proto3" json:"service_lb_policy_id,omitempty"`
// Required. ServiceLbPolicy resource to be created.
ServiceLbPolicy *ServiceLbPolicy `protobuf:"bytes,3,opt,name=service_lb_policy,json=serviceLbPolicy,proto3" json:"service_lb_policy,omitempty"`
// contains filtered or unexported fields
}Request used by the ServiceLbPolicy method.
func (*CreateServiceLbPolicyRequest) Descriptor
func (*CreateServiceLbPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateServiceLbPolicyRequest.ProtoReflect.Descriptor instead.
func (*CreateServiceLbPolicyRequest) GetParent
func (x *CreateServiceLbPolicyRequest) GetParent() stringfunc (*CreateServiceLbPolicyRequest) GetServiceLbPolicy
func (x *CreateServiceLbPolicyRequest) GetServiceLbPolicy() *ServiceLbPolicyfunc (*CreateServiceLbPolicyRequest) GetServiceLbPolicyId
func (x *CreateServiceLbPolicyRequest) GetServiceLbPolicyId() stringfunc (*CreateServiceLbPolicyRequest) ProtoMessage
func (*CreateServiceLbPolicyRequest) ProtoMessage()func (*CreateServiceLbPolicyRequest) ProtoReflect
func (x *CreateServiceLbPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*CreateServiceLbPolicyRequest) Reset
func (x *CreateServiceLbPolicyRequest) Reset()func (*CreateServiceLbPolicyRequest) String
func (x *CreateServiceLbPolicyRequest) String() stringCreateTcpRouteRequest
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.
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
func (*CreateTcpRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateTcpRouteRequest.ProtoReflect.Descriptor instead.
func (*CreateTcpRouteRequest) GetParent
func (x *CreateTcpRouteRequest) GetParent() stringfunc (*CreateTcpRouteRequest) GetTcpRoute
func (x *CreateTcpRouteRequest) GetTcpRoute() *TcpRoutefunc (*CreateTcpRouteRequest) GetTcpRouteId
func (x *CreateTcpRouteRequest) GetTcpRouteId() stringfunc (*CreateTcpRouteRequest) ProtoMessage
func (*CreateTcpRouteRequest) ProtoMessage()func (*CreateTcpRouteRequest) ProtoReflect
func (x *CreateTcpRouteRequest) ProtoReflect() protoreflect.Messagefunc (*CreateTcpRouteRequest) Reset
func (x *CreateTcpRouteRequest) Reset()func (*CreateTcpRouteRequest) String
func (x *CreateTcpRouteRequest) String() stringCreateTlsRouteRequest
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.
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
func (*CreateTlsRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateTlsRouteRequest.ProtoReflect.Descriptor instead.
func (*CreateTlsRouteRequest) GetParent
func (x *CreateTlsRouteRequest) GetParent() stringfunc (*CreateTlsRouteRequest) GetTlsRoute
func (x *CreateTlsRouteRequest) GetTlsRoute() *TlsRoutefunc (*CreateTlsRouteRequest) GetTlsRouteId
func (x *CreateTlsRouteRequest) GetTlsRouteId() stringfunc (*CreateTlsRouteRequest) ProtoMessage
func (*CreateTlsRouteRequest) ProtoMessage()func (*CreateTlsRouteRequest) ProtoReflect
func (x *CreateTlsRouteRequest) ProtoReflect() protoreflect.Messagefunc (*CreateTlsRouteRequest) Reset
func (x *CreateTlsRouteRequest) Reset()func (*CreateTlsRouteRequest) String
func (x *CreateTlsRouteRequest) String() stringCreateWasmPluginRequest
type CreateWasmPluginRequest struct {
// Required. The parent resource of the `WasmPlugin` resource. Must be in the
// format `projects/{project}/locations/global`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. User-provided ID of the `WasmPlugin` resource to be created.
WasmPluginId string `protobuf:"bytes,2,opt,name=wasm_plugin_id,json=wasmPluginId,proto3" json:"wasm_plugin_id,omitempty"`
// Required. `WasmPlugin` resource to be created.
WasmPlugin *WasmPlugin `protobuf:"bytes,3,opt,name=wasm_plugin,json=wasmPlugin,proto3" json:"wasm_plugin,omitempty"`
// contains filtered or unexported fields
}Request used by the CreateWasmPlugin method.
func (*CreateWasmPluginRequest) Descriptor
func (*CreateWasmPluginRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateWasmPluginRequest.ProtoReflect.Descriptor instead.
func (*CreateWasmPluginRequest) GetParent
func (x *CreateWasmPluginRequest) GetParent() stringfunc (*CreateWasmPluginRequest) GetWasmPlugin
func (x *CreateWasmPluginRequest) GetWasmPlugin() *WasmPluginfunc (*CreateWasmPluginRequest) GetWasmPluginId
func (x *CreateWasmPluginRequest) GetWasmPluginId() stringfunc (*CreateWasmPluginRequest) ProtoMessage
func (*CreateWasmPluginRequest) ProtoMessage()func (*CreateWasmPluginRequest) ProtoReflect
func (x *CreateWasmPluginRequest) ProtoReflect() protoreflect.Messagefunc (*CreateWasmPluginRequest) Reset
func (x *CreateWasmPluginRequest) Reset()func (*CreateWasmPluginRequest) String
func (x *CreateWasmPluginRequest) String() stringCreateWasmPluginVersionRequest
type CreateWasmPluginVersionRequest struct {
// Required. The parent resource of the `WasmPluginVersion` resource. Must be
// in the format
// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. User-provided ID of the `WasmPluginVersion` resource to be
// created.
WasmPluginVersionId string `protobuf:"bytes,2,opt,name=wasm_plugin_version_id,json=wasmPluginVersionId,proto3" json:"wasm_plugin_version_id,omitempty"`
// Required. `WasmPluginVersion` resource to be created.
WasmPluginVersion *WasmPluginVersion `protobuf:"bytes,3,opt,name=wasm_plugin_version,json=wasmPluginVersion,proto3" json:"wasm_plugin_version,omitempty"`
// contains filtered or unexported fields
}Request used by the CreateWasmPluginVersion method.
func (*CreateWasmPluginVersionRequest) Descriptor
func (*CreateWasmPluginVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateWasmPluginVersionRequest.ProtoReflect.Descriptor instead.
func (*CreateWasmPluginVersionRequest) GetParent
func (x *CreateWasmPluginVersionRequest) GetParent() stringfunc (*CreateWasmPluginVersionRequest) GetWasmPluginVersion
func (x *CreateWasmPluginVersionRequest) GetWasmPluginVersion() *WasmPluginVersionfunc (*CreateWasmPluginVersionRequest) GetWasmPluginVersionId
func (x *CreateWasmPluginVersionRequest) GetWasmPluginVersionId() stringfunc (*CreateWasmPluginVersionRequest) ProtoMessage
func (*CreateWasmPluginVersionRequest) ProtoMessage()func (*CreateWasmPluginVersionRequest) ProtoReflect
func (x *CreateWasmPluginVersionRequest) ProtoReflect() protoreflect.Messagefunc (*CreateWasmPluginVersionRequest) Reset
func (x *CreateWasmPluginVersionRequest) Reset()func (*CreateWasmPluginVersionRequest) String
func (x *CreateWasmPluginVersionRequest) String() stringDeleteAuthzExtensionRequest
type DeleteAuthzExtensionRequest struct {
// Required. The name of the `AuthzExtension` resource to delete. Must
// be in the format
// `projects/{project}/locations/{location}/authzExtensions/{authz_extension}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server guarantees
// that for 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server ignores the second request This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a AuthzExtension resource.
func (*DeleteAuthzExtensionRequest) Descriptor
func (*DeleteAuthzExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteAuthzExtensionRequest.ProtoReflect.Descriptor instead.
func (*DeleteAuthzExtensionRequest) GetName
func (x *DeleteAuthzExtensionRequest) GetName() stringfunc (*DeleteAuthzExtensionRequest) GetRequestId
func (x *DeleteAuthzExtensionRequest) GetRequestId() stringfunc (*DeleteAuthzExtensionRequest) ProtoMessage
func (*DeleteAuthzExtensionRequest) ProtoMessage()func (*DeleteAuthzExtensionRequest) ProtoReflect
func (x *DeleteAuthzExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteAuthzExtensionRequest) Reset
func (x *DeleteAuthzExtensionRequest) Reset()func (*DeleteAuthzExtensionRequest) String
func (x *DeleteAuthzExtensionRequest) String() stringDeleteEndpointPolicyRequest
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
func (*DeleteEndpointPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteEndpointPolicyRequest.ProtoReflect.Descriptor instead.
func (*DeleteEndpointPolicyRequest) GetName
func (x *DeleteEndpointPolicyRequest) GetName() stringfunc (*DeleteEndpointPolicyRequest) ProtoMessage
func (*DeleteEndpointPolicyRequest) ProtoMessage()func (*DeleteEndpointPolicyRequest) ProtoReflect
func (x *DeleteEndpointPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteEndpointPolicyRequest) Reset
func (x *DeleteEndpointPolicyRequest) Reset()func (*DeleteEndpointPolicyRequest) String
func (x *DeleteEndpointPolicyRequest) String() stringDeleteGatewayRequest
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
func (*DeleteGatewayRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteGatewayRequest.ProtoReflect.Descriptor instead.
func (*DeleteGatewayRequest) GetName
func (x *DeleteGatewayRequest) GetName() stringfunc (*DeleteGatewayRequest) ProtoMessage
func (*DeleteGatewayRequest) ProtoMessage()func (*DeleteGatewayRequest) ProtoReflect
func (x *DeleteGatewayRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteGatewayRequest) Reset
func (x *DeleteGatewayRequest) Reset()func (*DeleteGatewayRequest) String
func (x *DeleteGatewayRequest) String() stringDeleteGrpcRouteRequest
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
func (*DeleteGrpcRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteGrpcRouteRequest.ProtoReflect.Descriptor instead.
func (*DeleteGrpcRouteRequest) GetName
func (x *DeleteGrpcRouteRequest) GetName() stringfunc (*DeleteGrpcRouteRequest) ProtoMessage
func (*DeleteGrpcRouteRequest) ProtoMessage()func (*DeleteGrpcRouteRequest) ProtoReflect
func (x *DeleteGrpcRouteRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteGrpcRouteRequest) Reset
func (x *DeleteGrpcRouteRequest) Reset()func (*DeleteGrpcRouteRequest) String
func (x *DeleteGrpcRouteRequest) String() stringDeleteHttpRouteRequest
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
func (*DeleteHttpRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteHttpRouteRequest.ProtoReflect.Descriptor instead.
func (*DeleteHttpRouteRequest) GetName
func (x *DeleteHttpRouteRequest) GetName() stringfunc (*DeleteHttpRouteRequest) ProtoMessage
func (*DeleteHttpRouteRequest) ProtoMessage()func (*DeleteHttpRouteRequest) ProtoReflect
func (x *DeleteHttpRouteRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteHttpRouteRequest) Reset
func (x *DeleteHttpRouteRequest) Reset()func (*DeleteHttpRouteRequest) String
func (x *DeleteHttpRouteRequest) String() stringDeleteLbEdgeExtensionRequest
type DeleteLbEdgeExtensionRequest struct {
// Required. The name of the `LbEdgeExtension` resource to delete. Must be in
// the format
// `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server guarantees
// that for 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server ignores the second request This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a LbEdgeExtension resource.
func (*DeleteLbEdgeExtensionRequest) Descriptor
func (*DeleteLbEdgeExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteLbEdgeExtensionRequest.ProtoReflect.Descriptor instead.
func (*DeleteLbEdgeExtensionRequest) GetName
func (x *DeleteLbEdgeExtensionRequest) GetName() stringfunc (*DeleteLbEdgeExtensionRequest) GetRequestId
func (x *DeleteLbEdgeExtensionRequest) GetRequestId() stringfunc (*DeleteLbEdgeExtensionRequest) ProtoMessage
func (*DeleteLbEdgeExtensionRequest) ProtoMessage()func (*DeleteLbEdgeExtensionRequest) ProtoReflect
func (x *DeleteLbEdgeExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteLbEdgeExtensionRequest) Reset
func (x *DeleteLbEdgeExtensionRequest) Reset()func (*DeleteLbEdgeExtensionRequest) String
func (x *DeleteLbEdgeExtensionRequest) String() stringDeleteLbRouteExtensionRequest
type DeleteLbRouteExtensionRequest struct {
// Required. The name of the `LbRouteExtension` resource to delete. Must be in
// the format
// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server guarantees
// that for 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server ignores the second request This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a LbRouteExtension resource.
func (*DeleteLbRouteExtensionRequest) Descriptor
func (*DeleteLbRouteExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteLbRouteExtensionRequest.ProtoReflect.Descriptor instead.
func (*DeleteLbRouteExtensionRequest) GetName
func (x *DeleteLbRouteExtensionRequest) GetName() stringfunc (*DeleteLbRouteExtensionRequest) GetRequestId
func (x *DeleteLbRouteExtensionRequest) GetRequestId() stringfunc (*DeleteLbRouteExtensionRequest) ProtoMessage
func (*DeleteLbRouteExtensionRequest) ProtoMessage()func (*DeleteLbRouteExtensionRequest) ProtoReflect
func (x *DeleteLbRouteExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteLbRouteExtensionRequest) Reset
func (x *DeleteLbRouteExtensionRequest) Reset()func (*DeleteLbRouteExtensionRequest) String
func (x *DeleteLbRouteExtensionRequest) String() stringDeleteLbTrafficExtensionRequest
type DeleteLbTrafficExtensionRequest struct {
// Required. The name of the `LbTrafficExtension` resource to delete. Must be
// in the format
// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server guarantees
// that for 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server ignores the second request This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a LbTrafficExtension resource.
func (*DeleteLbTrafficExtensionRequest) Descriptor
func (*DeleteLbTrafficExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteLbTrafficExtensionRequest.ProtoReflect.Descriptor instead.
func (*DeleteLbTrafficExtensionRequest) GetName
func (x *DeleteLbTrafficExtensionRequest) GetName() stringfunc (*DeleteLbTrafficExtensionRequest) GetRequestId
func (x *DeleteLbTrafficExtensionRequest) GetRequestId() stringfunc (*DeleteLbTrafficExtensionRequest) ProtoMessage
func (*DeleteLbTrafficExtensionRequest) ProtoMessage()func (*DeleteLbTrafficExtensionRequest) ProtoReflect
func (x *DeleteLbTrafficExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteLbTrafficExtensionRequest) Reset
func (x *DeleteLbTrafficExtensionRequest) Reset()func (*DeleteLbTrafficExtensionRequest) String
func (x *DeleteLbTrafficExtensionRequest) String() stringDeleteMeshRequest
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
func (*DeleteMeshRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteMeshRequest.ProtoReflect.Descriptor instead.
func (*DeleteMeshRequest) GetName
func (x *DeleteMeshRequest) GetName() stringfunc (*DeleteMeshRequest) ProtoMessage
func (*DeleteMeshRequest) ProtoMessage()func (*DeleteMeshRequest) ProtoReflect
func (x *DeleteMeshRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteMeshRequest) Reset
func (x *DeleteMeshRequest) Reset()func (*DeleteMeshRequest) String
func (x *DeleteMeshRequest) String() stringDeleteServiceBindingRequest
type DeleteServiceBindingRequest struct {
// Required. A name of the ServiceBinding to delete. Must be in the format
// `projects/*/locations/*/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
func (*DeleteServiceBindingRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteServiceBindingRequest.ProtoReflect.Descriptor instead.
func (*DeleteServiceBindingRequest) GetName
func (x *DeleteServiceBindingRequest) GetName() stringfunc (*DeleteServiceBindingRequest) ProtoMessage
func (*DeleteServiceBindingRequest) ProtoMessage()func (*DeleteServiceBindingRequest) ProtoReflect
func (x *DeleteServiceBindingRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteServiceBindingRequest) Reset
func (x *DeleteServiceBindingRequest) Reset()func (*DeleteServiceBindingRequest) String
func (x *DeleteServiceBindingRequest) String() stringDeleteServiceLbPolicyRequest
type DeleteServiceLbPolicyRequest struct {
// Required. A name of the ServiceLbPolicy to delete. Must be in the format
// `projects/{project}/locations/{location}/serviceLbPolicies/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request used by the DeleteServiceLbPolicy method.
func (*DeleteServiceLbPolicyRequest) Descriptor
func (*DeleteServiceLbPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteServiceLbPolicyRequest.ProtoReflect.Descriptor instead.
func (*DeleteServiceLbPolicyRequest) GetName
func (x *DeleteServiceLbPolicyRequest) GetName() stringfunc (*DeleteServiceLbPolicyRequest) ProtoMessage
func (*DeleteServiceLbPolicyRequest) ProtoMessage()func (*DeleteServiceLbPolicyRequest) ProtoReflect
func (x *DeleteServiceLbPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteServiceLbPolicyRequest) Reset
func (x *DeleteServiceLbPolicyRequest) Reset()func (*DeleteServiceLbPolicyRequest) String
func (x *DeleteServiceLbPolicyRequest) String() stringDeleteTcpRouteRequest
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
func (*DeleteTcpRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteTcpRouteRequest.ProtoReflect.Descriptor instead.
func (*DeleteTcpRouteRequest) GetName
func (x *DeleteTcpRouteRequest) GetName() stringfunc (*DeleteTcpRouteRequest) ProtoMessage
func (*DeleteTcpRouteRequest) ProtoMessage()func (*DeleteTcpRouteRequest) ProtoReflect
func (x *DeleteTcpRouteRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteTcpRouteRequest) Reset
func (x *DeleteTcpRouteRequest) Reset()func (*DeleteTcpRouteRequest) String
func (x *DeleteTcpRouteRequest) String() stringDeleteTlsRouteRequest
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
func (*DeleteTlsRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteTlsRouteRequest.ProtoReflect.Descriptor instead.
func (*DeleteTlsRouteRequest) GetName
func (x *DeleteTlsRouteRequest) GetName() stringfunc (*DeleteTlsRouteRequest) ProtoMessage
func (*DeleteTlsRouteRequest) ProtoMessage()func (*DeleteTlsRouteRequest) ProtoReflect
func (x *DeleteTlsRouteRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteTlsRouteRequest) Reset
func (x *DeleteTlsRouteRequest) Reset()func (*DeleteTlsRouteRequest) String
func (x *DeleteTlsRouteRequest) String() stringDeleteWasmPluginRequest
type DeleteWasmPluginRequest struct {
// Required. A name of the `WasmPlugin` resource to delete. Must be in the
// format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request used by the DeleteWasmPlugin method.
func (*DeleteWasmPluginRequest) Descriptor
func (*DeleteWasmPluginRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteWasmPluginRequest.ProtoReflect.Descriptor instead.
func (*DeleteWasmPluginRequest) GetName
func (x *DeleteWasmPluginRequest) GetName() stringfunc (*DeleteWasmPluginRequest) ProtoMessage
func (*DeleteWasmPluginRequest) ProtoMessage()func (*DeleteWasmPluginRequest) ProtoReflect
func (x *DeleteWasmPluginRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteWasmPluginRequest) Reset
func (x *DeleteWasmPluginRequest) Reset()func (*DeleteWasmPluginRequest) String
func (x *DeleteWasmPluginRequest) String() stringDeleteWasmPluginVersionRequest
type DeleteWasmPluginVersionRequest struct {
// Required. A name of the `WasmPluginVersion` resource to delete. Must be in
// the format
// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request used by the DeleteWasmPluginVersion method.
func (*DeleteWasmPluginVersionRequest) Descriptor
func (*DeleteWasmPluginVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteWasmPluginVersionRequest.ProtoReflect.Descriptor instead.
func (*DeleteWasmPluginVersionRequest) GetName
func (x *DeleteWasmPluginVersionRequest) GetName() stringfunc (*DeleteWasmPluginVersionRequest) ProtoMessage
func (*DeleteWasmPluginVersionRequest) ProtoMessage()func (*DeleteWasmPluginVersionRequest) ProtoReflect
func (x *DeleteWasmPluginVersionRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteWasmPluginVersionRequest) Reset
func (x *DeleteWasmPluginVersionRequest) Reset()func (*DeleteWasmPluginVersionRequest) String
func (x *DeleteWasmPluginVersionRequest) String() stringDepServiceClient
type DepServiceClient interface {
// Lists `LbTrafficExtension` resources in a given project and location.
ListLbTrafficExtensions(ctx context.Context, in *ListLbTrafficExtensionsRequest, opts ...grpc.CallOption) (*ListLbTrafficExtensionsResponse, error)
// Gets details of the specified `LbTrafficExtension` resource.
GetLbTrafficExtension(ctx context.Context, in *GetLbTrafficExtensionRequest, opts ...grpc.CallOption) (*LbTrafficExtension, error)
// Creates a new `LbTrafficExtension` resource in a given project and
// location.
CreateLbTrafficExtension(ctx context.Context, in *CreateLbTrafficExtensionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of the specified `LbTrafficExtension` resource.
UpdateLbTrafficExtension(ctx context.Context, in *UpdateLbTrafficExtensionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified `LbTrafficExtension` resource.
DeleteLbTrafficExtension(ctx context.Context, in *DeleteLbTrafficExtensionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists `LbRouteExtension` resources in a given project and location.
ListLbRouteExtensions(ctx context.Context, in *ListLbRouteExtensionsRequest, opts ...grpc.CallOption) (*ListLbRouteExtensionsResponse, error)
// Gets details of the specified `LbRouteExtension` resource.
GetLbRouteExtension(ctx context.Context, in *GetLbRouteExtensionRequest, opts ...grpc.CallOption) (*LbRouteExtension, error)
// Creates a new `LbRouteExtension` resource in a given project and location.
CreateLbRouteExtension(ctx context.Context, in *CreateLbRouteExtensionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of the specified `LbRouteExtension` resource.
UpdateLbRouteExtension(ctx context.Context, in *UpdateLbRouteExtensionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified `LbRouteExtension` resource.
DeleteLbRouteExtension(ctx context.Context, in *DeleteLbRouteExtensionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists `LbEdgeExtension` resources in a given project and location.
ListLbEdgeExtensions(ctx context.Context, in *ListLbEdgeExtensionsRequest, opts ...grpc.CallOption) (*ListLbEdgeExtensionsResponse, error)
// Gets details of the specified `LbEdgeExtension` resource.
GetLbEdgeExtension(ctx context.Context, in *GetLbEdgeExtensionRequest, opts ...grpc.CallOption) (*LbEdgeExtension, error)
// Creates a new `LbEdgeExtension` resource in a given project and location.
CreateLbEdgeExtension(ctx context.Context, in *CreateLbEdgeExtensionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of the specified `LbEdgeExtension` resource.
UpdateLbEdgeExtension(ctx context.Context, in *UpdateLbEdgeExtensionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified `LbEdgeExtension` resource.
DeleteLbEdgeExtension(ctx context.Context, in *DeleteLbEdgeExtensionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists `AuthzExtension` resources in a given project and location.
ListAuthzExtensions(ctx context.Context, in *ListAuthzExtensionsRequest, opts ...grpc.CallOption) (*ListAuthzExtensionsResponse, error)
// Gets details of the specified `AuthzExtension` resource.
GetAuthzExtension(ctx context.Context, in *GetAuthzExtensionRequest, opts ...grpc.CallOption) (*AuthzExtension, error)
// Creates a new `AuthzExtension` resource in a given project
// and location.
CreateAuthzExtension(ctx context.Context, in *CreateAuthzExtensionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of the specified `AuthzExtension`
// resource.
UpdateAuthzExtension(ctx context.Context, in *UpdateAuthzExtensionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified `AuthzExtension` resource.
DeleteAuthzExtension(ctx context.Context, in *DeleteAuthzExtensionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}DepServiceClient is the client API for DepService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDepServiceClient
func NewDepServiceClient(cc grpc.ClientConnInterface) DepServiceClientDepServiceServer
type DepServiceServer interface {
// Lists `LbTrafficExtension` resources in a given project and location.
ListLbTrafficExtensions(context.Context, *ListLbTrafficExtensionsRequest) (*ListLbTrafficExtensionsResponse, error)
// Gets details of the specified `LbTrafficExtension` resource.
GetLbTrafficExtension(context.Context, *GetLbTrafficExtensionRequest) (*LbTrafficExtension, error)
// Creates a new `LbTrafficExtension` resource in a given project and
// location.
CreateLbTrafficExtension(context.Context, *CreateLbTrafficExtensionRequest) (*longrunningpb.Operation, error)
// Updates the parameters of the specified `LbTrafficExtension` resource.
UpdateLbTrafficExtension(context.Context, *UpdateLbTrafficExtensionRequest) (*longrunningpb.Operation, error)
// Deletes the specified `LbTrafficExtension` resource.
DeleteLbTrafficExtension(context.Context, *DeleteLbTrafficExtensionRequest) (*longrunningpb.Operation, error)
// Lists `LbRouteExtension` resources in a given project and location.
ListLbRouteExtensions(context.Context, *ListLbRouteExtensionsRequest) (*ListLbRouteExtensionsResponse, error)
// Gets details of the specified `LbRouteExtension` resource.
GetLbRouteExtension(context.Context, *GetLbRouteExtensionRequest) (*LbRouteExtension, error)
// Creates a new `LbRouteExtension` resource in a given project and location.
CreateLbRouteExtension(context.Context, *CreateLbRouteExtensionRequest) (*longrunningpb.Operation, error)
// Updates the parameters of the specified `LbRouteExtension` resource.
UpdateLbRouteExtension(context.Context, *UpdateLbRouteExtensionRequest) (*longrunningpb.Operation, error)
// Deletes the specified `LbRouteExtension` resource.
DeleteLbRouteExtension(context.Context, *DeleteLbRouteExtensionRequest) (*longrunningpb.Operation, error)
// Lists `LbEdgeExtension` resources in a given project and location.
ListLbEdgeExtensions(context.Context, *ListLbEdgeExtensionsRequest) (*ListLbEdgeExtensionsResponse, error)
// Gets details of the specified `LbEdgeExtension` resource.
GetLbEdgeExtension(context.Context, *GetLbEdgeExtensionRequest) (*LbEdgeExtension, error)
// Creates a new `LbEdgeExtension` resource in a given project and location.
CreateLbEdgeExtension(context.Context, *CreateLbEdgeExtensionRequest) (*longrunningpb.Operation, error)
// Updates the parameters of the specified `LbEdgeExtension` resource.
UpdateLbEdgeExtension(context.Context, *UpdateLbEdgeExtensionRequest) (*longrunningpb.Operation, error)
// Deletes the specified `LbEdgeExtension` resource.
DeleteLbEdgeExtension(context.Context, *DeleteLbEdgeExtensionRequest) (*longrunningpb.Operation, error)
// Lists `AuthzExtension` resources in a given project and location.
ListAuthzExtensions(context.Context, *ListAuthzExtensionsRequest) (*ListAuthzExtensionsResponse, error)
// Gets details of the specified `AuthzExtension` resource.
GetAuthzExtension(context.Context, *GetAuthzExtensionRequest) (*AuthzExtension, error)
// Creates a new `AuthzExtension` resource in a given project
// and location.
CreateAuthzExtension(context.Context, *CreateAuthzExtensionRequest) (*longrunningpb.Operation, error)
// Updates the parameters of the specified `AuthzExtension`
// resource.
UpdateAuthzExtension(context.Context, *UpdateAuthzExtensionRequest) (*longrunningpb.Operation, error)
// Deletes the specified `AuthzExtension` resource.
DeleteAuthzExtension(context.Context, *DeleteAuthzExtensionRequest) (*longrunningpb.Operation, error)
}DepServiceServer is the server API for DepService service. All implementations should embed UnimplementedDepServiceServer for forward compatibility
EndpointMatcher
type EndpointMatcher struct {
// Specifies type of the matcher used for this endpoint matcher.
//
// Types that are valid to be assigned 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
func (*EndpointMatcher) Descriptor() ([]byte, []int)Deprecated: Use EndpointMatcher.ProtoReflect.Descriptor instead.
func (*EndpointMatcher) GetMatcherType
func (x *EndpointMatcher) GetMatcherType() isEndpointMatcher_MatcherTypefunc (*EndpointMatcher) GetMetadataLabelMatcher
func (x *EndpointMatcher) GetMetadataLabelMatcher() *EndpointMatcher_MetadataLabelMatcherfunc (*EndpointMatcher) ProtoMessage
func (*EndpointMatcher) ProtoMessage()func (*EndpointMatcher) ProtoReflect
func (x *EndpointMatcher) ProtoReflect() protoreflect.Messagefunc (*EndpointMatcher) Reset
func (x *EndpointMatcher) Reset()func (*EndpointMatcher) String
func (x *EndpointMatcher) String() stringEndpointMatcher_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 The matcher that is based on node metadata presented by xDS clients.
func (*EndpointMatcher_MetadataLabelMatcher) Descriptor
func (*EndpointMatcher_MetadataLabelMatcher) Descriptor() ([]byte, []int)Deprecated: Use EndpointMatcher_MetadataLabelMatcher.ProtoReflect.Descriptor instead.
func (*EndpointMatcher_MetadataLabelMatcher) GetMetadataLabelMatchCriteria
func (x *EndpointMatcher_MetadataLabelMatcher) GetMetadataLabelMatchCriteria() EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteriafunc (*EndpointMatcher_MetadataLabelMatcher) GetMetadataLabels
func (x *EndpointMatcher_MetadataLabelMatcher) GetMetadataLabels() []*EndpointMatcher_MetadataLabelMatcher_MetadataLabelsfunc (*EndpointMatcher_MetadataLabelMatcher) ProtoMessage
func (*EndpointMatcher_MetadataLabelMatcher) ProtoMessage()func (*EndpointMatcher_MetadataLabelMatcher) ProtoReflect
func (x *EndpointMatcher_MetadataLabelMatcher) ProtoReflect() protoreflect.Messagefunc (*EndpointMatcher_MetadataLabelMatcher) Reset
func (x *EndpointMatcher_MetadataLabelMatcher) Reset()func (*EndpointMatcher_MetadataLabelMatcher) String
func (x *EndpointMatcher_MetadataLabelMatcher) String() stringEndpointMatcher_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"`
}EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria
type EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria int32Possible criteria values that define logic of how matching is made.
EndpointMatcher_MetadataLabelMatcher_METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED, EndpointMatcher_MetadataLabelMatcher_MATCH_ANY, EndpointMatcher_MetadataLabelMatcher_MATCH_ALL
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) Descriptor() protoreflect.EnumDescriptorfunc (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Enum
func (x EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Enum() *EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteriafunc (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) EnumDescriptor
func (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) EnumDescriptor() ([]byte, []int)Deprecated: Use EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria.Descriptor instead.
func (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Number
func (x EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) Number() protoreflect.EnumNumberfunc (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) String
func (x EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) String() stringfunc (EndpointMatcher_MetadataLabelMatcher_MetadataLabelMatchCriteria) 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
func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) Descriptor() ([]byte, []int)Deprecated: Use EndpointMatcher_MetadataLabelMatcher_MetadataLabels.ProtoReflect.Descriptor instead.
func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) GetLabelName
func (x *EndpointMatcher_MetadataLabelMatcher_MetadataLabels) GetLabelName() stringfunc (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) GetLabelValue
func (x *EndpointMatcher_MetadataLabelMatcher_MetadataLabels) GetLabelValue() stringfunc (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) ProtoMessage
func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) ProtoMessage()func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) ProtoReflect
func (x *EndpointMatcher_MetadataLabelMatcher_MetadataLabels) ProtoReflect() protoreflect.Messagefunc (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) Reset
func (x *EndpointMatcher_MetadataLabelMatcher_MetadataLabels) Reset()func (*EndpointMatcher_MetadataLabelMatcher_MetadataLabels) String
func (x *EndpointMatcher_MetadataLabelMatcher_MetadataLabels) String() stringEndpointPolicy
type EndpointPolicy struct {
// Identifier. 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 `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Required. The type of endpoint policy. This is primarily used to validate
// the configuration.
Type EndpointPolicy_EndpointPolicyType `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.networkservices.v1.EndpointPolicy_EndpointPolicyType" json:"type,omitempty"`
// 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
func (*EndpointPolicy) Descriptor() ([]byte, []int)Deprecated: Use EndpointPolicy.ProtoReflect.Descriptor instead.
func (*EndpointPolicy) GetAuthorizationPolicy
func (x *EndpointPolicy) GetAuthorizationPolicy() stringfunc (*EndpointPolicy) GetClientTlsPolicy
func (x *EndpointPolicy) GetClientTlsPolicy() stringfunc (*EndpointPolicy) GetCreateTime
func (x *EndpointPolicy) GetCreateTime() *timestamppb.Timestampfunc (*EndpointPolicy) GetDescription
func (x *EndpointPolicy) GetDescription() stringfunc (*EndpointPolicy) GetEndpointMatcher
func (x *EndpointPolicy) GetEndpointMatcher() *EndpointMatcherfunc (*EndpointPolicy) GetLabels
func (x *EndpointPolicy) GetLabels() map[string]stringfunc (*EndpointPolicy) GetName
func (x *EndpointPolicy) GetName() stringfunc (*EndpointPolicy) GetServerTlsPolicy
func (x *EndpointPolicy) GetServerTlsPolicy() stringfunc (*EndpointPolicy) GetTrafficPortSelector
func (x *EndpointPolicy) GetTrafficPortSelector() *TrafficPortSelectorfunc (*EndpointPolicy) GetType
func (x *EndpointPolicy) GetType() EndpointPolicy_EndpointPolicyTypefunc (*EndpointPolicy) GetUpdateTime
func (x *EndpointPolicy) GetUpdateTime() *timestamppb.Timestampfunc (*EndpointPolicy) ProtoMessage
func (*EndpointPolicy) ProtoMessage()func (*EndpointPolicy) ProtoReflect
func (x *EndpointPolicy) ProtoReflect() protoreflect.Messagefunc (*EndpointPolicy) Reset
func (x *EndpointPolicy) Reset()func (*EndpointPolicy) String
func (x *EndpointPolicy) String() stringEndpointPolicy_EndpointPolicyType
type EndpointPolicy_EndpointPolicyType int32The type of endpoint policy.
EndpointPolicy_ENDPOINT_POLICY_TYPE_UNSPECIFIED, EndpointPolicy_SIDECAR_PROXY, EndpointPolicy_GRPC_SERVER
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) Descriptor() protoreflect.EnumDescriptorfunc (EndpointPolicy_EndpointPolicyType) Enum
func (x EndpointPolicy_EndpointPolicyType) Enum() *EndpointPolicy_EndpointPolicyTypefunc (EndpointPolicy_EndpointPolicyType) EnumDescriptor
func (EndpointPolicy_EndpointPolicyType) EnumDescriptor() ([]byte, []int)Deprecated: Use EndpointPolicy_EndpointPolicyType.Descriptor instead.
func (EndpointPolicy_EndpointPolicyType) Number
func (x EndpointPolicy_EndpointPolicyType) Number() protoreflect.EnumNumberfunc (EndpointPolicy_EndpointPolicyType) String
func (x EndpointPolicy_EndpointPolicyType) String() stringfunc (EndpointPolicy_EndpointPolicyType) Type
func (EndpointPolicy_EndpointPolicyType) Type() protoreflect.EnumTypeEnvoyHeaders
type EnvoyHeaders int32EnvoyHeader configuration for Mesh and Gateway
EnvoyHeaders_ENVOY_HEADERS_UNSPECIFIED, EnvoyHeaders_NONE, EnvoyHeaders_DEBUG_HEADERS
const (
// Defaults to NONE.
EnvoyHeaders_ENVOY_HEADERS_UNSPECIFIED EnvoyHeaders = 0
// Suppress envoy debug headers.
EnvoyHeaders_NONE EnvoyHeaders = 1
// Envoy will insert default internal debug headers into upstream requests:
// x-envoy-attempt-count
// x-envoy-is-timeout-retry
// x-envoy-expected-rq-timeout-ms
// x-envoy-original-path
// x-envoy-upstream-stream-duration-ms
EnvoyHeaders_DEBUG_HEADERS EnvoyHeaders = 2
)func (EnvoyHeaders) Descriptor
func (EnvoyHeaders) Descriptor() protoreflect.EnumDescriptorfunc (EnvoyHeaders) Enum
func (x EnvoyHeaders) Enum() *EnvoyHeadersfunc (EnvoyHeaders) EnumDescriptor
func (EnvoyHeaders) EnumDescriptor() ([]byte, []int)Deprecated: Use EnvoyHeaders.Descriptor instead.
func (EnvoyHeaders) Number
func (x EnvoyHeaders) Number() protoreflect.EnumNumberfunc (EnvoyHeaders) String
func (x EnvoyHeaders) String() stringfunc (EnvoyHeaders) Type
func (EnvoyHeaders) Type() protoreflect.EnumTypeEventType
type EventType int32The part of the request or response for which the extension is called.
EventType_EVENT_TYPE_UNSPECIFIED, EventType_REQUEST_HEADERS, EventType_REQUEST_BODY, EventType_RESPONSE_HEADERS, EventType_RESPONSE_BODY, EventType_REQUEST_TRAILERS, EventType_RESPONSE_TRAILERS
const (
// Unspecified value. Do not use.
EventType_EVENT_TYPE_UNSPECIFIED EventType = 0
// If included in `supported_events`,
// the extension is called when the HTTP request headers arrive.
EventType_REQUEST_HEADERS EventType = 1
// If included in `supported_events`,
// the extension is called when the HTTP request body arrives.
EventType_REQUEST_BODY EventType = 2
// If included in `supported_events`,
// the extension is called when the HTTP response headers arrive.
EventType_RESPONSE_HEADERS EventType = 3
// If included in `supported_events`,
// the extension is called when the HTTP response body arrives.
EventType_RESPONSE_BODY EventType = 4
// If included in `supported_events`,
// the extension is called when the HTTP request trailers arrives.
EventType_REQUEST_TRAILERS EventType = 5
// If included in `supported_events`,
// the extension is called when the HTTP response trailers arrives.
EventType_RESPONSE_TRAILERS EventType = 6
)func (EventType) Descriptor
func (EventType) Descriptor() protoreflect.EnumDescriptorfunc (EventType) Enum
func (EventType) EnumDescriptor
Deprecated: Use EventType.Descriptor instead.
func (EventType) Number
func (x EventType) Number() protoreflect.EnumNumberfunc (EventType) String
func (EventType) Type
func (EventType) Type() protoreflect.EnumTypeExtensionChain
type ExtensionChain struct {
// Required. The name for this extension chain.
// The name is logged as part of the HTTP request logs.
// The name must conform with RFC-1034, is restricted to lower-cased letters,
// numbers and hyphens, and can have a maximum length of 63 characters.
// Additionally, the first character must be a letter and the last a letter or
// a number.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Conditions under which this chain is invoked for a request.
MatchCondition *ExtensionChain_MatchCondition `protobuf:"bytes,2,opt,name=match_condition,json=matchCondition,proto3" json:"match_condition,omitempty"`
// Required. A set of extensions to execute for the matching request.
// At least one extension is required.
// Up to 3 extensions can be defined for each extension chain
// for `LbTrafficExtension` resource.
// `LbRouteExtension` and `LbEdgeExtension` chains are limited to 1 extension
// per extension chain.
Extensions []*ExtensionChain_Extension `protobuf:"bytes,3,rep,name=extensions,proto3" json:"extensions,omitempty"`
// contains filtered or unexported fields
}A single extension chain wrapper that contains the match conditions and extensions to execute.
func (*ExtensionChain) Descriptor
func (*ExtensionChain) Descriptor() ([]byte, []int)Deprecated: Use ExtensionChain.ProtoReflect.Descriptor instead.
func (*ExtensionChain) GetExtensions
func (x *ExtensionChain) GetExtensions() []*ExtensionChain_Extensionfunc (*ExtensionChain) GetMatchCondition
func (x *ExtensionChain) GetMatchCondition() *ExtensionChain_MatchConditionfunc (*ExtensionChain) GetName
func (x *ExtensionChain) GetName() stringfunc (*ExtensionChain) ProtoMessage
func (*ExtensionChain) ProtoMessage()func (*ExtensionChain) ProtoReflect
func (x *ExtensionChain) ProtoReflect() protoreflect.Messagefunc (*ExtensionChain) Reset
func (x *ExtensionChain) Reset()func (*ExtensionChain) String
func (x *ExtensionChain) String() stringExtensionChain_Extension
type ExtensionChain_Extension struct {
// Required. The name for this extension.
// The name is logged as part of the HTTP request logs.
// The name must conform with RFC-1034, is restricted to lower-cased
// letters, numbers and hyphens, and can have a maximum length of 63
// characters. Additionally, the first character must be a letter and the
// last a letter or a number.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The `:authority` header in the gRPC request sent from Envoy
// to the extension service.
// Required for Callout extensions.
//
// This field is not supported for plugin extensions. Setting it results in
// a validation error.
Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
// Required. The reference to the service that runs the extension.
//
// To configure a callout extension, `service` must be a fully-qualified
// reference
// to a [backend
// service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices)
// in the format:
// `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}`
// or
// `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`.
//
// To configure a plugin extension, `service` must be a reference
// to a [`WasmPlugin`
// resource](https://cloud.google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins)
// in the format:
// `projects/{project}/locations/{location}/wasmPlugins/{plugin}`
// or
// `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`.
//
// Plugin extensions are currently supported for the
// `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension`
// resources.
Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
// Optional. A set of events during request or response processing for which
// this extension is called.
//
// For the `LbTrafficExtension` resource, this field is required.
//
// For the `LbRouteExtension` resource, this field is optional. If
// unspecified, `REQUEST_HEADERS` event is assumed as supported.
//
// For the `LbEdgeExtension` resource, this field is required and must only
// contain `REQUEST_HEADERS` event.
SupportedEvents []EventType `protobuf:"varint,4,rep,packed,name=supported_events,json=supportedEvents,proto3,enum=google.cloud.networkservices.v1.EventType" json:"supported_events,omitempty"`
// Optional. Specifies the timeout for each individual message on the
// stream. The timeout must be between `10`-`10000` milliseconds. Required
// for callout extensions.
//
// This field is not supported for plugin extensions. Setting it results in
// a validation error.
Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
// Optional. Determines how the proxy behaves if the call to the extension
// fails or times out.
//
// When set to `TRUE`, request or response processing continues without
// error. Any subsequent extensions in the extension chain are also
// executed. When set to `FALSE` or the default setting of `FALSE` is used,
// one of the following happens:
//
// * If response headers have not been delivered to the downstream client,
// a generic 500 error is returned to the client. The error response can be
// tailored by configuring a custom error response in the load balancer.
//
// * If response headers have been delivered, then the HTTP stream to the
// downstream client is reset.
FailOpen bool `protobuf:"varint,6,opt,name=fail_open,json=failOpen,proto3" json:"fail_open,omitempty"`
// Optional. List of the HTTP headers to forward to the extension
// (from the client or backend). If omitted, all headers are sent.
// Each element is a string indicating the header name.
ForwardHeaders []string `protobuf:"bytes,7,rep,name=forward_headers,json=forwardHeaders,proto3" json:"forward_headers,omitempty"`
// Optional. The metadata provided here is included as part of the
// `metadata_context` (of type `google.protobuf.Struct`) in the
// `ProcessingRequest` message sent to the extension server.
//
// The metadata is available under the namespace
// `com.google.A single extension in the chain to execute for the matching request.
func (*ExtensionChain_Extension) Descriptor
func (*ExtensionChain_Extension) Descriptor() ([]byte, []int)Deprecated: Use ExtensionChain_Extension.ProtoReflect.Descriptor instead.
func (*ExtensionChain_Extension) GetAuthority
func (x *ExtensionChain_Extension) GetAuthority() stringfunc (*ExtensionChain_Extension) GetFailOpen
func (x *ExtensionChain_Extension) GetFailOpen() boolfunc (*ExtensionChain_Extension) GetForwardHeaders
func (x *ExtensionChain_Extension) GetForwardHeaders() []stringfunc (*ExtensionChain_Extension) GetMetadata
func (x *ExtensionChain_Extension) GetMetadata() *structpb.Structfunc (*ExtensionChain_Extension) GetName
func (x *ExtensionChain_Extension) GetName() stringfunc (*ExtensionChain_Extension) GetService
func (x *ExtensionChain_Extension) GetService() stringfunc (*ExtensionChain_Extension) GetSupportedEvents
func (x *ExtensionChain_Extension) GetSupportedEvents() []EventTypefunc (*ExtensionChain_Extension) GetTimeout
func (x *ExtensionChain_Extension) GetTimeout() *durationpb.Durationfunc (*ExtensionChain_Extension) ProtoMessage
func (*ExtensionChain_Extension) ProtoMessage()func (*ExtensionChain_Extension) ProtoReflect
func (x *ExtensionChain_Extension) ProtoReflect() protoreflect.Messagefunc (*ExtensionChain_Extension) Reset
func (x *ExtensionChain_Extension) Reset()func (*ExtensionChain_Extension) String
func (x *ExtensionChain_Extension) String() stringExtensionChain_MatchCondition
type ExtensionChain_MatchCondition struct {
// Required. A Common Expression Language (CEL) expression that is used to
// match requests for which the extension chain is executed.
//
// For more information, see [CEL matcher language
// reference](https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference).
CelExpression string `protobuf:"bytes,1,opt,name=cel_expression,json=celExpression,proto3" json:"cel_expression,omitempty"`
// contains filtered or unexported fields
}Conditions under which this chain is invoked for a request.
func (*ExtensionChain_MatchCondition) Descriptor
func (*ExtensionChain_MatchCondition) Descriptor() ([]byte, []int)Deprecated: Use ExtensionChain_MatchCondition.ProtoReflect.Descriptor instead.
func (*ExtensionChain_MatchCondition) GetCelExpression
func (x *ExtensionChain_MatchCondition) GetCelExpression() stringfunc (*ExtensionChain_MatchCondition) ProtoMessage
func (*ExtensionChain_MatchCondition) ProtoMessage()func (*ExtensionChain_MatchCondition) ProtoReflect
func (x *ExtensionChain_MatchCondition) ProtoReflect() protoreflect.Messagefunc (*ExtensionChain_MatchCondition) Reset
func (x *ExtensionChain_MatchCondition) Reset()func (*ExtensionChain_MatchCondition) String
func (x *ExtensionChain_MatchCondition) String() stringGateway
type Gateway struct {
// Identifier. Name of the Gateway resource. It matches pattern
// `projects/*/locations/*/gateways/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: Use Gateway.ProtoReflect.Descriptor instead.
func (*Gateway) GetAddresses
func (*Gateway) GetCertificateUrls
func (*Gateway) GetCreateTime
func (x *Gateway) GetCreateTime() *timestamppb.Timestampfunc (*Gateway) GetDescription
func (*Gateway) GetEnvoyHeaders
func (x *Gateway) GetEnvoyHeaders() EnvoyHeadersfunc (*Gateway) GetGatewaySecurityPolicy
func (*Gateway) GetIpVersion
func (x *Gateway) GetIpVersion() Gateway_IpVersionfunc (*Gateway) GetLabels
func (*Gateway) GetName
func (*Gateway) GetNetwork
func (*Gateway) GetPorts
func (*Gateway) GetRoutingMode
func (x *Gateway) GetRoutingMode() Gateway_RoutingModefunc (*Gateway) GetScope
func (*Gateway) GetSelfLink
func (*Gateway) GetServerTlsPolicy
func (*Gateway) GetSubnetwork
func (*Gateway) GetType
func (x *Gateway) GetType() Gateway_Typefunc (*Gateway) GetUpdateTime
func (x *Gateway) GetUpdateTime() *timestamppb.Timestampfunc (*Gateway) ProtoMessage
func (*Gateway) ProtoMessage()func (*Gateway) ProtoReflect
func (x *Gateway) ProtoReflect() protoreflect.Messagefunc (*Gateway) Reset
func (x *Gateway) Reset()func (*Gateway) String
GatewayRouteView
type GatewayRouteView struct {
// Output only. Identifier. Full path name of the GatewayRouteView resource.
// Format:
//
// projects/{project_number}/locations/{location}/gateways/{gateway}/routeViews/{route_view}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Project number where the route exists.
RouteProjectNumber int64 `protobuf:"varint,2,opt,name=route_project_number,json=routeProjectNumber,proto3" json:"route_project_number,omitempty"`
// Output only. Location where the route exists.
RouteLocation string `protobuf:"bytes,3,opt,name=route_location,json=routeLocation,proto3" json:"route_location,omitempty"`
// Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
RouteType string `protobuf:"bytes,4,opt,name=route_type,json=routeType,proto3" json:"route_type,omitempty"`
// Output only. The resource id for the route.
RouteId string `protobuf:"bytes,5,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"`
// contains filtered or unexported fields
}GatewayRouteView defines view-only resource for Routes to a Gateway
func (*GatewayRouteView) Descriptor
func (*GatewayRouteView) Descriptor() ([]byte, []int)Deprecated: Use GatewayRouteView.ProtoReflect.Descriptor instead.
func (*GatewayRouteView) GetName
func (x *GatewayRouteView) GetName() stringfunc (*GatewayRouteView) GetRouteId
func (x *GatewayRouteView) GetRouteId() stringfunc (*GatewayRouteView) GetRouteLocation
func (x *GatewayRouteView) GetRouteLocation() stringfunc (*GatewayRouteView) GetRouteProjectNumber
func (x *GatewayRouteView) GetRouteProjectNumber() int64func (*GatewayRouteView) GetRouteType
func (x *GatewayRouteView) GetRouteType() stringfunc (*GatewayRouteView) ProtoMessage
func (*GatewayRouteView) ProtoMessage()func (*GatewayRouteView) ProtoReflect
func (x *GatewayRouteView) ProtoReflect() protoreflect.Messagefunc (*GatewayRouteView) Reset
func (x *GatewayRouteView) Reset()func (*GatewayRouteView) String
func (x *GatewayRouteView) String() stringGateway_IpVersion
type Gateway_IpVersion int32The types of IP version for the gateway. Possible values are:
- IPV4
- IPV6
Gateway_IP_VERSION_UNSPECIFIED, Gateway_IPV4, Gateway_IPV6
const (
// The type when IP version is not specified. Defaults to IPV4.
Gateway_IP_VERSION_UNSPECIFIED Gateway_IpVersion = 0
// The type for IP version 4.
Gateway_IPV4 Gateway_IpVersion = 1
// The type for IP version 6.
Gateway_IPV6 Gateway_IpVersion = 2
)func (Gateway_IpVersion) Descriptor
func (Gateway_IpVersion) Descriptor() protoreflect.EnumDescriptorfunc (Gateway_IpVersion) Enum
func (x Gateway_IpVersion) Enum() *Gateway_IpVersionfunc (Gateway_IpVersion) EnumDescriptor
func (Gateway_IpVersion) EnumDescriptor() ([]byte, []int)Deprecated: Use Gateway_IpVersion.Descriptor instead.
func (Gateway_IpVersion) Number
func (x Gateway_IpVersion) Number() protoreflect.EnumNumberfunc (Gateway_IpVersion) String
func (x Gateway_IpVersion) String() stringfunc (Gateway_IpVersion) Type
func (Gateway_IpVersion) Type() protoreflect.EnumTypeGateway_RoutingMode
type Gateway_RoutingMode int32The routing mode of the Gateway, to determine how the Gateway routes traffic. Today, this field only applies to Gateways of type SECURE_WEB_GATEWAY. Possible values are:
- EXPLICIT_ROUTING_MODE
- NEXT_HOP_ROUTING_MODE
Gateway_EXPLICIT_ROUTING_MODE, Gateway_NEXT_HOP_ROUTING_MODE
const (
// The routing mode is explicit; clients are configured to send
// traffic through the gateway. This is the default routing mode.
Gateway_EXPLICIT_ROUTING_MODE Gateway_RoutingMode = 0
// The routing mode is next-hop. Clients are unaware of the gateway,
// and a route (advanced route or other route type)
// can be configured to direct traffic from client to gateway.
// The gateway then acts as a next-hop to the destination.
Gateway_NEXT_HOP_ROUTING_MODE Gateway_RoutingMode = 1
)func (Gateway_RoutingMode) Descriptor
func (Gateway_RoutingMode) Descriptor() protoreflect.EnumDescriptorfunc (Gateway_RoutingMode) Enum
func (x Gateway_RoutingMode) Enum() *Gateway_RoutingModefunc (Gateway_RoutingMode) EnumDescriptor
func (Gateway_RoutingMode) EnumDescriptor() ([]byte, []int)Deprecated: Use Gateway_RoutingMode.Descriptor instead.
func (Gateway_RoutingMode) Number
func (x Gateway_RoutingMode) Number() protoreflect.EnumNumberfunc (Gateway_RoutingMode) String
func (x Gateway_RoutingMode) String() stringfunc (Gateway_RoutingMode) Type
func (Gateway_RoutingMode) Type() protoreflect.EnumTypeGateway_Type
type Gateway_Type int32The type of the customer-managed gateway. Possible values are:
- OPEN_MESH
- SECURE_WEB_GATEWAY
Gateway_TYPE_UNSPECIFIED, Gateway_OPEN_MESH, Gateway_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) Descriptor() protoreflect.EnumDescriptorfunc (Gateway_Type) Enum
func (x Gateway_Type) Enum() *Gateway_Typefunc (Gateway_Type) EnumDescriptor
func (Gateway_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use Gateway_Type.Descriptor instead.
func (Gateway_Type) Number
func (x Gateway_Type) Number() protoreflect.EnumNumberfunc (Gateway_Type) String
func (x Gateway_Type) String() stringfunc (Gateway_Type) Type
func (Gateway_Type) Type() protoreflect.EnumTypeGetAuthzExtensionRequest
type GetAuthzExtensionRequest struct {
// Required. A name of the `AuthzExtension` resource to get. Must be in
// the format
// `projects/{project}/locations/{location}/authzExtensions/{authz_extension}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a AuthzExtension resource.
func (*GetAuthzExtensionRequest) Descriptor
func (*GetAuthzExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use GetAuthzExtensionRequest.ProtoReflect.Descriptor instead.
func (*GetAuthzExtensionRequest) GetName
func (x *GetAuthzExtensionRequest) GetName() stringfunc (*GetAuthzExtensionRequest) ProtoMessage
func (*GetAuthzExtensionRequest) ProtoMessage()func (*GetAuthzExtensionRequest) ProtoReflect
func (x *GetAuthzExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*GetAuthzExtensionRequest) Reset
func (x *GetAuthzExtensionRequest) Reset()func (*GetAuthzExtensionRequest) String
func (x *GetAuthzExtensionRequest) String() stringGetEndpointPolicyRequest
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
func (*GetEndpointPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use GetEndpointPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetEndpointPolicyRequest) GetName
func (x *GetEndpointPolicyRequest) GetName() stringfunc (*GetEndpointPolicyRequest) ProtoMessage
func (*GetEndpointPolicyRequest) ProtoMessage()func (*GetEndpointPolicyRequest) ProtoReflect
func (x *GetEndpointPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*GetEndpointPolicyRequest) Reset
func (x *GetEndpointPolicyRequest) Reset()func (*GetEndpointPolicyRequest) String
func (x *GetEndpointPolicyRequest) String() stringGetGatewayRequest
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
func (*GetGatewayRequest) Descriptor() ([]byte, []int)Deprecated: Use GetGatewayRequest.ProtoReflect.Descriptor instead.
func (*GetGatewayRequest) GetName
func (x *GetGatewayRequest) GetName() stringfunc (*GetGatewayRequest) ProtoMessage
func (*GetGatewayRequest) ProtoMessage()func (*GetGatewayRequest) ProtoReflect
func (x *GetGatewayRequest) ProtoReflect() protoreflect.Messagefunc (*GetGatewayRequest) Reset
func (x *GetGatewayRequest) Reset()func (*GetGatewayRequest) String
func (x *GetGatewayRequest) String() stringGetGatewayRouteViewRequest
type GetGatewayRouteViewRequest struct {
// Required. Name of the GatewayRouteView resource.
// Formats:
//
// projects/{project}/locations/{location}/gateways/{gateway}/routeViews/{route_view}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request used with the GetGatewayRouteView method.
func (*GetGatewayRouteViewRequest) Descriptor
func (*GetGatewayRouteViewRequest) Descriptor() ([]byte, []int)Deprecated: Use GetGatewayRouteViewRequest.ProtoReflect.Descriptor instead.
func (*GetGatewayRouteViewRequest) GetName
func (x *GetGatewayRouteViewRequest) GetName() stringfunc (*GetGatewayRouteViewRequest) ProtoMessage
func (*GetGatewayRouteViewRequest) ProtoMessage()func (*GetGatewayRouteViewRequest) ProtoReflect
func (x *GetGatewayRouteViewRequest) ProtoReflect() protoreflect.Messagefunc (*GetGatewayRouteViewRequest) Reset
func (x *GetGatewayRouteViewRequest) Reset()func (*GetGatewayRouteViewRequest) String
func (x *GetGatewayRouteViewRequest) String() stringGetGrpcRouteRequest
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
func (*GetGrpcRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use GetGrpcRouteRequest.ProtoReflect.Descriptor instead.
func (*GetGrpcRouteRequest) GetName
func (x *GetGrpcRouteRequest) GetName() stringfunc (*GetGrpcRouteRequest) ProtoMessage
func (*GetGrpcRouteRequest) ProtoMessage()func (*GetGrpcRouteRequest) ProtoReflect
func (x *GetGrpcRouteRequest) ProtoReflect() protoreflect.Messagefunc (*GetGrpcRouteRequest) Reset
func (x *GetGrpcRouteRequest) Reset()func (*GetGrpcRouteRequest) String
func (x *GetGrpcRouteRequest) String() stringGetHttpRouteRequest
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
func (*GetHttpRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use GetHttpRouteRequest.ProtoReflect.Descriptor instead.
func (*GetHttpRouteRequest) GetName
func (x *GetHttpRouteRequest) GetName() stringfunc (*GetHttpRouteRequest) ProtoMessage
func (*GetHttpRouteRequest) ProtoMessage()func (*GetHttpRouteRequest) ProtoReflect
func (x *GetHttpRouteRequest) ProtoReflect() protoreflect.Messagefunc (*GetHttpRouteRequest) Reset
func (x *GetHttpRouteRequest) Reset()func (*GetHttpRouteRequest) String
func (x *GetHttpRouteRequest) String() stringGetLbEdgeExtensionRequest
type GetLbEdgeExtensionRequest struct {
// Required. A name of the `LbEdgeExtension` resource to get. Must be in the
// format
// `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a LbEdgeExtension resource.
func (*GetLbEdgeExtensionRequest) Descriptor
func (*GetLbEdgeExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use GetLbEdgeExtensionRequest.ProtoReflect.Descriptor instead.
func (*GetLbEdgeExtensionRequest) GetName
func (x *GetLbEdgeExtensionRequest) GetName() stringfunc (*GetLbEdgeExtensionRequest) ProtoMessage
func (*GetLbEdgeExtensionRequest) ProtoMessage()func (*GetLbEdgeExtensionRequest) ProtoReflect
func (x *GetLbEdgeExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*GetLbEdgeExtensionRequest) Reset
func (x *GetLbEdgeExtensionRequest) Reset()func (*GetLbEdgeExtensionRequest) String
func (x *GetLbEdgeExtensionRequest) String() stringGetLbRouteExtensionRequest
type GetLbRouteExtensionRequest struct {
// Required. A name of the `LbRouteExtension` resource to get. Must be in the
// format
// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a LbRouteExtension resource.
func (*GetLbRouteExtensionRequest) Descriptor
func (*GetLbRouteExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use GetLbRouteExtensionRequest.ProtoReflect.Descriptor instead.
func (*GetLbRouteExtensionRequest) GetName
func (x *GetLbRouteExtensionRequest) GetName() stringfunc (*GetLbRouteExtensionRequest) ProtoMessage
func (*GetLbRouteExtensionRequest) ProtoMessage()func (*GetLbRouteExtensionRequest) ProtoReflect
func (x *GetLbRouteExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*GetLbRouteExtensionRequest) Reset
func (x *GetLbRouteExtensionRequest) Reset()func (*GetLbRouteExtensionRequest) String
func (x *GetLbRouteExtensionRequest) String() stringGetLbTrafficExtensionRequest
type GetLbTrafficExtensionRequest struct {
// Required. A name of the `LbTrafficExtension` resource to get. Must be in
// the format
// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a LbTrafficExtension resource.
func (*GetLbTrafficExtensionRequest) Descriptor
func (*GetLbTrafficExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use GetLbTrafficExtensionRequest.ProtoReflect.Descriptor instead.
func (*GetLbTrafficExtensionRequest) GetName
func (x *GetLbTrafficExtensionRequest) GetName() stringfunc (*GetLbTrafficExtensionRequest) ProtoMessage
func (*GetLbTrafficExtensionRequest) ProtoMessage()func (*GetLbTrafficExtensionRequest) ProtoReflect
func (x *GetLbTrafficExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*GetLbTrafficExtensionRequest) Reset
func (x *GetLbTrafficExtensionRequest) Reset()func (*GetLbTrafficExtensionRequest) String
func (x *GetLbTrafficExtensionRequest) String() stringGetMeshRequest
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
func (*GetMeshRequest) Descriptor() ([]byte, []int)Deprecated: Use GetMeshRequest.ProtoReflect.Descriptor instead.
func (*GetMeshRequest) GetName
func (x *GetMeshRequest) GetName() stringfunc (*GetMeshRequest) ProtoMessage
func (*GetMeshRequest) ProtoMessage()func (*GetMeshRequest) ProtoReflect
func (x *GetMeshRequest) ProtoReflect() protoreflect.Messagefunc (*GetMeshRequest) Reset
func (x *GetMeshRequest) Reset()func (*GetMeshRequest) String
func (x *GetMeshRequest) String() stringGetMeshRouteViewRequest
type GetMeshRouteViewRequest struct {
// Required. Name of the MeshRouteView resource.
// Format:
//
// projects/{project}/locations/{location}/meshes/{mesh}/routeViews/{route_view}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request used with the GetMeshRouteView method.
func (*GetMeshRouteViewRequest) Descriptor
func (*GetMeshRouteViewRequest) Descriptor() ([]byte, []int)Deprecated: Use GetMeshRouteViewRequest.ProtoReflect.Descriptor instead.
func (*GetMeshRouteViewRequest) GetName
func (x *GetMeshRouteViewRequest) GetName() stringfunc (*GetMeshRouteViewRequest) ProtoMessage
func (*GetMeshRouteViewRequest) ProtoMessage()func (*GetMeshRouteViewRequest) ProtoReflect
func (x *GetMeshRouteViewRequest) ProtoReflect() protoreflect.Messagefunc (*GetMeshRouteViewRequest) Reset
func (x *GetMeshRouteViewRequest) Reset()func (*GetMeshRouteViewRequest) String
func (x *GetMeshRouteViewRequest) String() stringGetServiceBindingRequest
type GetServiceBindingRequest struct {
// Required. A name of the ServiceBinding to get. Must be in the format
// `projects/*/locations/*/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
func (*GetServiceBindingRequest) Descriptor() ([]byte, []int)Deprecated: Use GetServiceBindingRequest.ProtoReflect.Descriptor instead.
func (*GetServiceBindingRequest) GetName
func (x *GetServiceBindingRequest) GetName() stringfunc (*GetServiceBindingRequest) ProtoMessage
func (*GetServiceBindingRequest) ProtoMessage()func (*GetServiceBindingRequest) ProtoReflect
func (x *GetServiceBindingRequest) ProtoReflect() protoreflect.Messagefunc (*GetServiceBindingRequest) Reset
func (x *GetServiceBindingRequest) Reset()func (*GetServiceBindingRequest) String
func (x *GetServiceBindingRequest) String() stringGetServiceLbPolicyRequest
type GetServiceLbPolicyRequest struct {
// Required. A name of the ServiceLbPolicy to get. Must be in the format
// `projects/{project}/locations/{location}/serviceLbPolicies/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request used by the GetServiceLbPolicy method.
func (*GetServiceLbPolicyRequest) Descriptor
func (*GetServiceLbPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use GetServiceLbPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetServiceLbPolicyRequest) GetName
func (x *GetServiceLbPolicyRequest) GetName() stringfunc (*GetServiceLbPolicyRequest) ProtoMessage
func (*GetServiceLbPolicyRequest) ProtoMessage()func (*GetServiceLbPolicyRequest) ProtoReflect
func (x *GetServiceLbPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*GetServiceLbPolicyRequest) Reset
func (x *GetServiceLbPolicyRequest) Reset()func (*GetServiceLbPolicyRequest) String
func (x *GetServiceLbPolicyRequest) String() stringGetTcpRouteRequest
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
func (*GetTcpRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use GetTcpRouteRequest.ProtoReflect.Descriptor instead.
func (*GetTcpRouteRequest) GetName
func (x *GetTcpRouteRequest) GetName() stringfunc (*GetTcpRouteRequest) ProtoMessage
func (*GetTcpRouteRequest) ProtoMessage()func (*GetTcpRouteRequest) ProtoReflect
func (x *GetTcpRouteRequest) ProtoReflect() protoreflect.Messagefunc (*GetTcpRouteRequest) Reset
func (x *GetTcpRouteRequest) Reset()func (*GetTcpRouteRequest) String
func (x *GetTcpRouteRequest) String() stringGetTlsRouteRequest
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
func (*GetTlsRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use GetTlsRouteRequest.ProtoReflect.Descriptor instead.
func (*GetTlsRouteRequest) GetName
func (x *GetTlsRouteRequest) GetName() stringfunc (*GetTlsRouteRequest) ProtoMessage
func (*GetTlsRouteRequest) ProtoMessage()func (*GetTlsRouteRequest) ProtoReflect
func (x *GetTlsRouteRequest) ProtoReflect() protoreflect.Messagefunc (*GetTlsRouteRequest) Reset
func (x *GetTlsRouteRequest) Reset()func (*GetTlsRouteRequest) String
func (x *GetTlsRouteRequest) String() stringGetWasmPluginRequest
type GetWasmPluginRequest struct {
// Required. A name of the `WasmPlugin` resource to get. Must be in the
// format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Determines how much data must be returned in the response. See
// [AIP-157](https://google.aip.dev/157).
View WasmPluginView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.networkservices.v1.WasmPluginView" json:"view,omitempty"`
// contains filtered or unexported fields
}Request used by the GetWasmPlugin method.
func (*GetWasmPluginRequest) Descriptor
func (*GetWasmPluginRequest) Descriptor() ([]byte, []int)Deprecated: Use GetWasmPluginRequest.ProtoReflect.Descriptor instead.
func (*GetWasmPluginRequest) GetName
func (x *GetWasmPluginRequest) GetName() stringfunc (*GetWasmPluginRequest) GetView
func (x *GetWasmPluginRequest) GetView() WasmPluginViewfunc (*GetWasmPluginRequest) ProtoMessage
func (*GetWasmPluginRequest) ProtoMessage()func (*GetWasmPluginRequest) ProtoReflect
func (x *GetWasmPluginRequest) ProtoReflect() protoreflect.Messagefunc (*GetWasmPluginRequest) Reset
func (x *GetWasmPluginRequest) Reset()func (*GetWasmPluginRequest) String
func (x *GetWasmPluginRequest) String() stringGetWasmPluginVersionRequest
type GetWasmPluginVersionRequest struct {
// Required. A name of the `WasmPluginVersion` resource to get. Must be in
// the format
// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request used by the GetWasmPluginVersion method.
func (*GetWasmPluginVersionRequest) Descriptor
func (*GetWasmPluginVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use GetWasmPluginVersionRequest.ProtoReflect.Descriptor instead.
func (*GetWasmPluginVersionRequest) GetName
func (x *GetWasmPluginVersionRequest) GetName() stringfunc (*GetWasmPluginVersionRequest) ProtoMessage
func (*GetWasmPluginVersionRequest) ProtoMessage()func (*GetWasmPluginVersionRequest) ProtoReflect
func (x *GetWasmPluginVersionRequest) ProtoReflect() protoreflect.Messagefunc (*GetWasmPluginVersionRequest) Reset
func (x *GetWasmPluginVersionRequest) Reset()func (*GetWasmPluginVersionRequest) String
func (x *GetWasmPluginVersionRequest) String() stringGrpcRoute
type GrpcRoute struct {
// Identifier. Name of the GrpcRoute resource. It matches pattern
// `projects/*/locations/global/grpcRoutes/GrpcRoute is the resource defining how gRPC traffic routed by a Mesh or Gateway resource is routed.
func (*GrpcRoute) Descriptor
Deprecated: Use GrpcRoute.ProtoReflect.Descriptor instead.
func (*GrpcRoute) GetCreateTime
func (x *GrpcRoute) GetCreateTime() *timestamppb.Timestampfunc (*GrpcRoute) GetDescription
func (*GrpcRoute) GetGateways
func (*GrpcRoute) GetHostnames
func (*GrpcRoute) GetLabels
func (*GrpcRoute) GetMeshes
func (*GrpcRoute) GetName
func (*GrpcRoute) GetRules
func (x *GrpcRoute) GetRules() []*GrpcRoute_RouteRulefunc (*GrpcRoute) GetSelfLink
func (*GrpcRoute) GetUpdateTime
func (x *GrpcRoute) GetUpdateTime() *timestamppb.Timestampfunc (*GrpcRoute) ProtoMessage
func (*GrpcRoute) ProtoMessage()func (*GrpcRoute) ProtoReflect
func (x *GrpcRoute) ProtoReflect() protoreflect.Messagefunc (*GrpcRoute) Reset
func (x *GrpcRoute) Reset()func (*GrpcRoute) String
GrpcRoute_Destination
type GrpcRoute_Destination struct {
// Specifies the kind of destination to which traffic will be routed.
//
// Types that are valid to be assigned 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
func (*GrpcRoute_Destination) Descriptor() ([]byte, []int)Deprecated: Use GrpcRoute_Destination.ProtoReflect.Descriptor instead.
func (*GrpcRoute_Destination) GetDestinationType
func (x *GrpcRoute_Destination) GetDestinationType() isGrpcRoute_Destination_DestinationTypefunc (*GrpcRoute_Destination) GetServiceName
func (x *GrpcRoute_Destination) GetServiceName() stringfunc (*GrpcRoute_Destination) GetWeight
func (x *GrpcRoute_Destination) GetWeight() int32func (*GrpcRoute_Destination) ProtoMessage
func (*GrpcRoute_Destination) ProtoMessage()func (*GrpcRoute_Destination) ProtoReflect
func (x *GrpcRoute_Destination) ProtoReflect() protoreflect.Messagefunc (*GrpcRoute_Destination) Reset
func (x *GrpcRoute_Destination) Reset()func (*GrpcRoute_Destination) String
func (x *GrpcRoute_Destination) String() stringGrpcRoute_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"`
}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
func (*GrpcRoute_FaultInjectionPolicy) Descriptor() ([]byte, []int)Deprecated: Use GrpcRoute_FaultInjectionPolicy.ProtoReflect.Descriptor instead.
func (*GrpcRoute_FaultInjectionPolicy) GetAbort
func (x *GrpcRoute_FaultInjectionPolicy) GetAbort() *GrpcRoute_FaultInjectionPolicy_Abortfunc (*GrpcRoute_FaultInjectionPolicy) GetDelay
func (x *GrpcRoute_FaultInjectionPolicy) GetDelay() *GrpcRoute_FaultInjectionPolicy_Delayfunc (*GrpcRoute_FaultInjectionPolicy) ProtoMessage
func (*GrpcRoute_FaultInjectionPolicy) ProtoMessage()func (*GrpcRoute_FaultInjectionPolicy) ProtoReflect
func (x *GrpcRoute_FaultInjectionPolicy) ProtoReflect() protoreflect.Messagefunc (*GrpcRoute_FaultInjectionPolicy) Reset
func (x *GrpcRoute_FaultInjectionPolicy) Reset()func (*GrpcRoute_FaultInjectionPolicy) String
func (x *GrpcRoute_FaultInjectionPolicy) String() stringGrpcRoute_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
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() int32func (*GrpcRoute_FaultInjectionPolicy_Abort) GetPercentage
func (x *GrpcRoute_FaultInjectionPolicy_Abort) GetPercentage() int32func (*GrpcRoute_FaultInjectionPolicy_Abort) ProtoMessage
func (*GrpcRoute_FaultInjectionPolicy_Abort) ProtoMessage()func (*GrpcRoute_FaultInjectionPolicy_Abort) ProtoReflect
func (x *GrpcRoute_FaultInjectionPolicy_Abort) ProtoReflect() protoreflect.Messagefunc (*GrpcRoute_FaultInjectionPolicy_Abort) Reset
func (x *GrpcRoute_FaultInjectionPolicy_Abort) Reset()func (*GrpcRoute_FaultInjectionPolicy_Abort) String
func (x *GrpcRoute_FaultInjectionPolicy_Abort) String() stringGrpcRoute_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
func (*GrpcRoute_FaultInjectionPolicy_Delay) Descriptor() ([]byte, []int)Deprecated: Use GrpcRoute_FaultInjectionPolicy_Delay.ProtoReflect.Descriptor instead.
func (*GrpcRoute_FaultInjectionPolicy_Delay) GetFixedDelay
func (x *GrpcRoute_FaultInjectionPolicy_Delay) GetFixedDelay() *durationpb.Durationfunc (*GrpcRoute_FaultInjectionPolicy_Delay) GetPercentage
func (x *GrpcRoute_FaultInjectionPolicy_Delay) GetPercentage() int32func (*GrpcRoute_FaultInjectionPolicy_Delay) ProtoMessage
func (*GrpcRoute_FaultInjectionPolicy_Delay) ProtoMessage()func (*GrpcRoute_FaultInjectionPolicy_Delay) ProtoReflect
func (x *GrpcRoute_FaultInjectionPolicy_Delay) ProtoReflect() protoreflect.Messagefunc (*GrpcRoute_FaultInjectionPolicy_Delay) Reset
func (x *GrpcRoute_FaultInjectionPolicy_Delay) Reset()func (*GrpcRoute_FaultInjectionPolicy_Delay) String
func (x *GrpcRoute_FaultInjectionPolicy_Delay) String() stringGrpcRoute_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 `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.networkservices.v1.GrpcRoute_HeaderMatch_Type" json:"type,omitempty"`
// 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
func (*GrpcRoute_HeaderMatch) Descriptor() ([]byte, []int)Deprecated: Use GrpcRoute_HeaderMatch.ProtoReflect.Descriptor instead.
func (*GrpcRoute_HeaderMatch) GetKey
func (x *GrpcRoute_HeaderMatch) GetKey() stringfunc (*GrpcRoute_HeaderMatch) GetType
func (x *GrpcRoute_HeaderMatch) GetType() GrpcRoute_HeaderMatch_Typefunc (*GrpcRoute_HeaderMatch) GetValue
func (x *GrpcRoute_HeaderMatch) GetValue() stringfunc (*GrpcRoute_HeaderMatch) ProtoMessage
func (*GrpcRoute_HeaderMatch) ProtoMessage()func (*GrpcRoute_HeaderMatch) ProtoReflect
func (x *GrpcRoute_HeaderMatch) ProtoReflect() protoreflect.Messagefunc (*GrpcRoute_HeaderMatch) Reset
func (x *GrpcRoute_HeaderMatch) Reset()func (*GrpcRoute_HeaderMatch) String
func (x *GrpcRoute_HeaderMatch) String() stringGrpcRoute_HeaderMatch_Type
type GrpcRoute_HeaderMatch_Type int32The type of match.
GrpcRoute_HeaderMatch_TYPE_UNSPECIFIED, GrpcRoute_HeaderMatch_EXACT, GrpcRoute_HeaderMatch_REGULAR_EXPRESSION
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) Descriptor() protoreflect.EnumDescriptorfunc (GrpcRoute_HeaderMatch_Type) Enum
func (x GrpcRoute_HeaderMatch_Type) Enum() *GrpcRoute_HeaderMatch_Typefunc (GrpcRoute_HeaderMatch_Type) EnumDescriptor
func (GrpcRoute_HeaderMatch_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use GrpcRoute_HeaderMatch_Type.Descriptor instead.
func (GrpcRoute_HeaderMatch_Type) Number
func (x GrpcRoute_HeaderMatch_Type) Number() protoreflect.EnumNumberfunc (GrpcRoute_HeaderMatch_Type) String
func (x GrpcRoute_HeaderMatch_Type) String() stringfunc (GrpcRoute_HeaderMatch_Type) Type
func (GrpcRoute_HeaderMatch_Type) Type() protoreflect.EnumTypeGrpcRoute_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 `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.networkservices.v1.GrpcRoute_MethodMatch_Type" json:"type,omitempty"`
// 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
func (*GrpcRoute_MethodMatch) Descriptor() ([]byte, []int)Deprecated: Use GrpcRoute_MethodMatch.ProtoReflect.Descriptor instead.
func (*GrpcRoute_MethodMatch) GetCaseSensitive
func (x *GrpcRoute_MethodMatch) GetCaseSensitive() boolfunc (*GrpcRoute_MethodMatch) GetGrpcMethod
func (x *GrpcRoute_MethodMatch) GetGrpcMethod() stringfunc (*GrpcRoute_MethodMatch) GetGrpcService
func (x *GrpcRoute_MethodMatch) GetGrpcService() stringfunc (*GrpcRoute_MethodMatch) GetType
func (x *GrpcRoute_MethodMatch) GetType() GrpcRoute_MethodMatch_Typefunc (*GrpcRoute_MethodMatch) ProtoMessage
func (*GrpcRoute_MethodMatch) ProtoMessage()func (*GrpcRoute_MethodMatch) ProtoReflect
func (x *GrpcRoute_MethodMatch) ProtoReflect() protoreflect.Messagefunc (*GrpcRoute_MethodMatch) Reset
func (x *GrpcRoute_MethodMatch) Reset()func (*GrpcRoute_MethodMatch) String
func (x *GrpcRoute_MethodMatch) String() stringGrpcRoute_MethodMatch_Type
type GrpcRoute_MethodMatch_Type int32The type of the match.
GrpcRoute_MethodMatch_TYPE_UNSPECIFIED, GrpcRoute_MethodMatch_EXACT, GrpcRoute_MethodMatch_REGULAR_EXPRESSION
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) Descriptor() protoreflect.EnumDescriptorfunc (GrpcRoute_MethodMatch_Type) Enum
func (x GrpcRoute_MethodMatch_Type) Enum() *GrpcRoute_MethodMatch_Typefunc (GrpcRoute_MethodMatch_Type) EnumDescriptor
func (GrpcRoute_MethodMatch_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use GrpcRoute_MethodMatch_Type.Descriptor instead.
func (GrpcRoute_MethodMatch_Type) Number
func (x GrpcRoute_MethodMatch_Type) Number() protoreflect.EnumNumberfunc (GrpcRoute_MethodMatch_Type) String
func (x GrpcRoute_MethodMatch_Type) String() stringfunc (GrpcRoute_MethodMatch_Type) Type
func (GrpcRoute_MethodMatch_Type) Type() protoreflect.EnumTypeGrpcRoute_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. Specifies one or more conditions for which this retry rule applies. Valid values are:
func (*GrpcRoute_RetryPolicy) Descriptor
func (*GrpcRoute_RetryPolicy) Descriptor() ([]byte, []int)Deprecated: Use GrpcRoute_RetryPolicy.ProtoReflect.Descriptor instead.
func (*GrpcRoute_RetryPolicy) GetNumRetries
func (x *GrpcRoute_RetryPolicy) GetNumRetries() uint32func (*GrpcRoute_RetryPolicy) GetRetryConditions
func (x *GrpcRoute_RetryPolicy) GetRetryConditions() []stringfunc (*GrpcRoute_RetryPolicy) ProtoMessage
func (*GrpcRoute_RetryPolicy) ProtoMessage()func (*GrpcRoute_RetryPolicy) ProtoReflect
func (x *GrpcRoute_RetryPolicy) ProtoReflect() protoreflect.Messagefunc (*GrpcRoute_RetryPolicy) Reset
func (x *GrpcRoute_RetryPolicy) Reset()func (*GrpcRoute_RetryPolicy) String
func (x *GrpcRoute_RetryPolicy) String() stringGrpcRoute_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"`
// Optional. Specifies cookie-based stateful session affinity.
StatefulSessionAffinity *GrpcRoute_StatefulSessionAffinityPolicy `protobuf:"bytes,11,opt,name=stateful_session_affinity,json=statefulSessionAffinity,proto3" json:"stateful_session_affinity,omitempty"`
// Optional. Specifies the idle timeout for the selected route. The idle
// timeout is defined as the period in which there are no bytes sent or
// received on either the upstream or downstream connection. If not set, the
// default idle timeout is 1 hour. If set to 0s, the timeout will be
// disabled.
IdleTimeout *durationpb.Duration `protobuf:"bytes,12,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
// contains filtered or unexported fields
}Specifies how to route matched traffic.
func (*GrpcRoute_RouteAction) Descriptor
func (*GrpcRoute_RouteAction) Descriptor() ([]byte, []int)Deprecated: Use GrpcRoute_RouteAction.ProtoReflect.Descriptor instead.
func (*GrpcRoute_RouteAction) GetDestinations
func (x *GrpcRoute_RouteAction) GetDestinations() []*GrpcRoute_Destinationfunc (*GrpcRoute_RouteAction) GetFaultInjectionPolicy
func (x *GrpcRoute_RouteAction) GetFaultInjectionPolicy() *GrpcRoute_FaultInjectionPolicyfunc (*GrpcRoute_RouteAction) GetIdleTimeout
func (x *GrpcRoute_RouteAction) GetIdleTimeout() *durationpb.Durationfunc (*GrpcRoute_RouteAction) GetRetryPolicy
func (x *GrpcRoute_RouteAction) GetRetryPolicy() *GrpcRoute_RetryPolicyfunc (*GrpcRoute_RouteAction) GetStatefulSessionAffinity
func (x *GrpcRoute_RouteAction) GetStatefulSessionAffinity() *GrpcRoute_StatefulSessionAffinityPolicyfunc (*GrpcRoute_RouteAction) GetTimeout
func (x *GrpcRoute_RouteAction) GetTimeout() *durationpb.Durationfunc (*GrpcRoute_RouteAction) ProtoMessage
func (*GrpcRoute_RouteAction) ProtoMessage()func (*GrpcRoute_RouteAction) ProtoReflect
func (x *GrpcRoute_RouteAction) ProtoReflect() protoreflect.Messagefunc (*GrpcRoute_RouteAction) Reset
func (x *GrpcRoute_RouteAction) Reset()func (*GrpcRoute_RouteAction) String
func (x *GrpcRoute_RouteAction) String() stringGrpcRoute_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
func (*GrpcRoute_RouteMatch) Descriptor() ([]byte, []int)Deprecated: Use GrpcRoute_RouteMatch.ProtoReflect.Descriptor instead.
func (*GrpcRoute_RouteMatch) GetHeaders
func (x *GrpcRoute_RouteMatch) GetHeaders() []*GrpcRoute_HeaderMatchfunc (*GrpcRoute_RouteMatch) GetMethod
func (x *GrpcRoute_RouteMatch) GetMethod() *GrpcRoute_MethodMatchfunc (*GrpcRoute_RouteMatch) ProtoMessage
func (*GrpcRoute_RouteMatch) ProtoMessage()func (*GrpcRoute_RouteMatch) ProtoReflect
func (x *GrpcRoute_RouteMatch) ProtoReflect() protoreflect.Messagefunc (*GrpcRoute_RouteMatch) Reset
func (x *GrpcRoute_RouteMatch) Reset()func (*GrpcRoute_RouteMatch) String
func (x *GrpcRoute_RouteMatch) String() stringGrpcRoute_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
func (*GrpcRoute_RouteRule) Descriptor() ([]byte, []int)Deprecated: Use GrpcRoute_RouteRule.ProtoReflect.Descriptor instead.
func (*GrpcRoute_RouteRule) GetAction
func (x *GrpcRoute_RouteRule) GetAction() *GrpcRoute_RouteActionfunc (*GrpcRoute_RouteRule) GetMatches
func (x *GrpcRoute_RouteRule) GetMatches() []*GrpcRoute_RouteMatchfunc (*GrpcRoute_RouteRule) ProtoMessage
func (*GrpcRoute_RouteRule) ProtoMessage()func (*GrpcRoute_RouteRule) ProtoReflect
func (x *GrpcRoute_RouteRule) ProtoReflect() protoreflect.Messagefunc (*GrpcRoute_RouteRule) Reset
func (x *GrpcRoute_RouteRule) Reset()func (*GrpcRoute_RouteRule) String
func (x *GrpcRoute_RouteRule) String() stringGrpcRoute_StatefulSessionAffinityPolicy
type GrpcRoute_StatefulSessionAffinityPolicy struct {
// Required. The cookie TTL value for the Set-Cookie header generated by the
// data plane. The lifetime of the cookie may be set to a value from 0 to
// 86400 seconds (24 hours) inclusive.
//
// Set this to 0s to use a session cookie and disable cookie expiration.
CookieTtl *durationpb.Duration `protobuf:"bytes,1,opt,name=cookie_ttl,json=cookieTtl,proto3" json:"cookie_ttl,omitempty"`
// contains filtered or unexported fields
}The specification for cookie-based stateful session affinity where the date plane supplies a “session cookie” with the name "GSSA" which encodes a specific destination host and each request containing that cookie will be directed to that host as long as the destination host remains up and healthy.
The gRPC proxyless mesh library or sidecar proxy will manage the session cookie but the client application code is responsible for copying the cookie from each RPC in the session to the next.
func (*GrpcRoute_StatefulSessionAffinityPolicy) Descriptor
func (*GrpcRoute_StatefulSessionAffinityPolicy) Descriptor() ([]byte, []int)Deprecated: Use GrpcRoute_StatefulSessionAffinityPolicy.ProtoReflect.Descriptor instead.
func (*GrpcRoute_StatefulSessionAffinityPolicy) GetCookieTtl
func (x *GrpcRoute_StatefulSessionAffinityPolicy) GetCookieTtl() *durationpb.Durationfunc (*GrpcRoute_StatefulSessionAffinityPolicy) ProtoMessage
func (*GrpcRoute_StatefulSessionAffinityPolicy) ProtoMessage()func (*GrpcRoute_StatefulSessionAffinityPolicy) ProtoReflect
func (x *GrpcRoute_StatefulSessionAffinityPolicy) ProtoReflect() protoreflect.Messagefunc (*GrpcRoute_StatefulSessionAffinityPolicy) Reset
func (x *GrpcRoute_StatefulSessionAffinityPolicy) Reset()func (*GrpcRoute_StatefulSessionAffinityPolicy) String
func (x *GrpcRoute_StatefulSessionAffinityPolicy) String() stringHttpRoute
type HttpRoute struct {
// Identifier. 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/HttpRoute is the resource defining how HTTP traffic should be routed by a Mesh or Gateway resource.
func (*HttpRoute) Descriptor
Deprecated: Use HttpRoute.ProtoReflect.Descriptor instead.
func (*HttpRoute) GetCreateTime
func (x *HttpRoute) GetCreateTime() *timestamppb.Timestampfunc (*HttpRoute) GetDescription
func (*HttpRoute) GetGateways
func (*HttpRoute) GetHostnames
func (*HttpRoute) GetLabels
func (*HttpRoute) GetMeshes
func (*HttpRoute) GetName
func (*HttpRoute) GetRules
func (x *HttpRoute) GetRules() []*HttpRoute_RouteRulefunc (*HttpRoute) GetSelfLink
func (*HttpRoute) GetUpdateTime
func (x *HttpRoute) GetUpdateTime() *timestamppb.Timestampfunc (*HttpRoute) ProtoMessage
func (*HttpRoute) ProtoMessage()func (*HttpRoute) ProtoReflect
func (x *HttpRoute) ProtoReflect() protoreflect.Messagefunc (*HttpRoute) Reset
func (x *HttpRoute) Reset()func (*HttpRoute) String
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
func (*HttpRoute_CorsPolicy) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_CorsPolicy.ProtoReflect.Descriptor instead.
func (*HttpRoute_CorsPolicy) GetAllowCredentials
func (x *HttpRoute_CorsPolicy) GetAllowCredentials() boolfunc (*HttpRoute_CorsPolicy) GetAllowHeaders
func (x *HttpRoute_CorsPolicy) GetAllowHeaders() []stringfunc (*HttpRoute_CorsPolicy) GetAllowMethods
func (x *HttpRoute_CorsPolicy) GetAllowMethods() []stringfunc (*HttpRoute_CorsPolicy) GetAllowOriginRegexes
func (x *HttpRoute_CorsPolicy) GetAllowOriginRegexes() []stringfunc (*HttpRoute_CorsPolicy) GetAllowOrigins
func (x *HttpRoute_CorsPolicy) GetAllowOrigins() []stringfunc (*HttpRoute_CorsPolicy) GetDisabled
func (x *HttpRoute_CorsPolicy) GetDisabled() boolfunc (*HttpRoute_CorsPolicy) GetExposeHeaders
func (x *HttpRoute_CorsPolicy) GetExposeHeaders() []stringfunc (*HttpRoute_CorsPolicy) GetMaxAge
func (x *HttpRoute_CorsPolicy) GetMaxAge() stringfunc (*HttpRoute_CorsPolicy) ProtoMessage
func (*HttpRoute_CorsPolicy) ProtoMessage()func (*HttpRoute_CorsPolicy) ProtoReflect
func (x *HttpRoute_CorsPolicy) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_CorsPolicy) Reset
func (x *HttpRoute_CorsPolicy) Reset()func (*HttpRoute_CorsPolicy) String
func (x *HttpRoute_CorsPolicy) String() stringHttpRoute_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"`
// Optional. The specification for modifying the headers of a matching
// request prior to delivery of the request to the destination. If
// HeaderModifiers are set on both the Destination and the RouteAction, they
// will be merged. Conflicts between the two will not be resolved on the
// configuration.
RequestHeaderModifier *HttpRoute_HeaderModifier `protobuf:"bytes,3,opt,name=request_header_modifier,json=requestHeaderModifier,proto3" json:"request_header_modifier,omitempty"`
// Optional. The specification for modifying the headers of a response prior
// to sending the response back to the client. If HeaderModifiers are set on
// both the Destination and the RouteAction, they will be merged. Conflicts
// between the two will not be resolved on the configuration.
ResponseHeaderModifier *HttpRoute_HeaderModifier `protobuf:"bytes,4,opt,name=response_header_modifier,json=responseHeaderModifier,proto3" json:"response_header_modifier,omitempty"`
// contains filtered or unexported fields
}Specifications of a destination to which the request should be routed to.
func (*HttpRoute_Destination) Descriptor
func (*HttpRoute_Destination) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_Destination.ProtoReflect.Descriptor instead.
func (*HttpRoute_Destination) GetRequestHeaderModifier
func (x *HttpRoute_Destination) GetRequestHeaderModifier() *HttpRoute_HeaderModifierfunc (*HttpRoute_Destination) GetResponseHeaderModifier
func (x *HttpRoute_Destination) GetResponseHeaderModifier() *HttpRoute_HeaderModifierfunc (*HttpRoute_Destination) GetServiceName
func (x *HttpRoute_Destination) GetServiceName() stringfunc (*HttpRoute_Destination) GetWeight
func (x *HttpRoute_Destination) GetWeight() int32func (*HttpRoute_Destination) ProtoMessage
func (*HttpRoute_Destination) ProtoMessage()func (*HttpRoute_Destination) ProtoReflect
func (x *HttpRoute_Destination) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_Destination) Reset
func (x *HttpRoute_Destination) Reset()func (*HttpRoute_Destination) String
func (x *HttpRoute_Destination) String() stringHttpRoute_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
func (*HttpRoute_FaultInjectionPolicy) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_FaultInjectionPolicy.ProtoReflect.Descriptor instead.
func (*HttpRoute_FaultInjectionPolicy) GetAbort
func (x *HttpRoute_FaultInjectionPolicy) GetAbort() *HttpRoute_FaultInjectionPolicy_Abortfunc (*HttpRoute_FaultInjectionPolicy) GetDelay
func (x *HttpRoute_FaultInjectionPolicy) GetDelay() *HttpRoute_FaultInjectionPolicy_Delayfunc (*HttpRoute_FaultInjectionPolicy) ProtoMessage
func (*HttpRoute_FaultInjectionPolicy) ProtoMessage()func (*HttpRoute_FaultInjectionPolicy) ProtoReflect
func (x *HttpRoute_FaultInjectionPolicy) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_FaultInjectionPolicy) Reset
func (x *HttpRoute_FaultInjectionPolicy) Reset()func (*HttpRoute_FaultInjectionPolicy) String
func (x *HttpRoute_FaultInjectionPolicy) String() stringHttpRoute_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
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() int32func (*HttpRoute_FaultInjectionPolicy_Abort) GetPercentage
func (x *HttpRoute_FaultInjectionPolicy_Abort) GetPercentage() int32func (*HttpRoute_FaultInjectionPolicy_Abort) ProtoMessage
func (*HttpRoute_FaultInjectionPolicy_Abort) ProtoMessage()func (*HttpRoute_FaultInjectionPolicy_Abort) ProtoReflect
func (x *HttpRoute_FaultInjectionPolicy_Abort) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_FaultInjectionPolicy_Abort) Reset
func (x *HttpRoute_FaultInjectionPolicy_Abort) Reset()func (*HttpRoute_FaultInjectionPolicy_Abort) String
func (x *HttpRoute_FaultInjectionPolicy_Abort) String() stringHttpRoute_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
func (*HttpRoute_FaultInjectionPolicy_Delay) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_FaultInjectionPolicy_Delay.ProtoReflect.Descriptor instead.
func (*HttpRoute_FaultInjectionPolicy_Delay) GetFixedDelay
func (x *HttpRoute_FaultInjectionPolicy_Delay) GetFixedDelay() *durationpb.Durationfunc (*HttpRoute_FaultInjectionPolicy_Delay) GetPercentage
func (x *HttpRoute_FaultInjectionPolicy_Delay) GetPercentage() int32func (*HttpRoute_FaultInjectionPolicy_Delay) ProtoMessage
func (*HttpRoute_FaultInjectionPolicy_Delay) ProtoMessage()func (*HttpRoute_FaultInjectionPolicy_Delay) ProtoReflect
func (x *HttpRoute_FaultInjectionPolicy_Delay) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_FaultInjectionPolicy_Delay) Reset
func (x *HttpRoute_FaultInjectionPolicy_Delay) Reset()func (*HttpRoute_FaultInjectionPolicy_Delay) String
func (x *HttpRoute_FaultInjectionPolicy_Delay) String() stringHttpRoute_HeaderMatch
type HttpRoute_HeaderMatch struct {
// Types that are valid to be assigned 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
func (*HttpRoute_HeaderMatch) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_HeaderMatch.ProtoReflect.Descriptor instead.
func (*HttpRoute_HeaderMatch) GetExactMatch
func (x *HttpRoute_HeaderMatch) GetExactMatch() stringfunc (*HttpRoute_HeaderMatch) GetHeader
func (x *HttpRoute_HeaderMatch) GetHeader() stringfunc (*HttpRoute_HeaderMatch) GetInvertMatch
func (x *HttpRoute_HeaderMatch) GetInvertMatch() boolfunc (*HttpRoute_HeaderMatch) GetMatchType
func (x *HttpRoute_HeaderMatch) GetMatchType() isHttpRoute_HeaderMatch_MatchTypefunc (*HttpRoute_HeaderMatch) GetPrefixMatch
func (x *HttpRoute_HeaderMatch) GetPrefixMatch() stringfunc (*HttpRoute_HeaderMatch) GetPresentMatch
func (x *HttpRoute_HeaderMatch) GetPresentMatch() boolfunc (*HttpRoute_HeaderMatch) GetRangeMatch
func (x *HttpRoute_HeaderMatch) GetRangeMatch() *HttpRoute_HeaderMatch_IntegerRangefunc (*HttpRoute_HeaderMatch) GetRegexMatch
func (x *HttpRoute_HeaderMatch) GetRegexMatch() stringfunc (*HttpRoute_HeaderMatch) GetSuffixMatch
func (x *HttpRoute_HeaderMatch) GetSuffixMatch() stringfunc (*HttpRoute_HeaderMatch) ProtoMessage
func (*HttpRoute_HeaderMatch) ProtoMessage()func (*HttpRoute_HeaderMatch) ProtoReflect
func (x *HttpRoute_HeaderMatch) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_HeaderMatch) Reset
func (x *HttpRoute_HeaderMatch) Reset()func (*HttpRoute_HeaderMatch) String
func (x *HttpRoute_HeaderMatch) String() stringHttpRoute_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"`
}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
func (*HttpRoute_HeaderMatch_IntegerRange) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_HeaderMatch_IntegerRange.ProtoReflect.Descriptor instead.
func (*HttpRoute_HeaderMatch_IntegerRange) GetEnd
func (x *HttpRoute_HeaderMatch_IntegerRange) GetEnd() int32func (*HttpRoute_HeaderMatch_IntegerRange) GetStart
func (x *HttpRoute_HeaderMatch_IntegerRange) GetStart() int32func (*HttpRoute_HeaderMatch_IntegerRange) ProtoMessage
func (*HttpRoute_HeaderMatch_IntegerRange) ProtoMessage()func (*HttpRoute_HeaderMatch_IntegerRange) ProtoReflect
func (x *HttpRoute_HeaderMatch_IntegerRange) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_HeaderMatch_IntegerRange) Reset
func (x *HttpRoute_HeaderMatch_IntegerRange) Reset()func (*HttpRoute_HeaderMatch_IntegerRange) String
func (x *HttpRoute_HeaderMatch_IntegerRange) String() stringHttpRoute_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"`
}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"`
}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"`
}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"`
}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"`
}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 `protobuf:"bytes,1,rep,name=set,proto3" json:"set,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// 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 `protobuf:"bytes,2,rep,name=add,proto3" json:"add,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// 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
func (*HttpRoute_HeaderModifier) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_HeaderModifier.ProtoReflect.Descriptor instead.
func (*HttpRoute_HeaderModifier) GetAdd
func (x *HttpRoute_HeaderModifier) GetAdd() map[string]stringfunc (*HttpRoute_HeaderModifier) GetRemove
func (x *HttpRoute_HeaderModifier) GetRemove() []stringfunc (*HttpRoute_HeaderModifier) GetSet
func (x *HttpRoute_HeaderModifier) GetSet() map[string]stringfunc (*HttpRoute_HeaderModifier) ProtoMessage
func (*HttpRoute_HeaderModifier) ProtoMessage()func (*HttpRoute_HeaderModifier) ProtoReflect
func (x *HttpRoute_HeaderModifier) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_HeaderModifier) Reset
func (x *HttpRoute_HeaderModifier) Reset()func (*HttpRoute_HeaderModifier) String
func (x *HttpRoute_HeaderModifier) String() stringHttpRoute_HttpDirectResponse
type HttpRoute_HttpDirectResponse struct {
// Body to return as part of HTTP Response.
//
// Types that are valid to be assigned to HttpBody:
//
// *HttpRoute_HttpDirectResponse_StringBody
// *HttpRoute_HttpDirectResponse_BytesBody
HttpBody isHttpRoute_HttpDirectResponse_HttpBody `protobuf_oneof:"HttpBody"`
// Required. Status to return as part of HTTP Response. Must be a positive
// integer.
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}Static HTTP response object to be returned.
func (*HttpRoute_HttpDirectResponse) Descriptor
func (*HttpRoute_HttpDirectResponse) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_HttpDirectResponse.ProtoReflect.Descriptor instead.
func (*HttpRoute_HttpDirectResponse) GetBytesBody
func (x *HttpRoute_HttpDirectResponse) GetBytesBody() []bytefunc (*HttpRoute_HttpDirectResponse) GetHttpBody
func (x *HttpRoute_HttpDirectResponse) GetHttpBody() isHttpRoute_HttpDirectResponse_HttpBodyfunc (*HttpRoute_HttpDirectResponse) GetStatus
func (x *HttpRoute_HttpDirectResponse) GetStatus() int32func (*HttpRoute_HttpDirectResponse) GetStringBody
func (x *HttpRoute_HttpDirectResponse) GetStringBody() stringfunc (*HttpRoute_HttpDirectResponse) ProtoMessage
func (*HttpRoute_HttpDirectResponse) ProtoMessage()func (*HttpRoute_HttpDirectResponse) ProtoReflect
func (x *HttpRoute_HttpDirectResponse) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_HttpDirectResponse) Reset
func (x *HttpRoute_HttpDirectResponse) Reset()func (*HttpRoute_HttpDirectResponse) String
func (x *HttpRoute_HttpDirectResponse) String() stringHttpRoute_HttpDirectResponse_BytesBody
type HttpRoute_HttpDirectResponse_BytesBody struct {
// Optional. Response body as bytes. Maximum body size is 4096B.
BytesBody []byte `protobuf:"bytes,3,opt,name=bytes_body,json=bytesBody,proto3,oneof"`
}HttpRoute_HttpDirectResponse_StringBody
type HttpRoute_HttpDirectResponse_StringBody struct {
// Optional. Response body as a string. Maximum body length is 1024
// characters.
StringBody string `protobuf:"bytes,2,opt,name=string_body,json=stringBody,proto3,oneof"`
}HttpRoute_QueryParameterMatch
type HttpRoute_QueryParameterMatch struct {
// Types that are valid to be assigned 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
func (*HttpRoute_QueryParameterMatch) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_QueryParameterMatch.ProtoReflect.Descriptor instead.
func (*HttpRoute_QueryParameterMatch) GetExactMatch
func (x *HttpRoute_QueryParameterMatch) GetExactMatch() stringfunc (*HttpRoute_QueryParameterMatch) GetMatchType
func (x *HttpRoute_QueryParameterMatch) GetMatchType() isHttpRoute_QueryParameterMatch_MatchTypefunc (*HttpRoute_QueryParameterMatch) GetPresentMatch
func (x *HttpRoute_QueryParameterMatch) GetPresentMatch() boolfunc (*HttpRoute_QueryParameterMatch) GetQueryParameter
func (x *HttpRoute_QueryParameterMatch) GetQueryParameter() stringfunc (*HttpRoute_QueryParameterMatch) GetRegexMatch
func (x *HttpRoute_QueryParameterMatch) GetRegexMatch() stringfunc (*HttpRoute_QueryParameterMatch) ProtoMessage
func (*HttpRoute_QueryParameterMatch) ProtoMessage()func (*HttpRoute_QueryParameterMatch) ProtoReflect
func (x *HttpRoute_QueryParameterMatch) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_QueryParameterMatch) Reset
func (x *HttpRoute_QueryParameterMatch) Reset()func (*HttpRoute_QueryParameterMatch) String
func (x *HttpRoute_QueryParameterMatch) String() stringHttpRoute_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"`
}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"`
}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"`
}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 `protobuf:"varint,4,opt,name=response_code,json=responseCode,proto3,enum=google.cloud.networkservices.v1.HttpRoute_Redirect_ResponseCode" json:"response_code,omitempty"`
// 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
func (*HttpRoute_Redirect) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_Redirect.ProtoReflect.Descriptor instead.
func (*HttpRoute_Redirect) GetHostRedirect
func (x *HttpRoute_Redirect) GetHostRedirect() stringfunc (*HttpRoute_Redirect) GetHttpsRedirect
func (x *HttpRoute_Redirect) GetHttpsRedirect() boolfunc (*HttpRoute_Redirect) GetPathRedirect
func (x *HttpRoute_Redirect) GetPathRedirect() stringfunc (*HttpRoute_Redirect) GetPortRedirect
func (x *HttpRoute_Redirect) GetPortRedirect() int32func (*HttpRoute_Redirect) GetPrefixRewrite
func (x *HttpRoute_Redirect) GetPrefixRewrite() stringfunc (*HttpRoute_Redirect) GetResponseCode
func (x *HttpRoute_Redirect) GetResponseCode() HttpRoute_Redirect_ResponseCodefunc (*HttpRoute_Redirect) GetStripQuery
func (x *HttpRoute_Redirect) GetStripQuery() boolfunc (*HttpRoute_Redirect) ProtoMessage
func (*HttpRoute_Redirect) ProtoMessage()func (*HttpRoute_Redirect) ProtoReflect
func (x *HttpRoute_Redirect) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_Redirect) Reset
func (x *HttpRoute_Redirect) Reset()func (*HttpRoute_Redirect) String
func (x *HttpRoute_Redirect) String() stringHttpRoute_Redirect_ResponseCode
type HttpRoute_Redirect_ResponseCode int32Supported HTTP response code.
HttpRoute_Redirect_RESPONSE_CODE_UNSPECIFIED, HttpRoute_Redirect_MOVED_PERMANENTLY_DEFAULT, HttpRoute_Redirect_FOUND, HttpRoute_Redirect_SEE_OTHER, HttpRoute_Redirect_TEMPORARY_REDIRECT, HttpRoute_Redirect_PERMANENT_REDIRECT
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) Descriptor() protoreflect.EnumDescriptorfunc (HttpRoute_Redirect_ResponseCode) Enum
func (x HttpRoute_Redirect_ResponseCode) Enum() *HttpRoute_Redirect_ResponseCodefunc (HttpRoute_Redirect_ResponseCode) EnumDescriptor
func (HttpRoute_Redirect_ResponseCode) EnumDescriptor() ([]byte, []int)Deprecated: Use HttpRoute_Redirect_ResponseCode.Descriptor instead.
func (HttpRoute_Redirect_ResponseCode) Number
func (x HttpRoute_Redirect_ResponseCode) Number() protoreflect.EnumNumberfunc (HttpRoute_Redirect_ResponseCode) String
func (x HttpRoute_Redirect_ResponseCode) String() stringfunc (HttpRoute_Redirect_ResponseCode) Type
func (HttpRoute_Redirect_ResponseCode) Type() protoreflect.EnumTypeHttpRoute_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"`
// Optional. The percentage of requests to get mirrored to the desired
// destination.
MirrorPercent float32 `protobuf:"fixed32,2,opt,name=mirror_percent,json=mirrorPercent,proto3" json:"mirror_percent,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. Mirroring is currently not supported for Cloud Run destinations.
func (*HttpRoute_RequestMirrorPolicy) Descriptor
func (*HttpRoute_RequestMirrorPolicy) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_RequestMirrorPolicy.ProtoReflect.Descriptor instead.
func (*HttpRoute_RequestMirrorPolicy) GetDestination
func (x *HttpRoute_RequestMirrorPolicy) GetDestination() *HttpRoute_Destinationfunc (*HttpRoute_RequestMirrorPolicy) GetMirrorPercent
func (x *HttpRoute_RequestMirrorPolicy) GetMirrorPercent() float32func (*HttpRoute_RequestMirrorPolicy) ProtoMessage
func (*HttpRoute_RequestMirrorPolicy) ProtoMessage()func (*HttpRoute_RequestMirrorPolicy) ProtoReflect
func (x *HttpRoute_RequestMirrorPolicy) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_RequestMirrorPolicy) Reset
func (x *HttpRoute_RequestMirrorPolicy) Reset()func (*HttpRoute_RequestMirrorPolicy) String
func (x *HttpRoute_RequestMirrorPolicy) String() stringHttpRoute_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
func (*HttpRoute_RetryPolicy) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_RetryPolicy.ProtoReflect.Descriptor instead.
func (*HttpRoute_RetryPolicy) GetNumRetries
func (x *HttpRoute_RetryPolicy) GetNumRetries() int32func (*HttpRoute_RetryPolicy) GetPerTryTimeout
func (x *HttpRoute_RetryPolicy) GetPerTryTimeout() *durationpb.Durationfunc (*HttpRoute_RetryPolicy) GetRetryConditions
func (x *HttpRoute_RetryPolicy) GetRetryConditions() []stringfunc (*HttpRoute_RetryPolicy) ProtoMessage
func (*HttpRoute_RetryPolicy) ProtoMessage()func (*HttpRoute_RetryPolicy) ProtoReflect
func (x *HttpRoute_RetryPolicy) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_RetryPolicy) Reset
func (x *HttpRoute_RetryPolicy) Reset()func (*HttpRoute_RetryPolicy) String
func (x *HttpRoute_RetryPolicy) String() stringHttpRoute_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. If HeaderModifiers are set
// on both the Destination and the RouteAction, they will be merged.
// Conflicts between the two will not be resolved on the configuration.
RequestHeaderModifier *HttpRoute_HeaderModifier `protobuf:"bytes,5,opt,name=request_header_modifier,json=requestHeaderModifier,proto3" json:"request_header_modifier,omitempty"`
// The specification for modifying the headers of a response prior to
// sending the response back to the client. If HeaderModifiers are set
// on both the Destination and the RouteAction, they will be merged.
// Conflicts between the two will not be resolved on the configuration.
ResponseHeaderModifier *HttpRoute_HeaderModifier `protobuf:"bytes,6,opt,name=response_header_modifier,json=responseHeaderModifier,proto3" json:"response_header_modifier,omitempty"`
// 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"`
// Optional. Specifies cookie-based stateful session affinity.
StatefulSessionAffinity *HttpRoute_StatefulSessionAffinityPolicy `protobuf:"bytes,12,opt,name=stateful_session_affinity,json=statefulSessionAffinity,proto3" json:"stateful_session_affinity,omitempty"`
// Optional. Static HTTP Response object to be returned regardless of the
// request.
DirectResponse *HttpRoute_HttpDirectResponse `protobuf:"bytes,13,opt,name=direct_response,json=directResponse,proto3" json:"direct_response,omitempty"`
// Optional. Specifies the idle timeout for the selected route. The idle
// timeout is defined as the period in which there are no bytes sent or
// received on either the upstream or downstream connection. If not set, the
// default idle timeout is 1 hour. If set to 0s, the timeout will be
// disabled.
IdleTimeout *durationpb.Duration `protobuf:"bytes,14,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
// contains filtered or unexported fields
}The specifications for routing traffic and applying associated policies.
func (*HttpRoute_RouteAction) Descriptor
func (*HttpRoute_RouteAction) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_RouteAction.ProtoReflect.Descriptor instead.
func (*HttpRoute_RouteAction) GetCorsPolicy
func (x *HttpRoute_RouteAction) GetCorsPolicy() *HttpRoute_CorsPolicyfunc (*HttpRoute_RouteAction) GetDestinations
func (x *HttpRoute_RouteAction) GetDestinations() []*HttpRoute_Destinationfunc (*HttpRoute_RouteAction) GetDirectResponse
func (x *HttpRoute_RouteAction) GetDirectResponse() *HttpRoute_HttpDirectResponsefunc (*HttpRoute_RouteAction) GetFaultInjectionPolicy
func (x *HttpRoute_RouteAction) GetFaultInjectionPolicy() *HttpRoute_FaultInjectionPolicyfunc (*HttpRoute_RouteAction) GetIdleTimeout
func (x *HttpRoute_RouteAction) GetIdleTimeout() *durationpb.Durationfunc (*HttpRoute_RouteAction) GetRedirect
func (x *HttpRoute_RouteAction) GetRedirect() *HttpRoute_Redirectfunc (*HttpRoute_RouteAction) GetRequestHeaderModifier
func (x *HttpRoute_RouteAction) GetRequestHeaderModifier() *HttpRoute_HeaderModifierfunc (*HttpRoute_RouteAction) GetRequestMirrorPolicy
func (x *HttpRoute_RouteAction) GetRequestMirrorPolicy() *HttpRoute_RequestMirrorPolicyfunc (*HttpRoute_RouteAction) GetResponseHeaderModifier
func (x *HttpRoute_RouteAction) GetResponseHeaderModifier() *HttpRoute_HeaderModifierfunc (*HttpRoute_RouteAction) GetRetryPolicy
func (x *HttpRoute_RouteAction) GetRetryPolicy() *HttpRoute_RetryPolicyfunc (*HttpRoute_RouteAction) GetStatefulSessionAffinity
func (x *HttpRoute_RouteAction) GetStatefulSessionAffinity() *HttpRoute_StatefulSessionAffinityPolicyfunc (*HttpRoute_RouteAction) GetTimeout
func (x *HttpRoute_RouteAction) GetTimeout() *durationpb.Durationfunc (*HttpRoute_RouteAction) GetUrlRewrite
func (x *HttpRoute_RouteAction) GetUrlRewrite() *HttpRoute_URLRewritefunc (*HttpRoute_RouteAction) ProtoMessage
func (*HttpRoute_RouteAction) ProtoMessage()func (*HttpRoute_RouteAction) ProtoReflect
func (x *HttpRoute_RouteAction) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_RouteAction) Reset
func (x *HttpRoute_RouteAction) Reset()func (*HttpRoute_RouteAction) String
func (x *HttpRoute_RouteAction) String() stringHttpRoute_RouteMatch
type HttpRoute_RouteMatch struct {
// Types that are valid to be assigned 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
func (*HttpRoute_RouteMatch) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_RouteMatch.ProtoReflect.Descriptor instead.
func (*HttpRoute_RouteMatch) GetFullPathMatch
func (x *HttpRoute_RouteMatch) GetFullPathMatch() stringfunc (*HttpRoute_RouteMatch) GetHeaders
func (x *HttpRoute_RouteMatch) GetHeaders() []*HttpRoute_HeaderMatchfunc (*HttpRoute_RouteMatch) GetIgnoreCase
func (x *HttpRoute_RouteMatch) GetIgnoreCase() boolfunc (*HttpRoute_RouteMatch) GetPathMatch
func (x *HttpRoute_RouteMatch) GetPathMatch() isHttpRoute_RouteMatch_PathMatchfunc (*HttpRoute_RouteMatch) GetPrefixMatch
func (x *HttpRoute_RouteMatch) GetPrefixMatch() stringfunc (*HttpRoute_RouteMatch) GetQueryParameters
func (x *HttpRoute_RouteMatch) GetQueryParameters() []*HttpRoute_QueryParameterMatchfunc (*HttpRoute_RouteMatch) GetRegexMatch
func (x *HttpRoute_RouteMatch) GetRegexMatch() stringfunc (*HttpRoute_RouteMatch) ProtoMessage
func (*HttpRoute_RouteMatch) ProtoMessage()func (*HttpRoute_RouteMatch) ProtoReflect
func (x *HttpRoute_RouteMatch) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_RouteMatch) Reset
func (x *HttpRoute_RouteMatch) Reset()func (*HttpRoute_RouteMatch) String
func (x *HttpRoute_RouteMatch) String() stringHttpRoute_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"`
}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"`
}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"`
}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
func (*HttpRoute_RouteRule) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_RouteRule.ProtoReflect.Descriptor instead.
func (*HttpRoute_RouteRule) GetAction
func (x *HttpRoute_RouteRule) GetAction() *HttpRoute_RouteActionfunc (*HttpRoute_RouteRule) GetMatches
func (x *HttpRoute_RouteRule) GetMatches() []*HttpRoute_RouteMatchfunc (*HttpRoute_RouteRule) ProtoMessage
func (*HttpRoute_RouteRule) ProtoMessage()func (*HttpRoute_RouteRule) ProtoReflect
func (x *HttpRoute_RouteRule) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_RouteRule) Reset
func (x *HttpRoute_RouteRule) Reset()func (*HttpRoute_RouteRule) String
func (x *HttpRoute_RouteRule) String() stringHttpRoute_StatefulSessionAffinityPolicy
type HttpRoute_StatefulSessionAffinityPolicy struct {
// Required. The cookie TTL value for the Set-Cookie header generated by
// the data plane. The lifetime of the cookie may be set to a value from 0
// to 86400 seconds (24 hours) inclusive.
//
// Set this to 0s to use a session cookie and disable cookie expiration.
CookieTtl *durationpb.Duration `protobuf:"bytes,1,opt,name=cookie_ttl,json=cookieTtl,proto3" json:"cookie_ttl,omitempty"`
// contains filtered or unexported fields
}The specification for cookie-based stateful session affinity where the date plane supplies a “session cookie” with the name "GSSA" which encodes a specific destination host and each request containing that cookie will be directed to that host as long as the destination host remains up and healthy.
The gRPC proxyless mesh library or sidecar proxy will manage the session cookie but the client application code is responsible for copying the cookie from each RPC in the session to the next.
func (*HttpRoute_StatefulSessionAffinityPolicy) Descriptor
func (*HttpRoute_StatefulSessionAffinityPolicy) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_StatefulSessionAffinityPolicy.ProtoReflect.Descriptor instead.
func (*HttpRoute_StatefulSessionAffinityPolicy) GetCookieTtl
func (x *HttpRoute_StatefulSessionAffinityPolicy) GetCookieTtl() *durationpb.Durationfunc (*HttpRoute_StatefulSessionAffinityPolicy) ProtoMessage
func (*HttpRoute_StatefulSessionAffinityPolicy) ProtoMessage()func (*HttpRoute_StatefulSessionAffinityPolicy) ProtoReflect
func (x *HttpRoute_StatefulSessionAffinityPolicy) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_StatefulSessionAffinityPolicy) Reset
func (x *HttpRoute_StatefulSessionAffinityPolicy) Reset()func (*HttpRoute_StatefulSessionAffinityPolicy) String
func (x *HttpRoute_StatefulSessionAffinityPolicy) String() stringHttpRoute_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
func (*HttpRoute_URLRewrite) Descriptor() ([]byte, []int)Deprecated: Use HttpRoute_URLRewrite.ProtoReflect.Descriptor instead.
func (*HttpRoute_URLRewrite) GetHostRewrite
func (x *HttpRoute_URLRewrite) GetHostRewrite() stringfunc (*HttpRoute_URLRewrite) GetPathPrefixRewrite
func (x *HttpRoute_URLRewrite) GetPathPrefixRewrite() stringfunc (*HttpRoute_URLRewrite) ProtoMessage
func (*HttpRoute_URLRewrite) ProtoMessage()func (*HttpRoute_URLRewrite) ProtoReflect
func (x *HttpRoute_URLRewrite) ProtoReflect() protoreflect.Messagefunc (*HttpRoute_URLRewrite) Reset
func (x *HttpRoute_URLRewrite) Reset()func (*HttpRoute_URLRewrite) String
func (x *HttpRoute_URLRewrite) String() stringLbEdgeExtension
type LbEdgeExtension struct {
// Required. Identifier. Name of the `LbEdgeExtension` resource in the
// following format:
// `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.
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. A human-readable description of the resource.
Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Set of labels associated with the `LbEdgeExtension` resource.
//
// The format must comply with [the requirements for
// labels](https://cloud.google.com/compute/docs/labeling-resources#requirements)
// for Google Cloud resources.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Required. A list of references to the forwarding rules to which this
// service extension is attached. At least one forwarding rule is required.
// Only one `LbEdgeExtension` resource can be associated with a forwarding
// rule.
ForwardingRules []string `protobuf:"bytes,5,rep,name=forwarding_rules,json=forwardingRules,proto3" json:"forwarding_rules,omitempty"`
// Required. A set of ordered extension chains that contain the match
// conditions and extensions to execute. Match conditions for each extension
// chain are evaluated in sequence for a given request. The first extension
// chain that has a condition that matches the request is executed.
// Any subsequent extension chains do not execute.
// Limited to 5 extension chains per resource.
ExtensionChains []*ExtensionChain `protobuf:"bytes,6,rep,name=extension_chains,json=extensionChains,proto3" json:"extension_chains,omitempty"`
// Required. All forwarding rules referenced by this extension must
// share the same load balancing scheme.
// Supported values: `EXTERNAL_MANAGED`.
LoadBalancingScheme LoadBalancingScheme `protobuf:"varint,7,opt,name=load_balancing_scheme,json=loadBalancingScheme,proto3,enum=google.cloud.networkservices.v1.LoadBalancingScheme" json:"load_balancing_scheme,omitempty"`
// contains filtered or unexported fields
}LbEdgeExtension is a resource that lets the extension service influence
the selection of backend services and Cloud CDN cache keys by modifying
request headers.
func (*LbEdgeExtension) Descriptor
func (*LbEdgeExtension) Descriptor() ([]byte, []int)Deprecated: Use LbEdgeExtension.ProtoReflect.Descriptor instead.
func (*LbEdgeExtension) GetCreateTime
func (x *LbEdgeExtension) GetCreateTime() *timestamppb.Timestampfunc (*LbEdgeExtension) GetDescription
func (x *LbEdgeExtension) GetDescription() stringfunc (*LbEdgeExtension) GetExtensionChains
func (x *LbEdgeExtension) GetExtensionChains() []*ExtensionChainfunc (*LbEdgeExtension) GetForwardingRules
func (x *LbEdgeExtension) GetForwardingRules() []stringfunc (*LbEdgeExtension) GetLabels
func (x *LbEdgeExtension) GetLabels() map[string]stringfunc (*LbEdgeExtension) GetLoadBalancingScheme
func (x *LbEdgeExtension) GetLoadBalancingScheme() LoadBalancingSchemefunc (*LbEdgeExtension) GetName
func (x *LbEdgeExtension) GetName() stringfunc (*LbEdgeExtension) GetUpdateTime
func (x *LbEdgeExtension) GetUpdateTime() *timestamppb.Timestampfunc (*LbEdgeExtension) ProtoMessage
func (*LbEdgeExtension) ProtoMessage()func (*LbEdgeExtension) ProtoReflect
func (x *LbEdgeExtension) ProtoReflect() protoreflect.Messagefunc (*LbEdgeExtension) Reset
func (x *LbEdgeExtension) Reset()func (*LbEdgeExtension) String
func (x *LbEdgeExtension) String() stringLbRouteExtension
type LbRouteExtension struct {
// Required. Identifier. Name of the `LbRouteExtension` resource in the
// following format:
// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}`.
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. A human-readable description of the resource.
Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Set of labels associated with the `LbRouteExtension` resource.
//
// The format must comply with [the requirements for
// labels](https://cloud.google.com/compute/docs/labeling-resources#requirements)
// for Google Cloud resources.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Required. A list of references to the forwarding rules to which this
// service extension is attached. At least one forwarding rule is required.
// Only one `LbRouteExtension` resource can be associated with a forwarding
// rule.
ForwardingRules []string `protobuf:"bytes,5,rep,name=forwarding_rules,json=forwardingRules,proto3" json:"forwarding_rules,omitempty"`
// Required. A set of ordered extension chains that contain the match
// conditions and extensions to execute. Match conditions for each extension
// chain are evaluated in sequence for a given request. The first extension
// chain that has a condition that matches the request is executed.
// Any subsequent extension chains do not execute.
// Limited to 5 extension chains per resource.
ExtensionChains []*ExtensionChain `protobuf:"bytes,7,rep,name=extension_chains,json=extensionChains,proto3" json:"extension_chains,omitempty"`
// Required. All backend services and forwarding rules referenced by this
// extension must share the same load balancing scheme. Supported values:
// `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to
// [Backend services
// overview](https://cloud.google.com/load-balancing/docs/backend-service).
LoadBalancingScheme LoadBalancingScheme `protobuf:"varint,8,opt,name=load_balancing_scheme,json=loadBalancingScheme,proto3,enum=google.cloud.networkservices.v1.LoadBalancingScheme" json:"load_balancing_scheme,omitempty"`
// Optional. The metadata provided here is included as part of the
// `metadata_context` (of type `google.protobuf.Struct`) in the
// `ProcessingRequest` message sent to the extension server.
//
// The metadata applies to all extensions in all extensions chains in this
// resource.
//
// The metadata is available under the key
// `com.google.lb_route_extension.LbRouteExtension is a resource that lets you control where traffic is
routed to for a given request.
func (*LbRouteExtension) Descriptor
func (*LbRouteExtension) Descriptor() ([]byte, []int)Deprecated: Use LbRouteExtension.ProtoReflect.Descriptor instead.
func (*LbRouteExtension) GetCreateTime
func (x *LbRouteExtension) GetCreateTime() *timestamppb.Timestampfunc (*LbRouteExtension) GetDescription
func (x *LbRouteExtension) GetDescription() stringfunc (*LbRouteExtension) GetExtensionChains
func (x *LbRouteExtension) GetExtensionChains() []*ExtensionChainfunc (*LbRouteExtension) GetForwardingRules
func (x *LbRouteExtension) GetForwardingRules() []stringfunc (*LbRouteExtension) GetLabels
func (x *LbRouteExtension) GetLabels() map[string]stringfunc (*LbRouteExtension) GetLoadBalancingScheme
func (x *LbRouteExtension) GetLoadBalancingScheme() LoadBalancingSchemefunc (*LbRouteExtension) GetMetadata
func (x *LbRouteExtension) GetMetadata() *structpb.Structfunc (*LbRouteExtension) GetName
func (x *LbRouteExtension) GetName() stringfunc (*LbRouteExtension) GetUpdateTime
func (x *LbRouteExtension) GetUpdateTime() *timestamppb.Timestampfunc (*LbRouteExtension) ProtoMessage
func (*LbRouteExtension) ProtoMessage()func (*LbRouteExtension) ProtoReflect
func (x *LbRouteExtension) ProtoReflect() protoreflect.Messagefunc (*LbRouteExtension) Reset
func (x *LbRouteExtension) Reset()func (*LbRouteExtension) String
func (x *LbRouteExtension) String() stringLbTrafficExtension
type LbTrafficExtension struct {
// Required. Identifier. Name of the `LbTrafficExtension` resource in the
// following format:
// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}`.
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. A human-readable description of the resource.
Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Set of labels associated with the `LbTrafficExtension` resource.
//
// The format must comply with [the requirements for
// labels](https://cloud.google.com/compute/docs/labeling-resources#requirements)
// for Google Cloud resources.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. A list of references to the forwarding rules to which this
// service extension is attached. At least one forwarding rule is required.
// Only one `LbTrafficExtension` resource can be associated with a forwarding
// rule.
ForwardingRules []string `protobuf:"bytes,5,rep,name=forwarding_rules,json=forwardingRules,proto3" json:"forwarding_rules,omitempty"`
// Required. A set of ordered extension chains that contain the match
// conditions and extensions to execute. Match conditions for each extension
// chain are evaluated in sequence for a given request. The first extension
// chain that has a condition that matches the request is executed.
// Any subsequent extension chains do not execute.
// Limited to 5 extension chains per resource.
ExtensionChains []*ExtensionChain `protobuf:"bytes,7,rep,name=extension_chains,json=extensionChains,proto3" json:"extension_chains,omitempty"`
// Required. All backend services and forwarding rules referenced by this
// extension must share the same load balancing scheme. Supported values:
// `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more information, refer to
// [Backend services
// overview](https://cloud.google.com/load-balancing/docs/backend-service).
LoadBalancingScheme LoadBalancingScheme `protobuf:"varint,8,opt,name=load_balancing_scheme,json=loadBalancingScheme,proto3,enum=google.cloud.networkservices.v1.LoadBalancingScheme" json:"load_balancing_scheme,omitempty"`
// Optional. The metadata provided here is included as part of the
// `metadata_context` (of type `google.protobuf.Struct`) in the
// `ProcessingRequest` message sent to the extension server.
//
// The metadata applies to all extensions in all extensions chains in this
// resource.
//
// The metadata is available under the key
// `com.google.lb_traffic_extension.LbTrafficExtension is a resource that lets the extension service modify the
headers and payloads of both requests and responses without impacting the
choice of backend services or any other security policies associated with the
backend service.
func (*LbTrafficExtension) Descriptor
func (*LbTrafficExtension) Descriptor() ([]byte, []int)Deprecated: Use LbTrafficExtension.ProtoReflect.Descriptor instead.
func (*LbTrafficExtension) GetCreateTime
func (x *LbTrafficExtension) GetCreateTime() *timestamppb.Timestampfunc (*LbTrafficExtension) GetDescription
func (x *LbTrafficExtension) GetDescription() stringfunc (*LbTrafficExtension) GetExtensionChains
func (x *LbTrafficExtension) GetExtensionChains() []*ExtensionChainfunc (*LbTrafficExtension) GetForwardingRules
func (x *LbTrafficExtension) GetForwardingRules() []stringfunc (*LbTrafficExtension) GetLabels
func (x *LbTrafficExtension) GetLabels() map[string]stringfunc (*LbTrafficExtension) GetLoadBalancingScheme
func (x *LbTrafficExtension) GetLoadBalancingScheme() LoadBalancingSchemefunc (*LbTrafficExtension) GetMetadata
func (x *LbTrafficExtension) GetMetadata() *structpb.Structfunc (*LbTrafficExtension) GetName
func (x *LbTrafficExtension) GetName() stringfunc (*LbTrafficExtension) GetUpdateTime
func (x *LbTrafficExtension) GetUpdateTime() *timestamppb.Timestampfunc (*LbTrafficExtension) ProtoMessage
func (*LbTrafficExtension) ProtoMessage()func (*LbTrafficExtension) ProtoReflect
func (x *LbTrafficExtension) ProtoReflect() protoreflect.Messagefunc (*LbTrafficExtension) Reset
func (x *LbTrafficExtension) Reset()func (*LbTrafficExtension) String
func (x *LbTrafficExtension) String() stringListAuthzExtensionsRequest
type ListAuthzExtensionsRequest struct {
// Required. The project and location from which the `AuthzExtension`
// resources are listed. These values are specified in the following format:
// `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. The server might return fewer items than
// requested. If unspecified, the server picks an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results that the server returns.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint about how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of AuthzExtension resources.
func (*ListAuthzExtensionsRequest) Descriptor
func (*ListAuthzExtensionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListAuthzExtensionsRequest.ProtoReflect.Descriptor instead.
func (*ListAuthzExtensionsRequest) GetFilter
func (x *ListAuthzExtensionsRequest) GetFilter() stringfunc (*ListAuthzExtensionsRequest) GetOrderBy
func (x *ListAuthzExtensionsRequest) GetOrderBy() stringfunc (*ListAuthzExtensionsRequest) GetPageSize
func (x *ListAuthzExtensionsRequest) GetPageSize() int32func (*ListAuthzExtensionsRequest) GetPageToken
func (x *ListAuthzExtensionsRequest) GetPageToken() stringfunc (*ListAuthzExtensionsRequest) GetParent
func (x *ListAuthzExtensionsRequest) GetParent() stringfunc (*ListAuthzExtensionsRequest) ProtoMessage
func (*ListAuthzExtensionsRequest) ProtoMessage()func (*ListAuthzExtensionsRequest) ProtoReflect
func (x *ListAuthzExtensionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListAuthzExtensionsRequest) Reset
func (x *ListAuthzExtensionsRequest) Reset()func (*ListAuthzExtensionsRequest) String
func (x *ListAuthzExtensionsRequest) String() stringListAuthzExtensionsResponse
type ListAuthzExtensionsResponse struct {
// The list of `AuthzExtension` resources.
AuthzExtensions []*AuthzExtension `protobuf:"bytes,1,rep,name=authz_extensions,json=authzExtensions,proto3" json:"authz_extensions,omitempty"`
// A token identifying a page of results that the server returns.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing AuthzExtension resources.
func (*ListAuthzExtensionsResponse) Descriptor
func (*ListAuthzExtensionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListAuthzExtensionsResponse.ProtoReflect.Descriptor instead.
func (*ListAuthzExtensionsResponse) GetAuthzExtensions
func (x *ListAuthzExtensionsResponse) GetAuthzExtensions() []*AuthzExtensionfunc (*ListAuthzExtensionsResponse) GetNextPageToken
func (x *ListAuthzExtensionsResponse) GetNextPageToken() stringfunc (*ListAuthzExtensionsResponse) GetUnreachable
func (x *ListAuthzExtensionsResponse) GetUnreachable() []stringfunc (*ListAuthzExtensionsResponse) ProtoMessage
func (*ListAuthzExtensionsResponse) ProtoMessage()func (*ListAuthzExtensionsResponse) ProtoReflect
func (x *ListAuthzExtensionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListAuthzExtensionsResponse) Reset
func (x *ListAuthzExtensionsResponse) Reset()func (*ListAuthzExtensionsResponse) String
func (x *ListAuthzExtensionsResponse) String() stringListEndpointPoliciesRequest
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"`
// Optional. If true, allow partial responses for multi-regional Aggregated
// List requests. Otherwise if one of the locations is down or unreachable,
// the Aggregated List request will fail.
ReturnPartialSuccess bool `protobuf:"varint,4,opt,name=return_partial_success,json=returnPartialSuccess,proto3" json:"return_partial_success,omitempty"`
// contains filtered or unexported fields
}Request used with the ListEndpointPolicies method.
func (*ListEndpointPoliciesRequest) Descriptor
func (*ListEndpointPoliciesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListEndpointPoliciesRequest.ProtoReflect.Descriptor instead.
func (*ListEndpointPoliciesRequest) GetPageSize
func (x *ListEndpointPoliciesRequest) GetPageSize() int32func (*ListEndpointPoliciesRequest) GetPageToken
func (x *ListEndpointPoliciesRequest) GetPageToken() stringfunc (*ListEndpointPoliciesRequest) GetParent
func (x *ListEndpointPoliciesRequest) GetParent() stringfunc (*ListEndpointPoliciesRequest) GetReturnPartialSuccess
func (x *ListEndpointPoliciesRequest) GetReturnPartialSuccess() boolfunc (*ListEndpointPoliciesRequest) ProtoMessage
func (*ListEndpointPoliciesRequest) ProtoMessage()func (*ListEndpointPoliciesRequest) ProtoReflect
func (x *ListEndpointPoliciesRequest) ProtoReflect() protoreflect.Messagefunc (*ListEndpointPoliciesRequest) Reset
func (x *ListEndpointPoliciesRequest) Reset()func (*ListEndpointPoliciesRequest) String
func (x *ListEndpointPoliciesRequest) String() stringListEndpointPoliciesResponse
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"`
// Unreachable resources. Populated when the request opts into
// [return_partial_success][google.cloud.networkservices.v1.ListEndpointPoliciesRequest.return_partial_success]
// and reading across collections e.g. when
// attempting to list all resources across all supported locations.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response returned by the ListEndpointPolicies method.
func (*ListEndpointPoliciesResponse) Descriptor
func (*ListEndpointPoliciesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListEndpointPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListEndpointPoliciesResponse) GetEndpointPolicies
func (x *ListEndpointPoliciesResponse) GetEndpointPolicies() []*EndpointPolicyfunc (*ListEndpointPoliciesResponse) GetNextPageToken
func (x *ListEndpointPoliciesResponse) GetNextPageToken() stringfunc (*ListEndpointPoliciesResponse) GetUnreachable
func (x *ListEndpointPoliciesResponse) GetUnreachable() []stringfunc (*ListEndpointPoliciesResponse) ProtoMessage
func (*ListEndpointPoliciesResponse) ProtoMessage()func (*ListEndpointPoliciesResponse) ProtoReflect
func (x *ListEndpointPoliciesResponse) ProtoReflect() protoreflect.Messagefunc (*ListEndpointPoliciesResponse) Reset
func (x *ListEndpointPoliciesResponse) Reset()func (*ListEndpointPoliciesResponse) String
func (x *ListEndpointPoliciesResponse) String() stringListGatewayRouteViewsRequest
type ListGatewayRouteViewsRequest struct {
// Required. The Gateway to which a Route is associated.
// Formats:
//
// projects/{project}/locations/{location}/gateways/{gateway}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Maximum number of GatewayRouteViews 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 `ListGatewayRouteViewsResponse`
// Indicates that this is a continuation of a prior `ListGatewayRouteViews`
// 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 ListGatewayRouteViews method.
func (*ListGatewayRouteViewsRequest) Descriptor
func (*ListGatewayRouteViewsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListGatewayRouteViewsRequest.ProtoReflect.Descriptor instead.
func (*ListGatewayRouteViewsRequest) GetPageSize
func (x *ListGatewayRouteViewsRequest) GetPageSize() int32func (*ListGatewayRouteViewsRequest) GetPageToken
func (x *ListGatewayRouteViewsRequest) GetPageToken() stringfunc (*ListGatewayRouteViewsRequest) GetParent
func (x *ListGatewayRouteViewsRequest) GetParent() stringfunc (*ListGatewayRouteViewsRequest) ProtoMessage
func (*ListGatewayRouteViewsRequest) ProtoMessage()func (*ListGatewayRouteViewsRequest) ProtoReflect
func (x *ListGatewayRouteViewsRequest) ProtoReflect() protoreflect.Messagefunc (*ListGatewayRouteViewsRequest) Reset
func (x *ListGatewayRouteViewsRequest) Reset()func (*ListGatewayRouteViewsRequest) String
func (x *ListGatewayRouteViewsRequest) String() stringListGatewayRouteViewsResponse
type ListGatewayRouteViewsResponse struct {
// List of GatewayRouteView resources.
GatewayRouteViews []*GatewayRouteView `protobuf:"bytes,1,rep,name=gateway_route_views,json=gatewayRouteViews,proto3" json:"gateway_route_views,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unreachable resources. Populated when the request attempts to list all
// resources across all supported locations, while some locations are
// temporarily unavailable.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response returned by the ListGatewayRouteViews method.
func (*ListGatewayRouteViewsResponse) Descriptor
func (*ListGatewayRouteViewsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListGatewayRouteViewsResponse.ProtoReflect.Descriptor instead.
func (*ListGatewayRouteViewsResponse) GetGatewayRouteViews
func (x *ListGatewayRouteViewsResponse) GetGatewayRouteViews() []*GatewayRouteViewfunc (*ListGatewayRouteViewsResponse) GetNextPageToken
func (x *ListGatewayRouteViewsResponse) GetNextPageToken() stringfunc (*ListGatewayRouteViewsResponse) GetUnreachable
func (x *ListGatewayRouteViewsResponse) GetUnreachable() []stringfunc (*ListGatewayRouteViewsResponse) ProtoMessage
func (*ListGatewayRouteViewsResponse) ProtoMessage()func (*ListGatewayRouteViewsResponse) ProtoReflect
func (x *ListGatewayRouteViewsResponse) ProtoReflect() protoreflect.Messagefunc (*ListGatewayRouteViewsResponse) Reset
func (x *ListGatewayRouteViewsResponse) Reset()func (*ListGatewayRouteViewsResponse) String
func (x *ListGatewayRouteViewsResponse) String() stringListGatewaysRequest
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
func (*ListGatewaysRequest) Descriptor() ([]byte, []int)Deprecated: Use ListGatewaysRequest.ProtoReflect.Descriptor instead.
func (*ListGatewaysRequest) GetPageSize
func (x *ListGatewaysRequest) GetPageSize() int32func (*ListGatewaysRequest) GetPageToken
func (x *ListGatewaysRequest) GetPageToken() stringfunc (*ListGatewaysRequest) GetParent
func (x *ListGatewaysRequest) GetParent() stringfunc (*ListGatewaysRequest) ProtoMessage
func (*ListGatewaysRequest) ProtoMessage()func (*ListGatewaysRequest) ProtoReflect
func (x *ListGatewaysRequest) ProtoReflect() protoreflect.Messagefunc (*ListGatewaysRequest) Reset
func (x *ListGatewaysRequest) Reset()func (*ListGatewaysRequest) String
func (x *ListGatewaysRequest) String() stringListGatewaysResponse
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"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response returned by the ListGateways method.
func (*ListGatewaysResponse) Descriptor
func (*ListGatewaysResponse) Descriptor() ([]byte, []int)Deprecated: Use ListGatewaysResponse.ProtoReflect.Descriptor instead.
func (*ListGatewaysResponse) GetGateways
func (x *ListGatewaysResponse) GetGateways() []*Gatewayfunc (*ListGatewaysResponse) GetNextPageToken
func (x *ListGatewaysResponse) GetNextPageToken() stringfunc (*ListGatewaysResponse) GetUnreachable
func (x *ListGatewaysResponse) GetUnreachable() []stringfunc (*ListGatewaysResponse) ProtoMessage
func (*ListGatewaysResponse) ProtoMessage()func (*ListGatewaysResponse) ProtoReflect
func (x *ListGatewaysResponse) ProtoReflect() protoreflect.Messagefunc (*ListGatewaysResponse) Reset
func (x *ListGatewaysResponse) Reset()func (*ListGatewaysResponse) String
func (x *ListGatewaysResponse) String() stringListGrpcRoutesRequest
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"`
// Optional. If true, allow partial responses for multi-regional Aggregated
// List requests. Otherwise if one of the locations is down or unreachable,
// the Aggregated List request will fail.
ReturnPartialSuccess bool `protobuf:"varint,4,opt,name=return_partial_success,json=returnPartialSuccess,proto3" json:"return_partial_success,omitempty"`
// contains filtered or unexported fields
}Request used with the ListGrpcRoutes method.
func (*ListGrpcRoutesRequest) Descriptor
func (*ListGrpcRoutesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListGrpcRoutesRequest.ProtoReflect.Descriptor instead.
func (*ListGrpcRoutesRequest) GetPageSize
func (x *ListGrpcRoutesRequest) GetPageSize() int32func (*ListGrpcRoutesRequest) GetPageToken
func (x *ListGrpcRoutesRequest) GetPageToken() stringfunc (*ListGrpcRoutesRequest) GetParent
func (x *ListGrpcRoutesRequest) GetParent() stringfunc (*ListGrpcRoutesRequest) GetReturnPartialSuccess
func (x *ListGrpcRoutesRequest) GetReturnPartialSuccess() boolfunc (*ListGrpcRoutesRequest) ProtoMessage
func (*ListGrpcRoutesRequest) ProtoMessage()func (*ListGrpcRoutesRequest) ProtoReflect
func (x *ListGrpcRoutesRequest) ProtoReflect() protoreflect.Messagefunc (*ListGrpcRoutesRequest) Reset
func (x *ListGrpcRoutesRequest) Reset()func (*ListGrpcRoutesRequest) String
func (x *ListGrpcRoutesRequest) String() stringListGrpcRoutesResponse
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"`
// Unreachable resources. Populated when the request opts into
// [return_partial_success][google.cloud.networkservices.v1.ListGrpcRoutesRequest.return_partial_success]
// and reading across collections e.g. when attempting to list all resources
// across all supported locations.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response returned by the ListGrpcRoutes method.
func (*ListGrpcRoutesResponse) Descriptor
func (*ListGrpcRoutesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListGrpcRoutesResponse.ProtoReflect.Descriptor instead.
func (*ListGrpcRoutesResponse) GetGrpcRoutes
func (x *ListGrpcRoutesResponse) GetGrpcRoutes() []*GrpcRoutefunc (*ListGrpcRoutesResponse) GetNextPageToken
func (x *ListGrpcRoutesResponse) GetNextPageToken() stringfunc (*ListGrpcRoutesResponse) GetUnreachable
func (x *ListGrpcRoutesResponse) GetUnreachable() []stringfunc (*ListGrpcRoutesResponse) ProtoMessage
func (*ListGrpcRoutesResponse) ProtoMessage()func (*ListGrpcRoutesResponse) ProtoReflect
func (x *ListGrpcRoutesResponse) ProtoReflect() protoreflect.Messagefunc (*ListGrpcRoutesResponse) Reset
func (x *ListGrpcRoutesResponse) Reset()func (*ListGrpcRoutesResponse) String
func (x *ListGrpcRoutesResponse) String() stringListHttpRoutesRequest
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"`
// Optional. If true, allow partial responses for multi-regional Aggregated
// List requests. Otherwise if one of the locations is down or unreachable,
// the Aggregated List request will fail.
ReturnPartialSuccess bool `protobuf:"varint,4,opt,name=return_partial_success,json=returnPartialSuccess,proto3" json:"return_partial_success,omitempty"`
// contains filtered or unexported fields
}Request used with the ListHttpRoutes method.
func (*ListHttpRoutesRequest) Descriptor
func (*ListHttpRoutesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListHttpRoutesRequest.ProtoReflect.Descriptor instead.
func (*ListHttpRoutesRequest) GetPageSize
func (x *ListHttpRoutesRequest) GetPageSize() int32func (*ListHttpRoutesRequest) GetPageToken
func (x *ListHttpRoutesRequest) GetPageToken() stringfunc (*ListHttpRoutesRequest) GetParent
func (x *ListHttpRoutesRequest) GetParent() stringfunc (*ListHttpRoutesRequest) GetReturnPartialSuccess
func (x *ListHttpRoutesRequest) GetReturnPartialSuccess() boolfunc (*ListHttpRoutesRequest) ProtoMessage
func (*ListHttpRoutesRequest) ProtoMessage()func (*ListHttpRoutesRequest) ProtoReflect
func (x *ListHttpRoutesRequest) ProtoReflect() protoreflect.Messagefunc (*ListHttpRoutesRequest) Reset
func (x *ListHttpRoutesRequest) Reset()func (*ListHttpRoutesRequest) String
func (x *ListHttpRoutesRequest) String() stringListHttpRoutesResponse
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"`
// Unreachable resources. Populated when the request opts into
// [return_partial_success][google.cloud.networkservices.v1.ListHttpRoutesRequest.return_partial_success]
// and reading across collections e.g. when attempting to list all resources
// across all supported locations.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response returned by the ListHttpRoutes method.
func (*ListHttpRoutesResponse) Descriptor
func (*ListHttpRoutesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListHttpRoutesResponse.ProtoReflect.Descriptor instead.
func (*ListHttpRoutesResponse) GetHttpRoutes
func (x *ListHttpRoutesResponse) GetHttpRoutes() []*HttpRoutefunc (*ListHttpRoutesResponse) GetNextPageToken
func (x *ListHttpRoutesResponse) GetNextPageToken() stringfunc (*ListHttpRoutesResponse) GetUnreachable
func (x *ListHttpRoutesResponse) GetUnreachable() []stringfunc (*ListHttpRoutesResponse) ProtoMessage
func (*ListHttpRoutesResponse) ProtoMessage()func (*ListHttpRoutesResponse) ProtoReflect
func (x *ListHttpRoutesResponse) ProtoReflect() protoreflect.Messagefunc (*ListHttpRoutesResponse) Reset
func (x *ListHttpRoutesResponse) Reset()func (*ListHttpRoutesResponse) String
func (x *ListHttpRoutesResponse) String() stringListLbEdgeExtensionsRequest
type ListLbEdgeExtensionsRequest struct {
// Required. The project and location from which the `LbEdgeExtension`
// resources are listed. These values are specified in the following format:
// `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. The server might return fewer items than
// requested. If unspecified, the server picks an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results that the server returns.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint about how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of LbEdgeExtension resources.
func (*ListLbEdgeExtensionsRequest) Descriptor
func (*ListLbEdgeExtensionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListLbEdgeExtensionsRequest.ProtoReflect.Descriptor instead.
func (*ListLbEdgeExtensionsRequest) GetFilter
func (x *ListLbEdgeExtensionsRequest) GetFilter() stringfunc (*ListLbEdgeExtensionsRequest) GetOrderBy
func (x *ListLbEdgeExtensionsRequest) GetOrderBy() stringfunc (*ListLbEdgeExtensionsRequest) GetPageSize
func (x *ListLbEdgeExtensionsRequest) GetPageSize() int32func (*ListLbEdgeExtensionsRequest) GetPageToken
func (x *ListLbEdgeExtensionsRequest) GetPageToken() stringfunc (*ListLbEdgeExtensionsRequest) GetParent
func (x *ListLbEdgeExtensionsRequest) GetParent() stringfunc (*ListLbEdgeExtensionsRequest) ProtoMessage
func (*ListLbEdgeExtensionsRequest) ProtoMessage()func (*ListLbEdgeExtensionsRequest) ProtoReflect
func (x *ListLbEdgeExtensionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListLbEdgeExtensionsRequest) Reset
func (x *ListLbEdgeExtensionsRequest) Reset()func (*ListLbEdgeExtensionsRequest) String
func (x *ListLbEdgeExtensionsRequest) String() stringListLbEdgeExtensionsResponse
type ListLbEdgeExtensionsResponse struct {
// The list of `LbEdgeExtension` resources.
LbEdgeExtensions []*LbEdgeExtension `protobuf:"bytes,1,rep,name=lb_edge_extensions,json=lbEdgeExtensions,proto3" json:"lb_edge_extensions,omitempty"`
// A token identifying a page of results that the server returns.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing LbEdgeExtension resources.
func (*ListLbEdgeExtensionsResponse) Descriptor
func (*ListLbEdgeExtensionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListLbEdgeExtensionsResponse.ProtoReflect.Descriptor instead.
func (*ListLbEdgeExtensionsResponse) GetLbEdgeExtensions
func (x *ListLbEdgeExtensionsResponse) GetLbEdgeExtensions() []*LbEdgeExtensionfunc (*ListLbEdgeExtensionsResponse) GetNextPageToken
func (x *ListLbEdgeExtensionsResponse) GetNextPageToken() stringfunc (*ListLbEdgeExtensionsResponse) GetUnreachable
func (x *ListLbEdgeExtensionsResponse) GetUnreachable() []stringfunc (*ListLbEdgeExtensionsResponse) ProtoMessage
func (*ListLbEdgeExtensionsResponse) ProtoMessage()func (*ListLbEdgeExtensionsResponse) ProtoReflect
func (x *ListLbEdgeExtensionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListLbEdgeExtensionsResponse) Reset
func (x *ListLbEdgeExtensionsResponse) Reset()func (*ListLbEdgeExtensionsResponse) String
func (x *ListLbEdgeExtensionsResponse) String() stringListLbRouteExtensionsRequest
type ListLbRouteExtensionsRequest struct {
// Required. The project and location from which the `LbRouteExtension`
// resources are listed. These values are specified in the following format:
// `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. The server might return fewer items than
// requested. If unspecified, the server picks an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results that the server returns.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint about how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of LbRouteExtension resources.
func (*ListLbRouteExtensionsRequest) Descriptor
func (*ListLbRouteExtensionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListLbRouteExtensionsRequest.ProtoReflect.Descriptor instead.
func (*ListLbRouteExtensionsRequest) GetFilter
func (x *ListLbRouteExtensionsRequest) GetFilter() stringfunc (*ListLbRouteExtensionsRequest) GetOrderBy
func (x *ListLbRouteExtensionsRequest) GetOrderBy() stringfunc (*ListLbRouteExtensionsRequest) GetPageSize
func (x *ListLbRouteExtensionsRequest) GetPageSize() int32func (*ListLbRouteExtensionsRequest) GetPageToken
func (x *ListLbRouteExtensionsRequest) GetPageToken() stringfunc (*ListLbRouteExtensionsRequest) GetParent
func (x *ListLbRouteExtensionsRequest) GetParent() stringfunc (*ListLbRouteExtensionsRequest) ProtoMessage
func (*ListLbRouteExtensionsRequest) ProtoMessage()func (*ListLbRouteExtensionsRequest) ProtoReflect
func (x *ListLbRouteExtensionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListLbRouteExtensionsRequest) Reset
func (x *ListLbRouteExtensionsRequest) Reset()func (*ListLbRouteExtensionsRequest) String
func (x *ListLbRouteExtensionsRequest) String() stringListLbRouteExtensionsResponse
type ListLbRouteExtensionsResponse struct {
// The list of `LbRouteExtension` resources.
LbRouteExtensions []*LbRouteExtension `protobuf:"bytes,1,rep,name=lb_route_extensions,json=lbRouteExtensions,proto3" json:"lb_route_extensions,omitempty"`
// A token identifying a page of results that the server returns.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing LbRouteExtension resources.
func (*ListLbRouteExtensionsResponse) Descriptor
func (*ListLbRouteExtensionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListLbRouteExtensionsResponse.ProtoReflect.Descriptor instead.
func (*ListLbRouteExtensionsResponse) GetLbRouteExtensions
func (x *ListLbRouteExtensionsResponse) GetLbRouteExtensions() []*LbRouteExtensionfunc (*ListLbRouteExtensionsResponse) GetNextPageToken
func (x *ListLbRouteExtensionsResponse) GetNextPageToken() stringfunc (*ListLbRouteExtensionsResponse) GetUnreachable
func (x *ListLbRouteExtensionsResponse) GetUnreachable() []stringfunc (*ListLbRouteExtensionsResponse) ProtoMessage
func (*ListLbRouteExtensionsResponse) ProtoMessage()func (*ListLbRouteExtensionsResponse) ProtoReflect
func (x *ListLbRouteExtensionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListLbRouteExtensionsResponse) Reset
func (x *ListLbRouteExtensionsResponse) Reset()func (*ListLbRouteExtensionsResponse) String
func (x *ListLbRouteExtensionsResponse) String() stringListLbTrafficExtensionsRequest
type ListLbTrafficExtensionsRequest struct {
// Required. The project and location from which the `LbTrafficExtension`
// resources are listed. These values are specified in the following format:
// `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. The server might return fewer items than
// requested. If unspecified, the server picks an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results that the server returns.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint about how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of LbTrafficExtension resources.
func (*ListLbTrafficExtensionsRequest) Descriptor
func (*ListLbTrafficExtensionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListLbTrafficExtensionsRequest.ProtoReflect.Descriptor instead.
func (*ListLbTrafficExtensionsRequest) GetFilter
func (x *ListLbTrafficExtensionsRequest) GetFilter() stringfunc (*ListLbTrafficExtensionsRequest) GetOrderBy
func (x *ListLbTrafficExtensionsRequest) GetOrderBy() stringfunc (*ListLbTrafficExtensionsRequest) GetPageSize
func (x *ListLbTrafficExtensionsRequest) GetPageSize() int32func (*ListLbTrafficExtensionsRequest) GetPageToken
func (x *ListLbTrafficExtensionsRequest) GetPageToken() stringfunc (*ListLbTrafficExtensionsRequest) GetParent
func (x *ListLbTrafficExtensionsRequest) GetParent() stringfunc (*ListLbTrafficExtensionsRequest) ProtoMessage
func (*ListLbTrafficExtensionsRequest) ProtoMessage()func (*ListLbTrafficExtensionsRequest) ProtoReflect
func (x *ListLbTrafficExtensionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListLbTrafficExtensionsRequest) Reset
func (x *ListLbTrafficExtensionsRequest) Reset()func (*ListLbTrafficExtensionsRequest) String
func (x *ListLbTrafficExtensionsRequest) String() stringListLbTrafficExtensionsResponse
type ListLbTrafficExtensionsResponse struct {
// The list of `LbTrafficExtension` resources.
LbTrafficExtensions []*LbTrafficExtension `protobuf:"bytes,1,rep,name=lb_traffic_extensions,json=lbTrafficExtensions,proto3" json:"lb_traffic_extensions,omitempty"`
// A token identifying a page of results that the server returns.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing LbTrafficExtension resources.
func (*ListLbTrafficExtensionsResponse) Descriptor
func (*ListLbTrafficExtensionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListLbTrafficExtensionsResponse.ProtoReflect.Descriptor instead.
func (*ListLbTrafficExtensionsResponse) GetLbTrafficExtensions
func (x *ListLbTrafficExtensionsResponse) GetLbTrafficExtensions() []*LbTrafficExtensionfunc (*ListLbTrafficExtensionsResponse) GetNextPageToken
func (x *ListLbTrafficExtensionsResponse) GetNextPageToken() stringfunc (*ListLbTrafficExtensionsResponse) GetUnreachable
func (x *ListLbTrafficExtensionsResponse) GetUnreachable() []stringfunc (*ListLbTrafficExtensionsResponse) ProtoMessage
func (*ListLbTrafficExtensionsResponse) ProtoMessage()func (*ListLbTrafficExtensionsResponse) ProtoReflect
func (x *ListLbTrafficExtensionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListLbTrafficExtensionsResponse) Reset
func (x *ListLbTrafficExtensionsResponse) Reset()func (*ListLbTrafficExtensionsResponse) String
func (x *ListLbTrafficExtensionsResponse) String() stringListMeshRouteViewsRequest
type ListMeshRouteViewsRequest struct {
// Required. The Mesh to which a Route is associated.
// Format:
//
// projects/{project}/locations/{location}/meshes/{mesh}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Maximum number of MeshRouteViews 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 `ListMeshRouteViewsResponse`
// Indicates that this is a continuation of a prior `ListMeshRouteViews` 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 ListMeshRouteViews method.
func (*ListMeshRouteViewsRequest) Descriptor
func (*ListMeshRouteViewsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListMeshRouteViewsRequest.ProtoReflect.Descriptor instead.
func (*ListMeshRouteViewsRequest) GetPageSize
func (x *ListMeshRouteViewsRequest) GetPageSize() int32func (*ListMeshRouteViewsRequest) GetPageToken
func (x *ListMeshRouteViewsRequest) GetPageToken() stringfunc (*ListMeshRouteViewsRequest) GetParent
func (x *ListMeshRouteViewsRequest) GetParent() stringfunc (*ListMeshRouteViewsRequest) ProtoMessage
func (*ListMeshRouteViewsRequest) ProtoMessage()func (*ListMeshRouteViewsRequest) ProtoReflect
func (x *ListMeshRouteViewsRequest) ProtoReflect() protoreflect.Messagefunc (*ListMeshRouteViewsRequest) Reset
func (x *ListMeshRouteViewsRequest) Reset()func (*ListMeshRouteViewsRequest) String
func (x *ListMeshRouteViewsRequest) String() stringListMeshRouteViewsResponse
type ListMeshRouteViewsResponse struct {
// List of MeshRouteView resources.
MeshRouteViews []*MeshRouteView `protobuf:"bytes,1,rep,name=mesh_route_views,json=meshRouteViews,proto3" json:"mesh_route_views,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unreachable resources. Populated when the request attempts to list all
// resources across all supported locations, while some locations are
// temporarily unavailable.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response returned by the ListMeshRouteViews method.
func (*ListMeshRouteViewsResponse) Descriptor
func (*ListMeshRouteViewsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListMeshRouteViewsResponse.ProtoReflect.Descriptor instead.
func (*ListMeshRouteViewsResponse) GetMeshRouteViews
func (x *ListMeshRouteViewsResponse) GetMeshRouteViews() []*MeshRouteViewfunc (*ListMeshRouteViewsResponse) GetNextPageToken
func (x *ListMeshRouteViewsResponse) GetNextPageToken() stringfunc (*ListMeshRouteViewsResponse) GetUnreachable
func (x *ListMeshRouteViewsResponse) GetUnreachable() []stringfunc (*ListMeshRouteViewsResponse) ProtoMessage
func (*ListMeshRouteViewsResponse) ProtoMessage()func (*ListMeshRouteViewsResponse) ProtoReflect
func (x *ListMeshRouteViewsResponse) ProtoReflect() protoreflect.Messagefunc (*ListMeshRouteViewsResponse) Reset
func (x *ListMeshRouteViewsResponse) Reset()func (*ListMeshRouteViewsResponse) String
func (x *ListMeshRouteViewsResponse) String() stringListMeshesRequest
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"`
// Optional. If true, allow partial responses for multi-regional Aggregated
// List requests. Otherwise if one of the locations is down or unreachable,
// the Aggregated List request will fail.
ReturnPartialSuccess bool `protobuf:"varint,4,opt,name=return_partial_success,json=returnPartialSuccess,proto3" json:"return_partial_success,omitempty"`
// contains filtered or unexported fields
}Request used with the ListMeshes method.
func (*ListMeshesRequest) Descriptor
func (*ListMeshesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListMeshesRequest.ProtoReflect.Descriptor instead.
func (*ListMeshesRequest) GetPageSize
func (x *ListMeshesRequest) GetPageSize() int32func (*ListMeshesRequest) GetPageToken
func (x *ListMeshesRequest) GetPageToken() stringfunc (*ListMeshesRequest) GetParent
func (x *ListMeshesRequest) GetParent() stringfunc (*ListMeshesRequest) GetReturnPartialSuccess
func (x *ListMeshesRequest) GetReturnPartialSuccess() boolfunc (*ListMeshesRequest) ProtoMessage
func (*ListMeshesRequest) ProtoMessage()func (*ListMeshesRequest) ProtoReflect
func (x *ListMeshesRequest) ProtoReflect() protoreflect.Messagefunc (*ListMeshesRequest) Reset
func (x *ListMeshesRequest) Reset()func (*ListMeshesRequest) String
func (x *ListMeshesRequest) String() stringListMeshesResponse
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"`
// Unreachable resources. Populated when the request opts into
// `return_partial_success` and reading across collections e.g. when
// attempting to list all resources across all supported locations.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response returned by the ListMeshes method.
func (*ListMeshesResponse) Descriptor
func (*ListMeshesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListMeshesResponse.ProtoReflect.Descriptor instead.
func (*ListMeshesResponse) GetMeshes
func (x *ListMeshesResponse) GetMeshes() []*Meshfunc (*ListMeshesResponse) GetNextPageToken
func (x *ListMeshesResponse) GetNextPageToken() stringfunc (*ListMeshesResponse) GetUnreachable
func (x *ListMeshesResponse) GetUnreachable() []stringfunc (*ListMeshesResponse) ProtoMessage
func (*ListMeshesResponse) ProtoMessage()func (*ListMeshesResponse) ProtoReflect
func (x *ListMeshesResponse) ProtoReflect() protoreflect.Messagefunc (*ListMeshesResponse) Reset
func (x *ListMeshesResponse) Reset()func (*ListMeshesResponse) String
func (x *ListMeshesResponse) String() stringListServiceBindingsRequest
type ListServiceBindingsRequest struct {
// Required. The project and location from which the ServiceBindings should be
// listed, specified in the format `projects/*/locations/*`.
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
func (*ListServiceBindingsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListServiceBindingsRequest.ProtoReflect.Descriptor instead.
func (*ListServiceBindingsRequest) GetPageSize
func (x *ListServiceBindingsRequest) GetPageSize() int32func (*ListServiceBindingsRequest) GetPageToken
func (x *ListServiceBindingsRequest) GetPageToken() stringfunc (*ListServiceBindingsRequest) GetParent
func (x *ListServiceBindingsRequest) GetParent() stringfunc (*ListServiceBindingsRequest) ProtoMessage
func (*ListServiceBindingsRequest) ProtoMessage()func (*ListServiceBindingsRequest) ProtoReflect
func (x *ListServiceBindingsRequest) ProtoReflect() protoreflect.Messagefunc (*ListServiceBindingsRequest) Reset
func (x *ListServiceBindingsRequest) Reset()func (*ListServiceBindingsRequest) String
func (x *ListServiceBindingsRequest) String() stringListServiceBindingsResponse
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"`
// Unreachable resources. Populated when the request attempts to list all
// resources across all supported locations, while some locations are
// temporarily unavailable.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response returned by the ListServiceBindings method.
func (*ListServiceBindingsResponse) Descriptor
func (*ListServiceBindingsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListServiceBindingsResponse.ProtoReflect.Descriptor instead.
func (*ListServiceBindingsResponse) GetNextPageToken
func (x *ListServiceBindingsResponse) GetNextPageToken() stringfunc (*ListServiceBindingsResponse) GetServiceBindings
func (x *ListServiceBindingsResponse) GetServiceBindings() []*ServiceBindingfunc (*ListServiceBindingsResponse) GetUnreachable
func (x *ListServiceBindingsResponse) GetUnreachable() []stringfunc (*ListServiceBindingsResponse) ProtoMessage
func (*ListServiceBindingsResponse) ProtoMessage()func (*ListServiceBindingsResponse) ProtoReflect
func (x *ListServiceBindingsResponse) ProtoReflect() protoreflect.Messagefunc (*ListServiceBindingsResponse) Reset
func (x *ListServiceBindingsResponse) Reset()func (*ListServiceBindingsResponse) String
func (x *ListServiceBindingsResponse) String() stringListServiceLbPoliciesRequest
type ListServiceLbPoliciesRequest struct {
// Required. The project and location from which the ServiceLbPolicies should
// be listed, specified in the format
// `projects/{project}/locations/{location}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Maximum number of ServiceLbPolicies 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 `ListServiceLbPoliciesResponse`
// 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 ListServiceLbPolicies method.
func (*ListServiceLbPoliciesRequest) Descriptor
func (*ListServiceLbPoliciesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListServiceLbPoliciesRequest.ProtoReflect.Descriptor instead.
func (*ListServiceLbPoliciesRequest) GetPageSize
func (x *ListServiceLbPoliciesRequest) GetPageSize() int32func (*ListServiceLbPoliciesRequest) GetPageToken
func (x *ListServiceLbPoliciesRequest) GetPageToken() stringfunc (*ListServiceLbPoliciesRequest) GetParent
func (x *ListServiceLbPoliciesRequest) GetParent() stringfunc (*ListServiceLbPoliciesRequest) ProtoMessage
func (*ListServiceLbPoliciesRequest) ProtoMessage()func (*ListServiceLbPoliciesRequest) ProtoReflect
func (x *ListServiceLbPoliciesRequest) ProtoReflect() protoreflect.Messagefunc (*ListServiceLbPoliciesRequest) Reset
func (x *ListServiceLbPoliciesRequest) Reset()func (*ListServiceLbPoliciesRequest) String
func (x *ListServiceLbPoliciesRequest) String() stringListServiceLbPoliciesResponse
type ListServiceLbPoliciesResponse struct {
// List of ServiceLbPolicy resources.
ServiceLbPolicies []*ServiceLbPolicy `protobuf:"bytes,1,rep,name=service_lb_policies,json=serviceLbPolicies,proto3" json:"service_lb_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"`
// Unreachable resources. Populated when the request attempts to list all
// resources across all supported locations, while some locations are
// temporarily unavailable.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response returned by the ListServiceLbPolicies method.
func (*ListServiceLbPoliciesResponse) Descriptor
func (*ListServiceLbPoliciesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListServiceLbPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListServiceLbPoliciesResponse) GetNextPageToken
func (x *ListServiceLbPoliciesResponse) GetNextPageToken() stringfunc (*ListServiceLbPoliciesResponse) GetServiceLbPolicies
func (x *ListServiceLbPoliciesResponse) GetServiceLbPolicies() []*ServiceLbPolicyfunc (*ListServiceLbPoliciesResponse) GetUnreachable
func (x *ListServiceLbPoliciesResponse) GetUnreachable() []stringfunc (*ListServiceLbPoliciesResponse) ProtoMessage
func (*ListServiceLbPoliciesResponse) ProtoMessage()func (*ListServiceLbPoliciesResponse) ProtoReflect
func (x *ListServiceLbPoliciesResponse) ProtoReflect() protoreflect.Messagefunc (*ListServiceLbPoliciesResponse) Reset
func (x *ListServiceLbPoliciesResponse) Reset()func (*ListServiceLbPoliciesResponse) String
func (x *ListServiceLbPoliciesResponse) String() stringListTcpRoutesRequest
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"`
// Optional. If true, allow partial responses for multi-regional Aggregated
// List requests. Otherwise if one of the locations is down or unreachable,
// the Aggregated List request will fail.
ReturnPartialSuccess bool `protobuf:"varint,4,opt,name=return_partial_success,json=returnPartialSuccess,proto3" json:"return_partial_success,omitempty"`
// contains filtered or unexported fields
}Request used with the ListTcpRoutes method.
func (*ListTcpRoutesRequest) Descriptor
func (*ListTcpRoutesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTcpRoutesRequest.ProtoReflect.Descriptor instead.
func (*ListTcpRoutesRequest) GetPageSize
func (x *ListTcpRoutesRequest) GetPageSize() int32func (*ListTcpRoutesRequest) GetPageToken
func (x *ListTcpRoutesRequest) GetPageToken() stringfunc (*ListTcpRoutesRequest) GetParent
func (x *ListTcpRoutesRequest) GetParent() stringfunc (*ListTcpRoutesRequest) GetReturnPartialSuccess
func (x *ListTcpRoutesRequest) GetReturnPartialSuccess() boolfunc (*ListTcpRoutesRequest) ProtoMessage
func (*ListTcpRoutesRequest) ProtoMessage()func (*ListTcpRoutesRequest) ProtoReflect
func (x *ListTcpRoutesRequest) ProtoReflect() protoreflect.Messagefunc (*ListTcpRoutesRequest) Reset
func (x *ListTcpRoutesRequest) Reset()func (*ListTcpRoutesRequest) String
func (x *ListTcpRoutesRequest) String() stringListTcpRoutesResponse
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"`
// Unreachable resources. Populated when the request opts into
// [return_partial_success][google.cloud.networkservices.v1.ListTcpRoutesRequest.return_partial_success]
// and reading across collections e.g. when attempting to list all resources
// across all supported locations.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response returned by the ListTcpRoutes method.
func (*ListTcpRoutesResponse) Descriptor
func (*ListTcpRoutesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTcpRoutesResponse.ProtoReflect.Descriptor instead.
func (*ListTcpRoutesResponse) GetNextPageToken
func (x *ListTcpRoutesResponse) GetNextPageToken() stringfunc (*ListTcpRoutesResponse) GetTcpRoutes
func (x *ListTcpRoutesResponse) GetTcpRoutes() []*TcpRoutefunc (*ListTcpRoutesResponse) GetUnreachable
func (x *ListTcpRoutesResponse) GetUnreachable() []stringfunc (*ListTcpRoutesResponse) ProtoMessage
func (*ListTcpRoutesResponse) ProtoMessage()func (*ListTcpRoutesResponse) ProtoReflect
func (x *ListTcpRoutesResponse) ProtoReflect() protoreflect.Messagefunc (*ListTcpRoutesResponse) Reset
func (x *ListTcpRoutesResponse) Reset()func (*ListTcpRoutesResponse) String
func (x *ListTcpRoutesResponse) String() stringListTlsRoutesRequest
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"`
// Optional. If true, allow partial responses for multi-regional Aggregated
// List requests. Otherwise if one of the locations is down or unreachable,
// the Aggregated List request will fail.
ReturnPartialSuccess bool `protobuf:"varint,4,opt,name=return_partial_success,json=returnPartialSuccess,proto3" json:"return_partial_success,omitempty"`
// contains filtered or unexported fields
}Request used with the ListTlsRoutes method.
func (*ListTlsRoutesRequest) Descriptor
func (*ListTlsRoutesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTlsRoutesRequest.ProtoReflect.Descriptor instead.
func (*ListTlsRoutesRequest) GetPageSize
func (x *ListTlsRoutesRequest) GetPageSize() int32func (*ListTlsRoutesRequest) GetPageToken
func (x *ListTlsRoutesRequest) GetPageToken() stringfunc (*ListTlsRoutesRequest) GetParent
func (x *ListTlsRoutesRequest) GetParent() stringfunc (*ListTlsRoutesRequest) GetReturnPartialSuccess
func (x *ListTlsRoutesRequest) GetReturnPartialSuccess() boolfunc (*ListTlsRoutesRequest) ProtoMessage
func (*ListTlsRoutesRequest) ProtoMessage()func (*ListTlsRoutesRequest) ProtoReflect
func (x *ListTlsRoutesRequest) ProtoReflect() protoreflect.Messagefunc (*ListTlsRoutesRequest) Reset
func (x *ListTlsRoutesRequest) Reset()func (*ListTlsRoutesRequest) String
func (x *ListTlsRoutesRequest) String() stringListTlsRoutesResponse
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"`
// Unreachable resources. Populated when the request opts into
// [return_partial_success][google.cloud.networkservices.v1.ListTlsRoutesRequest.return_partial_success]
// and reading across collections e.g. when attempting to list all resources
// across all supported locations.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response returned by the ListTlsRoutes method.
func (*ListTlsRoutesResponse) Descriptor
func (*ListTlsRoutesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTlsRoutesResponse.ProtoReflect.Descriptor instead.
func (*ListTlsRoutesResponse) GetNextPageToken
func (x *ListTlsRoutesResponse) GetNextPageToken() stringfunc (*ListTlsRoutesResponse) GetTlsRoutes
func (x *ListTlsRoutesResponse) GetTlsRoutes() []*TlsRoutefunc (*ListTlsRoutesResponse) GetUnreachable
func (x *ListTlsRoutesResponse) GetUnreachable() []stringfunc (*ListTlsRoutesResponse) ProtoMessage
func (*ListTlsRoutesResponse) ProtoMessage()func (*ListTlsRoutesResponse) ProtoReflect
func (x *ListTlsRoutesResponse) ProtoReflect() protoreflect.Messagefunc (*ListTlsRoutesResponse) Reset
func (x *ListTlsRoutesResponse) Reset()func (*ListTlsRoutesResponse) String
func (x *ListTlsRoutesResponse) String() stringListWasmPluginVersionsRequest
type ListWasmPluginVersionsRequest struct {
// Required. The `WasmPlugin` resource whose `WasmPluginVersion`s
// are listed, specified in the following format:
// `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Maximum number of `WasmPluginVersion` resources to return per
// call. If not specified, at most 50 `WasmPluginVersion` resources are
// returned. The maximum value is 1000; values above 1000 are coerced to
// 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The value returned by the last `ListWasmPluginVersionsResponse` call.
// Indicates that this is a continuation of a prior
// `ListWasmPluginVersions` call, and that the
// next page of data is to be returned.
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 ListWasmPluginVersions method.
func (*ListWasmPluginVersionsRequest) Descriptor
func (*ListWasmPluginVersionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListWasmPluginVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListWasmPluginVersionsRequest) GetPageSize
func (x *ListWasmPluginVersionsRequest) GetPageSize() int32func (*ListWasmPluginVersionsRequest) GetPageToken
func (x *ListWasmPluginVersionsRequest) GetPageToken() stringfunc (*ListWasmPluginVersionsRequest) GetParent
func (x *ListWasmPluginVersionsRequest) GetParent() stringfunc (*ListWasmPluginVersionsRequest) ProtoMessage
func (*ListWasmPluginVersionsRequest) ProtoMessage()func (*ListWasmPluginVersionsRequest) ProtoReflect
func (x *ListWasmPluginVersionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListWasmPluginVersionsRequest) Reset
func (x *ListWasmPluginVersionsRequest) Reset()func (*ListWasmPluginVersionsRequest) String
func (x *ListWasmPluginVersionsRequest) String() stringListWasmPluginVersionsResponse
type ListWasmPluginVersionsResponse struct {
// List of `WasmPluginVersion` resources.
WasmPluginVersions []*WasmPluginVersion `protobuf:"bytes,1,rep,name=wasm_plugin_versions,json=wasmPluginVersions,proto3" json:"wasm_plugin_versions,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"`
// Unreachable resources. Populated when the request attempts to list all
// resources across all supported locations, while some locations are
// temporarily unavailable.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response returned by the ListWasmPluginVersions method.
func (*ListWasmPluginVersionsResponse) Descriptor
func (*ListWasmPluginVersionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListWasmPluginVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListWasmPluginVersionsResponse) GetNextPageToken
func (x *ListWasmPluginVersionsResponse) GetNextPageToken() stringfunc (*ListWasmPluginVersionsResponse) GetUnreachable
func (x *ListWasmPluginVersionsResponse) GetUnreachable() []stringfunc (*ListWasmPluginVersionsResponse) GetWasmPluginVersions
func (x *ListWasmPluginVersionsResponse) GetWasmPluginVersions() []*WasmPluginVersionfunc (*ListWasmPluginVersionsResponse) ProtoMessage
func (*ListWasmPluginVersionsResponse) ProtoMessage()func (*ListWasmPluginVersionsResponse) ProtoReflect
func (x *ListWasmPluginVersionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListWasmPluginVersionsResponse) Reset
func (x *ListWasmPluginVersionsResponse) Reset()func (*ListWasmPluginVersionsResponse) String
func (x *ListWasmPluginVersionsResponse) String() stringListWasmPluginsRequest
type ListWasmPluginsRequest struct {
// Required. The project and location from which the `WasmPlugin` resources
// are listed, specified in the following format:
// `projects/{project}/locations/global`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Maximum number of `WasmPlugin` resources to return per call.
// If not specified, at most 50 `WasmPlugin` resources are returned.
// The maximum value is 1000; values above 1000 are coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The value returned by the last `ListWasmPluginsResponse` call.
// Indicates that this is a continuation of a prior
// `ListWasmPlugins` call, and that the
// next page of data is to be returned.
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 ListWasmPlugins method.
func (*ListWasmPluginsRequest) Descriptor
func (*ListWasmPluginsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListWasmPluginsRequest.ProtoReflect.Descriptor instead.
func (*ListWasmPluginsRequest) GetPageSize
func (x *ListWasmPluginsRequest) GetPageSize() int32func (*ListWasmPluginsRequest) GetPageToken
func (x *ListWasmPluginsRequest) GetPageToken() stringfunc (*ListWasmPluginsRequest) GetParent
func (x *ListWasmPluginsRequest) GetParent() stringfunc (*ListWasmPluginsRequest) ProtoMessage
func (*ListWasmPluginsRequest) ProtoMessage()func (*ListWasmPluginsRequest) ProtoReflect
func (x *ListWasmPluginsRequest) ProtoReflect() protoreflect.Messagefunc (*ListWasmPluginsRequest) Reset
func (x *ListWasmPluginsRequest) Reset()func (*ListWasmPluginsRequest) String
func (x *ListWasmPluginsRequest) String() stringListWasmPluginsResponse
type ListWasmPluginsResponse struct {
// List of `WasmPlugin` resources.
WasmPlugins []*WasmPlugin `protobuf:"bytes,1,rep,name=wasm_plugins,json=wasmPlugins,proto3" json:"wasm_plugins,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"`
// Unreachable resources. Populated when the request attempts to list all
// resources across all supported locations, while some locations are
// temporarily unavailable.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Response returned by the ListWasmPlugins method.
func (*ListWasmPluginsResponse) Descriptor
func (*ListWasmPluginsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListWasmPluginsResponse.ProtoReflect.Descriptor instead.
func (*ListWasmPluginsResponse) GetNextPageToken
func (x *ListWasmPluginsResponse) GetNextPageToken() stringfunc (*ListWasmPluginsResponse) GetUnreachable
func (x *ListWasmPluginsResponse) GetUnreachable() []stringfunc (*ListWasmPluginsResponse) GetWasmPlugins
func (x *ListWasmPluginsResponse) GetWasmPlugins() []*WasmPluginfunc (*ListWasmPluginsResponse) ProtoMessage
func (*ListWasmPluginsResponse) ProtoMessage()func (*ListWasmPluginsResponse) ProtoReflect
func (x *ListWasmPluginsResponse) ProtoReflect() protoreflect.Messagefunc (*ListWasmPluginsResponse) Reset
func (x *ListWasmPluginsResponse) Reset()func (*ListWasmPluginsResponse) String
func (x *ListWasmPluginsResponse) String() stringLoadBalancingScheme
type LoadBalancingScheme int32Load balancing schemes supported by the LbTrafficExtension,
LbRouteExtension, and LbEdgeExtension resources.
For more information, refer to Backend services
overview.
LoadBalancingScheme_LOAD_BALANCING_SCHEME_UNSPECIFIED, LoadBalancingScheme_INTERNAL_MANAGED, LoadBalancingScheme_EXTERNAL_MANAGED
const (
// Default value. Do not use.
LoadBalancingScheme_LOAD_BALANCING_SCHEME_UNSPECIFIED LoadBalancingScheme = 0
// Signifies that this is used for Internal HTTP(S) Load Balancing.
LoadBalancingScheme_INTERNAL_MANAGED LoadBalancingScheme = 1
// Signifies that this is used for External Managed HTTP(S) Load
// Balancing.
LoadBalancingScheme_EXTERNAL_MANAGED LoadBalancingScheme = 2
)func (LoadBalancingScheme) Descriptor
func (LoadBalancingScheme) Descriptor() protoreflect.EnumDescriptorfunc (LoadBalancingScheme) Enum
func (x LoadBalancingScheme) Enum() *LoadBalancingSchemefunc (LoadBalancingScheme) EnumDescriptor
func (LoadBalancingScheme) EnumDescriptor() ([]byte, []int)Deprecated: Use LoadBalancingScheme.Descriptor instead.
func (LoadBalancingScheme) Number
func (x LoadBalancingScheme) Number() protoreflect.EnumNumberfunc (LoadBalancingScheme) String
func (x LoadBalancingScheme) String() stringfunc (LoadBalancingScheme) Type
func (LoadBalancingScheme) Type() protoreflect.EnumTypeMesh
type Mesh struct {
// Identifier. Name of the Mesh resource. It matches pattern
// `projects/*/locations/global/meshes/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: Use Mesh.ProtoReflect.Descriptor instead.
func (*Mesh) GetCreateTime
func (x *Mesh) GetCreateTime() *timestamppb.Timestampfunc (*Mesh) GetDescription
func (*Mesh) GetEnvoyHeaders
func (x *Mesh) GetEnvoyHeaders() EnvoyHeadersfunc (*Mesh) GetInterceptionPort
func (*Mesh) GetLabels
func (*Mesh) GetName
func (*Mesh) GetSelfLink
func (*Mesh) GetUpdateTime
func (x *Mesh) GetUpdateTime() *timestamppb.Timestampfunc (*Mesh) ProtoMessage
func (*Mesh) ProtoMessage()func (*Mesh) ProtoReflect
func (x *Mesh) ProtoReflect() protoreflect.Messagefunc (*Mesh) Reset
func (x *Mesh) Reset()func (*Mesh) String
MeshRouteView
type MeshRouteView struct {
// Output only. Identifier. Full path name of the MeshRouteView resource.
// Format:
//
// projects/{project}/locations/{location}/meshes/{mesh}/routeViews/{route_view}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Project number where the route exists.
RouteProjectNumber int64 `protobuf:"varint,2,opt,name=route_project_number,json=routeProjectNumber,proto3" json:"route_project_number,omitempty"`
// Output only. Location where the route exists.
RouteLocation string `protobuf:"bytes,3,opt,name=route_location,json=routeLocation,proto3" json:"route_location,omitempty"`
// Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
RouteType string `protobuf:"bytes,4,opt,name=route_type,json=routeType,proto3" json:"route_type,omitempty"`
// Output only. The resource id for the route.
RouteId string `protobuf:"bytes,5,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"`
// contains filtered or unexported fields
}MeshRouteView defines view-only resource for Routes to a Mesh
func (*MeshRouteView) Descriptor
func (*MeshRouteView) Descriptor() ([]byte, []int)Deprecated: Use MeshRouteView.ProtoReflect.Descriptor instead.
func (*MeshRouteView) GetName
func (x *MeshRouteView) GetName() stringfunc (*MeshRouteView) GetRouteId
func (x *MeshRouteView) GetRouteId() stringfunc (*MeshRouteView) GetRouteLocation
func (x *MeshRouteView) GetRouteLocation() stringfunc (*MeshRouteView) GetRouteProjectNumber
func (x *MeshRouteView) GetRouteProjectNumber() int64func (*MeshRouteView) GetRouteType
func (x *MeshRouteView) GetRouteType() stringfunc (*MeshRouteView) ProtoMessage
func (*MeshRouteView) ProtoMessage()func (*MeshRouteView) ProtoReflect
func (x *MeshRouteView) ProtoReflect() protoreflect.Messagefunc (*MeshRouteView) Reset
func (x *MeshRouteView) Reset()func (*MeshRouteView) String
func (x *MeshRouteView) String() stringNetworkServicesClient
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) (*longrunningpb.Operation, error)
// Updates the parameters of a single EndpointPolicy.
UpdateEndpointPolicy(ctx context.Context, in *UpdateEndpointPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single EndpointPolicy.
DeleteEndpointPolicy(ctx context.Context, in *DeleteEndpointPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists `WasmPluginVersion` resources in a given project and
// location.
ListWasmPluginVersions(ctx context.Context, in *ListWasmPluginVersionsRequest, opts ...grpc.CallOption) (*ListWasmPluginVersionsResponse, error)
// Gets details of the specified `WasmPluginVersion` resource.
GetWasmPluginVersion(ctx context.Context, in *GetWasmPluginVersionRequest, opts ...grpc.CallOption) (*WasmPluginVersion, error)
// Creates a new `WasmPluginVersion` resource in a given project
// and location.
CreateWasmPluginVersion(ctx context.Context, in *CreateWasmPluginVersionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified `WasmPluginVersion` resource.
DeleteWasmPluginVersion(ctx context.Context, in *DeleteWasmPluginVersionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists `WasmPlugin` resources in a given project and
// location.
ListWasmPlugins(ctx context.Context, in *ListWasmPluginsRequest, opts ...grpc.CallOption) (*ListWasmPluginsResponse, error)
// Gets details of the specified `WasmPlugin` resource.
GetWasmPlugin(ctx context.Context, in *GetWasmPluginRequest, opts ...grpc.CallOption) (*WasmPlugin, error)
// Creates a new `WasmPlugin` resource in a given project
// and location.
CreateWasmPlugin(ctx context.Context, in *CreateWasmPluginRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of the specified `WasmPlugin` resource.
UpdateWasmPlugin(ctx context.Context, in *UpdateWasmPluginRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified `WasmPlugin` resource.
DeleteWasmPlugin(ctx context.Context, in *DeleteWasmPluginRequest, opts ...grpc.CallOption) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Updates the parameters of a single Gateway.
UpdateGateway(ctx context.Context, in *UpdateGatewayRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Gateway.
DeleteGateway(ctx context.Context, in *DeleteGatewayRequest, opts ...grpc.CallOption) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Updates the parameters of a single GrpcRoute.
UpdateGrpcRoute(ctx context.Context, in *UpdateGrpcRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single GrpcRoute.
DeleteGrpcRoute(ctx context.Context, in *DeleteGrpcRouteRequest, opts ...grpc.CallOption) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Updates the parameters of a single HttpRoute.
UpdateHttpRoute(ctx context.Context, in *UpdateHttpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single HttpRoute.
DeleteHttpRoute(ctx context.Context, in *DeleteHttpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Updates the parameters of a single TcpRoute.
UpdateTcpRoute(ctx context.Context, in *UpdateTcpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single TcpRoute.
DeleteTcpRoute(ctx context.Context, in *DeleteTcpRouteRequest, opts ...grpc.CallOption) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Updates the parameters of a single TlsRoute.
UpdateTlsRoute(ctx context.Context, in *UpdateTlsRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single TlsRoute.
DeleteTlsRoute(ctx context.Context, in *DeleteTlsRouteRequest, opts ...grpc.CallOption) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Updates the parameters of a single ServiceBinding.
UpdateServiceBinding(ctx context.Context, in *UpdateServiceBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single ServiceBinding.
DeleteServiceBinding(ctx context.Context, in *DeleteServiceBindingRequest, opts ...grpc.CallOption) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Updates the parameters of a single Mesh.
UpdateMesh(ctx context.Context, in *UpdateMeshRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Mesh.
DeleteMesh(ctx context.Context, in *DeleteMeshRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists ServiceLbPolicies in a given project and location.
ListServiceLbPolicies(ctx context.Context, in *ListServiceLbPoliciesRequest, opts ...grpc.CallOption) (*ListServiceLbPoliciesResponse, error)
// Gets details of a single ServiceLbPolicy.
GetServiceLbPolicy(ctx context.Context, in *GetServiceLbPolicyRequest, opts ...grpc.CallOption) (*ServiceLbPolicy, error)
// Creates a new ServiceLbPolicy in a given project and location.
CreateServiceLbPolicy(ctx context.Context, in *CreateServiceLbPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single ServiceLbPolicy.
UpdateServiceLbPolicy(ctx context.Context, in *UpdateServiceLbPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single ServiceLbPolicy.
DeleteServiceLbPolicy(ctx context.Context, in *DeleteServiceLbPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Get a single RouteView of a Gateway.
GetGatewayRouteView(ctx context.Context, in *GetGatewayRouteViewRequest, opts ...grpc.CallOption) (*GatewayRouteView, error)
// Get a single RouteView of a Mesh.
GetMeshRouteView(ctx context.Context, in *GetMeshRouteViewRequest, opts ...grpc.CallOption) (*MeshRouteView, error)
// Lists RouteViews
ListGatewayRouteViews(ctx context.Context, in *ListGatewayRouteViewsRequest, opts ...grpc.CallOption) (*ListGatewayRouteViewsResponse, error)
// Lists RouteViews
ListMeshRouteViews(ctx context.Context, in *ListMeshRouteViewsRequest, opts ...grpc.CallOption) (*ListMeshRouteViewsResponse, error)
}NetworkServicesClient is the client API for NetworkServices service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewNetworkServicesClient
func NewNetworkServicesClient(cc grpc.ClientConnInterface) NetworkServicesClientNetworkServicesServer
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) (*longrunningpb.Operation, error)
// Updates the parameters of a single EndpointPolicy.
UpdateEndpointPolicy(context.Context, *UpdateEndpointPolicyRequest) (*longrunningpb.Operation, error)
// Deletes a single EndpointPolicy.
DeleteEndpointPolicy(context.Context, *DeleteEndpointPolicyRequest) (*longrunningpb.Operation, error)
// Lists `WasmPluginVersion` resources in a given project and
// location.
ListWasmPluginVersions(context.Context, *ListWasmPluginVersionsRequest) (*ListWasmPluginVersionsResponse, error)
// Gets details of the specified `WasmPluginVersion` resource.
GetWasmPluginVersion(context.Context, *GetWasmPluginVersionRequest) (*WasmPluginVersion, error)
// Creates a new `WasmPluginVersion` resource in a given project
// and location.
CreateWasmPluginVersion(context.Context, *CreateWasmPluginVersionRequest) (*longrunningpb.Operation, error)
// Deletes the specified `WasmPluginVersion` resource.
DeleteWasmPluginVersion(context.Context, *DeleteWasmPluginVersionRequest) (*longrunningpb.Operation, error)
// Lists `WasmPlugin` resources in a given project and
// location.
ListWasmPlugins(context.Context, *ListWasmPluginsRequest) (*ListWasmPluginsResponse, error)
// Gets details of the specified `WasmPlugin` resource.
GetWasmPlugin(context.Context, *GetWasmPluginRequest) (*WasmPlugin, error)
// Creates a new `WasmPlugin` resource in a given project
// and location.
CreateWasmPlugin(context.Context, *CreateWasmPluginRequest) (*longrunningpb.Operation, error)
// Updates the parameters of the specified `WasmPlugin` resource.
UpdateWasmPlugin(context.Context, *UpdateWasmPluginRequest) (*longrunningpb.Operation, error)
// Deletes the specified `WasmPlugin` resource.
DeleteWasmPlugin(context.Context, *DeleteWasmPluginRequest) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Updates the parameters of a single Gateway.
UpdateGateway(context.Context, *UpdateGatewayRequest) (*longrunningpb.Operation, error)
// Deletes a single Gateway.
DeleteGateway(context.Context, *DeleteGatewayRequest) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Updates the parameters of a single GrpcRoute.
UpdateGrpcRoute(context.Context, *UpdateGrpcRouteRequest) (*longrunningpb.Operation, error)
// Deletes a single GrpcRoute.
DeleteGrpcRoute(context.Context, *DeleteGrpcRouteRequest) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Updates the parameters of a single HttpRoute.
UpdateHttpRoute(context.Context, *UpdateHttpRouteRequest) (*longrunningpb.Operation, error)
// Deletes a single HttpRoute.
DeleteHttpRoute(context.Context, *DeleteHttpRouteRequest) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Updates the parameters of a single TcpRoute.
UpdateTcpRoute(context.Context, *UpdateTcpRouteRequest) (*longrunningpb.Operation, error)
// Deletes a single TcpRoute.
DeleteTcpRoute(context.Context, *DeleteTcpRouteRequest) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Updates the parameters of a single TlsRoute.
UpdateTlsRoute(context.Context, *UpdateTlsRouteRequest) (*longrunningpb.Operation, error)
// Deletes a single TlsRoute.
DeleteTlsRoute(context.Context, *DeleteTlsRouteRequest) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Updates the parameters of a single ServiceBinding.
UpdateServiceBinding(context.Context, *UpdateServiceBindingRequest) (*longrunningpb.Operation, error)
// Deletes a single ServiceBinding.
DeleteServiceBinding(context.Context, *DeleteServiceBindingRequest) (*longrunningpb.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) (*longrunningpb.Operation, error)
// Updates the parameters of a single Mesh.
UpdateMesh(context.Context, *UpdateMeshRequest) (*longrunningpb.Operation, error)
// Deletes a single Mesh.
DeleteMesh(context.Context, *DeleteMeshRequest) (*longrunningpb.Operation, error)
// Lists ServiceLbPolicies in a given project and location.
ListServiceLbPolicies(context.Context, *ListServiceLbPoliciesRequest) (*ListServiceLbPoliciesResponse, error)
// Gets details of a single ServiceLbPolicy.
GetServiceLbPolicy(context.Context, *GetServiceLbPolicyRequest) (*ServiceLbPolicy, error)
// Creates a new ServiceLbPolicy in a given project and location.
CreateServiceLbPolicy(context.Context, *CreateServiceLbPolicyRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single ServiceLbPolicy.
UpdateServiceLbPolicy(context.Context, *UpdateServiceLbPolicyRequest) (*longrunningpb.Operation, error)
// Deletes a single ServiceLbPolicy.
DeleteServiceLbPolicy(context.Context, *DeleteServiceLbPolicyRequest) (*longrunningpb.Operation, error)
// Get a single RouteView of a Gateway.
GetGatewayRouteView(context.Context, *GetGatewayRouteViewRequest) (*GatewayRouteView, error)
// Get a single RouteView of a Mesh.
GetMeshRouteView(context.Context, *GetMeshRouteViewRequest) (*MeshRouteView, error)
// Lists RouteViews
ListGatewayRouteViews(context.Context, *ListGatewayRouteViewsRequest) (*ListGatewayRouteViewsResponse, error)
// Lists RouteViews
ListMeshRouteViews(context.Context, *ListMeshRouteViewsRequest) (*ListMeshRouteViewsResponse, error)
}NetworkServicesServer is the server API for NetworkServices service. All implementations should embed UnimplementedNetworkServicesServer for forward compatibility
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
func (*OperationMetadata) Descriptor() ([]byte, []int)Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() stringfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringServiceBinding
type ServiceBinding struct {
// Identifier. Name of the ServiceBinding resource. It matches pattern
// `projects/*/locations/*/serviceBindings/ServiceBinding can be used to:
- Bind a Service Directory Service to be used in a BackendService resource. This feature will be deprecated soon.
- Bind a Private Service Connect producer service to be used in consumer Cloud Service Mesh or Application Load Balancers.
- Bind a Cloud Run service to be used in consumer Cloud Service Mesh or Application Load Balancers.
func (*ServiceBinding) Descriptor
func (*ServiceBinding) Descriptor() ([]byte, []int)Deprecated: Use ServiceBinding.ProtoReflect.Descriptor instead.
func (*ServiceBinding) GetCreateTime
func (x *ServiceBinding) GetCreateTime() *timestamppb.Timestampfunc (*ServiceBinding) GetDescription
func (x *ServiceBinding) GetDescription() stringfunc (*ServiceBinding) GetLabels
func (x *ServiceBinding) GetLabels() map[string]stringfunc (*ServiceBinding) GetName
func (x *ServiceBinding) GetName() stringfunc (*ServiceBinding) GetService
func (x *ServiceBinding) GetService() stringDeprecated: Marked as deprecated in google/cloud/networkservices/v1/service_binding.proto.
func (*ServiceBinding) GetServiceId
func (x *ServiceBinding) GetServiceId() stringDeprecated: Marked as deprecated in google/cloud/networkservices/v1/service_binding.proto.
func (*ServiceBinding) GetUpdateTime
func (x *ServiceBinding) GetUpdateTime() *timestamppb.Timestampfunc (*ServiceBinding) ProtoMessage
func (*ServiceBinding) ProtoMessage()func (*ServiceBinding) ProtoReflect
func (x *ServiceBinding) ProtoReflect() protoreflect.Messagefunc (*ServiceBinding) Reset
func (x *ServiceBinding) Reset()func (*ServiceBinding) String
func (x *ServiceBinding) String() stringServiceLbPolicy
type ServiceLbPolicy struct {
// Identifier. Name of the ServiceLbPolicy resource. It matches pattern
// `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The timestamp when this 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 this resource was last 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 ServiceLbPolicy resource.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// 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. The type of load balancing algorithm to be used. The default
// behavior is WATERFALL_BY_REGION.
LoadBalancingAlgorithm ServiceLbPolicy_LoadBalancingAlgorithm `protobuf:"varint,6,opt,name=load_balancing_algorithm,json=loadBalancingAlgorithm,proto3,enum=google.cloud.networkservices.v1.ServiceLbPolicy_LoadBalancingAlgorithm" json:"load_balancing_algorithm,omitempty"`
// Optional. Configuration to automatically move traffic away for unhealthy
// IG/NEG for the associated Backend Service.
AutoCapacityDrain *ServiceLbPolicy_AutoCapacityDrain `protobuf:"bytes,8,opt,name=auto_capacity_drain,json=autoCapacityDrain,proto3" json:"auto_capacity_drain,omitempty"`
// Optional. Configuration related to health based failover.
FailoverConfig *ServiceLbPolicy_FailoverConfig `protobuf:"bytes,10,opt,name=failover_config,json=failoverConfig,proto3" json:"failover_config,omitempty"`
// Optional. Configuration to provide isolation support for the associated
// Backend Service.
IsolationConfig *ServiceLbPolicy_IsolationConfig `protobuf:"bytes,11,opt,name=isolation_config,json=isolationConfig,proto3" json:"isolation_config,omitempty"`
// contains filtered or unexported fields
}ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService.
func (*ServiceLbPolicy) Descriptor
func (*ServiceLbPolicy) Descriptor() ([]byte, []int)Deprecated: Use ServiceLbPolicy.ProtoReflect.Descriptor instead.
func (*ServiceLbPolicy) GetAutoCapacityDrain
func (x *ServiceLbPolicy) GetAutoCapacityDrain() *ServiceLbPolicy_AutoCapacityDrainfunc (*ServiceLbPolicy) GetCreateTime
func (x *ServiceLbPolicy) GetCreateTime() *timestamppb.Timestampfunc (*ServiceLbPolicy) GetDescription
func (x *ServiceLbPolicy) GetDescription() stringfunc (*ServiceLbPolicy) GetFailoverConfig
func (x *ServiceLbPolicy) GetFailoverConfig() *ServiceLbPolicy_FailoverConfigfunc (*ServiceLbPolicy) GetIsolationConfig
func (x *ServiceLbPolicy) GetIsolationConfig() *ServiceLbPolicy_IsolationConfigfunc (*ServiceLbPolicy) GetLabels
func (x *ServiceLbPolicy) GetLabels() map[string]stringfunc (*ServiceLbPolicy) GetLoadBalancingAlgorithm
func (x *ServiceLbPolicy) GetLoadBalancingAlgorithm() ServiceLbPolicy_LoadBalancingAlgorithmfunc (*ServiceLbPolicy) GetName
func (x *ServiceLbPolicy) GetName() stringfunc (*ServiceLbPolicy) GetUpdateTime
func (x *ServiceLbPolicy) GetUpdateTime() *timestamppb.Timestampfunc (*ServiceLbPolicy) ProtoMessage
func (*ServiceLbPolicy) ProtoMessage()func (*ServiceLbPolicy) ProtoReflect
func (x *ServiceLbPolicy) ProtoReflect() protoreflect.Messagefunc (*ServiceLbPolicy) Reset
func (x *ServiceLbPolicy) Reset()func (*ServiceLbPolicy) String
func (x *ServiceLbPolicy) String() stringServiceLbPolicy_AutoCapacityDrain
type ServiceLbPolicy_AutoCapacityDrain struct {
// Optional. If set to 'True', an unhealthy IG/NEG will be set as drained.
// - An IG/NEG is considered unhealthy if less than 25% of the
// instances/endpoints in the IG/NEG are healthy.
// - This option will never result in draining more than 50% of the
// configured IGs/NEGs for the Backend Service.
Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
// contains filtered or unexported fields
}Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing.
func (*ServiceLbPolicy_AutoCapacityDrain) Descriptor
func (*ServiceLbPolicy_AutoCapacityDrain) Descriptor() ([]byte, []int)Deprecated: Use ServiceLbPolicy_AutoCapacityDrain.ProtoReflect.Descriptor instead.
func (*ServiceLbPolicy_AutoCapacityDrain) GetEnable
func (x *ServiceLbPolicy_AutoCapacityDrain) GetEnable() boolfunc (*ServiceLbPolicy_AutoCapacityDrain) ProtoMessage
func (*ServiceLbPolicy_AutoCapacityDrain) ProtoMessage()func (*ServiceLbPolicy_AutoCapacityDrain) ProtoReflect
func (x *ServiceLbPolicy_AutoCapacityDrain) ProtoReflect() protoreflect.Messagefunc (*ServiceLbPolicy_AutoCapacityDrain) Reset
func (x *ServiceLbPolicy_AutoCapacityDrain) Reset()func (*ServiceLbPolicy_AutoCapacityDrain) String
func (x *ServiceLbPolicy_AutoCapacityDrain) String() stringServiceLbPolicy_FailoverConfig
type ServiceLbPolicy_FailoverConfig struct {
// Optional. The percentage threshold that a load balancer will begin to
// send traffic to failover backends. If the percentage of endpoints in a
// MIG/NEG is smaller than this value, traffic would be sent to failover
// backends if possible. This field should be set to a value between 1
// and 99. The default value is 50 for Global external HTTP(S) load balancer
// (classic) and Proxyless service mesh, and 70 for others.
FailoverHealthThreshold int32 `protobuf:"varint,1,opt,name=failover_health_threshold,json=failoverHealthThreshold,proto3" json:"failover_health_threshold,omitempty"`
// contains filtered or unexported fields
}Option to specify health based failover behavior. This is not related to Network load balancer FailoverPolicy.
func (*ServiceLbPolicy_FailoverConfig) Descriptor
func (*ServiceLbPolicy_FailoverConfig) Descriptor() ([]byte, []int)Deprecated: Use ServiceLbPolicy_FailoverConfig.ProtoReflect.Descriptor instead.
func (*ServiceLbPolicy_FailoverConfig) GetFailoverHealthThreshold
func (x *ServiceLbPolicy_FailoverConfig) GetFailoverHealthThreshold() int32func (*ServiceLbPolicy_FailoverConfig) ProtoMessage
func (*ServiceLbPolicy_FailoverConfig) ProtoMessage()func (*ServiceLbPolicy_FailoverConfig) ProtoReflect
func (x *ServiceLbPolicy_FailoverConfig) ProtoReflect() protoreflect.Messagefunc (*ServiceLbPolicy_FailoverConfig) Reset
func (x *ServiceLbPolicy_FailoverConfig) Reset()func (*ServiceLbPolicy_FailoverConfig) String
func (x *ServiceLbPolicy_FailoverConfig) String() stringServiceLbPolicy_IsolationConfig
type ServiceLbPolicy_IsolationConfig struct {
// Optional. The isolation granularity of the load balancer.
IsolationGranularity ServiceLbPolicy_IsolationGranularity `protobuf:"varint,1,opt,name=isolation_granularity,json=isolationGranularity,proto3,enum=google.cloud.networkservices.v1.ServiceLbPolicy_IsolationGranularity" json:"isolation_granularity,omitempty"`
// Optional. The isolation mode of the load balancer.
IsolationMode ServiceLbPolicy_IsolationMode `protobuf:"varint,2,opt,name=isolation_mode,json=isolationMode,proto3,enum=google.cloud.networkservices.v1.ServiceLbPolicy_IsolationMode" json:"isolation_mode,omitempty"`
// contains filtered or unexported fields
}Configuration to provide isolation support for the associated Backend Service.
func (*ServiceLbPolicy_IsolationConfig) Descriptor
func (*ServiceLbPolicy_IsolationConfig) Descriptor() ([]byte, []int)Deprecated: Use ServiceLbPolicy_IsolationConfig.ProtoReflect.Descriptor instead.
func (*ServiceLbPolicy_IsolationConfig) GetIsolationGranularity
func (x *ServiceLbPolicy_IsolationConfig) GetIsolationGranularity() ServiceLbPolicy_IsolationGranularityfunc (*ServiceLbPolicy_IsolationConfig) GetIsolationMode
func (x *ServiceLbPolicy_IsolationConfig) GetIsolationMode() ServiceLbPolicy_IsolationModefunc (*ServiceLbPolicy_IsolationConfig) ProtoMessage
func (*ServiceLbPolicy_IsolationConfig) ProtoMessage()func (*ServiceLbPolicy_IsolationConfig) ProtoReflect
func (x *ServiceLbPolicy_IsolationConfig) ProtoReflect() protoreflect.Messagefunc (*ServiceLbPolicy_IsolationConfig) Reset
func (x *ServiceLbPolicy_IsolationConfig) Reset()func (*ServiceLbPolicy_IsolationConfig) String
func (x *ServiceLbPolicy_IsolationConfig) String() stringServiceLbPolicy_IsolationGranularity
type ServiceLbPolicy_IsolationGranularity int32The granularity of this isolation restriction.
ServiceLbPolicy_ISOLATION_GRANULARITY_UNSPECIFIED, ServiceLbPolicy_REGION
const (
// No isolation is configured for the backend service. Traffic can overflow
// based on the load balancing algorithm.
ServiceLbPolicy_ISOLATION_GRANULARITY_UNSPECIFIED ServiceLbPolicy_IsolationGranularity = 0
// Traffic for this service will be isolated at the cloud region level.
ServiceLbPolicy_REGION ServiceLbPolicy_IsolationGranularity = 1
)func (ServiceLbPolicy_IsolationGranularity) Descriptor
func (ServiceLbPolicy_IsolationGranularity) Descriptor() protoreflect.EnumDescriptorfunc (ServiceLbPolicy_IsolationGranularity) Enum
func (x ServiceLbPolicy_IsolationGranularity) Enum() *ServiceLbPolicy_IsolationGranularityfunc (ServiceLbPolicy_IsolationGranularity) EnumDescriptor
func (ServiceLbPolicy_IsolationGranularity) EnumDescriptor() ([]byte, []int)Deprecated: Use ServiceLbPolicy_IsolationGranularity.Descriptor instead.
func (ServiceLbPolicy_IsolationGranularity) Number
func (x ServiceLbPolicy_IsolationGranularity) Number() protoreflect.EnumNumberfunc (ServiceLbPolicy_IsolationGranularity) String
func (x ServiceLbPolicy_IsolationGranularity) String() stringfunc (ServiceLbPolicy_IsolationGranularity) Type
func (ServiceLbPolicy_IsolationGranularity) Type() protoreflect.EnumTypeServiceLbPolicy_IsolationMode
type ServiceLbPolicy_IsolationMode int32The mode of this isolation restriction, defining whether clients in a given region are allowed to reach out to another region.
ServiceLbPolicy_ISOLATION_MODE_UNSPECIFIED, ServiceLbPolicy_NEAREST, ServiceLbPolicy_STRICT
const (
// No isolation mode is configured for the backend service.
ServiceLbPolicy_ISOLATION_MODE_UNSPECIFIED ServiceLbPolicy_IsolationMode = 0
// Traffic will be sent to the nearest region.
ServiceLbPolicy_NEAREST ServiceLbPolicy_IsolationMode = 1
// Traffic will fail if no serving backends are available in the same region
// as the load balancer.
ServiceLbPolicy_STRICT ServiceLbPolicy_IsolationMode = 2
)func (ServiceLbPolicy_IsolationMode) Descriptor
func (ServiceLbPolicy_IsolationMode) Descriptor() protoreflect.EnumDescriptorfunc (ServiceLbPolicy_IsolationMode) Enum
func (x ServiceLbPolicy_IsolationMode) Enum() *ServiceLbPolicy_IsolationModefunc (ServiceLbPolicy_IsolationMode) EnumDescriptor
func (ServiceLbPolicy_IsolationMode) EnumDescriptor() ([]byte, []int)Deprecated: Use ServiceLbPolicy_IsolationMode.Descriptor instead.
func (ServiceLbPolicy_IsolationMode) Number
func (x ServiceLbPolicy_IsolationMode) Number() protoreflect.EnumNumberfunc (ServiceLbPolicy_IsolationMode) String
func (x ServiceLbPolicy_IsolationMode) String() stringfunc (ServiceLbPolicy_IsolationMode) Type
func (ServiceLbPolicy_IsolationMode) Type() protoreflect.EnumTypeServiceLbPolicy_LoadBalancingAlgorithm
type ServiceLbPolicy_LoadBalancingAlgorithm int32The global load balancing algorithm to be used.
ServiceLbPolicy_LOAD_BALANCING_ALGORITHM_UNSPECIFIED, ServiceLbPolicy_SPRAY_TO_WORLD, ServiceLbPolicy_SPRAY_TO_REGION, ServiceLbPolicy_WATERFALL_BY_REGION, ServiceLbPolicy_WATERFALL_BY_ZONE
const (
// The type of the loadbalancing algorithm is unspecified.
ServiceLbPolicy_LOAD_BALANCING_ALGORITHM_UNSPECIFIED ServiceLbPolicy_LoadBalancingAlgorithm = 0
// Balance traffic across all backends across the world proportionally based
// on capacity.
ServiceLbPolicy_SPRAY_TO_WORLD ServiceLbPolicy_LoadBalancingAlgorithm = 3
// Direct traffic to the nearest region with endpoints and capacity before
// spilling over to other regions and spread the traffic from each client to
// all the MIGs/NEGs in a region.
ServiceLbPolicy_SPRAY_TO_REGION ServiceLbPolicy_LoadBalancingAlgorithm = 4
// Direct traffic to the nearest region with endpoints and capacity before
// spilling over to other regions. All MIGs/NEGs within a region are evenly
// loaded but each client might not spread the traffic to all the MIGs/NEGs
// in the region.
ServiceLbPolicy_WATERFALL_BY_REGION ServiceLbPolicy_LoadBalancingAlgorithm = 5
// Attempt to keep traffic in a single zone closest to the client, before
// spilling over to other zones.
ServiceLbPolicy_WATERFALL_BY_ZONE ServiceLbPolicy_LoadBalancingAlgorithm = 6
)func (ServiceLbPolicy_LoadBalancingAlgorithm) Descriptor
func (ServiceLbPolicy_LoadBalancingAlgorithm) Descriptor() protoreflect.EnumDescriptorfunc (ServiceLbPolicy_LoadBalancingAlgorithm) Enum
func (ServiceLbPolicy_LoadBalancingAlgorithm) EnumDescriptor
func (ServiceLbPolicy_LoadBalancingAlgorithm) EnumDescriptor() ([]byte, []int)Deprecated: Use ServiceLbPolicy_LoadBalancingAlgorithm.Descriptor instead.
func (ServiceLbPolicy_LoadBalancingAlgorithm) Number
func (x ServiceLbPolicy_LoadBalancingAlgorithm) Number() protoreflect.EnumNumberfunc (ServiceLbPolicy_LoadBalancingAlgorithm) String
func (x ServiceLbPolicy_LoadBalancingAlgorithm) String() stringfunc (ServiceLbPolicy_LoadBalancingAlgorithm) Type
func (ServiceLbPolicy_LoadBalancingAlgorithm) Type() protoreflect.EnumTypeTcpRoute
type TcpRoute struct {
// Identifier. 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/TcpRoute is the resource defining how TCP traffic should be routed by a Mesh/Gateway resource.
func (*TcpRoute) Descriptor
Deprecated: Use TcpRoute.ProtoReflect.Descriptor instead.
func (*TcpRoute) GetCreateTime
func (x *TcpRoute) GetCreateTime() *timestamppb.Timestampfunc (*TcpRoute) GetDescription
func (*TcpRoute) GetGateways
func (*TcpRoute) GetLabels
func (*TcpRoute) GetMeshes
func (*TcpRoute) GetName
func (*TcpRoute) GetRules
func (x *TcpRoute) GetRules() []*TcpRoute_RouteRulefunc (*TcpRoute) GetSelfLink
func (*TcpRoute) GetUpdateTime
func (x *TcpRoute) GetUpdateTime() *timestamppb.Timestampfunc (*TcpRoute) ProtoMessage
func (*TcpRoute) ProtoMessage()func (*TcpRoute) ProtoReflect
func (x *TcpRoute) ProtoReflect() protoreflect.Messagefunc (*TcpRoute) Reset
func (x *TcpRoute) Reset()func (*TcpRoute) String
TcpRoute_RouteAction
type TcpRoute_RouteAction struct {
// Optional. The destination services to which traffic should be forwarded.
// At least one destination service is required. Only one of route
// destination or original destination can be set.
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.
// Only one of route destinations or original destination can be set.
OriginalDestination bool `protobuf:"varint,3,opt,name=original_destination,json=originalDestination,proto3" json:"original_destination,omitempty"`
// Optional. Specifies the idle timeout for the selected route. The idle
// timeout is defined as the period in which there are no bytes sent or
// received on either the upstream or downstream connection. If not set, the
// default idle timeout is 30 seconds. If set to 0s, the timeout will be
// disabled.
IdleTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
// contains filtered or unexported fields
}The specifications for routing traffic and applying associated policies.
func (*TcpRoute_RouteAction) Descriptor
func (*TcpRoute_RouteAction) Descriptor() ([]byte, []int)Deprecated: Use TcpRoute_RouteAction.ProtoReflect.Descriptor instead.
func (*TcpRoute_RouteAction) GetDestinations
func (x *TcpRoute_RouteAction) GetDestinations() []*TcpRoute_RouteDestinationfunc (*TcpRoute_RouteAction) GetIdleTimeout
func (x *TcpRoute_RouteAction) GetIdleTimeout() *durationpb.Durationfunc (*TcpRoute_RouteAction) GetOriginalDestination
func (x *TcpRoute_RouteAction) GetOriginalDestination() boolfunc (*TcpRoute_RouteAction) ProtoMessage
func (*TcpRoute_RouteAction) ProtoMessage()func (*TcpRoute_RouteAction) ProtoReflect
func (x *TcpRoute_RouteAction) ProtoReflect() protoreflect.Messagefunc (*TcpRoute_RouteAction) Reset
func (x *TcpRoute_RouteAction) Reset()func (*TcpRoute_RouteAction) String
func (x *TcpRoute_RouteAction) String() stringTcpRoute_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
func (*TcpRoute_RouteDestination) Descriptor() ([]byte, []int)Deprecated: Use TcpRoute_RouteDestination.ProtoReflect.Descriptor instead.
func (*TcpRoute_RouteDestination) GetServiceName
func (x *TcpRoute_RouteDestination) GetServiceName() stringfunc (*TcpRoute_RouteDestination) GetWeight
func (x *TcpRoute_RouteDestination) GetWeight() int32func (*TcpRoute_RouteDestination) ProtoMessage
func (*TcpRoute_RouteDestination) ProtoMessage()func (*TcpRoute_RouteDestination) ProtoReflect
func (x *TcpRoute_RouteDestination) ProtoReflect() protoreflect.Messagefunc (*TcpRoute_RouteDestination) Reset
func (x *TcpRoute_RouteDestination) Reset()func (*TcpRoute_RouteDestination) String
func (x *TcpRoute_RouteDestination) String() stringTcpRoute_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
func (*TcpRoute_RouteMatch) Descriptor() ([]byte, []int)Deprecated: Use TcpRoute_RouteMatch.ProtoReflect.Descriptor instead.
func (*TcpRoute_RouteMatch) GetAddress
func (x *TcpRoute_RouteMatch) GetAddress() stringfunc (*TcpRoute_RouteMatch) GetPort
func (x *TcpRoute_RouteMatch) GetPort() stringfunc (*TcpRoute_RouteMatch) ProtoMessage
func (*TcpRoute_RouteMatch) ProtoMessage()func (*TcpRoute_RouteMatch) ProtoReflect
func (x *TcpRoute_RouteMatch) ProtoReflect() protoreflect.Messagefunc (*TcpRoute_RouteMatch) Reset
func (x *TcpRoute_RouteMatch) Reset()func (*TcpRoute_RouteMatch) String
func (x *TcpRoute_RouteMatch) String() stringTcpRoute_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
func (*TcpRoute_RouteRule) Descriptor() ([]byte, []int)Deprecated: Use TcpRoute_RouteRule.ProtoReflect.Descriptor instead.
func (*TcpRoute_RouteRule) GetAction
func (x *TcpRoute_RouteRule) GetAction() *TcpRoute_RouteActionfunc (*TcpRoute_RouteRule) GetMatches
func (x *TcpRoute_RouteRule) GetMatches() []*TcpRoute_RouteMatchfunc (*TcpRoute_RouteRule) ProtoMessage
func (*TcpRoute_RouteRule) ProtoMessage()func (*TcpRoute_RouteRule) ProtoReflect
func (x *TcpRoute_RouteRule) ProtoReflect() protoreflect.Messagefunc (*TcpRoute_RouteRule) Reset
func (x *TcpRoute_RouteRule) Reset()func (*TcpRoute_RouteRule) String
func (x *TcpRoute_RouteRule) String() stringTlsRoute
type TlsRoute struct {
// Identifier. 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/TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes.
func (*TlsRoute) Descriptor
Deprecated: Use TlsRoute.ProtoReflect.Descriptor instead.
func (*TlsRoute) GetCreateTime
func (x *TlsRoute) GetCreateTime() *timestamppb.Timestampfunc (*TlsRoute) GetDescription
func (*TlsRoute) GetGateways
func (*TlsRoute) GetLabels
func (*TlsRoute) GetMeshes
func (*TlsRoute) GetName
func (*TlsRoute) GetRules
func (x *TlsRoute) GetRules() []*TlsRoute_RouteRulefunc (*TlsRoute) GetSelfLink
func (*TlsRoute) GetUpdateTime
func (x *TlsRoute) GetUpdateTime() *timestamppb.Timestampfunc (*TlsRoute) ProtoMessage
func (*TlsRoute) ProtoMessage()func (*TlsRoute) ProtoReflect
func (x *TlsRoute) ProtoReflect() protoreflect.Messagefunc (*TlsRoute) Reset
func (x *TlsRoute) Reset()func (*TlsRoute) String
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"`
// Optional. Specifies the idle timeout for the selected route. The idle
// timeout is defined as the period in which there are no bytes sent or
// received on either the upstream or downstream connection. If not set, the
// default idle timeout is 1 hour. If set to 0s, the timeout will be
// disabled.
IdleTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
// contains filtered or unexported fields
}The specifications for routing traffic and applying associated policies.
func (*TlsRoute_RouteAction) Descriptor
func (*TlsRoute_RouteAction) Descriptor() ([]byte, []int)Deprecated: Use TlsRoute_RouteAction.ProtoReflect.Descriptor instead.
func (*TlsRoute_RouteAction) GetDestinations
func (x *TlsRoute_RouteAction) GetDestinations() []*TlsRoute_RouteDestinationfunc (*TlsRoute_RouteAction) GetIdleTimeout
func (x *TlsRoute_RouteAction) GetIdleTimeout() *durationpb.Durationfunc (*TlsRoute_RouteAction) ProtoMessage
func (*TlsRoute_RouteAction) ProtoMessage()func (*TlsRoute_RouteAction) ProtoReflect
func (x *TlsRoute_RouteAction) ProtoReflect() protoreflect.Messagefunc (*TlsRoute_RouteAction) Reset
func (x *TlsRoute_RouteAction) Reset()func (*TlsRoute_RouteAction) String
func (x *TlsRoute_RouteAction) String() stringTlsRoute_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 forwarded 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
func (*TlsRoute_RouteDestination) Descriptor() ([]byte, []int)Deprecated: Use TlsRoute_RouteDestination.ProtoReflect.Descriptor instead.
func (*TlsRoute_RouteDestination) GetServiceName
func (x *TlsRoute_RouteDestination) GetServiceName() stringfunc (*TlsRoute_RouteDestination) GetWeight
func (x *TlsRoute_RouteDestination) GetWeight() int32func (*TlsRoute_RouteDestination) ProtoMessage
func (*TlsRoute_RouteDestination) ProtoMessage()func (*TlsRoute_RouteDestination) ProtoReflect
func (x *TlsRoute_RouteDestination) ProtoReflect() protoreflect.Messagefunc (*TlsRoute_RouteDestination) Reset
func (x *TlsRoute_RouteDestination) Reset()func (*TlsRoute_RouteDestination) String
func (x *TlsRoute_RouteDestination) String() stringTlsRoute_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 100 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.
func (*TlsRoute_RouteMatch) Descriptor
func (*TlsRoute_RouteMatch) Descriptor() ([]byte, []int)Deprecated: Use TlsRoute_RouteMatch.ProtoReflect.Descriptor instead.
func (*TlsRoute_RouteMatch) GetAlpn
func (x *TlsRoute_RouteMatch) GetAlpn() []stringfunc (*TlsRoute_RouteMatch) GetSniHost
func (x *TlsRoute_RouteMatch) GetSniHost() []stringfunc (*TlsRoute_RouteMatch) ProtoMessage
func (*TlsRoute_RouteMatch) ProtoMessage()func (*TlsRoute_RouteMatch) ProtoReflect
func (x *TlsRoute_RouteMatch) ProtoReflect() protoreflect.Messagefunc (*TlsRoute_RouteMatch) Reset
func (x *TlsRoute_RouteMatch) Reset()func (*TlsRoute_RouteMatch) String
func (x *TlsRoute_RouteMatch) String() stringTlsRoute_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. Atleast one
// RouteMatch must be supplied.
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
func (*TlsRoute_RouteRule) Descriptor() ([]byte, []int)Deprecated: Use TlsRoute_RouteRule.ProtoReflect.Descriptor instead.
func (*TlsRoute_RouteRule) GetAction
func (x *TlsRoute_RouteRule) GetAction() *TlsRoute_RouteActionfunc (*TlsRoute_RouteRule) GetMatches
func (x *TlsRoute_RouteRule) GetMatches() []*TlsRoute_RouteMatchfunc (*TlsRoute_RouteRule) ProtoMessage
func (*TlsRoute_RouteRule) ProtoMessage()func (*TlsRoute_RouteRule) ProtoReflect
func (x *TlsRoute_RouteRule) ProtoReflect() protoreflect.Messagefunc (*TlsRoute_RouteRule) Reset
func (x *TlsRoute_RouteRule) Reset()func (*TlsRoute_RouteRule) String
func (x *TlsRoute_RouteRule) String() stringTrafficPortSelector
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
func (*TrafficPortSelector) Descriptor() ([]byte, []int)Deprecated: Use TrafficPortSelector.ProtoReflect.Descriptor instead.
func (*TrafficPortSelector) GetPorts
func (x *TrafficPortSelector) GetPorts() []stringfunc (*TrafficPortSelector) ProtoMessage
func (*TrafficPortSelector) ProtoMessage()func (*TrafficPortSelector) ProtoReflect
func (x *TrafficPortSelector) ProtoReflect() protoreflect.Messagefunc (*TrafficPortSelector) Reset
func (x *TrafficPortSelector) Reset()func (*TrafficPortSelector) String
func (x *TrafficPortSelector) String() stringUnimplementedDepServiceServer
type UnimplementedDepServiceServer struct {
}UnimplementedDepServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedDepServiceServer) CreateAuthzExtension
func (UnimplementedDepServiceServer) CreateAuthzExtension(context.Context, *CreateAuthzExtensionRequest) (*longrunningpb.Operation, error)func (UnimplementedDepServiceServer) CreateLbEdgeExtension
func (UnimplementedDepServiceServer) CreateLbEdgeExtension(context.Context, *CreateLbEdgeExtensionRequest) (*longrunningpb.Operation, error)func (UnimplementedDepServiceServer) CreateLbRouteExtension
func (UnimplementedDepServiceServer) CreateLbRouteExtension(context.Context, *CreateLbRouteExtensionRequest) (*longrunningpb.Operation, error)func (UnimplementedDepServiceServer) CreateLbTrafficExtension
func (UnimplementedDepServiceServer) CreateLbTrafficExtension(context.Context, *CreateLbTrafficExtensionRequest) (*longrunningpb.Operation, error)func (UnimplementedDepServiceServer) DeleteAuthzExtension
func (UnimplementedDepServiceServer) DeleteAuthzExtension(context.Context, *DeleteAuthzExtensionRequest) (*longrunningpb.Operation, error)func (UnimplementedDepServiceServer) DeleteLbEdgeExtension
func (UnimplementedDepServiceServer) DeleteLbEdgeExtension(context.Context, *DeleteLbEdgeExtensionRequest) (*longrunningpb.Operation, error)func (UnimplementedDepServiceServer) DeleteLbRouteExtension
func (UnimplementedDepServiceServer) DeleteLbRouteExtension(context.Context, *DeleteLbRouteExtensionRequest) (*longrunningpb.Operation, error)func (UnimplementedDepServiceServer) DeleteLbTrafficExtension
func (UnimplementedDepServiceServer) DeleteLbTrafficExtension(context.Context, *DeleteLbTrafficExtensionRequest) (*longrunningpb.Operation, error)func (UnimplementedDepServiceServer) GetAuthzExtension
func (UnimplementedDepServiceServer) GetAuthzExtension(context.Context, *GetAuthzExtensionRequest) (*AuthzExtension, error)func (UnimplementedDepServiceServer) GetLbEdgeExtension
func (UnimplementedDepServiceServer) GetLbEdgeExtension(context.Context, *GetLbEdgeExtensionRequest) (*LbEdgeExtension, error)func (UnimplementedDepServiceServer) GetLbRouteExtension
func (UnimplementedDepServiceServer) GetLbRouteExtension(context.Context, *GetLbRouteExtensionRequest) (*LbRouteExtension, error)func (UnimplementedDepServiceServer) GetLbTrafficExtension
func (UnimplementedDepServiceServer) GetLbTrafficExtension(context.Context, *GetLbTrafficExtensionRequest) (*LbTrafficExtension, error)func (UnimplementedDepServiceServer) ListAuthzExtensions
func (UnimplementedDepServiceServer) ListAuthzExtensions(context.Context, *ListAuthzExtensionsRequest) (*ListAuthzExtensionsResponse, error)func (UnimplementedDepServiceServer) ListLbEdgeExtensions
func (UnimplementedDepServiceServer) ListLbEdgeExtensions(context.Context, *ListLbEdgeExtensionsRequest) (*ListLbEdgeExtensionsResponse, error)func (UnimplementedDepServiceServer) ListLbRouteExtensions
func (UnimplementedDepServiceServer) ListLbRouteExtensions(context.Context, *ListLbRouteExtensionsRequest) (*ListLbRouteExtensionsResponse, error)func (UnimplementedDepServiceServer) ListLbTrafficExtensions
func (UnimplementedDepServiceServer) ListLbTrafficExtensions(context.Context, *ListLbTrafficExtensionsRequest) (*ListLbTrafficExtensionsResponse, error)func (UnimplementedDepServiceServer) UpdateAuthzExtension
func (UnimplementedDepServiceServer) UpdateAuthzExtension(context.Context, *UpdateAuthzExtensionRequest) (*longrunningpb.Operation, error)func (UnimplementedDepServiceServer) UpdateLbEdgeExtension
func (UnimplementedDepServiceServer) UpdateLbEdgeExtension(context.Context, *UpdateLbEdgeExtensionRequest) (*longrunningpb.Operation, error)func (UnimplementedDepServiceServer) UpdateLbRouteExtension
func (UnimplementedDepServiceServer) UpdateLbRouteExtension(context.Context, *UpdateLbRouteExtensionRequest) (*longrunningpb.Operation, error)func (UnimplementedDepServiceServer) UpdateLbTrafficExtension
func (UnimplementedDepServiceServer) UpdateLbTrafficExtension(context.Context, *UpdateLbTrafficExtensionRequest) (*longrunningpb.Operation, error)UnimplementedNetworkServicesServer
type UnimplementedNetworkServicesServer struct {
}UnimplementedNetworkServicesServer should be embedded to have forward compatible implementations.
func (UnimplementedNetworkServicesServer) CreateEndpointPolicy
func (UnimplementedNetworkServicesServer) CreateEndpointPolicy(context.Context, *CreateEndpointPolicyRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) CreateGateway
func (UnimplementedNetworkServicesServer) CreateGateway(context.Context, *CreateGatewayRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) CreateGrpcRoute
func (UnimplementedNetworkServicesServer) CreateGrpcRoute(context.Context, *CreateGrpcRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) CreateHttpRoute
func (UnimplementedNetworkServicesServer) CreateHttpRoute(context.Context, *CreateHttpRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) CreateMesh
func (UnimplementedNetworkServicesServer) CreateMesh(context.Context, *CreateMeshRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) CreateServiceBinding
func (UnimplementedNetworkServicesServer) CreateServiceBinding(context.Context, *CreateServiceBindingRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) CreateServiceLbPolicy
func (UnimplementedNetworkServicesServer) CreateServiceLbPolicy(context.Context, *CreateServiceLbPolicyRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) CreateTcpRoute
func (UnimplementedNetworkServicesServer) CreateTcpRoute(context.Context, *CreateTcpRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) CreateTlsRoute
func (UnimplementedNetworkServicesServer) CreateTlsRoute(context.Context, *CreateTlsRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) CreateWasmPlugin
func (UnimplementedNetworkServicesServer) CreateWasmPlugin(context.Context, *CreateWasmPluginRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) CreateWasmPluginVersion
func (UnimplementedNetworkServicesServer) CreateWasmPluginVersion(context.Context, *CreateWasmPluginVersionRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) DeleteEndpointPolicy
func (UnimplementedNetworkServicesServer) DeleteEndpointPolicy(context.Context, *DeleteEndpointPolicyRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) DeleteGateway
func (UnimplementedNetworkServicesServer) DeleteGateway(context.Context, *DeleteGatewayRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) DeleteGrpcRoute
func (UnimplementedNetworkServicesServer) DeleteGrpcRoute(context.Context, *DeleteGrpcRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) DeleteHttpRoute
func (UnimplementedNetworkServicesServer) DeleteHttpRoute(context.Context, *DeleteHttpRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) DeleteMesh
func (UnimplementedNetworkServicesServer) DeleteMesh(context.Context, *DeleteMeshRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) DeleteServiceBinding
func (UnimplementedNetworkServicesServer) DeleteServiceBinding(context.Context, *DeleteServiceBindingRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) DeleteServiceLbPolicy
func (UnimplementedNetworkServicesServer) DeleteServiceLbPolicy(context.Context, *DeleteServiceLbPolicyRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) DeleteTcpRoute
func (UnimplementedNetworkServicesServer) DeleteTcpRoute(context.Context, *DeleteTcpRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) DeleteTlsRoute
func (UnimplementedNetworkServicesServer) DeleteTlsRoute(context.Context, *DeleteTlsRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) DeleteWasmPlugin
func (UnimplementedNetworkServicesServer) DeleteWasmPlugin(context.Context, *DeleteWasmPluginRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) DeleteWasmPluginVersion
func (UnimplementedNetworkServicesServer) DeleteWasmPluginVersion(context.Context, *DeleteWasmPluginVersionRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) GetEndpointPolicy
func (UnimplementedNetworkServicesServer) GetEndpointPolicy(context.Context, *GetEndpointPolicyRequest) (*EndpointPolicy, error)func (UnimplementedNetworkServicesServer) GetGateway
func (UnimplementedNetworkServicesServer) GetGateway(context.Context, *GetGatewayRequest) (*Gateway, error)func (UnimplementedNetworkServicesServer) GetGatewayRouteView
func (UnimplementedNetworkServicesServer) GetGatewayRouteView(context.Context, *GetGatewayRouteViewRequest) (*GatewayRouteView, error)func (UnimplementedNetworkServicesServer) GetGrpcRoute
func (UnimplementedNetworkServicesServer) GetGrpcRoute(context.Context, *GetGrpcRouteRequest) (*GrpcRoute, error)func (UnimplementedNetworkServicesServer) GetHttpRoute
func (UnimplementedNetworkServicesServer) GetHttpRoute(context.Context, *GetHttpRouteRequest) (*HttpRoute, error)func (UnimplementedNetworkServicesServer) GetMesh
func (UnimplementedNetworkServicesServer) GetMesh(context.Context, *GetMeshRequest) (*Mesh, error)func (UnimplementedNetworkServicesServer) GetMeshRouteView
func (UnimplementedNetworkServicesServer) GetMeshRouteView(context.Context, *GetMeshRouteViewRequest) (*MeshRouteView, error)func (UnimplementedNetworkServicesServer) GetServiceBinding
func (UnimplementedNetworkServicesServer) GetServiceBinding(context.Context, *GetServiceBindingRequest) (*ServiceBinding, error)func (UnimplementedNetworkServicesServer) GetServiceLbPolicy
func (UnimplementedNetworkServicesServer) GetServiceLbPolicy(context.Context, *GetServiceLbPolicyRequest) (*ServiceLbPolicy, error)func (UnimplementedNetworkServicesServer) GetTcpRoute
func (UnimplementedNetworkServicesServer) GetTcpRoute(context.Context, *GetTcpRouteRequest) (*TcpRoute, error)func (UnimplementedNetworkServicesServer) GetTlsRoute
func (UnimplementedNetworkServicesServer) GetTlsRoute(context.Context, *GetTlsRouteRequest) (*TlsRoute, error)func (UnimplementedNetworkServicesServer) GetWasmPlugin
func (UnimplementedNetworkServicesServer) GetWasmPlugin(context.Context, *GetWasmPluginRequest) (*WasmPlugin, error)func (UnimplementedNetworkServicesServer) GetWasmPluginVersion
func (UnimplementedNetworkServicesServer) GetWasmPluginVersion(context.Context, *GetWasmPluginVersionRequest) (*WasmPluginVersion, error)func (UnimplementedNetworkServicesServer) ListEndpointPolicies
func (UnimplementedNetworkServicesServer) ListEndpointPolicies(context.Context, *ListEndpointPoliciesRequest) (*ListEndpointPoliciesResponse, error)func (UnimplementedNetworkServicesServer) ListGatewayRouteViews
func (UnimplementedNetworkServicesServer) ListGatewayRouteViews(context.Context, *ListGatewayRouteViewsRequest) (*ListGatewayRouteViewsResponse, error)func (UnimplementedNetworkServicesServer) ListGateways
func (UnimplementedNetworkServicesServer) ListGateways(context.Context, *ListGatewaysRequest) (*ListGatewaysResponse, error)func (UnimplementedNetworkServicesServer) ListGrpcRoutes
func (UnimplementedNetworkServicesServer) ListGrpcRoutes(context.Context, *ListGrpcRoutesRequest) (*ListGrpcRoutesResponse, error)func (UnimplementedNetworkServicesServer) ListHttpRoutes
func (UnimplementedNetworkServicesServer) ListHttpRoutes(context.Context, *ListHttpRoutesRequest) (*ListHttpRoutesResponse, error)func (UnimplementedNetworkServicesServer) ListMeshRouteViews
func (UnimplementedNetworkServicesServer) ListMeshRouteViews(context.Context, *ListMeshRouteViewsRequest) (*ListMeshRouteViewsResponse, error)func (UnimplementedNetworkServicesServer) ListMeshes
func (UnimplementedNetworkServicesServer) ListMeshes(context.Context, *ListMeshesRequest) (*ListMeshesResponse, error)func (UnimplementedNetworkServicesServer) ListServiceBindings
func (UnimplementedNetworkServicesServer) ListServiceBindings(context.Context, *ListServiceBindingsRequest) (*ListServiceBindingsResponse, error)func (UnimplementedNetworkServicesServer) ListServiceLbPolicies
func (UnimplementedNetworkServicesServer) ListServiceLbPolicies(context.Context, *ListServiceLbPoliciesRequest) (*ListServiceLbPoliciesResponse, error)func (UnimplementedNetworkServicesServer) ListTcpRoutes
func (UnimplementedNetworkServicesServer) ListTcpRoutes(context.Context, *ListTcpRoutesRequest) (*ListTcpRoutesResponse, error)func (UnimplementedNetworkServicesServer) ListTlsRoutes
func (UnimplementedNetworkServicesServer) ListTlsRoutes(context.Context, *ListTlsRoutesRequest) (*ListTlsRoutesResponse, error)func (UnimplementedNetworkServicesServer) ListWasmPluginVersions
func (UnimplementedNetworkServicesServer) ListWasmPluginVersions(context.Context, *ListWasmPluginVersionsRequest) (*ListWasmPluginVersionsResponse, error)func (UnimplementedNetworkServicesServer) ListWasmPlugins
func (UnimplementedNetworkServicesServer) ListWasmPlugins(context.Context, *ListWasmPluginsRequest) (*ListWasmPluginsResponse, error)func (UnimplementedNetworkServicesServer) UpdateEndpointPolicy
func (UnimplementedNetworkServicesServer) UpdateEndpointPolicy(context.Context, *UpdateEndpointPolicyRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) UpdateGateway
func (UnimplementedNetworkServicesServer) UpdateGateway(context.Context, *UpdateGatewayRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) UpdateGrpcRoute
func (UnimplementedNetworkServicesServer) UpdateGrpcRoute(context.Context, *UpdateGrpcRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) UpdateHttpRoute
func (UnimplementedNetworkServicesServer) UpdateHttpRoute(context.Context, *UpdateHttpRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) UpdateMesh
func (UnimplementedNetworkServicesServer) UpdateMesh(context.Context, *UpdateMeshRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) UpdateServiceBinding
func (UnimplementedNetworkServicesServer) UpdateServiceBinding(context.Context, *UpdateServiceBindingRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) UpdateServiceLbPolicy
func (UnimplementedNetworkServicesServer) UpdateServiceLbPolicy(context.Context, *UpdateServiceLbPolicyRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) UpdateTcpRoute
func (UnimplementedNetworkServicesServer) UpdateTcpRoute(context.Context, *UpdateTcpRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) UpdateTlsRoute
func (UnimplementedNetworkServicesServer) UpdateTlsRoute(context.Context, *UpdateTlsRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedNetworkServicesServer) UpdateWasmPlugin
func (UnimplementedNetworkServicesServer) UpdateWasmPlugin(context.Context, *UpdateWasmPluginRequest) (*longrunningpb.Operation, error)UnsafeDepServiceServer
type UnsafeDepServiceServer interface {
// contains filtered or unexported methods
}UnsafeDepServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DepServiceServer will result in compilation errors.
UnsafeNetworkServicesServer
type UnsafeNetworkServicesServer interface {
// contains filtered or unexported methods
}UnsafeNetworkServicesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetworkServicesServer will result in compilation errors.
UpdateAuthzExtensionRequest
type UpdateAuthzExtensionRequest struct {
// Required. Used to specify the fields to be overwritten in the
// `AuthzExtension` resource by the update.
// The fields specified in the `update_mask` are relative to the resource, not
// the full request. A field is overwritten if it is in the mask. If the
// user does not specify a mask, then all fields are overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. `AuthzExtension` resource being updated.
AuthzExtension *AuthzExtension `protobuf:"bytes,2,opt,name=authz_extension,json=authzExtension,proto3" json:"authz_extension,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server guarantees
// that for 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server ignores the second request This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for updating a AuthzExtension resource.
func (*UpdateAuthzExtensionRequest) Descriptor
func (*UpdateAuthzExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateAuthzExtensionRequest.ProtoReflect.Descriptor instead.
func (*UpdateAuthzExtensionRequest) GetAuthzExtension
func (x *UpdateAuthzExtensionRequest) GetAuthzExtension() *AuthzExtensionfunc (*UpdateAuthzExtensionRequest) GetRequestId
func (x *UpdateAuthzExtensionRequest) GetRequestId() stringfunc (*UpdateAuthzExtensionRequest) GetUpdateMask
func (x *UpdateAuthzExtensionRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateAuthzExtensionRequest) ProtoMessage
func (*UpdateAuthzExtensionRequest) ProtoMessage()func (*UpdateAuthzExtensionRequest) ProtoReflect
func (x *UpdateAuthzExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateAuthzExtensionRequest) Reset
func (x *UpdateAuthzExtensionRequest) Reset()func (*UpdateAuthzExtensionRequest) String
func (x *UpdateAuthzExtensionRequest) String() stringUpdateEndpointPolicyRequest
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
func (*UpdateEndpointPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateEndpointPolicyRequest.ProtoReflect.Descriptor instead.
func (*UpdateEndpointPolicyRequest) GetEndpointPolicy
func (x *UpdateEndpointPolicyRequest) GetEndpointPolicy() *EndpointPolicyfunc (*UpdateEndpointPolicyRequest) GetUpdateMask
func (x *UpdateEndpointPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateEndpointPolicyRequest) ProtoMessage
func (*UpdateEndpointPolicyRequest) ProtoMessage()func (*UpdateEndpointPolicyRequest) ProtoReflect
func (x *UpdateEndpointPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateEndpointPolicyRequest) Reset
func (x *UpdateEndpointPolicyRequest) Reset()func (*UpdateEndpointPolicyRequest) String
func (x *UpdateEndpointPolicyRequest) String() stringUpdateGatewayRequest
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
func (*UpdateGatewayRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateGatewayRequest.ProtoReflect.Descriptor instead.
func (*UpdateGatewayRequest) GetGateway
func (x *UpdateGatewayRequest) GetGateway() *Gatewayfunc (*UpdateGatewayRequest) GetUpdateMask
func (x *UpdateGatewayRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateGatewayRequest) ProtoMessage
func (*UpdateGatewayRequest) ProtoMessage()func (*UpdateGatewayRequest) ProtoReflect
func (x *UpdateGatewayRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateGatewayRequest) Reset
func (x *UpdateGatewayRequest) Reset()func (*UpdateGatewayRequest) String
func (x *UpdateGatewayRequest) String() stringUpdateGrpcRouteRequest
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
func (*UpdateGrpcRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateGrpcRouteRequest.ProtoReflect.Descriptor instead.
func (*UpdateGrpcRouteRequest) GetGrpcRoute
func (x *UpdateGrpcRouteRequest) GetGrpcRoute() *GrpcRoutefunc (*UpdateGrpcRouteRequest) GetUpdateMask
func (x *UpdateGrpcRouteRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateGrpcRouteRequest) ProtoMessage
func (*UpdateGrpcRouteRequest) ProtoMessage()func (*UpdateGrpcRouteRequest) ProtoReflect
func (x *UpdateGrpcRouteRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateGrpcRouteRequest) Reset
func (x *UpdateGrpcRouteRequest) Reset()func (*UpdateGrpcRouteRequest) String
func (x *UpdateGrpcRouteRequest) String() stringUpdateHttpRouteRequest
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
func (*UpdateHttpRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateHttpRouteRequest.ProtoReflect.Descriptor instead.
func (*UpdateHttpRouteRequest) GetHttpRoute
func (x *UpdateHttpRouteRequest) GetHttpRoute() *HttpRoutefunc (*UpdateHttpRouteRequest) GetUpdateMask
func (x *UpdateHttpRouteRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateHttpRouteRequest) ProtoMessage
func (*UpdateHttpRouteRequest) ProtoMessage()func (*UpdateHttpRouteRequest) ProtoReflect
func (x *UpdateHttpRouteRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateHttpRouteRequest) Reset
func (x *UpdateHttpRouteRequest) Reset()func (*UpdateHttpRouteRequest) String
func (x *UpdateHttpRouteRequest) String() stringUpdateLbEdgeExtensionRequest
type UpdateLbEdgeExtensionRequest struct {
// Optional. Used to specify the fields to be overwritten in the
// `LbEdgeExtension` resource by the update.
// The fields specified in the `update_mask` are relative to the resource, not
// the full request. A field is overwritten if it is in the mask. If the
// user does not specify a mask, then all fields are overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. `LbEdgeExtension` resource being updated.
LbEdgeExtension *LbEdgeExtension `protobuf:"bytes,2,opt,name=lb_edge_extension,json=lbEdgeExtension,proto3" json:"lb_edge_extension,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server guarantees
// that for 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server ignores the second request This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for updating a LbEdgeExtension resource.
func (*UpdateLbEdgeExtensionRequest) Descriptor
func (*UpdateLbEdgeExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateLbEdgeExtensionRequest.ProtoReflect.Descriptor instead.
func (*UpdateLbEdgeExtensionRequest) GetLbEdgeExtension
func (x *UpdateLbEdgeExtensionRequest) GetLbEdgeExtension() *LbEdgeExtensionfunc (*UpdateLbEdgeExtensionRequest) GetRequestId
func (x *UpdateLbEdgeExtensionRequest) GetRequestId() stringfunc (*UpdateLbEdgeExtensionRequest) GetUpdateMask
func (x *UpdateLbEdgeExtensionRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateLbEdgeExtensionRequest) ProtoMessage
func (*UpdateLbEdgeExtensionRequest) ProtoMessage()func (*UpdateLbEdgeExtensionRequest) ProtoReflect
func (x *UpdateLbEdgeExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateLbEdgeExtensionRequest) Reset
func (x *UpdateLbEdgeExtensionRequest) Reset()func (*UpdateLbEdgeExtensionRequest) String
func (x *UpdateLbEdgeExtensionRequest) String() stringUpdateLbRouteExtensionRequest
type UpdateLbRouteExtensionRequest struct {
// Optional. Used to specify the fields to be overwritten in the
// `LbRouteExtension` resource by the update.
// The fields specified in the `update_mask` are relative to the resource, not
// the full request. A field is overwritten if it is in the mask. If the
// user does not specify a mask, then all fields are overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. `LbRouteExtension` resource being updated.
LbRouteExtension *LbRouteExtension `protobuf:"bytes,2,opt,name=lb_route_extension,json=lbRouteExtension,proto3" json:"lb_route_extension,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server guarantees
// that for 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server ignores the second request This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for updating a LbRouteExtension resource.
func (*UpdateLbRouteExtensionRequest) Descriptor
func (*UpdateLbRouteExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateLbRouteExtensionRequest.ProtoReflect.Descriptor instead.
func (*UpdateLbRouteExtensionRequest) GetLbRouteExtension
func (x *UpdateLbRouteExtensionRequest) GetLbRouteExtension() *LbRouteExtensionfunc (*UpdateLbRouteExtensionRequest) GetRequestId
func (x *UpdateLbRouteExtensionRequest) GetRequestId() stringfunc (*UpdateLbRouteExtensionRequest) GetUpdateMask
func (x *UpdateLbRouteExtensionRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateLbRouteExtensionRequest) ProtoMessage
func (*UpdateLbRouteExtensionRequest) ProtoMessage()func (*UpdateLbRouteExtensionRequest) ProtoReflect
func (x *UpdateLbRouteExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateLbRouteExtensionRequest) Reset
func (x *UpdateLbRouteExtensionRequest) Reset()func (*UpdateLbRouteExtensionRequest) String
func (x *UpdateLbRouteExtensionRequest) String() stringUpdateLbTrafficExtensionRequest
type UpdateLbTrafficExtensionRequest struct {
// Optional. Used to specify the fields to be overwritten in the
// `LbTrafficExtension` resource by the update.
// The fields specified in the `update_mask` are relative to the resource, not
// the full request. A field is overwritten if it is in the mask. If the
// user does not specify a mask, then all fields are overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. `LbTrafficExtension` resource being updated.
LbTrafficExtension *LbTrafficExtension `protobuf:"bytes,2,opt,name=lb_traffic_extension,json=lbTrafficExtension,proto3" json:"lb_traffic_extension,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server guarantees
// that for 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server ignores the second request This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for updating a LbTrafficExtension resource.
func (*UpdateLbTrafficExtensionRequest) Descriptor
func (*UpdateLbTrafficExtensionRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateLbTrafficExtensionRequest.ProtoReflect.Descriptor instead.
func (*UpdateLbTrafficExtensionRequest) GetLbTrafficExtension
func (x *UpdateLbTrafficExtensionRequest) GetLbTrafficExtension() *LbTrafficExtensionfunc (*UpdateLbTrafficExtensionRequest) GetRequestId
func (x *UpdateLbTrafficExtensionRequest) GetRequestId() stringfunc (*UpdateLbTrafficExtensionRequest) GetUpdateMask
func (x *UpdateLbTrafficExtensionRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateLbTrafficExtensionRequest) ProtoMessage
func (*UpdateLbTrafficExtensionRequest) ProtoMessage()func (*UpdateLbTrafficExtensionRequest) ProtoReflect
func (x *UpdateLbTrafficExtensionRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateLbTrafficExtensionRequest) Reset
func (x *UpdateLbTrafficExtensionRequest) Reset()func (*UpdateLbTrafficExtensionRequest) String
func (x *UpdateLbTrafficExtensionRequest) String() stringUpdateMeshRequest
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
func (*UpdateMeshRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateMeshRequest.ProtoReflect.Descriptor instead.
func (*UpdateMeshRequest) GetMesh
func (x *UpdateMeshRequest) GetMesh() *Meshfunc (*UpdateMeshRequest) GetUpdateMask
func (x *UpdateMeshRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateMeshRequest) ProtoMessage
func (*UpdateMeshRequest) ProtoMessage()func (*UpdateMeshRequest) ProtoReflect
func (x *UpdateMeshRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateMeshRequest) Reset
func (x *UpdateMeshRequest) Reset()func (*UpdateMeshRequest) String
func (x *UpdateMeshRequest) String() stringUpdateServiceBindingRequest
type UpdateServiceBindingRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// ServiceBinding 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 ServiceBinding resource.
ServiceBinding *ServiceBinding `protobuf:"bytes,2,opt,name=service_binding,json=serviceBinding,proto3" json:"service_binding,omitempty"`
// contains filtered or unexported fields
}Request used by the UpdateServiceBinding method.
func (*UpdateServiceBindingRequest) Descriptor
func (*UpdateServiceBindingRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateServiceBindingRequest.ProtoReflect.Descriptor instead.
func (*UpdateServiceBindingRequest) GetServiceBinding
func (x *UpdateServiceBindingRequest) GetServiceBinding() *ServiceBindingfunc (*UpdateServiceBindingRequest) GetUpdateMask
func (x *UpdateServiceBindingRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateServiceBindingRequest) ProtoMessage
func (*UpdateServiceBindingRequest) ProtoMessage()func (*UpdateServiceBindingRequest) ProtoReflect
func (x *UpdateServiceBindingRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateServiceBindingRequest) Reset
func (x *UpdateServiceBindingRequest) Reset()func (*UpdateServiceBindingRequest) String
func (x *UpdateServiceBindingRequest) String() stringUpdateServiceLbPolicyRequest
type UpdateServiceLbPolicyRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// ServiceLbPolicy 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 ServiceLbPolicy resource.
ServiceLbPolicy *ServiceLbPolicy `protobuf:"bytes,2,opt,name=service_lb_policy,json=serviceLbPolicy,proto3" json:"service_lb_policy,omitempty"`
// contains filtered or unexported fields
}Request used by the UpdateServiceLbPolicy method.
func (*UpdateServiceLbPolicyRequest) Descriptor
func (*UpdateServiceLbPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateServiceLbPolicyRequest.ProtoReflect.Descriptor instead.
func (*UpdateServiceLbPolicyRequest) GetServiceLbPolicy
func (x *UpdateServiceLbPolicyRequest) GetServiceLbPolicy() *ServiceLbPolicyfunc (*UpdateServiceLbPolicyRequest) GetUpdateMask
func (x *UpdateServiceLbPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateServiceLbPolicyRequest) ProtoMessage
func (*UpdateServiceLbPolicyRequest) ProtoMessage()func (*UpdateServiceLbPolicyRequest) ProtoReflect
func (x *UpdateServiceLbPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateServiceLbPolicyRequest) Reset
func (x *UpdateServiceLbPolicyRequest) Reset()func (*UpdateServiceLbPolicyRequest) String
func (x *UpdateServiceLbPolicyRequest) String() stringUpdateTcpRouteRequest
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
func (*UpdateTcpRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateTcpRouteRequest.ProtoReflect.Descriptor instead.
func (*UpdateTcpRouteRequest) GetTcpRoute
func (x *UpdateTcpRouteRequest) GetTcpRoute() *TcpRoutefunc (*UpdateTcpRouteRequest) GetUpdateMask
func (x *UpdateTcpRouteRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateTcpRouteRequest) ProtoMessage
func (*UpdateTcpRouteRequest) ProtoMessage()func (*UpdateTcpRouteRequest) ProtoReflect
func (x *UpdateTcpRouteRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateTcpRouteRequest) Reset
func (x *UpdateTcpRouteRequest) Reset()func (*UpdateTcpRouteRequest) String
func (x *UpdateTcpRouteRequest) String() stringUpdateTlsRouteRequest
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
func (*UpdateTlsRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateTlsRouteRequest.ProtoReflect.Descriptor instead.
func (*UpdateTlsRouteRequest) GetTlsRoute
func (x *UpdateTlsRouteRequest) GetTlsRoute() *TlsRoutefunc (*UpdateTlsRouteRequest) GetUpdateMask
func (x *UpdateTlsRouteRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateTlsRouteRequest) ProtoMessage
func (*UpdateTlsRouteRequest) ProtoMessage()func (*UpdateTlsRouteRequest) ProtoReflect
func (x *UpdateTlsRouteRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateTlsRouteRequest) Reset
func (x *UpdateTlsRouteRequest) Reset()func (*UpdateTlsRouteRequest) String
func (x *UpdateTlsRouteRequest) String() stringUpdateWasmPluginRequest
type UpdateWasmPluginRequest struct {
// Optional. Used to specify the fields to be overwritten in the
// `WasmPlugin` resource by the update.
// The fields specified in the `update_mask` field are relative to the
// resource, not the full request.
// An omitted `update_mask` field is treated as an implied `update_mask`
// field equivalent to all fields that are populated (that have a non-empty
// value).
// The `update_mask` field supports a special value `*`, which means that
// each field in the given `WasmPlugin` resource (including the empty ones)
// replaces the current value.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. Updated `WasmPlugin` resource.
WasmPlugin *WasmPlugin `protobuf:"bytes,2,opt,name=wasm_plugin,json=wasmPlugin,proto3" json:"wasm_plugin,omitempty"`
// contains filtered or unexported fields
}Request used by the UpdateWasmPlugin method.
func (*UpdateWasmPluginRequest) Descriptor
func (*UpdateWasmPluginRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateWasmPluginRequest.ProtoReflect.Descriptor instead.
func (*UpdateWasmPluginRequest) GetUpdateMask
func (x *UpdateWasmPluginRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateWasmPluginRequest) GetWasmPlugin
func (x *UpdateWasmPluginRequest) GetWasmPlugin() *WasmPluginfunc (*UpdateWasmPluginRequest) ProtoMessage
func (*UpdateWasmPluginRequest) ProtoMessage()func (*UpdateWasmPluginRequest) ProtoReflect
func (x *UpdateWasmPluginRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateWasmPluginRequest) Reset
func (x *UpdateWasmPluginRequest) Reset()func (*UpdateWasmPluginRequest) String
func (x *UpdateWasmPluginRequest) String() stringWasmPlugin
type WasmPlugin struct {
// Identifier. Name of the `WasmPlugin` resource in the following format:
// `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`.
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. A human-readable description of the resource.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Set of labels associated with the `WasmPlugin` resource.
//
// The format must comply with [the following
// requirements](/compute/docs/labeling-resources#requirements).
Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. The ID of the `WasmPluginVersion` resource that is the
// currently serving one. The version referred to must be a child of this
// `WasmPlugin` resource.
MainVersionId string `protobuf:"bytes,6,opt,name=main_version_id,json=mainVersionId,proto3" json:"main_version_id,omitempty"`
// Optional. Specifies the logging options for the activity performed by this
// plugin. If logging is enabled, plugin logs are exported to
// Cloud Logging.
// Note that the settings relate to the logs generated by using
// logging statements in your Wasm code.
LogConfig *WasmPlugin_LogConfig `protobuf:"bytes,9,opt,name=log_config,json=logConfig,proto3" json:"log_config,omitempty"`
// Optional. All versions of this `WasmPlugin` resource in the key-value
// format. The key is the resource ID, and the value is the `VersionDetails`
// object.
//
// Lets you create or update a `WasmPlugin` resource and its versions in a
// single request. When the `main_version_id` field is not empty, it must
// point to one of the `VersionDetails` objects in the map.
//
// If provided in a `PATCH` request, the new versions replace the
// previous set. Any version omitted from the `versions` field is removed.
// Because the `WasmPluginVersion` resource is immutable, if a
// `WasmPluginVersion` resource with the same name already exists and differs,
// the request fails.
//
// Note: In a `GET` request, this field is populated only if the field
// `GetWasmPluginRequest.view` is set to `WASM_PLUGIN_VIEW_FULL`.
Versions map[string]*WasmPlugin_VersionDetails `protobuf:"bytes,10,rep,name=versions,proto3" json:"versions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. List of all
// [extensions](https://cloud.google.com/service-extensions/docs/overview)
// that use this `WasmPlugin` resource.
UsedBy []*WasmPlugin_UsedBy `protobuf:"bytes,11,rep,name=used_by,json=usedBy,proto3" json:"used_by,omitempty"`
// contains filtered or unexported fields
}WasmPlugin is a resource representing a service executing
a customer-provided Wasm module.
func (*WasmPlugin) Descriptor
func (*WasmPlugin) Descriptor() ([]byte, []int)Deprecated: Use WasmPlugin.ProtoReflect.Descriptor instead.
func (*WasmPlugin) GetCreateTime
func (x *WasmPlugin) GetCreateTime() *timestamppb.Timestampfunc (*WasmPlugin) GetDescription
func (x *WasmPlugin) GetDescription() stringfunc (*WasmPlugin) GetLabels
func (x *WasmPlugin) GetLabels() map[string]stringfunc (*WasmPlugin) GetLogConfig
func (x *WasmPlugin) GetLogConfig() *WasmPlugin_LogConfigfunc (*WasmPlugin) GetMainVersionId
func (x *WasmPlugin) GetMainVersionId() stringfunc (*WasmPlugin) GetName
func (x *WasmPlugin) GetName() stringfunc (*WasmPlugin) GetUpdateTime
func (x *WasmPlugin) GetUpdateTime() *timestamppb.Timestampfunc (*WasmPlugin) GetUsedBy
func (x *WasmPlugin) GetUsedBy() []*WasmPlugin_UsedByfunc (*WasmPlugin) GetVersions
func (x *WasmPlugin) GetVersions() map[string]*WasmPlugin_VersionDetailsfunc (*WasmPlugin) ProtoMessage
func (*WasmPlugin) ProtoMessage()func (*WasmPlugin) ProtoReflect
func (x *WasmPlugin) ProtoReflect() protoreflect.Messagefunc (*WasmPlugin) Reset
func (x *WasmPlugin) Reset()func (*WasmPlugin) String
func (x *WasmPlugin) String() stringWasmPluginVersion
type WasmPluginVersion struct {
// Types that are valid to be assigned to PluginConfigSource:
//
// *WasmPluginVersion_PluginConfigData
// *WasmPluginVersion_PluginConfigUri
PluginConfigSource isWasmPluginVersion_PluginConfigSource `protobuf_oneof:"plugin_config_source"`
// Identifier. Name of the `WasmPluginVersion` resource in the following
// format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/
// versions/{wasm_plugin_version}`.
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,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"`
// Optional. A human-readable description of the resource.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Set of labels associated with the `WasmPluginVersion`
// resource.
Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. URI of the container image containing the plugin, stored in the
// Artifact Registry.
// When a new `WasmPluginVersion` resource is created, the digest
// of the container image is saved in the `image_digest` field.
// When downloading an image, the digest value is used instead of an
// image tag.
ImageUri string `protobuf:"bytes,8,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
// Output only. The resolved digest for the image specified in the `image`
// field. The digest is resolved during the creation of `WasmPluginVersion`
// resource. This field holds the digest value, regardless of whether a tag or
// digest was originally specified in the `image` field.
ImageDigest string `protobuf:"bytes,9,opt,name=image_digest,json=imageDigest,proto3" json:"image_digest,omitempty"`
// Output only. This field holds the digest (usually checksum) value for the
// plugin configuration. The value is calculated based on the contents of
// `plugin_config_data` or the container image defined by
// the `plugin_config_uri` field.
PluginConfigDigest string `protobuf:"bytes,14,opt,name=plugin_config_digest,json=pluginConfigDigest,proto3" json:"plugin_config_digest,omitempty"`
// contains filtered or unexported fields
}A single immutable version of a WasmPlugin resource.
Defines the Wasm module used and optionally its runtime config.
func (*WasmPluginVersion) Descriptor
func (*WasmPluginVersion) Descriptor() ([]byte, []int)Deprecated: Use WasmPluginVersion.ProtoReflect.Descriptor instead.
func (*WasmPluginVersion) GetCreateTime
func (x *WasmPluginVersion) GetCreateTime() *timestamppb.Timestampfunc (*WasmPluginVersion) GetDescription
func (x *WasmPluginVersion) GetDescription() stringfunc (*WasmPluginVersion) GetImageDigest
func (x *WasmPluginVersion) GetImageDigest() stringfunc (*WasmPluginVersion) GetImageUri
func (x *WasmPluginVersion) GetImageUri() stringfunc (*WasmPluginVersion) GetLabels
func (x *WasmPluginVersion) GetLabels() map[string]stringfunc (*WasmPluginVersion) GetName
func (x *WasmPluginVersion) GetName() stringfunc (*WasmPluginVersion) GetPluginConfigData
func (x *WasmPluginVersion) GetPluginConfigData() []bytefunc (*WasmPluginVersion) GetPluginConfigDigest
func (x *WasmPluginVersion) GetPluginConfigDigest() stringfunc (*WasmPluginVersion) GetPluginConfigSource
func (x *WasmPluginVersion) GetPluginConfigSource() isWasmPluginVersion_PluginConfigSourcefunc (*WasmPluginVersion) GetPluginConfigUri
func (x *WasmPluginVersion) GetPluginConfigUri() stringfunc (*WasmPluginVersion) GetUpdateTime
func (x *WasmPluginVersion) GetUpdateTime() *timestamppb.Timestampfunc (*WasmPluginVersion) ProtoMessage
func (*WasmPluginVersion) ProtoMessage()func (*WasmPluginVersion) ProtoReflect
func (x *WasmPluginVersion) ProtoReflect() protoreflect.Messagefunc (*WasmPluginVersion) Reset
func (x *WasmPluginVersion) Reset()func (*WasmPluginVersion) String
func (x *WasmPluginVersion) String() stringWasmPluginVersion_PluginConfigData
type WasmPluginVersion_PluginConfigData struct {
// Configuration for the plugin.
// The configuration is provided to the plugin at runtime through
// the `ON_CONFIGURE` callback. When a new
// `WasmPluginVersion` resource is created, the digest of the
// contents is saved in the `plugin_config_digest` field.
PluginConfigData []byte `protobuf:"bytes,12,opt,name=plugin_config_data,json=pluginConfigData,proto3,oneof"`
}WasmPluginVersion_PluginConfigUri
type WasmPluginVersion_PluginConfigUri struct {
// URI of the plugin configuration stored in the Artifact Registry.
// The configuration is provided to the plugin at runtime through
// the `ON_CONFIGURE` callback. The container image must contain
// only a single file with the name `plugin.config`. When a
// new `WasmPluginVersion` resource is created, the digest of the
// container image is saved in the `plugin_config_digest` field.
PluginConfigUri string `protobuf:"bytes,13,opt,name=plugin_config_uri,json=pluginConfigUri,proto3,oneof"`
}WasmPluginView
type WasmPluginView int32Determines the information that should be returned by the server.
WasmPluginView_WASM_PLUGIN_VIEW_UNSPECIFIED, WasmPluginView_WASM_PLUGIN_VIEW_BASIC, WasmPluginView_WASM_PLUGIN_VIEW_FULL
const (
// Unspecified value. Do not use.
WasmPluginView_WASM_PLUGIN_VIEW_UNSPECIFIED WasmPluginView = 0
// If specified in the `GET` request for a `WasmPlugin` resource, the server's
// response includes just the `WasmPlugin` resource.
WasmPluginView_WASM_PLUGIN_VIEW_BASIC WasmPluginView = 1
// If specified in the `GET` request for a `WasmPlugin` resource, the server's
// response includes the `WasmPlugin` resource with all its versions.
WasmPluginView_WASM_PLUGIN_VIEW_FULL WasmPluginView = 2
)func (WasmPluginView) Descriptor
func (WasmPluginView) Descriptor() protoreflect.EnumDescriptorfunc (WasmPluginView) Enum
func (x WasmPluginView) Enum() *WasmPluginViewfunc (WasmPluginView) EnumDescriptor
func (WasmPluginView) EnumDescriptor() ([]byte, []int)Deprecated: Use WasmPluginView.Descriptor instead.
func (WasmPluginView) Number
func (x WasmPluginView) Number() protoreflect.EnumNumberfunc (WasmPluginView) String
func (x WasmPluginView) String() stringfunc (WasmPluginView) Type
func (WasmPluginView) Type() protoreflect.EnumTypeWasmPlugin_LogConfig
type WasmPlugin_LogConfig struct {
// Optional. Specifies whether to enable logging for activity by this
// plugin.
//
// Defaults to `false`.
Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
// Non-empty default. Configures the sampling rate of activity logs, where
// `1.0` means all logged activity is reported and `0.0` means no activity
// is reported. A floating point value between `0.0` and `1.0` indicates
// that a percentage of log messages is stored.
//
// The default value when logging is enabled is `1.0`. The value of the
// field must be between `0` and `1` (inclusive).
//
// This field can be specified only if logging is enabled for this plugin.
SampleRate float32 `protobuf:"fixed32,2,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"`
// Non-empty default. Specificies the lowest level of the plugin logs that
// are exported to Cloud Logging. This setting relates to the logs generated
// by using logging statements in your Wasm code.
//
// This field is can be set only if logging is enabled for the plugin.
//
// If the field is not provided when logging is enabled, it is set to
// `INFO` by default.
MinLogLevel WasmPlugin_LogConfig_LogLevel `protobuf:"varint,3,opt,name=min_log_level,json=minLogLevel,proto3,enum=google.cloud.networkservices.v1.WasmPlugin_LogConfig_LogLevel" json:"min_log_level,omitempty"`
// contains filtered or unexported fields
}Specifies the logging options for the activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging.
func (*WasmPlugin_LogConfig) Descriptor
func (*WasmPlugin_LogConfig) Descriptor() ([]byte, []int)Deprecated: Use WasmPlugin_LogConfig.ProtoReflect.Descriptor instead.
func (*WasmPlugin_LogConfig) GetEnable
func (x *WasmPlugin_LogConfig) GetEnable() boolfunc (*WasmPlugin_LogConfig) GetMinLogLevel
func (x *WasmPlugin_LogConfig) GetMinLogLevel() WasmPlugin_LogConfig_LogLevelfunc (*WasmPlugin_LogConfig) GetSampleRate
func (x *WasmPlugin_LogConfig) GetSampleRate() float32func (*WasmPlugin_LogConfig) ProtoMessage
func (*WasmPlugin_LogConfig) ProtoMessage()func (*WasmPlugin_LogConfig) ProtoReflect
func (x *WasmPlugin_LogConfig) ProtoReflect() protoreflect.Messagefunc (*WasmPlugin_LogConfig) Reset
func (x *WasmPlugin_LogConfig) Reset()func (*WasmPlugin_LogConfig) String
func (x *WasmPlugin_LogConfig) String() stringWasmPlugin_LogConfig_LogLevel
type WasmPlugin_LogConfig_LogLevel int32Possible values to specify the lowest level of logs to be exported to Cloud Logging.
WasmPlugin_LogConfig_LOG_LEVEL_UNSPECIFIED, WasmPlugin_LogConfig_TRACE, WasmPlugin_LogConfig_DEBUG, WasmPlugin_LogConfig_INFO, WasmPlugin_LogConfig_WARN, WasmPlugin_LogConfig_ERROR, WasmPlugin_LogConfig_CRITICAL
const (
// Unspecified value. Defaults to `LogLevel.INFO`.
WasmPlugin_LogConfig_LOG_LEVEL_UNSPECIFIED WasmPlugin_LogConfig_LogLevel = 0
// Report logs with TRACE level and above.
WasmPlugin_LogConfig_TRACE WasmPlugin_LogConfig_LogLevel = 1
// Report logs with DEBUG level and above.
WasmPlugin_LogConfig_DEBUG WasmPlugin_LogConfig_LogLevel = 2
// Report logs with INFO level and above.
WasmPlugin_LogConfig_INFO WasmPlugin_LogConfig_LogLevel = 3
// Report logs with WARN level and above.
WasmPlugin_LogConfig_WARN WasmPlugin_LogConfig_LogLevel = 4
// Report logs with ERROR level and above.
WasmPlugin_LogConfig_ERROR WasmPlugin_LogConfig_LogLevel = 5
// Report logs with CRITICAL level only.
WasmPlugin_LogConfig_CRITICAL WasmPlugin_LogConfig_LogLevel = 6
)func (WasmPlugin_LogConfig_LogLevel) Descriptor
func (WasmPlugin_LogConfig_LogLevel) Descriptor() protoreflect.EnumDescriptorfunc (WasmPlugin_LogConfig_LogLevel) Enum
func (x WasmPlugin_LogConfig_LogLevel) Enum() *WasmPlugin_LogConfig_LogLevelfunc (WasmPlugin_LogConfig_LogLevel) EnumDescriptor
func (WasmPlugin_LogConfig_LogLevel) EnumDescriptor() ([]byte, []int)Deprecated: Use WasmPlugin_LogConfig_LogLevel.Descriptor instead.
func (WasmPlugin_LogConfig_LogLevel) Number
func (x WasmPlugin_LogConfig_LogLevel) Number() protoreflect.EnumNumberfunc (WasmPlugin_LogConfig_LogLevel) String
func (x WasmPlugin_LogConfig_LogLevel) String() stringfunc (WasmPlugin_LogConfig_LogLevel) Type
func (WasmPlugin_LogConfig_LogLevel) Type() protoreflect.EnumTypeWasmPlugin_UsedBy
type WasmPlugin_UsedBy struct {
// Output only. Full name of the resource
// https://google.aip.dev/122#full-resource-names, for example
// `//networkservices.googleapis.com/projects/{project}/locations/{location}/lbRouteExtensions/{extension}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Defines a resource that uses the WasmPlugin resource.
func (*WasmPlugin_UsedBy) Descriptor
func (*WasmPlugin_UsedBy) Descriptor() ([]byte, []int)Deprecated: Use WasmPlugin_UsedBy.ProtoReflect.Descriptor instead.
func (*WasmPlugin_UsedBy) GetName
func (x *WasmPlugin_UsedBy) GetName() stringfunc (*WasmPlugin_UsedBy) ProtoMessage
func (*WasmPlugin_UsedBy) ProtoMessage()func (*WasmPlugin_UsedBy) ProtoReflect
func (x *WasmPlugin_UsedBy) ProtoReflect() protoreflect.Messagefunc (*WasmPlugin_UsedBy) Reset
func (x *WasmPlugin_UsedBy) Reset()func (*WasmPlugin_UsedBy) String
func (x *WasmPlugin_UsedBy) String() stringWasmPlugin_VersionDetails
type WasmPlugin_VersionDetails struct {
// Types that are valid to be assigned to PluginConfigSource:
//
// *WasmPlugin_VersionDetails_PluginConfigData
// *WasmPlugin_VersionDetails_PluginConfigUri
PluginConfigSource isWasmPlugin_VersionDetails_PluginConfigSource `protobuf_oneof:"plugin_config_source"`
// Output only. The timestamp when the resource was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,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,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. A human-readable description of the resource.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Set of labels associated with the `WasmPluginVersion`
// resource.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. URI of the container image containing the Wasm module, stored
// in the Artifact Registry. The container image must contain only a single
// file with the name `plugin.wasm`. When a new `WasmPluginVersion` resource
// is created, the URI gets resolved to an image digest and saved in the
// `image_digest` field.
ImageUri string `protobuf:"bytes,5,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
// Output only. The resolved digest for the image specified in `image`.
// The digest is resolved during the creation of a
// `WasmPluginVersion` resource.
// This field holds the digest value regardless of whether a tag or
// digest was originally specified in the `image` field.
ImageDigest string `protobuf:"bytes,6,opt,name=image_digest,json=imageDigest,proto3" json:"image_digest,omitempty"`
// Output only. This field holds the digest (usually checksum) value for the
// plugin configuration. The value is calculated based on the contents of
// the `plugin_config_data` field or the container image defined by the
// `plugin_config_uri` field.
PluginConfigDigest string `protobuf:"bytes,11,opt,name=plugin_config_digest,json=pluginConfigDigest,proto3" json:"plugin_config_digest,omitempty"`
// contains filtered or unexported fields
}Details of a WasmPluginVersion resource to be inlined in the
WasmPlugin resource.
func (*WasmPlugin_VersionDetails) Descriptor
func (*WasmPlugin_VersionDetails) Descriptor() ([]byte, []int)Deprecated: Use WasmPlugin_VersionDetails.ProtoReflect.Descriptor instead.
func (*WasmPlugin_VersionDetails) GetCreateTime
func (x *WasmPlugin_VersionDetails) GetCreateTime() *timestamppb.Timestampfunc (*WasmPlugin_VersionDetails) GetDescription
func (x *WasmPlugin_VersionDetails) GetDescription() stringfunc (*WasmPlugin_VersionDetails) GetImageDigest
func (x *WasmPlugin_VersionDetails) GetImageDigest() stringfunc (*WasmPlugin_VersionDetails) GetImageUri
func (x *WasmPlugin_VersionDetails) GetImageUri() stringfunc (*WasmPlugin_VersionDetails) GetLabels
func (x *WasmPlugin_VersionDetails) GetLabels() map[string]stringfunc (*WasmPlugin_VersionDetails) GetPluginConfigData
func (x *WasmPlugin_VersionDetails) GetPluginConfigData() []bytefunc (*WasmPlugin_VersionDetails) GetPluginConfigDigest
func (x *WasmPlugin_VersionDetails) GetPluginConfigDigest() stringfunc (*WasmPlugin_VersionDetails) GetPluginConfigSource
func (x *WasmPlugin_VersionDetails) GetPluginConfigSource() isWasmPlugin_VersionDetails_PluginConfigSourcefunc (*WasmPlugin_VersionDetails) GetPluginConfigUri
func (x *WasmPlugin_VersionDetails) GetPluginConfigUri() stringfunc (*WasmPlugin_VersionDetails) GetUpdateTime
func (x *WasmPlugin_VersionDetails) GetUpdateTime() *timestamppb.Timestampfunc (*WasmPlugin_VersionDetails) ProtoMessage
func (*WasmPlugin_VersionDetails) ProtoMessage()func (*WasmPlugin_VersionDetails) ProtoReflect
func (x *WasmPlugin_VersionDetails) ProtoReflect() protoreflect.Messagefunc (*WasmPlugin_VersionDetails) Reset
func (x *WasmPlugin_VersionDetails) Reset()func (*WasmPlugin_VersionDetails) String
func (x *WasmPlugin_VersionDetails) String() stringWasmPlugin_VersionDetails_PluginConfigData
type WasmPlugin_VersionDetails_PluginConfigData struct {
// Configuration for the plugin.
// The configuration is provided to the plugin at runtime through
// the `ON_CONFIGURE` callback. When a new
// `WasmPluginVersion` version is created, the digest of the
// contents is saved in the `plugin_config_digest` field.
PluginConfigData []byte `protobuf:"bytes,9,opt,name=plugin_config_data,json=pluginConfigData,proto3,oneof"`
}WasmPlugin_VersionDetails_PluginConfigUri
type WasmPlugin_VersionDetails_PluginConfigUri struct {
// URI of the plugin configuration stored in the Artifact Registry.
// The configuration is provided to the plugin at runtime through
// the `ON_CONFIGURE` callback. The container image must
// contain only a single file with the name
// `plugin.config`. When a new `WasmPluginVersion`
// resource is created, the digest of the container image is saved in the
// `plugin_config_digest` field.
PluginConfigUri string `protobuf:"bytes,10,opt,name=plugin_config_uri,json=pluginConfigUri,proto3,oneof"`
}WireFormat
type WireFormat int32The format of communication supported by the extension.
WireFormat_WIRE_FORMAT_UNSPECIFIED, WireFormat_EXT_PROC_GRPC
const (
// Not specified.
WireFormat_WIRE_FORMAT_UNSPECIFIED WireFormat = 0
// The extension service uses ext_proc gRPC API over a gRPC stream. This is
// the default value if the wire format is not specified. The backend service
// for the extension must use HTTP2 or H2C as the protocol. All
// `supported_events` for a client request are sent as part of the same
// gRPC stream.
WireFormat_EXT_PROC_GRPC WireFormat = 1
)func (WireFormat) Descriptor
func (WireFormat) Descriptor() protoreflect.EnumDescriptorfunc (WireFormat) Enum
func (x WireFormat) Enum() *WireFormatfunc (WireFormat) EnumDescriptor
func (WireFormat) EnumDescriptor() ([]byte, []int)Deprecated: Use WireFormat.Descriptor instead.
func (WireFormat) Number
func (x WireFormat) Number() protoreflect.EnumNumberfunc (WireFormat) String
func (x WireFormat) String() stringfunc (WireFormat) Type
func (WireFormat) Type() protoreflect.EnumType