networkservices/v1 library
Network Services API - v1
For more information, see cloud.google.com/networking
Create an instance of NetworkServicesApi to access these resources:
- ProjectsResource
- ProjectsLocationsResource
- ProjectsLocationsEdgeCacheKeysetsResource
- ProjectsLocationsEdgeCacheOriginsResource
- ProjectsLocationsEdgeCacheServicesResource
- ProjectsLocationsEndpointPoliciesResource
- ProjectsLocationsGatewaysResource
- ProjectsLocationsGrpcRoutesResource
- ProjectsLocationsHttpRoutesResource
- ProjectsLocationsLbRouteExtensionsResource
- ProjectsLocationsLbTrafficExtensionsResource
- ProjectsLocationsMeshesResource
- ProjectsLocationsOperationsResource
- ProjectsLocationsServiceBindingsResource
- ProjectsLocationsServiceLbPoliciesResource
- ProjectsLocationsTcpRoutesResource
- ProjectsLocationsTlsRoutesResource
- ProjectsLocationsResource
Classes
- AuditConfig
- Specifies the audit configuration for a service.
- Binding
-
Associates
members
, or principals, with arole
. - EndpointMatcher
- A definition of a matcher that selects endpoints to which the policies should be applied.
- EndpointMatcherMetadataLabelMatcher
- The matcher that is based on node metadata presented by xDS clients.
- EndpointMatcherMetadataLabelMatcherMetadataLabels
- Defines a name-pair value for a single label.
- EndpointPolicy
- EndpointPolicy is a resource that helps apply desired configuration on the endpoints that match specific criteria.
- ExtensionChain
- A single extension chain wrapper that contains the match conditions and extensions to execute.
- ExtensionChainExtension
- A single extension in the chain to execute for the matching request.
- ExtensionChainMatchCondition
- Conditions under which this chain is invoked for a request.
- Gateway
- Gateway represents the configuration for a proxy, typically a load balancer.
- GrpcRoute
- GrpcRoute is the resource defining how gRPC traffic routed by a Mesh or Gateway resource is routed.
- GrpcRouteDestination
- The destination to which traffic will be routed.
- GrpcRouteFaultInjectionPolicy
- The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure.
- GrpcRouteHeaderMatch
- A match against a collection of headers.
- GrpcRouteMethodMatch
- Specifies a match against a method.
- GrpcRouteRetryPolicy
- The specifications for retries.
- GrpcRouteRouteAction
- Specifies how to route matched traffic.
- GrpcRouteRouteMatch
- Criteria for matching traffic.
- GrpcRouteRouteRule
- Describes how to route traffic.
- HttpRoute
- HttpRoute is the resource defining how HTTP traffic should be routed by a Mesh or Gateway resource.
- HttpRouteCorsPolicy
- The Specification for allowing client side cross-origin requests.
- HttpRouteDestination
- Specifications of a destination to which the request should be routed to.
- HttpRouteFaultInjectionPolicy
- The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure.
- HttpRouteHeaderMatch
- Specifies how to select a route rule based on HTTP request headers.
- HttpRouteHeaderMatchIntegerRange
- Represents an integer value range.
- HttpRouteHeaderModifier
- The specification for modifying HTTP header in HTTP request and HTTP response.
- HttpRouteHttpDirectResponse
- Static HTTP response object to be returned.
- HttpRouteQueryParameterMatch
- Specifications to match a query parameter in the request.
- HttpRouteRedirect
- The specification for redirecting traffic.
- HttpRouteRequestMirrorPolicy
- Specifies the policy on how requests are shadowed to a separate mirrored destination service.
- HttpRouteRetryPolicy
- The specifications for retries.
- HttpRouteRouteAction
- The specifications for routing traffic and applying associated policies.
- HttpRouteRouteMatch
- RouteMatch defines specifications used to match requests.
- HttpRouteRouteRule
- Specifies how to match traffic and how to route traffic when traffic is matched.
- HttpRouteURLRewrite
- The specification for modifying the URL of the request, prior to forwarding the request to the destination.
- LbRouteExtension
-
LbRouteExtension
is a resource that lets you control where traffic is routed to for a given request. - LbTrafficExtension
-
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. - ListEndpointPoliciesResponse
- Response returned by the ListEndpointPolicies method.
- ListGatewaysResponse
- Response returned by the ListGateways method.
- ListGrpcRoutesResponse
- Response returned by the ListGrpcRoutes method.
- ListHttpRoutesResponse
- Response returned by the ListHttpRoutes method.
- ListLbRouteExtensionsResponse
-
Message for response to listing
LbRouteExtension
resources. - ListLbTrafficExtensionsResponse
-
Message for response to listing
LbTrafficExtension
resources. - ListLocationsResponse
- The response message for Locations.ListLocations.
- ListMeshesResponse
- Response returned by the ListMeshes method.
- ListOperationsResponse
- The response message for Operations.ListOperations.
- ListServiceBindingsResponse
- Response returned by the ListServiceBindings method.
- ListServiceLbPoliciesResponse
- Response returned by the ListServiceLbPolicies method.
- ListTcpRoutesResponse
- Response returned by the ListTcpRoutes method.
- ListTlsRoutesResponse
- Response returned by the ListTlsRoutes method.
- Mesh
- Mesh represents a logical configuration grouping for workload to workload communication within a service mesh.
- NetworkServicesApi
- Operation
- This resource represents a long-running operation that is the result of a network API call.
- Policy
- An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.
- ProjectsLocationsEdgeCacheKeysetsResource
- ProjectsLocationsEdgeCacheOriginsResource
- ProjectsLocationsEdgeCacheServicesResource
- ProjectsLocationsEndpointPoliciesResource
- ProjectsLocationsGatewaysResource
- ProjectsLocationsGrpcRoutesResource
- ProjectsLocationsHttpRoutesResource
- ProjectsLocationsLbRouteExtensionsResource
- ProjectsLocationsLbTrafficExtensionsResource
- ProjectsLocationsMeshesResource
- ProjectsLocationsOperationsResource
- ProjectsLocationsResource
- ProjectsLocationsServiceBindingsResource
- ProjectsLocationsServiceLbPoliciesResource
- ProjectsLocationsTcpRoutesResource
- ProjectsLocationsTlsRoutesResource
- ProjectsResource
- ServiceBinding
- ServiceBinding is the resource that defines a Service Directory Service to be used in a BackendService resource.
- ServiceLbPolicy
- ServiceLbPolicy holds global load balancing and traffic distribution configuration that can be applied to a BackendService.
- ServiceLbPolicyAutoCapacityDrain
- Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing.
- ServiceLbPolicyFailoverConfig
- Option to specify health based failover behavior.
- SetIamPolicyRequest
-
Request message for
SetIamPolicy
method. - TcpRoute
- TcpRoute is the resource defining how TCP traffic should be routed by a Mesh/Gateway resource.
- TcpRouteRouteAction
- The specifications for routing traffic and applying associated policies.
- TcpRouteRouteDestination
- Describe the destination for traffic to be routed to.
- TcpRouteRouteMatch
- RouteMatch defines the predicate used to match requests to a given action.
- TcpRouteRouteRule
- Specifies how to match traffic and how to route traffic when traffic is matched.
- TlsRoute
- TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes.
- TlsRouteRouteAction
- The specifications for routing traffic and applying associated policies.
- TlsRouteRouteDestination
- Describe the destination for traffic to be routed to.
- TlsRouteRouteMatch
- RouteMatch defines the predicate used to match requests to a given action.
- TlsRouteRouteRule
- Specifies how to match traffic and how to route traffic when traffic is matched.
- TrafficPortSelector
- Specification of a port-based selector.
Typedefs
- AuditLogConfig = $AuditLogConfig
- Provides the configuration for logging a type of permissions.
- CancelOperationRequest = $Empty
- The request message for Operations.CancelOperation.
- Empty = $Empty
- A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
- Expr = $Expr
- Represents a textual expression in the Common Expression Language (CEL) syntax.
- GrpcRouteFaultInjectionPolicyAbort = $RouteFaultInjectionPolicyAbort
- Specification of how client requests are aborted as part of fault injection before being sent to a destination.
- GrpcRouteFaultInjectionPolicyDelay = $RouteFaultInjectionPolicyDelay
- Specification of how client requests are delayed as part of fault injection before being sent to a destination.
- GrpcRouteStatefulSessionAffinityPolicy = $RouteStatefulSessionAffinityPolicy
- 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.
- HttpRouteFaultInjectionPolicyAbort = $RouteFaultInjectionPolicyAbort
- Specification of how client requests are aborted as part of fault injection before being sent to a destination.
- HttpRouteFaultInjectionPolicyDelay = $RouteFaultInjectionPolicyDelay
- Specification of how client requests are delayed as part of fault injection before being sent to a destination.
- HttpRouteStatefulSessionAffinityPolicy = $RouteStatefulSessionAffinityPolicy
- 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.
- Location = $Location00
- A resource that represents a Google Cloud location.
- Status = $Status
-
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. - TestIamPermissionsRequest = $TestIamPermissionsRequest00
-
Request message for
TestIamPermissions
method. - TestIamPermissionsResponse = $PermissionsResponse
-
Response message for
TestIamPermissions
method.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.