networkservices
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package networkservices provides access to the Network Services API.
For product documentation, see:https://cloud.google.com/networking
Library status¶
These client libraries are officially supported by Google. However, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany new features.
When possible, we recommend using our newer[Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)that are still actively being worked and iterated on.
Creating a client¶
Usage example:
import "google.golang.org/api/networkservices/v1beta1"...ctx := context.Background()networkservicesService, err := networkservices.NewService(ctx)
In this example, Google Application Default Credentials are used forauthentication. For information on how to create and obtain ApplicationDefault Credentials, seehttps://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options¶
To use an API key for authentication (note: some APIs do not support APIkeys), usegoogle.golang.org/api/option.WithAPIKey:
networkservicesService, err := networkservices.NewService(ctx, option.WithAPIKey("AIza..."))To use an OAuth token (e.g., a user token obtained via a three-legged OAuthflow, usegoogle.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...}// ...token, err := config.Exchange(ctx, ...)networkservicesService, err := networkservices.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))Seegoogle.golang.org/api/option.ClientOption for details on options.
Index¶
- Constants
- type AuthzExtension
- type CancelOperationRequest
- type Empty
- type EndpointMatcher
- type EndpointPolicy
- type ExtensionChain
- type ExtensionChainExtension
- type ExtensionChainMatchCondition
- type Gateway
- type GatewayRouteView
- type GrpcRoute
- type GrpcRouteDestination
- type GrpcRouteFaultInjectionPolicy
- type GrpcRouteFaultInjectionPolicyAbort
- type GrpcRouteFaultInjectionPolicyDelay
- type GrpcRouteHeaderMatch
- type GrpcRouteMethodMatch
- type GrpcRouteRetryPolicy
- type GrpcRouteRouteAction
- type GrpcRouteRouteMatch
- type GrpcRouteRouteRule
- type GrpcRouteStatefulSessionAffinityPolicy
- type HttpRoute
- type HttpRouteCorsPolicy
- type HttpRouteDestination
- type HttpRouteFaultInjectionPolicy
- type HttpRouteFaultInjectionPolicyAbort
- type HttpRouteFaultInjectionPolicyDelay
- type HttpRouteHeaderMatch
- type HttpRouteHeaderMatchIntegerRange
- type HttpRouteHeaderModifier
- type HttpRouteHttpDirectResponse
- type HttpRouteQueryParameterMatch
- type HttpRouteRedirect
- type HttpRouteRequestMirrorPolicy
- type HttpRouteRetryPolicy
- type HttpRouteRouteAction
- type HttpRouteRouteMatch
- type HttpRouteRouteRule
- type HttpRouteStatefulSessionAffinityPolicy
- type HttpRouteURLRewrite
- type LbEdgeExtension
- type LbRouteExtension
- type LbTcpExtension
- type LbTrafficExtension
- type ListAuthzExtensionsResponse
- type ListEndpointPoliciesResponse
- type ListGatewayRouteViewsResponse
- type ListGatewaysResponse
- type ListGrpcRoutesResponse
- type ListHttpRoutesResponse
- type ListLbEdgeExtensionsResponse
- type ListLbRouteExtensionsResponse
- type ListLbTcpExtensionsResponse
- type ListLbTrafficExtensionsResponse
- type ListLocationsResponse
- type ListMeshRouteViewsResponse
- type ListMeshesResponse
- type ListOperationsResponse
- type ListServiceBindingsResponse
- type ListServiceLbPoliciesResponse
- type ListTcpRoutesResponse
- type ListTlsRoutesResponse
- type ListWasmPluginVersionsResponse
- type ListWasmPluginsResponse
- type Location
- type LoggingConfig
- type Mesh
- type MeshRouteView
- type MetadataLabelMatcher
- type MetadataLabels
- type Operation
- type OperationMetadata
- type ProjectsLocationsAuthzExtensionsCreateCall
- func (c *ProjectsLocationsAuthzExtensionsCreateCall) AuthzExtensionId(authzExtensionId string) *ProjectsLocationsAuthzExtensionsCreateCall
- func (c *ProjectsLocationsAuthzExtensionsCreateCall) Context(ctx context.Context) *ProjectsLocationsAuthzExtensionsCreateCall
- func (c *ProjectsLocationsAuthzExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsAuthzExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthzExtensionsCreateCall
- func (c *ProjectsLocationsAuthzExtensionsCreateCall) Header() http.Header
- func (c *ProjectsLocationsAuthzExtensionsCreateCall) RequestId(requestId string) *ProjectsLocationsAuthzExtensionsCreateCall
- type ProjectsLocationsAuthzExtensionsDeleteCall
- func (c *ProjectsLocationsAuthzExtensionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAuthzExtensionsDeleteCall
- func (c *ProjectsLocationsAuthzExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsAuthzExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthzExtensionsDeleteCall
- func (c *ProjectsLocationsAuthzExtensionsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsAuthzExtensionsDeleteCall) RequestId(requestId string) *ProjectsLocationsAuthzExtensionsDeleteCall
- type ProjectsLocationsAuthzExtensionsGetCall
- func (c *ProjectsLocationsAuthzExtensionsGetCall) Context(ctx context.Context) *ProjectsLocationsAuthzExtensionsGetCall
- func (c *ProjectsLocationsAuthzExtensionsGetCall) Do(opts ...googleapi.CallOption) (*AuthzExtension, error)
- func (c *ProjectsLocationsAuthzExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthzExtensionsGetCall
- func (c *ProjectsLocationsAuthzExtensionsGetCall) Header() http.Header
- func (c *ProjectsLocationsAuthzExtensionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAuthzExtensionsGetCall
- type ProjectsLocationsAuthzExtensionsListCall
- func (c *ProjectsLocationsAuthzExtensionsListCall) Context(ctx context.Context) *ProjectsLocationsAuthzExtensionsListCall
- func (c *ProjectsLocationsAuthzExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListAuthzExtensionsResponse, error)
- func (c *ProjectsLocationsAuthzExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthzExtensionsListCall
- func (c *ProjectsLocationsAuthzExtensionsListCall) Filter(filter string) *ProjectsLocationsAuthzExtensionsListCall
- func (c *ProjectsLocationsAuthzExtensionsListCall) Header() http.Header
- func (c *ProjectsLocationsAuthzExtensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAuthzExtensionsListCall
- func (c *ProjectsLocationsAuthzExtensionsListCall) OrderBy(orderBy string) *ProjectsLocationsAuthzExtensionsListCall
- func (c *ProjectsLocationsAuthzExtensionsListCall) PageSize(pageSize int64) *ProjectsLocationsAuthzExtensionsListCall
- func (c *ProjectsLocationsAuthzExtensionsListCall) PageToken(pageToken string) *ProjectsLocationsAuthzExtensionsListCall
- func (c *ProjectsLocationsAuthzExtensionsListCall) Pages(ctx context.Context, f func(*ListAuthzExtensionsResponse) error) error
- type ProjectsLocationsAuthzExtensionsPatchCall
- func (c *ProjectsLocationsAuthzExtensionsPatchCall) Context(ctx context.Context) *ProjectsLocationsAuthzExtensionsPatchCall
- func (c *ProjectsLocationsAuthzExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsAuthzExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthzExtensionsPatchCall
- func (c *ProjectsLocationsAuthzExtensionsPatchCall) Header() http.Header
- func (c *ProjectsLocationsAuthzExtensionsPatchCall) RequestId(requestId string) *ProjectsLocationsAuthzExtensionsPatchCall
- func (c *ProjectsLocationsAuthzExtensionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAuthzExtensionsPatchCall
- type ProjectsLocationsAuthzExtensionsService
- func (r *ProjectsLocationsAuthzExtensionsService) Create(parent string, authzextension *AuthzExtension) *ProjectsLocationsAuthzExtensionsCreateCall
- func (r *ProjectsLocationsAuthzExtensionsService) Delete(name string) *ProjectsLocationsAuthzExtensionsDeleteCall
- func (r *ProjectsLocationsAuthzExtensionsService) Get(name string) *ProjectsLocationsAuthzExtensionsGetCall
- func (r *ProjectsLocationsAuthzExtensionsService) List(parent string) *ProjectsLocationsAuthzExtensionsListCall
- func (r *ProjectsLocationsAuthzExtensionsService) Patch(name string, authzextension *AuthzExtension) *ProjectsLocationsAuthzExtensionsPatchCall
- type ProjectsLocationsEndpointPoliciesCreateCall
- func (c *ProjectsLocationsEndpointPoliciesCreateCall) Context(ctx context.Context) *ProjectsLocationsEndpointPoliciesCreateCall
- func (c *ProjectsLocationsEndpointPoliciesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsEndpointPoliciesCreateCall) EndpointPolicyId(endpointPolicyId string) *ProjectsLocationsEndpointPoliciesCreateCall
- func (c *ProjectsLocationsEndpointPoliciesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesCreateCall
- func (c *ProjectsLocationsEndpointPoliciesCreateCall) Header() http.Header
- type ProjectsLocationsEndpointPoliciesDeleteCall
- func (c *ProjectsLocationsEndpointPoliciesDeleteCall) Context(ctx context.Context) *ProjectsLocationsEndpointPoliciesDeleteCall
- func (c *ProjectsLocationsEndpointPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsEndpointPoliciesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesDeleteCall
- func (c *ProjectsLocationsEndpointPoliciesDeleteCall) Header() http.Header
- type ProjectsLocationsEndpointPoliciesGetCall
- func (c *ProjectsLocationsEndpointPoliciesGetCall) Context(ctx context.Context) *ProjectsLocationsEndpointPoliciesGetCall
- func (c *ProjectsLocationsEndpointPoliciesGetCall) Do(opts ...googleapi.CallOption) (*EndpointPolicy, error)
- func (c *ProjectsLocationsEndpointPoliciesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesGetCall
- func (c *ProjectsLocationsEndpointPoliciesGetCall) Header() http.Header
- func (c *ProjectsLocationsEndpointPoliciesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsEndpointPoliciesGetCall
- type ProjectsLocationsEndpointPoliciesListCall
- func (c *ProjectsLocationsEndpointPoliciesListCall) Context(ctx context.Context) *ProjectsLocationsEndpointPoliciesListCall
- func (c *ProjectsLocationsEndpointPoliciesListCall) Do(opts ...googleapi.CallOption) (*ListEndpointPoliciesResponse, error)
- func (c *ProjectsLocationsEndpointPoliciesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesListCall
- func (c *ProjectsLocationsEndpointPoliciesListCall) Header() http.Header
- func (c *ProjectsLocationsEndpointPoliciesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEndpointPoliciesListCall
- func (c *ProjectsLocationsEndpointPoliciesListCall) PageSize(pageSize int64) *ProjectsLocationsEndpointPoliciesListCall
- func (c *ProjectsLocationsEndpointPoliciesListCall) PageToken(pageToken string) *ProjectsLocationsEndpointPoliciesListCall
- func (c *ProjectsLocationsEndpointPoliciesListCall) Pages(ctx context.Context, f func(*ListEndpointPoliciesResponse) error) error
- func (c *ProjectsLocationsEndpointPoliciesListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsEndpointPoliciesListCall
- type ProjectsLocationsEndpointPoliciesPatchCall
- func (c *ProjectsLocationsEndpointPoliciesPatchCall) Context(ctx context.Context) *ProjectsLocationsEndpointPoliciesPatchCall
- func (c *ProjectsLocationsEndpointPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsEndpointPoliciesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesPatchCall
- func (c *ProjectsLocationsEndpointPoliciesPatchCall) Header() http.Header
- func (c *ProjectsLocationsEndpointPoliciesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsEndpointPoliciesPatchCall
- type ProjectsLocationsEndpointPoliciesService
- func (r *ProjectsLocationsEndpointPoliciesService) Create(parent string, endpointpolicy *EndpointPolicy) *ProjectsLocationsEndpointPoliciesCreateCall
- func (r *ProjectsLocationsEndpointPoliciesService) Delete(name string) *ProjectsLocationsEndpointPoliciesDeleteCall
- func (r *ProjectsLocationsEndpointPoliciesService) Get(name string) *ProjectsLocationsEndpointPoliciesGetCall
- func (r *ProjectsLocationsEndpointPoliciesService) List(parent string) *ProjectsLocationsEndpointPoliciesListCall
- func (r *ProjectsLocationsEndpointPoliciesService) Patch(name string, endpointpolicy *EndpointPolicy) *ProjectsLocationsEndpointPoliciesPatchCall
- type ProjectsLocationsGatewaysCreateCall
- func (c *ProjectsLocationsGatewaysCreateCall) Context(ctx context.Context) *ProjectsLocationsGatewaysCreateCall
- func (c *ProjectsLocationsGatewaysCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGatewaysCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysCreateCall
- func (c *ProjectsLocationsGatewaysCreateCall) GatewayId(gatewayId string) *ProjectsLocationsGatewaysCreateCall
- func (c *ProjectsLocationsGatewaysCreateCall) Header() http.Header
- type ProjectsLocationsGatewaysDeleteCall
- func (c *ProjectsLocationsGatewaysDeleteCall) Context(ctx context.Context) *ProjectsLocationsGatewaysDeleteCall
- func (c *ProjectsLocationsGatewaysDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGatewaysDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysDeleteCall
- func (c *ProjectsLocationsGatewaysDeleteCall) Header() http.Header
- type ProjectsLocationsGatewaysGetCall
- func (c *ProjectsLocationsGatewaysGetCall) Context(ctx context.Context) *ProjectsLocationsGatewaysGetCall
- func (c *ProjectsLocationsGatewaysGetCall) Do(opts ...googleapi.CallOption) (*Gateway, error)
- func (c *ProjectsLocationsGatewaysGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysGetCall
- func (c *ProjectsLocationsGatewaysGetCall) Header() http.Header
- func (c *ProjectsLocationsGatewaysGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysGetCall
- type ProjectsLocationsGatewaysListCall
- func (c *ProjectsLocationsGatewaysListCall) Context(ctx context.Context) *ProjectsLocationsGatewaysListCall
- func (c *ProjectsLocationsGatewaysListCall) Do(opts ...googleapi.CallOption) (*ListGatewaysResponse, error)
- func (c *ProjectsLocationsGatewaysListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysListCall
- func (c *ProjectsLocationsGatewaysListCall) Header() http.Header
- func (c *ProjectsLocationsGatewaysListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysListCall
- func (c *ProjectsLocationsGatewaysListCall) PageSize(pageSize int64) *ProjectsLocationsGatewaysListCall
- func (c *ProjectsLocationsGatewaysListCall) PageToken(pageToken string) *ProjectsLocationsGatewaysListCall
- func (c *ProjectsLocationsGatewaysListCall) Pages(ctx context.Context, f func(*ListGatewaysResponse) error) error
- type ProjectsLocationsGatewaysPatchCall
- func (c *ProjectsLocationsGatewaysPatchCall) Context(ctx context.Context) *ProjectsLocationsGatewaysPatchCall
- func (c *ProjectsLocationsGatewaysPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGatewaysPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysPatchCall
- func (c *ProjectsLocationsGatewaysPatchCall) Header() http.Header
- func (c *ProjectsLocationsGatewaysPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGatewaysPatchCall
- type ProjectsLocationsGatewaysRouteViewsGetCall
- func (c *ProjectsLocationsGatewaysRouteViewsGetCall) Context(ctx context.Context) *ProjectsLocationsGatewaysRouteViewsGetCall
- func (c *ProjectsLocationsGatewaysRouteViewsGetCall) Do(opts ...googleapi.CallOption) (*GatewayRouteView, error)
- func (c *ProjectsLocationsGatewaysRouteViewsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysRouteViewsGetCall
- func (c *ProjectsLocationsGatewaysRouteViewsGetCall) Header() http.Header
- func (c *ProjectsLocationsGatewaysRouteViewsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysRouteViewsGetCall
- type ProjectsLocationsGatewaysRouteViewsListCall
- func (c *ProjectsLocationsGatewaysRouteViewsListCall) Context(ctx context.Context) *ProjectsLocationsGatewaysRouteViewsListCall
- func (c *ProjectsLocationsGatewaysRouteViewsListCall) Do(opts ...googleapi.CallOption) (*ListGatewayRouteViewsResponse, error)
- func (c *ProjectsLocationsGatewaysRouteViewsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysRouteViewsListCall
- func (c *ProjectsLocationsGatewaysRouteViewsListCall) Header() http.Header
- func (c *ProjectsLocationsGatewaysRouteViewsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysRouteViewsListCall
- func (c *ProjectsLocationsGatewaysRouteViewsListCall) PageSize(pageSize int64) *ProjectsLocationsGatewaysRouteViewsListCall
- func (c *ProjectsLocationsGatewaysRouteViewsListCall) PageToken(pageToken string) *ProjectsLocationsGatewaysRouteViewsListCall
- func (c *ProjectsLocationsGatewaysRouteViewsListCall) Pages(ctx context.Context, f func(*ListGatewayRouteViewsResponse) error) error
- type ProjectsLocationsGatewaysRouteViewsService
- type ProjectsLocationsGatewaysService
- func (r *ProjectsLocationsGatewaysService) Create(parent string, gateway *Gateway) *ProjectsLocationsGatewaysCreateCall
- func (r *ProjectsLocationsGatewaysService) Delete(name string) *ProjectsLocationsGatewaysDeleteCall
- func (r *ProjectsLocationsGatewaysService) Get(name string) *ProjectsLocationsGatewaysGetCall
- func (r *ProjectsLocationsGatewaysService) List(parent string) *ProjectsLocationsGatewaysListCall
- func (r *ProjectsLocationsGatewaysService) Patch(name string, gateway *Gateway) *ProjectsLocationsGatewaysPatchCall
- type ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
- func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Header() http.Header
- func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
- type ProjectsLocationsGrpcRoutesCreateCall
- func (c *ProjectsLocationsGrpcRoutesCreateCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesCreateCall
- func (c *ProjectsLocationsGrpcRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGrpcRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesCreateCall
- func (c *ProjectsLocationsGrpcRoutesCreateCall) GrpcRouteId(grpcRouteId string) *ProjectsLocationsGrpcRoutesCreateCall
- func (c *ProjectsLocationsGrpcRoutesCreateCall) Header() http.Header
- type ProjectsLocationsGrpcRoutesDeleteCall
- func (c *ProjectsLocationsGrpcRoutesDeleteCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesDeleteCall
- func (c *ProjectsLocationsGrpcRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGrpcRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesDeleteCall
- func (c *ProjectsLocationsGrpcRoutesDeleteCall) Header() http.Header
- type ProjectsLocationsGrpcRoutesGetCall
- func (c *ProjectsLocationsGrpcRoutesGetCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesGetCall
- func (c *ProjectsLocationsGrpcRoutesGetCall) Do(opts ...googleapi.CallOption) (*GrpcRoute, error)
- func (c *ProjectsLocationsGrpcRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesGetCall
- func (c *ProjectsLocationsGrpcRoutesGetCall) Header() http.Header
- func (c *ProjectsLocationsGrpcRoutesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGrpcRoutesGetCall
- type ProjectsLocationsGrpcRoutesListCall
- func (c *ProjectsLocationsGrpcRoutesListCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesListCall
- func (c *ProjectsLocationsGrpcRoutesListCall) Do(opts ...googleapi.CallOption) (*ListGrpcRoutesResponse, error)
- func (c *ProjectsLocationsGrpcRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesListCall
- func (c *ProjectsLocationsGrpcRoutesListCall) Header() http.Header
- func (c *ProjectsLocationsGrpcRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGrpcRoutesListCall
- func (c *ProjectsLocationsGrpcRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsGrpcRoutesListCall
- func (c *ProjectsLocationsGrpcRoutesListCall) PageToken(pageToken string) *ProjectsLocationsGrpcRoutesListCall
- func (c *ProjectsLocationsGrpcRoutesListCall) Pages(ctx context.Context, f func(*ListGrpcRoutesResponse) error) error
- func (c *ProjectsLocationsGrpcRoutesListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsGrpcRoutesListCall
- type ProjectsLocationsGrpcRoutesPatchCall
- func (c *ProjectsLocationsGrpcRoutesPatchCall) Context(ctx context.Context) *ProjectsLocationsGrpcRoutesPatchCall
- func (c *ProjectsLocationsGrpcRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsGrpcRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesPatchCall
- func (c *ProjectsLocationsGrpcRoutesPatchCall) Header() http.Header
- func (c *ProjectsLocationsGrpcRoutesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGrpcRoutesPatchCall
- type ProjectsLocationsGrpcRoutesService
- func (r *ProjectsLocationsGrpcRoutesService) Create(parent string, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesCreateCall
- func (r *ProjectsLocationsGrpcRoutesService) Delete(name string) *ProjectsLocationsGrpcRoutesDeleteCall
- func (r *ProjectsLocationsGrpcRoutesService) Get(name string) *ProjectsLocationsGrpcRoutesGetCall
- func (r *ProjectsLocationsGrpcRoutesService) List(parent string) *ProjectsLocationsGrpcRoutesListCall
- func (r *ProjectsLocationsGrpcRoutesService) Patch(name string, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesPatchCall
- type ProjectsLocationsHttpRoutesCreateCall
- func (c *ProjectsLocationsHttpRoutesCreateCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesCreateCall
- func (c *ProjectsLocationsHttpRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsHttpRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesCreateCall
- func (c *ProjectsLocationsHttpRoutesCreateCall) Header() http.Header
- func (c *ProjectsLocationsHttpRoutesCreateCall) HttpRouteId(httpRouteId string) *ProjectsLocationsHttpRoutesCreateCall
- type ProjectsLocationsHttpRoutesDeleteCall
- func (c *ProjectsLocationsHttpRoutesDeleteCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesDeleteCall
- func (c *ProjectsLocationsHttpRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsHttpRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesDeleteCall
- func (c *ProjectsLocationsHttpRoutesDeleteCall) Header() http.Header
- type ProjectsLocationsHttpRoutesGetCall
- func (c *ProjectsLocationsHttpRoutesGetCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesGetCall
- func (c *ProjectsLocationsHttpRoutesGetCall) Do(opts ...googleapi.CallOption) (*HttpRoute, error)
- func (c *ProjectsLocationsHttpRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesGetCall
- func (c *ProjectsLocationsHttpRoutesGetCall) Header() http.Header
- func (c *ProjectsLocationsHttpRoutesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsHttpRoutesGetCall
- type ProjectsLocationsHttpRoutesListCall
- func (c *ProjectsLocationsHttpRoutesListCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesListCall
- func (c *ProjectsLocationsHttpRoutesListCall) Do(opts ...googleapi.CallOption) (*ListHttpRoutesResponse, error)
- func (c *ProjectsLocationsHttpRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesListCall
- func (c *ProjectsLocationsHttpRoutesListCall) Header() http.Header
- func (c *ProjectsLocationsHttpRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsHttpRoutesListCall
- func (c *ProjectsLocationsHttpRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsHttpRoutesListCall
- func (c *ProjectsLocationsHttpRoutesListCall) PageToken(pageToken string) *ProjectsLocationsHttpRoutesListCall
- func (c *ProjectsLocationsHttpRoutesListCall) Pages(ctx context.Context, f func(*ListHttpRoutesResponse) error) error
- func (c *ProjectsLocationsHttpRoutesListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsHttpRoutesListCall
- type ProjectsLocationsHttpRoutesPatchCall
- func (c *ProjectsLocationsHttpRoutesPatchCall) Context(ctx context.Context) *ProjectsLocationsHttpRoutesPatchCall
- func (c *ProjectsLocationsHttpRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsHttpRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesPatchCall
- func (c *ProjectsLocationsHttpRoutesPatchCall) Header() http.Header
- func (c *ProjectsLocationsHttpRoutesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsHttpRoutesPatchCall
- type ProjectsLocationsHttpRoutesService
- func (r *ProjectsLocationsHttpRoutesService) Create(parent string, httproute *HttpRoute) *ProjectsLocationsHttpRoutesCreateCall
- func (r *ProjectsLocationsHttpRoutesService) Delete(name string) *ProjectsLocationsHttpRoutesDeleteCall
- func (r *ProjectsLocationsHttpRoutesService) Get(name string) *ProjectsLocationsHttpRoutesGetCall
- func (r *ProjectsLocationsHttpRoutesService) List(parent string) *ProjectsLocationsHttpRoutesListCall
- func (r *ProjectsLocationsHttpRoutesService) Patch(name string, httproute *HttpRoute) *ProjectsLocationsHttpRoutesPatchCall
- type ProjectsLocationsLbEdgeExtensionsCreateCall
- func (c *ProjectsLocationsLbEdgeExtensionsCreateCall) Context(ctx context.Context) *ProjectsLocationsLbEdgeExtensionsCreateCall
- func (c *ProjectsLocationsLbEdgeExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsLbEdgeExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbEdgeExtensionsCreateCall
- func (c *ProjectsLocationsLbEdgeExtensionsCreateCall) Header() http.Header
- func (c *ProjectsLocationsLbEdgeExtensionsCreateCall) LbEdgeExtensionId(lbEdgeExtensionId string) *ProjectsLocationsLbEdgeExtensionsCreateCall
- func (c *ProjectsLocationsLbEdgeExtensionsCreateCall) RequestId(requestId string) *ProjectsLocationsLbEdgeExtensionsCreateCall
- type ProjectsLocationsLbEdgeExtensionsDeleteCall
- func (c *ProjectsLocationsLbEdgeExtensionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsLbEdgeExtensionsDeleteCall
- func (c *ProjectsLocationsLbEdgeExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsLbEdgeExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbEdgeExtensionsDeleteCall
- func (c *ProjectsLocationsLbEdgeExtensionsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsLbEdgeExtensionsDeleteCall) RequestId(requestId string) *ProjectsLocationsLbEdgeExtensionsDeleteCall
- type ProjectsLocationsLbEdgeExtensionsGetCall
- func (c *ProjectsLocationsLbEdgeExtensionsGetCall) Context(ctx context.Context) *ProjectsLocationsLbEdgeExtensionsGetCall
- func (c *ProjectsLocationsLbEdgeExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbEdgeExtension, error)
- func (c *ProjectsLocationsLbEdgeExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbEdgeExtensionsGetCall
- func (c *ProjectsLocationsLbEdgeExtensionsGetCall) Header() http.Header
- func (c *ProjectsLocationsLbEdgeExtensionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbEdgeExtensionsGetCall
- type ProjectsLocationsLbEdgeExtensionsListCall
- func (c *ProjectsLocationsLbEdgeExtensionsListCall) Context(ctx context.Context) *ProjectsLocationsLbEdgeExtensionsListCall
- func (c *ProjectsLocationsLbEdgeExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbEdgeExtensionsResponse, error)
- func (c *ProjectsLocationsLbEdgeExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbEdgeExtensionsListCall
- func (c *ProjectsLocationsLbEdgeExtensionsListCall) Filter(filter string) *ProjectsLocationsLbEdgeExtensionsListCall
- func (c *ProjectsLocationsLbEdgeExtensionsListCall) Header() http.Header
- func (c *ProjectsLocationsLbEdgeExtensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbEdgeExtensionsListCall
- func (c *ProjectsLocationsLbEdgeExtensionsListCall) OrderBy(orderBy string) *ProjectsLocationsLbEdgeExtensionsListCall
- func (c *ProjectsLocationsLbEdgeExtensionsListCall) PageSize(pageSize int64) *ProjectsLocationsLbEdgeExtensionsListCall
- func (c *ProjectsLocationsLbEdgeExtensionsListCall) PageToken(pageToken string) *ProjectsLocationsLbEdgeExtensionsListCall
- func (c *ProjectsLocationsLbEdgeExtensionsListCall) Pages(ctx context.Context, f func(*ListLbEdgeExtensionsResponse) error) error
- type ProjectsLocationsLbEdgeExtensionsPatchCall
- func (c *ProjectsLocationsLbEdgeExtensionsPatchCall) Context(ctx context.Context) *ProjectsLocationsLbEdgeExtensionsPatchCall
- func (c *ProjectsLocationsLbEdgeExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsLbEdgeExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbEdgeExtensionsPatchCall
- func (c *ProjectsLocationsLbEdgeExtensionsPatchCall) Header() http.Header
- func (c *ProjectsLocationsLbEdgeExtensionsPatchCall) RequestId(requestId string) *ProjectsLocationsLbEdgeExtensionsPatchCall
- func (c *ProjectsLocationsLbEdgeExtensionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsLbEdgeExtensionsPatchCall
- type ProjectsLocationsLbEdgeExtensionsService
- func (r *ProjectsLocationsLbEdgeExtensionsService) Create(parent string, lbedgeextension *LbEdgeExtension) *ProjectsLocationsLbEdgeExtensionsCreateCall
- func (r *ProjectsLocationsLbEdgeExtensionsService) Delete(name string) *ProjectsLocationsLbEdgeExtensionsDeleteCall
- func (r *ProjectsLocationsLbEdgeExtensionsService) Get(name string) *ProjectsLocationsLbEdgeExtensionsGetCall
- func (r *ProjectsLocationsLbEdgeExtensionsService) List(parent string) *ProjectsLocationsLbEdgeExtensionsListCall
- func (r *ProjectsLocationsLbEdgeExtensionsService) Patch(name string, lbedgeextension *LbEdgeExtension) *ProjectsLocationsLbEdgeExtensionsPatchCall
- type ProjectsLocationsLbRouteExtensionsCreateCall
- func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsCreateCall
- func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsCreateCall
- func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Header() http.Header
- func (c *ProjectsLocationsLbRouteExtensionsCreateCall) LbRouteExtensionId(lbRouteExtensionId string) *ProjectsLocationsLbRouteExtensionsCreateCall
- func (c *ProjectsLocationsLbRouteExtensionsCreateCall) RequestId(requestId string) *ProjectsLocationsLbRouteExtensionsCreateCall
- type ProjectsLocationsLbRouteExtensionsDeleteCall
- func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsDeleteCall
- func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsDeleteCall
- func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) RequestId(requestId string) *ProjectsLocationsLbRouteExtensionsDeleteCall
- type ProjectsLocationsLbRouteExtensionsGetCall
- func (c *ProjectsLocationsLbRouteExtensionsGetCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsGetCall
- func (c *ProjectsLocationsLbRouteExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbRouteExtension, error)
- func (c *ProjectsLocationsLbRouteExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsGetCall
- func (c *ProjectsLocationsLbRouteExtensionsGetCall) Header() http.Header
- func (c *ProjectsLocationsLbRouteExtensionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbRouteExtensionsGetCall
- type ProjectsLocationsLbRouteExtensionsListCall
- func (c *ProjectsLocationsLbRouteExtensionsListCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsListCall
- func (c *ProjectsLocationsLbRouteExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbRouteExtensionsResponse, error)
- func (c *ProjectsLocationsLbRouteExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsListCall
- func (c *ProjectsLocationsLbRouteExtensionsListCall) Filter(filter string) *ProjectsLocationsLbRouteExtensionsListCall
- func (c *ProjectsLocationsLbRouteExtensionsListCall) Header() http.Header
- func (c *ProjectsLocationsLbRouteExtensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbRouteExtensionsListCall
- func (c *ProjectsLocationsLbRouteExtensionsListCall) OrderBy(orderBy string) *ProjectsLocationsLbRouteExtensionsListCall
- func (c *ProjectsLocationsLbRouteExtensionsListCall) PageSize(pageSize int64) *ProjectsLocationsLbRouteExtensionsListCall
- func (c *ProjectsLocationsLbRouteExtensionsListCall) PageToken(pageToken string) *ProjectsLocationsLbRouteExtensionsListCall
- func (c *ProjectsLocationsLbRouteExtensionsListCall) Pages(ctx context.Context, f func(*ListLbRouteExtensionsResponse) error) error
- type ProjectsLocationsLbRouteExtensionsPatchCall
- func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Context(ctx context.Context) *ProjectsLocationsLbRouteExtensionsPatchCall
- func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsPatchCall
- func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Header() http.Header
- func (c *ProjectsLocationsLbRouteExtensionsPatchCall) RequestId(requestId string) *ProjectsLocationsLbRouteExtensionsPatchCall
- func (c *ProjectsLocationsLbRouteExtensionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsLbRouteExtensionsPatchCall
- type ProjectsLocationsLbRouteExtensionsService
- func (r *ProjectsLocationsLbRouteExtensionsService) Create(parent string, lbrouteextension *LbRouteExtension) *ProjectsLocationsLbRouteExtensionsCreateCall
- func (r *ProjectsLocationsLbRouteExtensionsService) Delete(name string) *ProjectsLocationsLbRouteExtensionsDeleteCall
- func (r *ProjectsLocationsLbRouteExtensionsService) Get(name string) *ProjectsLocationsLbRouteExtensionsGetCall
- func (r *ProjectsLocationsLbRouteExtensionsService) List(parent string) *ProjectsLocationsLbRouteExtensionsListCall
- func (r *ProjectsLocationsLbRouteExtensionsService) Patch(name string, lbrouteextension *LbRouteExtension) *ProjectsLocationsLbRouteExtensionsPatchCall
- type ProjectsLocationsLbTcpExtensionsCreateCall
- func (c *ProjectsLocationsLbTcpExtensionsCreateCall) Context(ctx context.Context) *ProjectsLocationsLbTcpExtensionsCreateCall
- func (c *ProjectsLocationsLbTcpExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsLbTcpExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTcpExtensionsCreateCall
- func (c *ProjectsLocationsLbTcpExtensionsCreateCall) Header() http.Header
- func (c *ProjectsLocationsLbTcpExtensionsCreateCall) LbTcpExtensionId(lbTcpExtensionId string) *ProjectsLocationsLbTcpExtensionsCreateCall
- func (c *ProjectsLocationsLbTcpExtensionsCreateCall) RequestId(requestId string) *ProjectsLocationsLbTcpExtensionsCreateCall
- type ProjectsLocationsLbTcpExtensionsDeleteCall
- func (c *ProjectsLocationsLbTcpExtensionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsLbTcpExtensionsDeleteCall
- func (c *ProjectsLocationsLbTcpExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsLbTcpExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTcpExtensionsDeleteCall
- func (c *ProjectsLocationsLbTcpExtensionsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsLbTcpExtensionsDeleteCall) RequestId(requestId string) *ProjectsLocationsLbTcpExtensionsDeleteCall
- type ProjectsLocationsLbTcpExtensionsGetCall
- func (c *ProjectsLocationsLbTcpExtensionsGetCall) Context(ctx context.Context) *ProjectsLocationsLbTcpExtensionsGetCall
- func (c *ProjectsLocationsLbTcpExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbTcpExtension, error)
- func (c *ProjectsLocationsLbTcpExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTcpExtensionsGetCall
- func (c *ProjectsLocationsLbTcpExtensionsGetCall) Header() http.Header
- func (c *ProjectsLocationsLbTcpExtensionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbTcpExtensionsGetCall
- type ProjectsLocationsLbTcpExtensionsListCall
- func (c *ProjectsLocationsLbTcpExtensionsListCall) Context(ctx context.Context) *ProjectsLocationsLbTcpExtensionsListCall
- func (c *ProjectsLocationsLbTcpExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbTcpExtensionsResponse, error)
- func (c *ProjectsLocationsLbTcpExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTcpExtensionsListCall
- func (c *ProjectsLocationsLbTcpExtensionsListCall) Filter(filter string) *ProjectsLocationsLbTcpExtensionsListCall
- func (c *ProjectsLocationsLbTcpExtensionsListCall) Header() http.Header
- func (c *ProjectsLocationsLbTcpExtensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbTcpExtensionsListCall
- func (c *ProjectsLocationsLbTcpExtensionsListCall) OrderBy(orderBy string) *ProjectsLocationsLbTcpExtensionsListCall
- func (c *ProjectsLocationsLbTcpExtensionsListCall) PageSize(pageSize int64) *ProjectsLocationsLbTcpExtensionsListCall
- func (c *ProjectsLocationsLbTcpExtensionsListCall) PageToken(pageToken string) *ProjectsLocationsLbTcpExtensionsListCall
- func (c *ProjectsLocationsLbTcpExtensionsListCall) Pages(ctx context.Context, f func(*ListLbTcpExtensionsResponse) error) error
- type ProjectsLocationsLbTcpExtensionsPatchCall
- func (c *ProjectsLocationsLbTcpExtensionsPatchCall) Context(ctx context.Context) *ProjectsLocationsLbTcpExtensionsPatchCall
- func (c *ProjectsLocationsLbTcpExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsLbTcpExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTcpExtensionsPatchCall
- func (c *ProjectsLocationsLbTcpExtensionsPatchCall) Header() http.Header
- func (c *ProjectsLocationsLbTcpExtensionsPatchCall) RequestId(requestId string) *ProjectsLocationsLbTcpExtensionsPatchCall
- func (c *ProjectsLocationsLbTcpExtensionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsLbTcpExtensionsPatchCall
- type ProjectsLocationsLbTcpExtensionsService
- func (r *ProjectsLocationsLbTcpExtensionsService) Create(parent string, lbtcpextension *LbTcpExtension) *ProjectsLocationsLbTcpExtensionsCreateCall
- func (r *ProjectsLocationsLbTcpExtensionsService) Delete(name string) *ProjectsLocationsLbTcpExtensionsDeleteCall
- func (r *ProjectsLocationsLbTcpExtensionsService) Get(name string) *ProjectsLocationsLbTcpExtensionsGetCall
- func (r *ProjectsLocationsLbTcpExtensionsService) List(parent string) *ProjectsLocationsLbTcpExtensionsListCall
- func (r *ProjectsLocationsLbTcpExtensionsService) Patch(name string, lbtcpextension *LbTcpExtension) *ProjectsLocationsLbTcpExtensionsPatchCall
- type ProjectsLocationsLbTrafficExtensionsCreateCall
- func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsCreateCall
- func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsCreateCall
- func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Header() http.Header
- func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) LbTrafficExtensionId(lbTrafficExtensionId string) *ProjectsLocationsLbTrafficExtensionsCreateCall
- func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) RequestId(requestId string) *ProjectsLocationsLbTrafficExtensionsCreateCall
- type ProjectsLocationsLbTrafficExtensionsDeleteCall
- func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsDeleteCall
- func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsDeleteCall
- func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) RequestId(requestId string) *ProjectsLocationsLbTrafficExtensionsDeleteCall
- type ProjectsLocationsLbTrafficExtensionsGetCall
- func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsGetCall
- func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbTrafficExtension, error)
- func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsGetCall
- func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Header() http.Header
- func (c *ProjectsLocationsLbTrafficExtensionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbTrafficExtensionsGetCall
- type ProjectsLocationsLbTrafficExtensionsListCall
- func (c *ProjectsLocationsLbTrafficExtensionsListCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsListCall
- func (c *ProjectsLocationsLbTrafficExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbTrafficExtensionsResponse, error)
- func (c *ProjectsLocationsLbTrafficExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsListCall
- func (c *ProjectsLocationsLbTrafficExtensionsListCall) Filter(filter string) *ProjectsLocationsLbTrafficExtensionsListCall
- func (c *ProjectsLocationsLbTrafficExtensionsListCall) Header() http.Header
- func (c *ProjectsLocationsLbTrafficExtensionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsLbTrafficExtensionsListCall
- func (c *ProjectsLocationsLbTrafficExtensionsListCall) OrderBy(orderBy string) *ProjectsLocationsLbTrafficExtensionsListCall
- func (c *ProjectsLocationsLbTrafficExtensionsListCall) PageSize(pageSize int64) *ProjectsLocationsLbTrafficExtensionsListCall
- func (c *ProjectsLocationsLbTrafficExtensionsListCall) PageToken(pageToken string) *ProjectsLocationsLbTrafficExtensionsListCall
- func (c *ProjectsLocationsLbTrafficExtensionsListCall) Pages(ctx context.Context, f func(*ListLbTrafficExtensionsResponse) error) error
- type ProjectsLocationsLbTrafficExtensionsPatchCall
- func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Context(ctx context.Context) *ProjectsLocationsLbTrafficExtensionsPatchCall
- func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsPatchCall
- func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Header() http.Header
- func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) RequestId(requestId string) *ProjectsLocationsLbTrafficExtensionsPatchCall
- func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsLbTrafficExtensionsPatchCall
- type ProjectsLocationsLbTrafficExtensionsService
- func (r *ProjectsLocationsLbTrafficExtensionsService) Create(parent string, lbtrafficextension *LbTrafficExtension) *ProjectsLocationsLbTrafficExtensionsCreateCall
- func (r *ProjectsLocationsLbTrafficExtensionsService) Delete(name string) *ProjectsLocationsLbTrafficExtensionsDeleteCall
- func (r *ProjectsLocationsLbTrafficExtensionsService) Get(name string) *ProjectsLocationsLbTrafficExtensionsGetCall
- func (r *ProjectsLocationsLbTrafficExtensionsService) List(parent string) *ProjectsLocationsLbTrafficExtensionsListCall
- func (r *ProjectsLocationsLbTrafficExtensionsService) Patch(name string, lbtrafficextension *LbTrafficExtension) *ProjectsLocationsLbTrafficExtensionsPatchCall
- type ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Header() http.Header
- func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type ProjectsLocationsMeshesCreateCall
- func (c *ProjectsLocationsMeshesCreateCall) Context(ctx context.Context) *ProjectsLocationsMeshesCreateCall
- func (c *ProjectsLocationsMeshesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsMeshesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesCreateCall
- func (c *ProjectsLocationsMeshesCreateCall) Header() http.Header
- func (c *ProjectsLocationsMeshesCreateCall) MeshId(meshId string) *ProjectsLocationsMeshesCreateCall
- type ProjectsLocationsMeshesDeleteCall
- func (c *ProjectsLocationsMeshesDeleteCall) Context(ctx context.Context) *ProjectsLocationsMeshesDeleteCall
- func (c *ProjectsLocationsMeshesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsMeshesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesDeleteCall
- func (c *ProjectsLocationsMeshesDeleteCall) Header() http.Header
- type ProjectsLocationsMeshesGetCall
- func (c *ProjectsLocationsMeshesGetCall) Context(ctx context.Context) *ProjectsLocationsMeshesGetCall
- func (c *ProjectsLocationsMeshesGetCall) Do(opts ...googleapi.CallOption) (*Mesh, error)
- func (c *ProjectsLocationsMeshesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesGetCall
- func (c *ProjectsLocationsMeshesGetCall) Header() http.Header
- func (c *ProjectsLocationsMeshesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMeshesGetCall
- type ProjectsLocationsMeshesListCall
- func (c *ProjectsLocationsMeshesListCall) Context(ctx context.Context) *ProjectsLocationsMeshesListCall
- func (c *ProjectsLocationsMeshesListCall) Do(opts ...googleapi.CallOption) (*ListMeshesResponse, error)
- func (c *ProjectsLocationsMeshesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesListCall
- func (c *ProjectsLocationsMeshesListCall) Header() http.Header
- func (c *ProjectsLocationsMeshesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMeshesListCall
- func (c *ProjectsLocationsMeshesListCall) PageSize(pageSize int64) *ProjectsLocationsMeshesListCall
- func (c *ProjectsLocationsMeshesListCall) PageToken(pageToken string) *ProjectsLocationsMeshesListCall
- func (c *ProjectsLocationsMeshesListCall) Pages(ctx context.Context, f func(*ListMeshesResponse) error) error
- func (c *ProjectsLocationsMeshesListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsMeshesListCall
- type ProjectsLocationsMeshesPatchCall
- func (c *ProjectsLocationsMeshesPatchCall) Context(ctx context.Context) *ProjectsLocationsMeshesPatchCall
- func (c *ProjectsLocationsMeshesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsMeshesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesPatchCall
- func (c *ProjectsLocationsMeshesPatchCall) Header() http.Header
- func (c *ProjectsLocationsMeshesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsMeshesPatchCall
- type ProjectsLocationsMeshesRouteViewsGetCall
- func (c *ProjectsLocationsMeshesRouteViewsGetCall) Context(ctx context.Context) *ProjectsLocationsMeshesRouteViewsGetCall
- func (c *ProjectsLocationsMeshesRouteViewsGetCall) Do(opts ...googleapi.CallOption) (*MeshRouteView, error)
- func (c *ProjectsLocationsMeshesRouteViewsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesRouteViewsGetCall
- func (c *ProjectsLocationsMeshesRouteViewsGetCall) Header() http.Header
- func (c *ProjectsLocationsMeshesRouteViewsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsMeshesRouteViewsGetCall
- type ProjectsLocationsMeshesRouteViewsListCall
- func (c *ProjectsLocationsMeshesRouteViewsListCall) Context(ctx context.Context) *ProjectsLocationsMeshesRouteViewsListCall
- func (c *ProjectsLocationsMeshesRouteViewsListCall) Do(opts ...googleapi.CallOption) (*ListMeshRouteViewsResponse, error)
- func (c *ProjectsLocationsMeshesRouteViewsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesRouteViewsListCall
- func (c *ProjectsLocationsMeshesRouteViewsListCall) Header() http.Header
- func (c *ProjectsLocationsMeshesRouteViewsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsMeshesRouteViewsListCall
- func (c *ProjectsLocationsMeshesRouteViewsListCall) PageSize(pageSize int64) *ProjectsLocationsMeshesRouteViewsListCall
- func (c *ProjectsLocationsMeshesRouteViewsListCall) PageToken(pageToken string) *ProjectsLocationsMeshesRouteViewsListCall
- func (c *ProjectsLocationsMeshesRouteViewsListCall) Pages(ctx context.Context, f func(*ListMeshRouteViewsResponse) error) error
- type ProjectsLocationsMeshesRouteViewsService
- type ProjectsLocationsMeshesService
- func (r *ProjectsLocationsMeshesService) Create(parent string, mesh *Mesh) *ProjectsLocationsMeshesCreateCall
- func (r *ProjectsLocationsMeshesService) Delete(name string) *ProjectsLocationsMeshesDeleteCall
- func (r *ProjectsLocationsMeshesService) Get(name string) *ProjectsLocationsMeshesGetCall
- func (r *ProjectsLocationsMeshesService) List(parent string) *ProjectsLocationsMeshesListCall
- func (r *ProjectsLocationsMeshesService) Patch(name string, mesh *Mesh) *ProjectsLocationsMeshesPatchCall
- type ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
- type ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
- type ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
- type ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsOperationsService
- func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
- func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
- func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
- func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsService
- type ProjectsLocationsServiceBindingsCreateCall
- func (c *ProjectsLocationsServiceBindingsCreateCall) Context(ctx context.Context) *ProjectsLocationsServiceBindingsCreateCall
- func (c *ProjectsLocationsServiceBindingsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServiceBindingsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsCreateCall
- func (c *ProjectsLocationsServiceBindingsCreateCall) Header() http.Header
- func (c *ProjectsLocationsServiceBindingsCreateCall) ServiceBindingId(serviceBindingId string) *ProjectsLocationsServiceBindingsCreateCall
- type ProjectsLocationsServiceBindingsDeleteCall
- func (c *ProjectsLocationsServiceBindingsDeleteCall) Context(ctx context.Context) *ProjectsLocationsServiceBindingsDeleteCall
- func (c *ProjectsLocationsServiceBindingsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServiceBindingsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsDeleteCall
- func (c *ProjectsLocationsServiceBindingsDeleteCall) Header() http.Header
- type ProjectsLocationsServiceBindingsGetCall
- func (c *ProjectsLocationsServiceBindingsGetCall) Context(ctx context.Context) *ProjectsLocationsServiceBindingsGetCall
- func (c *ProjectsLocationsServiceBindingsGetCall) Do(opts ...googleapi.CallOption) (*ServiceBinding, error)
- func (c *ProjectsLocationsServiceBindingsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsGetCall
- func (c *ProjectsLocationsServiceBindingsGetCall) Header() http.Header
- func (c *ProjectsLocationsServiceBindingsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServiceBindingsGetCall
- type ProjectsLocationsServiceBindingsListCall
- func (c *ProjectsLocationsServiceBindingsListCall) Context(ctx context.Context) *ProjectsLocationsServiceBindingsListCall
- func (c *ProjectsLocationsServiceBindingsListCall) Do(opts ...googleapi.CallOption) (*ListServiceBindingsResponse, error)
- func (c *ProjectsLocationsServiceBindingsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsListCall
- func (c *ProjectsLocationsServiceBindingsListCall) Header() http.Header
- func (c *ProjectsLocationsServiceBindingsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsServiceBindingsListCall
- func (c *ProjectsLocationsServiceBindingsListCall) PageSize(pageSize int64) *ProjectsLocationsServiceBindingsListCall
- func (c *ProjectsLocationsServiceBindingsListCall) PageToken(pageToken string) *ProjectsLocationsServiceBindingsListCall
- func (c *ProjectsLocationsServiceBindingsListCall) Pages(ctx context.Context, f func(*ListServiceBindingsResponse) error) error
- type ProjectsLocationsServiceBindingsPatchCall
- func (c *ProjectsLocationsServiceBindingsPatchCall) Context(ctx context.Context) *ProjectsLocationsServiceBindingsPatchCall
- func (c *ProjectsLocationsServiceBindingsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServiceBindingsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsPatchCall
- func (c *ProjectsLocationsServiceBindingsPatchCall) Header() http.Header
- func (c *ProjectsLocationsServiceBindingsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsServiceBindingsPatchCall
- type ProjectsLocationsServiceBindingsService
- func (r *ProjectsLocationsServiceBindingsService) Create(parent string, servicebinding *ServiceBinding) *ProjectsLocationsServiceBindingsCreateCall
- func (r *ProjectsLocationsServiceBindingsService) Delete(name string) *ProjectsLocationsServiceBindingsDeleteCall
- func (r *ProjectsLocationsServiceBindingsService) Get(name string) *ProjectsLocationsServiceBindingsGetCall
- func (r *ProjectsLocationsServiceBindingsService) List(parent string) *ProjectsLocationsServiceBindingsListCall
- func (r *ProjectsLocationsServiceBindingsService) Patch(name string, servicebinding *ServiceBinding) *ProjectsLocationsServiceBindingsPatchCall
- type ProjectsLocationsServiceLbPoliciesCreateCall
- func (c *ProjectsLocationsServiceLbPoliciesCreateCall) Context(ctx context.Context) *ProjectsLocationsServiceLbPoliciesCreateCall
- func (c *ProjectsLocationsServiceLbPoliciesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServiceLbPoliciesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceLbPoliciesCreateCall
- func (c *ProjectsLocationsServiceLbPoliciesCreateCall) Header() http.Header
- func (c *ProjectsLocationsServiceLbPoliciesCreateCall) ServiceLbPolicyId(serviceLbPolicyId string) *ProjectsLocationsServiceLbPoliciesCreateCall
- type ProjectsLocationsServiceLbPoliciesDeleteCall
- func (c *ProjectsLocationsServiceLbPoliciesDeleteCall) Context(ctx context.Context) *ProjectsLocationsServiceLbPoliciesDeleteCall
- func (c *ProjectsLocationsServiceLbPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServiceLbPoliciesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceLbPoliciesDeleteCall
- func (c *ProjectsLocationsServiceLbPoliciesDeleteCall) Header() http.Header
- type ProjectsLocationsServiceLbPoliciesGetCall
- func (c *ProjectsLocationsServiceLbPoliciesGetCall) Context(ctx context.Context) *ProjectsLocationsServiceLbPoliciesGetCall
- func (c *ProjectsLocationsServiceLbPoliciesGetCall) Do(opts ...googleapi.CallOption) (*ServiceLbPolicy, error)
- func (c *ProjectsLocationsServiceLbPoliciesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceLbPoliciesGetCall
- func (c *ProjectsLocationsServiceLbPoliciesGetCall) Header() http.Header
- func (c *ProjectsLocationsServiceLbPoliciesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServiceLbPoliciesGetCall
- type ProjectsLocationsServiceLbPoliciesListCall
- func (c *ProjectsLocationsServiceLbPoliciesListCall) Context(ctx context.Context) *ProjectsLocationsServiceLbPoliciesListCall
- func (c *ProjectsLocationsServiceLbPoliciesListCall) Do(opts ...googleapi.CallOption) (*ListServiceLbPoliciesResponse, error)
- func (c *ProjectsLocationsServiceLbPoliciesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceLbPoliciesListCall
- func (c *ProjectsLocationsServiceLbPoliciesListCall) Header() http.Header
- func (c *ProjectsLocationsServiceLbPoliciesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsServiceLbPoliciesListCall
- func (c *ProjectsLocationsServiceLbPoliciesListCall) PageSize(pageSize int64) *ProjectsLocationsServiceLbPoliciesListCall
- func (c *ProjectsLocationsServiceLbPoliciesListCall) PageToken(pageToken string) *ProjectsLocationsServiceLbPoliciesListCall
- func (c *ProjectsLocationsServiceLbPoliciesListCall) Pages(ctx context.Context, f func(*ListServiceLbPoliciesResponse) error) error
- type ProjectsLocationsServiceLbPoliciesPatchCall
- func (c *ProjectsLocationsServiceLbPoliciesPatchCall) Context(ctx context.Context) *ProjectsLocationsServiceLbPoliciesPatchCall
- func (c *ProjectsLocationsServiceLbPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServiceLbPoliciesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceLbPoliciesPatchCall
- func (c *ProjectsLocationsServiceLbPoliciesPatchCall) Header() http.Header
- func (c *ProjectsLocationsServiceLbPoliciesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsServiceLbPoliciesPatchCall
- type ProjectsLocationsServiceLbPoliciesService
- func (r *ProjectsLocationsServiceLbPoliciesService) Create(parent string, servicelbpolicy *ServiceLbPolicy) *ProjectsLocationsServiceLbPoliciesCreateCall
- func (r *ProjectsLocationsServiceLbPoliciesService) Delete(name string) *ProjectsLocationsServiceLbPoliciesDeleteCall
- func (r *ProjectsLocationsServiceLbPoliciesService) Get(name string) *ProjectsLocationsServiceLbPoliciesGetCall
- func (r *ProjectsLocationsServiceLbPoliciesService) List(parent string) *ProjectsLocationsServiceLbPoliciesListCall
- func (r *ProjectsLocationsServiceLbPoliciesService) Patch(name string, servicelbpolicy *ServiceLbPolicy) *ProjectsLocationsServiceLbPoliciesPatchCall
- type ProjectsLocationsTcpRoutesCreateCall
- func (c *ProjectsLocationsTcpRoutesCreateCall) Context(ctx context.Context) *ProjectsLocationsTcpRoutesCreateCall
- func (c *ProjectsLocationsTcpRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsTcpRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTcpRoutesCreateCall
- func (c *ProjectsLocationsTcpRoutesCreateCall) Header() http.Header
- func (c *ProjectsLocationsTcpRoutesCreateCall) TcpRouteId(tcpRouteId string) *ProjectsLocationsTcpRoutesCreateCall
- type ProjectsLocationsTcpRoutesDeleteCall
- func (c *ProjectsLocationsTcpRoutesDeleteCall) Context(ctx context.Context) *ProjectsLocationsTcpRoutesDeleteCall
- func (c *ProjectsLocationsTcpRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsTcpRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTcpRoutesDeleteCall
- func (c *ProjectsLocationsTcpRoutesDeleteCall) Header() http.Header
- type ProjectsLocationsTcpRoutesGetCall
- func (c *ProjectsLocationsTcpRoutesGetCall) Context(ctx context.Context) *ProjectsLocationsTcpRoutesGetCall
- func (c *ProjectsLocationsTcpRoutesGetCall) Do(opts ...googleapi.CallOption) (*TcpRoute, error)
- func (c *ProjectsLocationsTcpRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTcpRoutesGetCall
- func (c *ProjectsLocationsTcpRoutesGetCall) Header() http.Header
- func (c *ProjectsLocationsTcpRoutesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTcpRoutesGetCall
- type ProjectsLocationsTcpRoutesListCall
- func (c *ProjectsLocationsTcpRoutesListCall) Context(ctx context.Context) *ProjectsLocationsTcpRoutesListCall
- func (c *ProjectsLocationsTcpRoutesListCall) Do(opts ...googleapi.CallOption) (*ListTcpRoutesResponse, error)
- func (c *ProjectsLocationsTcpRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTcpRoutesListCall
- func (c *ProjectsLocationsTcpRoutesListCall) Header() http.Header
- func (c *ProjectsLocationsTcpRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTcpRoutesListCall
- func (c *ProjectsLocationsTcpRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsTcpRoutesListCall
- func (c *ProjectsLocationsTcpRoutesListCall) PageToken(pageToken string) *ProjectsLocationsTcpRoutesListCall
- func (c *ProjectsLocationsTcpRoutesListCall) Pages(ctx context.Context, f func(*ListTcpRoutesResponse) error) error
- func (c *ProjectsLocationsTcpRoutesListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsTcpRoutesListCall
- type ProjectsLocationsTcpRoutesPatchCall
- func (c *ProjectsLocationsTcpRoutesPatchCall) Context(ctx context.Context) *ProjectsLocationsTcpRoutesPatchCall
- func (c *ProjectsLocationsTcpRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsTcpRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTcpRoutesPatchCall
- func (c *ProjectsLocationsTcpRoutesPatchCall) Header() http.Header
- func (c *ProjectsLocationsTcpRoutesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTcpRoutesPatchCall
- type ProjectsLocationsTcpRoutesService
- func (r *ProjectsLocationsTcpRoutesService) Create(parent string, tcproute *TcpRoute) *ProjectsLocationsTcpRoutesCreateCall
- func (r *ProjectsLocationsTcpRoutesService) Delete(name string) *ProjectsLocationsTcpRoutesDeleteCall
- func (r *ProjectsLocationsTcpRoutesService) Get(name string) *ProjectsLocationsTcpRoutesGetCall
- func (r *ProjectsLocationsTcpRoutesService) List(parent string) *ProjectsLocationsTcpRoutesListCall
- func (r *ProjectsLocationsTcpRoutesService) Patch(name string, tcproute *TcpRoute) *ProjectsLocationsTcpRoutesPatchCall
- type ProjectsLocationsTlsRoutesCreateCall
- func (c *ProjectsLocationsTlsRoutesCreateCall) Context(ctx context.Context) *ProjectsLocationsTlsRoutesCreateCall
- func (c *ProjectsLocationsTlsRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsTlsRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTlsRoutesCreateCall
- func (c *ProjectsLocationsTlsRoutesCreateCall) Header() http.Header
- func (c *ProjectsLocationsTlsRoutesCreateCall) TlsRouteId(tlsRouteId string) *ProjectsLocationsTlsRoutesCreateCall
- type ProjectsLocationsTlsRoutesDeleteCall
- func (c *ProjectsLocationsTlsRoutesDeleteCall) Context(ctx context.Context) *ProjectsLocationsTlsRoutesDeleteCall
- func (c *ProjectsLocationsTlsRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsTlsRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTlsRoutesDeleteCall
- func (c *ProjectsLocationsTlsRoutesDeleteCall) Header() http.Header
- type ProjectsLocationsTlsRoutesGetCall
- func (c *ProjectsLocationsTlsRoutesGetCall) Context(ctx context.Context) *ProjectsLocationsTlsRoutesGetCall
- func (c *ProjectsLocationsTlsRoutesGetCall) Do(opts ...googleapi.CallOption) (*TlsRoute, error)
- func (c *ProjectsLocationsTlsRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTlsRoutesGetCall
- func (c *ProjectsLocationsTlsRoutesGetCall) Header() http.Header
- func (c *ProjectsLocationsTlsRoutesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTlsRoutesGetCall
- type ProjectsLocationsTlsRoutesListCall
- func (c *ProjectsLocationsTlsRoutesListCall) Context(ctx context.Context) *ProjectsLocationsTlsRoutesListCall
- func (c *ProjectsLocationsTlsRoutesListCall) Do(opts ...googleapi.CallOption) (*ListTlsRoutesResponse, error)
- func (c *ProjectsLocationsTlsRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTlsRoutesListCall
- func (c *ProjectsLocationsTlsRoutesListCall) Header() http.Header
- func (c *ProjectsLocationsTlsRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTlsRoutesListCall
- func (c *ProjectsLocationsTlsRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsTlsRoutesListCall
- func (c *ProjectsLocationsTlsRoutesListCall) PageToken(pageToken string) *ProjectsLocationsTlsRoutesListCall
- func (c *ProjectsLocationsTlsRoutesListCall) Pages(ctx context.Context, f func(*ListTlsRoutesResponse) error) error
- func (c *ProjectsLocationsTlsRoutesListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsTlsRoutesListCall
- type ProjectsLocationsTlsRoutesPatchCall
- func (c *ProjectsLocationsTlsRoutesPatchCall) Context(ctx context.Context) *ProjectsLocationsTlsRoutesPatchCall
- func (c *ProjectsLocationsTlsRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsTlsRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTlsRoutesPatchCall
- func (c *ProjectsLocationsTlsRoutesPatchCall) Header() http.Header
- func (c *ProjectsLocationsTlsRoutesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTlsRoutesPatchCall
- type ProjectsLocationsTlsRoutesService
- func (r *ProjectsLocationsTlsRoutesService) Create(parent string, tlsroute *TlsRoute) *ProjectsLocationsTlsRoutesCreateCall
- func (r *ProjectsLocationsTlsRoutesService) Delete(name string) *ProjectsLocationsTlsRoutesDeleteCall
- func (r *ProjectsLocationsTlsRoutesService) Get(name string) *ProjectsLocationsTlsRoutesGetCall
- func (r *ProjectsLocationsTlsRoutesService) List(parent string) *ProjectsLocationsTlsRoutesListCall
- func (r *ProjectsLocationsTlsRoutesService) Patch(name string, tlsroute *TlsRoute) *ProjectsLocationsTlsRoutesPatchCall
- type ProjectsLocationsWasmPluginsCreateCall
- func (c *ProjectsLocationsWasmPluginsCreateCall) Context(ctx context.Context) *ProjectsLocationsWasmPluginsCreateCall
- func (c *ProjectsLocationsWasmPluginsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsWasmPluginsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsCreateCall
- func (c *ProjectsLocationsWasmPluginsCreateCall) Header() http.Header
- func (c *ProjectsLocationsWasmPluginsCreateCall) WasmPluginId(wasmPluginId string) *ProjectsLocationsWasmPluginsCreateCall
- type ProjectsLocationsWasmPluginsDeleteCall
- func (c *ProjectsLocationsWasmPluginsDeleteCall) Context(ctx context.Context) *ProjectsLocationsWasmPluginsDeleteCall
- func (c *ProjectsLocationsWasmPluginsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsWasmPluginsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsDeleteCall
- func (c *ProjectsLocationsWasmPluginsDeleteCall) Header() http.Header
- type ProjectsLocationsWasmPluginsGetCall
- func (c *ProjectsLocationsWasmPluginsGetCall) Context(ctx context.Context) *ProjectsLocationsWasmPluginsGetCall
- func (c *ProjectsLocationsWasmPluginsGetCall) Do(opts ...googleapi.CallOption) (*WasmPlugin, error)
- func (c *ProjectsLocationsWasmPluginsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsGetCall
- func (c *ProjectsLocationsWasmPluginsGetCall) Header() http.Header
- func (c *ProjectsLocationsWasmPluginsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsWasmPluginsGetCall
- func (c *ProjectsLocationsWasmPluginsGetCall) View(view string) *ProjectsLocationsWasmPluginsGetCall
- type ProjectsLocationsWasmPluginsListCall
- func (c *ProjectsLocationsWasmPluginsListCall) Context(ctx context.Context) *ProjectsLocationsWasmPluginsListCall
- func (c *ProjectsLocationsWasmPluginsListCall) Do(opts ...googleapi.CallOption) (*ListWasmPluginsResponse, error)
- func (c *ProjectsLocationsWasmPluginsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsListCall
- func (c *ProjectsLocationsWasmPluginsListCall) Header() http.Header
- func (c *ProjectsLocationsWasmPluginsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsWasmPluginsListCall
- func (c *ProjectsLocationsWasmPluginsListCall) PageSize(pageSize int64) *ProjectsLocationsWasmPluginsListCall
- func (c *ProjectsLocationsWasmPluginsListCall) PageToken(pageToken string) *ProjectsLocationsWasmPluginsListCall
- func (c *ProjectsLocationsWasmPluginsListCall) Pages(ctx context.Context, f func(*ListWasmPluginsResponse) error) error
- type ProjectsLocationsWasmPluginsPatchCall
- func (c *ProjectsLocationsWasmPluginsPatchCall) Context(ctx context.Context) *ProjectsLocationsWasmPluginsPatchCall
- func (c *ProjectsLocationsWasmPluginsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsWasmPluginsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsPatchCall
- func (c *ProjectsLocationsWasmPluginsPatchCall) Header() http.Header
- func (c *ProjectsLocationsWasmPluginsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsWasmPluginsPatchCall
- type ProjectsLocationsWasmPluginsService
- func (r *ProjectsLocationsWasmPluginsService) Create(parent string, wasmplugin *WasmPlugin) *ProjectsLocationsWasmPluginsCreateCall
- func (r *ProjectsLocationsWasmPluginsService) Delete(name string) *ProjectsLocationsWasmPluginsDeleteCall
- func (r *ProjectsLocationsWasmPluginsService) Get(name string) *ProjectsLocationsWasmPluginsGetCall
- func (r *ProjectsLocationsWasmPluginsService) List(parent string) *ProjectsLocationsWasmPluginsListCall
- func (r *ProjectsLocationsWasmPluginsService) Patch(name string, wasmplugin *WasmPlugin) *ProjectsLocationsWasmPluginsPatchCall
- type ProjectsLocationsWasmPluginsVersionsCreateCall
- func (c *ProjectsLocationsWasmPluginsVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsWasmPluginsVersionsCreateCall
- func (c *ProjectsLocationsWasmPluginsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsWasmPluginsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsVersionsCreateCall
- func (c *ProjectsLocationsWasmPluginsVersionsCreateCall) Header() http.Header
- func (c *ProjectsLocationsWasmPluginsVersionsCreateCall) WasmPluginVersionId(wasmPluginVersionId string) *ProjectsLocationsWasmPluginsVersionsCreateCall
- type ProjectsLocationsWasmPluginsVersionsDeleteCall
- func (c *ProjectsLocationsWasmPluginsVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsWasmPluginsVersionsDeleteCall
- func (c *ProjectsLocationsWasmPluginsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsWasmPluginsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsVersionsDeleteCall
- func (c *ProjectsLocationsWasmPluginsVersionsDeleteCall) Header() http.Header
- type ProjectsLocationsWasmPluginsVersionsGetCall
- func (c *ProjectsLocationsWasmPluginsVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsWasmPluginsVersionsGetCall
- func (c *ProjectsLocationsWasmPluginsVersionsGetCall) Do(opts ...googleapi.CallOption) (*WasmPluginVersion, error)
- func (c *ProjectsLocationsWasmPluginsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsVersionsGetCall
- func (c *ProjectsLocationsWasmPluginsVersionsGetCall) Header() http.Header
- func (c *ProjectsLocationsWasmPluginsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsWasmPluginsVersionsGetCall
- type ProjectsLocationsWasmPluginsVersionsListCall
- func (c *ProjectsLocationsWasmPluginsVersionsListCall) Context(ctx context.Context) *ProjectsLocationsWasmPluginsVersionsListCall
- func (c *ProjectsLocationsWasmPluginsVersionsListCall) Do(opts ...googleapi.CallOption) (*ListWasmPluginVersionsResponse, error)
- func (c *ProjectsLocationsWasmPluginsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsVersionsListCall
- func (c *ProjectsLocationsWasmPluginsVersionsListCall) Header() http.Header
- func (c *ProjectsLocationsWasmPluginsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsWasmPluginsVersionsListCall
- func (c *ProjectsLocationsWasmPluginsVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsWasmPluginsVersionsListCall
- func (c *ProjectsLocationsWasmPluginsVersionsListCall) PageToken(pageToken string) *ProjectsLocationsWasmPluginsVersionsListCall
- func (c *ProjectsLocationsWasmPluginsVersionsListCall) Pages(ctx context.Context, f func(*ListWasmPluginVersionsResponse) error) error
- type ProjectsLocationsWasmPluginsVersionsService
- func (r *ProjectsLocationsWasmPluginsVersionsService) Create(parent string, wasmpluginversion *WasmPluginVersion) *ProjectsLocationsWasmPluginsVersionsCreateCall
- func (r *ProjectsLocationsWasmPluginsVersionsService) Delete(name string) *ProjectsLocationsWasmPluginsVersionsDeleteCall
- func (r *ProjectsLocationsWasmPluginsVersionsService) Get(name string) *ProjectsLocationsWasmPluginsVersionsGetCall
- func (r *ProjectsLocationsWasmPluginsVersionsService) List(parent string) *ProjectsLocationsWasmPluginsVersionsListCall
- type ProjectsService
- type RetryFilterPerRouteConfig
- type Service
- type ServiceBinding
- type ServiceLbPolicy
- type ServiceLbPolicyAutoCapacityDrain
- type ServiceLbPolicyFailoverConfig
- type ServiceLbPolicyIsolationConfig
- type Status
- type TcpRoute
- type TcpRouteRouteAction
- type TcpRouteRouteDestination
- type TcpRouteRouteMatch
- type TcpRouteRouteRule
- type TlsRoute
- type TlsRouteRouteAction
- type TlsRouteRouteDestination
- type TlsRouteRouteMatch
- type TlsRouteRouteRule
- type TrafficPortSelector
- type WasmPlugin
- type WasmPluginLogConfig
- type WasmPluginUsedBy
- type WasmPluginVersion
- type WasmPluginVersionDetails
Constants¶
const (// See, edit, configure, and delete your Google Cloud data and see the email// address for your Google Account.CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform")
OAuth2 scopes used by this API.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeAuthzExtension¶added inv0.190.0
type AuthzExtension struct {// Authority: Required. The `:authority` header in the gRPC request sent from// Envoy to the extension service.Authoritystring `json:"authority,omitempty"`// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A human-readable description of the resource.Descriptionstring `json:"description,omitempty"`// FailOpen: 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.FailOpenbool `json:"failOpen,omitempty"`// ForwardHeaders: Optional. List of the HTTP headers to forward to the// extension (from the client). If omitted, all headers are sent. Each element// is a string indicating the header name.ForwardHeaders []string `json:"forwardHeaders,omitempty"`// Labels: 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 `json:"labels,omitempty"`// LoadBalancingScheme: 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).//// Possible values:// "LOAD_BALANCING_SCHEME_UNSPECIFIED" - Default value. Do not use.// "INTERNAL_MANAGED" - Signifies that this is used for Internal HTTP(S) Load// Balancing.// "EXTERNAL_MANAGED" - Signifies that this is used for External Managed// HTTP(S) Load Balancing.LoadBalancingSchemestring `json:"loadBalancingScheme,omitempty"`// Metadata: 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.`. The following// variables are supported in the metadata Struct: `{forwarding_rule_id}` -// substituted with the forwarding rule's fully qualified resource name.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Required. Identifier. Name of the `AuthzExtension` resource in the// following format:// `projects/{project}/locations/{location}/authzExtensions/{authz_extension}`.Namestring `json:"name,omitempty"`// Service: 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}/ba// ckendServices/{backendService}` or// `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServi// ces/{backendService}`.Servicestring `json:"service,omitempty"`// Timeout: Required. Specifies the timeout for each individual message on the// stream. The timeout must be between 10-10000 milliseconds.Timeoutstring `json:"timeout,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// WireFormat: Optional. The format of communication supported by the callout// extension. If not specified, the default value `EXT_PROC_GRPC` is used.//// Possible values:// "WIRE_FORMAT_UNSPECIFIED" - Not specified.// "EXT_PROC_GRPC" - 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.// "EXT_AUTHZ_GRPC" - The extension service uses Envoy's `ext_authz` gRPC// API. The backend service for the extension must use HTTP2, or H2C as the// protocol. `EXT_AUTHZ_GRPC` is only supported for regional `AuthzExtension`// resources.WireFormatstring `json:"wireFormat,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Authority") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Authority") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}AuthzExtension: `AuthzExtension` is a resource that allows trafficforwarding to a callout backend service to make an authorization decision.
func (AuthzExtension)MarshalJSON¶added inv0.190.0
func (sAuthzExtension) MarshalJSON() ([]byte,error)
typeCancelOperationRequest¶
type CancelOperationRequest struct {}CancelOperationRequest: The request message for Operations.CancelOperation.
typeEmpty¶
type Empty struct {// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`}Empty: A generic empty message that you can re-use to avoid definingduplicated empty messages in your APIs. A typical example is to use it asthe request or the response type of an API method. For instance: service Foo{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
typeEndpointMatcher¶
type EndpointMatcher struct {// MetadataLabelMatcher: The matcher is based on node metadata presented by xDS// clients.MetadataLabelMatcher *MetadataLabelMatcher `json:"metadataLabelMatcher,omitempty"`// ForceSendFields is a list of field names (e.g. "MetadataLabelMatcher") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MetadataLabelMatcher") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}EndpointMatcher: A definition of a matcher that selects endpoints to whichthe policies should be applied.
func (EndpointMatcher)MarshalJSON¶
func (sEndpointMatcher) MarshalJSON() ([]byte,error)
typeEndpointPolicy¶
type EndpointPolicy struct {// AuthorizationPolicy: 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.AuthorizationPolicystring `json:"authorizationPolicy,omitempty"`// ClientTlsPolicy: 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.ClientTlsPolicystring `json:"clientTlsPolicy,omitempty"`// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A free-text description of the resource. Max length// 1024 characters.Descriptionstring `json:"description,omitempty"`// EndpointMatcher: Required. A matcher that selects endpoints to which the// policies should be applied.EndpointMatcher *EndpointMatcher `json:"endpointMatcher,omitempty"`// Labels: Optional. Set of label tags associated with the EndpointPolicy// resource.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. Name of the EndpointPolicy resource. It matches pattern// `projects/{project}/locations/*/endpointPolicies/{endpoint_policy}`.Namestring `json:"name,omitempty"`// SecurityPolicy: Optional. A URL referring to a SecurityPolicy resource.// SecurityPolicy is used to enforce rate limiting policy on the inbound// traffic at the identified backends. If this field is not set, rate limiting// is disabled for this endpoint.SecurityPolicystring `json:"securityPolicy,omitempty"`// ServerTlsPolicy: 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.ServerTlsPolicystring `json:"serverTlsPolicy,omitempty"`// TrafficPortSelector: Optional. Port selector for the (matched) endpoints. If// no port selector is provided, the matched config is applied to all ports.TrafficPortSelector *TrafficPortSelector `json:"trafficPortSelector,omitempty"`// Type: Required. The type of endpoint policy. This is primarily used to// validate the configuration.//// Possible values:// "ENDPOINT_POLICY_TYPE_UNSPECIFIED" - Default value. Must not be used.// "SIDECAR_PROXY" - Represents a proxy deployed as a sidecar.// "GRPC_SERVER" - Represents a proxyless gRPC backend.Typestring `json:"type,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AuthorizationPolicy") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AuthorizationPolicy") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}EndpointPolicy: EndpointPolicy is a resource that helps apply desiredconfiguration on the endpoints that match specific criteria. For example,this resource can be used to apply "authentication config" an all endpointsthat serve on port 8080.
func (EndpointPolicy)MarshalJSON¶
func (sEndpointPolicy) MarshalJSON() ([]byte,error)
typeExtensionChain¶added inv0.144.0
type ExtensionChain struct {// Extensions: 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 []*ExtensionChainExtension `json:"extensions,omitempty"`// MatchCondition: Required. Conditions under which this chain is invoked for a// request.MatchCondition *ExtensionChainMatchCondition `json:"matchCondition,omitempty"`// Name: 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.Namestring `json:"name,omitempty"`// ForceSendFields is a list of field names (e.g. "Extensions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Extensions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ExtensionChain: A single extension chain wrapper that contains the matchconditions and extensions to execute.
func (ExtensionChain)MarshalJSON¶added inv0.144.0
func (sExtensionChain) MarshalJSON() ([]byte,error)
typeExtensionChainExtension¶added inv0.144.0
type ExtensionChainExtension struct {// AllowDynamicForwarding: Optional. When set to `TRUE`, the response from an// extension service is allowed to set the// `com.google.envoy.dynamic_forwarding` namespace in the dynamic metadata.// This field is not supported for plugin extensions or AuthzExtensions.// Setting it results in a validation error.AllowDynamicForwardingbool `json:"allowDynamicForwarding,omitempty"`// Authority: 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.Authoritystring `json:"authority,omitempty"`// FailOpen: 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.FailOpenbool `json:"failOpen,omitempty"`// ForwardHeaders: 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 `json:"forwardHeaders,omitempty"`// Metadata: 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. For// `AuthzExtension` resources, the metadata is available under the namespace// `com.google.authz_extension.`. For other types of extensions, the metadata// is available under the namespace `com.google....`. For example:// `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The// following variables are supported in the metadata: `{forwarding_rule_id}` -// substituted with the forwarding rule's fully qualified resource name. This// field must not be set for plugin extensions. Setting it results in a// validation error. You can set metadata at either the resource level or the// extension level. The extension level metadata is recommended because you can// pass a different set of metadata through each extension to the backend. This// field is subject to following limitations: * The total size of the metadata// must be less than 1KiB. * The total number of keys in the metadata must be// less than 16. * The length of each key must be less than 64 characters. *// The length of each value must be less than 1024 characters. * All values// must be strings.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Optional. 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. This field is required except for AuthzExtension.Namestring `json:"name,omitempty"`// ObservabilityMode: Optional. When set to `TRUE`, enables// `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls// asynchronous. Envoy doesn't check for the response from `ext_proc` calls.// For more information about the filter, see://https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor// This field is helpful when you want to try out the extension in async// log-only mode. Supported by regional `LbTrafficExtension` and// `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode// is supported.ObservabilityModebool `json:"observabilityMode,omitempty"`// RequestBodySendMode: Optional. Configures the send mode for request body// processing. The field can only be set if `supported_events` includes// `REQUEST_BODY`. If `supported_events` includes `REQUEST_BODY`, but// `request_body_send_mode` is unset, the default value `STREAMED` is used.// When this field is set to `FULL_DUPLEX_STREAMED`, `supported_events` must// include both `REQUEST_BODY` and `REQUEST_TRAILERS`. This field can be set// only for `LbTrafficExtension` and `LbRouteExtension` resources, and only// when the `service` field of the extension points to a `BackendService`. Only// `FULL_DUPLEX_STREAMED` mode is supported for `LbRouteExtension` resources.//// Possible values:// "BODY_SEND_MODE_UNSPECIFIED" - Default value. Do not use.// "BODY_SEND_MODE_STREAMED" - Calls to the extension are executed in the// streamed mode. Subsequent chunks will be sent only after the previous chunks// have been processed. The content of the body chunks is sent one way to the// extension. Extension may send modified chunks back. This is the default// value if the processing mode is not specified.// "BODY_SEND_MODE_FULL_DUPLEX_STREAMED" - Calls are executed in the full// duplex mode. Subsequent chunks will be sent for processing without waiting// for the response for the previous chunk or for the response for// `REQUEST_HEADERS` event. Extension can freely modify or chunk the body// contents. If the extension doesn't send the body contents back, the next// extension in the chain or the upstream will receive an empty body.RequestBodySendModestring `json:"requestBodySendMode,omitempty"`// ResponseBodySendMode: Optional. Configures the send mode for response// processing. If unspecified, the default value `STREAMED` is used. The field// can only be set if `supported_events` includes `RESPONSE_BODY`. If// `supported_events` includes `RESPONSE_BODY`, but `response_body_send_mode`// is unset, the default value `STREAMED` is used. When this field is set to// `FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY`// and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension`// resources, and only when the `service` field of the extension points to a// `BackendService`.//// Possible values:// "BODY_SEND_MODE_UNSPECIFIED" - Default value. Do not use.// "BODY_SEND_MODE_STREAMED" - Calls to the extension are executed in the// streamed mode. Subsequent chunks will be sent only after the previous chunks// have been processed. The content of the body chunks is sent one way to the// extension. Extension may send modified chunks back. This is the default// value if the processing mode is not specified.// "BODY_SEND_MODE_FULL_DUPLEX_STREAMED" - Calls are executed in the full// duplex mode. Subsequent chunks will be sent for processing without waiting// for the response for the previous chunk or for the response for// `REQUEST_HEADERS` event. Extension can freely modify or chunk the body// contents. If the extension doesn't send the body contents back, the next// extension in the chain or the upstream will receive an empty body.ResponseBodySendModestring `json:"responseBodySendMode,omitempty"`// Service: 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}/ba// ckendServices/{backendService}` or// `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServi// ces/{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}/was// mPlugins/{wasmPlugin}`. Plugin extensions are currently supported for the// `LbTrafficExtension`, the `LbRouteExtension`, and the `LbEdgeExtension`// resources.Servicestring `json:"service,omitempty"`// SupportedEvents: 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. For the `AuthzExtension`// resource, this field is optional. `REQUEST_HEADERS` is the only supported// event. If unspecified, `REQUEST_HEADERS` event is assumed as supported.//// Possible values:// "EVENT_TYPE_UNSPECIFIED" - Unspecified value. Do not use.// "REQUEST_HEADERS" - If included in `supported_events`, the extension is// called when the HTTP request headers arrive.// "REQUEST_BODY" - If included in `supported_events`, the extension is// called when the HTTP request body arrives.// "RESPONSE_HEADERS" - If included in `supported_events`, the extension is// called when the HTTP response headers arrive.// "RESPONSE_BODY" - If included in `supported_events`, the extension is// called when the HTTP response body arrives.// "REQUEST_TRAILERS" - If included in `supported_events`, the extension is// called when the HTTP request trailers arrives.// "RESPONSE_TRAILERS" - If included in `supported_events`, the extension is// called when the HTTP response trailers arrives.SupportedEvents []string `json:"supportedEvents,omitempty"`// Timeout: 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.Timeoutstring `json:"timeout,omitempty"`// ForceSendFields is a list of field names (e.g. "AllowDynamicForwarding") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllowDynamicForwarding") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ExtensionChainExtension: A single extension in the chain to execute for thematching request.
func (ExtensionChainExtension)MarshalJSON¶added inv0.144.0
func (sExtensionChainExtension) MarshalJSON() ([]byte,error)
typeExtensionChainMatchCondition¶added inv0.144.0
type ExtensionChainMatchCondition struct {// CelExpression: 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).CelExpressionstring `json:"celExpression,omitempty"`// ForceSendFields is a list of field names (e.g. "CelExpression") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CelExpression") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ExtensionChainMatchCondition: Conditions under which this chain is invokedfor a request.
func (ExtensionChainMatchCondition)MarshalJSON¶added inv0.144.0
func (sExtensionChainMatchCondition) MarshalJSON() ([]byte,error)
typeGateway¶added inv0.74.0
type Gateway struct {// Addresses: Optional. Zero or one IPv4 or IPv6 address on which the Gateway// will receive the traffic. When no address is provided, an IP from the// subnetwork is allocated This field only applies to gateways of type// 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for// IPv4 and :: for IPv6.Addresses []string `json:"addresses,omitempty"`// CertificateUrls: Optional. A fully-qualified Certificates URL reference. The// proxy presents a Certificate (selected based on SNI) when establishing a TLS// connection. This feature only applies to gateways of type// 'SECURE_WEB_GATEWAY'.CertificateUrls []string `json:"certificateUrls,omitempty"`// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A free-text description of the resource. Max length// 1024 characters.Descriptionstring `json:"description,omitempty"`// EnvoyHeaders: Optional. Determines if envoy will insert internal debug// headers into upstream requests. Other Envoy headers may still be injected.// By default, envoy will not insert any debug headers.//// Possible values:// "ENVOY_HEADERS_UNSPECIFIED" - Defaults to NONE.// "NONE" - Suppress envoy debug headers.// "DEBUG_HEADERS" - 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-msEnvoyHeadersstring `json:"envoyHeaders,omitempty"`// GatewaySecurityPolicy: Optional. A fully-qualified GatewaySecurityPolicy URL// reference. Defines how a server should apply security policy to inbound (VM// to Proxy) initiated connections. For example:// `projects/*/locations/*/gatewaySecurityPolicies/swg-policy`. This policy is// specific to gateways of type 'SECURE_WEB_GATEWAY'.GatewaySecurityPolicystring `json:"gatewaySecurityPolicy,omitempty"`// IpVersion: Optional. The IP Version that will be used by this gateway. Valid// options are IPV4 or IPV6. Default is IPV4.//// Possible values:// "IP_VERSION_UNSPECIFIED" - The type when IP version is not specified.// Defaults to IPV4.// "IPV4" - The type for IP version 4.// "IPV6" - The type for IP version 6.IpVersionstring `json:"ipVersion,omitempty"`// Labels: Optional. Set of label tags associated with the Gateway resource.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. Name of the Gateway resource. It matches pattern// `projects/*/locations/*/gateways/`.Namestring `json:"name,omitempty"`// Network: Optional. The relative resource name identifying the VPC network// that is using this configuration. For example:// `projects/*/global/networks/network-1`. Currently, this field is specific to// gateways of type 'SECURE_WEB_GATEWAY'.Networkstring `json:"network,omitempty"`// Ports: Required. One or more port numbers (1-65535), on which the Gateway// will receive traffic. The proxy binds to the specified ports. Gateways of// type 'SECURE_WEB_GATEWAY' are limited to 5 ports. Gateways of type// 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6 and support multiple// ports.Ports []int64 `json:"ports,omitempty"`// RoutingMode: Optional. The routing mode of the Gateway. This field is// configurable only for gateways of type SECURE_WEB_GATEWAY. This field is// required for gateways of type SECURE_WEB_GATEWAY.//// Possible values:// "EXPLICIT_ROUTING_MODE" - The routing mode is explicit; clients are// configured to send traffic through the gateway. This is the default routing// mode.// "NEXT_HOP_ROUTING_MODE" - 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.RoutingModestring `json:"routingMode,omitempty"`// Scope: Optional. Scope determines how configuration across multiple Gateway// instances are merged. The configuration for multiple Gateway instances with// the same scope will be merged as presented as a single configuration to the// proxy/load balancer. Max length 64 characters. Scope should start with a// letter and can only have letters, numbers, hyphens.Scopestring `json:"scope,omitempty"`// SelfLink: Output only. Server-defined URL of this resourceSelfLinkstring `json:"selfLink,omitempty"`// ServerTlsPolicy: Optional. A fully-qualified ServerTLSPolicy URL reference.// Specifies how TLS traffic is terminated. If empty, TLS termination is// disabled.ServerTlsPolicystring `json:"serverTlsPolicy,omitempty"`// Subnetwork: Optional. The relative resource name identifying the subnetwork// in which this SWG is allocated. For example:// `projects/*/regions/us-central1/subnetworks/network-1` Currently, this field// is specific to gateways of type 'SECURE_WEB_GATEWAY".Subnetworkstring `json:"subnetwork,omitempty"`// Type: Immutable. The type of the customer managed gateway. This field is// required. If unspecified, an error is returned.//// Possible values:// "TYPE_UNSPECIFIED" - The type of the customer managed gateway is// unspecified.// "OPEN_MESH" - The type of the customer managed gateway is TrafficDirector// Open Mesh.// "SECURE_WEB_GATEWAY" - The type of the customer managed gateway is// SecureWebGateway (SWG).Typestring `json:"type,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Addresses") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Addresses") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Gateway: Gateway represents the configuration for a proxy, typically a loadbalancer. It captures the ip:port over which the services are exposed by theproxy, along with any policy configurations. Routes have reference to toGateways to dictate how requests should be routed by this Gateway.
func (Gateway)MarshalJSON¶added inv0.74.0
typeGatewayRouteView¶added inv0.207.0
type GatewayRouteView struct {// Name: Output only. Identifier. Full path name of the GatewayRouteView// resource. Format:// projects/{project_number}/locations/{location}/gateways/{gateway}/routeViews/// {route_view}Namestring `json:"name,omitempty"`// RouteId: Output only. The resource id for the route.RouteIdstring `json:"routeId,omitempty"`// RouteLocation: Output only. Location where the route exists.RouteLocationstring `json:"routeLocation,omitempty"`// RouteProjectNumber: Output only. Project number where the route exists.RouteProjectNumberint64 `json:"routeProjectNumber,omitempty,string"`// RouteType: Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or// TlsRouteRouteTypestring `json:"routeType,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Name") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Name") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GatewayRouteView: GatewayRouteView defines view-only resource for Routes toa Gateway
func (GatewayRouteView)MarshalJSON¶added inv0.207.0
func (sGatewayRouteView) MarshalJSON() ([]byte,error)
typeGrpcRoute¶added inv0.74.0
type GrpcRoute struct {// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A free-text description of the resource. Max length// 1024 characters.Descriptionstring `json:"description,omitempty"`// Gateways: Optional. Gateways defines a list of gateways this GrpcRoute is// attached to, as one of the routing rules to route the requests served by the// gateway. Each gateway reference should match the pattern:// `projects/*/locations/*/gateways/`Gateways []string `json:"gateways,omitempty"`// Hostnames: Required. Service hostnames with an optional port for which this// route describes traffic. Format: [:] Hostname is the fully qualified domain// name of a network host. This matches theRFC 1123 definition of a hostname// with 2 notable exceptions: - IPs are not allowed. - A hostname may be// prefixed with a wildcard label (`*.`). The wildcard label must appear by// itself as the first label. Hostname can be "precise" which is a domain name// without the terminating dot of a network host (e.g. `foo.example.com`) or// "wildcard", which is a domain name prefixed with a single wildcard label// (e.g. `*.example.com`). Note that as per RFC1035 and RFC1123, a label must// consist of lower case alphanumeric characters or '-', and must start and end// with an alphanumeric character. No other punctuation is allowed. The routes// associated with a Mesh or Gateway must have unique hostnames. If you attempt// to attach multiple routes with conflicting hostnames, the configuration will// be rejected. For example, while it is acceptable for routes for the// hostnames `*.foo.bar.com` and `*.bar.com` to be associated with the same// route, it is not possible to associate two routes both with `*.bar.com` or// both with `bar.com`. If a port is specified, then gRPC clients must use the// channel URI with the port to match this rule (i.e. "xds:///service:123"),// otherwise they must supply the URI without a port (i.e. "xds:///service").Hostnames []string `json:"hostnames,omitempty"`// Labels: Optional. Set of label tags associated with the GrpcRoute resource.Labels map[string]string `json:"labels,omitempty"`// Meshes: Optional. Meshes defines a list of meshes this GrpcRoute is attached// to, as one of the routing rules to route the requests served by the mesh.// Each mesh reference should match the pattern:// `projects/*/locations/*/meshes/`Meshes []string `json:"meshes,omitempty"`// Name: Identifier. Name of the GrpcRoute resource. It matches pattern// `projects/*/locations/*/grpcRoutes/`Namestring `json:"name,omitempty"`// Rules: Required. A list of detailed rules defining how to route traffic.// Within a single GrpcRoute, the GrpcRoute.RouteAction associated with the// first matching GrpcRoute.RouteRule will be executed. At least one rule must// be supplied.Rules []*GrpcRouteRouteRule `json:"rules,omitempty"`// SelfLink: Output only. Server-defined URL of this resourceSelfLinkstring `json:"selfLink,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GrpcRoute: GrpcRoute is the resource defining how gRPC traffic routed by aMesh or Gateway resource is routed.
func (GrpcRoute)MarshalJSON¶added inv0.74.0
typeGrpcRouteDestination¶added inv0.74.0
type GrpcRouteDestination struct {// ServiceName: Required. The URL of a destination service to which to route// traffic. Must refer to either a BackendService or ServiceDirectoryService.ServiceNamestring `json:"serviceName,omitempty"`// Weight: 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.Weightint64 `json:"weight,omitempty"`// ForceSendFields is a list of field names (e.g. "ServiceName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ServiceName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GrpcRouteDestination: The destination to which traffic will be routed.
func (GrpcRouteDestination)MarshalJSON¶added inv0.74.0
func (sGrpcRouteDestination) MarshalJSON() ([]byte,error)
typeGrpcRouteFaultInjectionPolicy¶added inv0.74.0
type GrpcRouteFaultInjectionPolicy struct {// Abort: The specification for aborting to client requests.Abort *GrpcRouteFaultInjectionPolicyAbort `json:"abort,omitempty"`// Delay: The specification for injecting delay to client requests.Delay *GrpcRouteFaultInjectionPolicyDelay `json:"delay,omitempty"`// ForceSendFields is a list of field names (e.g. "Abort") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Abort") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GrpcRouteFaultInjectionPolicy: The specification for fault injectionintroduced into traffic to test the resiliency of clients to destinationservice failure. As part of fault injection, when clients send requests to adestination, delays can be introduced on a percentage of requests beforesending those requests to the destination service. Similarly requests fromclients can be aborted by for a percentage of requests.
func (GrpcRouteFaultInjectionPolicy)MarshalJSON¶added inv0.74.0
func (sGrpcRouteFaultInjectionPolicy) MarshalJSON() ([]byte,error)
typeGrpcRouteFaultInjectionPolicyAbort¶added inv0.74.0
type GrpcRouteFaultInjectionPolicyAbort struct {// HttpStatus: The HTTP status code used to abort the request. The value must// be between 200 and 599 inclusive.HttpStatusint64 `json:"httpStatus,omitempty"`// Percentage: The percentage of traffic which will be aborted. The value must// be between [0, 100]Percentageint64 `json:"percentage,omitempty"`// ForceSendFields is a list of field names (e.g. "HttpStatus") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "HttpStatus") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GrpcRouteFaultInjectionPolicyAbort: Specification of how client requests areaborted as part of fault injection before being sent to a destination.
func (GrpcRouteFaultInjectionPolicyAbort)MarshalJSON¶added inv0.74.0
func (sGrpcRouteFaultInjectionPolicyAbort) MarshalJSON() ([]byte,error)
typeGrpcRouteFaultInjectionPolicyDelay¶added inv0.74.0
type GrpcRouteFaultInjectionPolicyDelay struct {// FixedDelay: Specify a fixed delay before forwarding the request.FixedDelaystring `json:"fixedDelay,omitempty"`// Percentage: The percentage of traffic on which delay will be injected. The// value must be between [0, 100]Percentageint64 `json:"percentage,omitempty"`// ForceSendFields is a list of field names (e.g. "FixedDelay") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FixedDelay") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GrpcRouteFaultInjectionPolicyDelay: Specification of how client requests aredelayed as part of fault injection before being sent to a destination.
func (GrpcRouteFaultInjectionPolicyDelay)MarshalJSON¶added inv0.74.0
func (sGrpcRouteFaultInjectionPolicyDelay) MarshalJSON() ([]byte,error)
typeGrpcRouteHeaderMatch¶added inv0.74.0
type GrpcRouteHeaderMatch struct {// Key: Required. The key of the header.Keystring `json:"key,omitempty"`// Type: Optional. Specifies how to match against the value of the header. If// not specified, a default value of EXACT is used.//// Possible values:// "TYPE_UNSPECIFIED" - Unspecified.// "EXACT" - Will only match the exact value provided.// "REGULAR_EXPRESSION" - Will match paths conforming to the prefix specified// by value. RE2 syntax is supported.Typestring `json:"type,omitempty"`// Value: Required. The value of the header.Valuestring `json:"value,omitempty"`// ForceSendFields is a list of field names (e.g. "Key") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Key") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GrpcRouteHeaderMatch: A match against a collection of headers.
func (GrpcRouteHeaderMatch)MarshalJSON¶added inv0.74.0
func (sGrpcRouteHeaderMatch) MarshalJSON() ([]byte,error)
typeGrpcRouteMethodMatch¶added inv0.74.0
type GrpcRouteMethodMatch struct {// CaseSensitive: Optional. Specifies that matches are case sensitive. The// default value is true. case_sensitive must not be used with a type of// REGULAR_EXPRESSION.CaseSensitivebool `json:"caseSensitive,omitempty"`// GrpcMethod: Required. Name of the method to match against. If unspecified,// will match all methods.GrpcMethodstring `json:"grpcMethod,omitempty"`// GrpcService: Required. Name of the service to match against. If unspecified,// will match all services.GrpcServicestring `json:"grpcService,omitempty"`// Type: Optional. Specifies how to match against the name. If not specified, a// default value of "EXACT" is used.//// Possible values:// "TYPE_UNSPECIFIED" - Unspecified.// "EXACT" - Will only match the exact name provided.// "REGULAR_EXPRESSION" - Will interpret grpc_method and grpc_service as// regexes. RE2 syntax is supported.Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "CaseSensitive") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CaseSensitive") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GrpcRouteMethodMatch: Specifies a match against a method.
func (GrpcRouteMethodMatch)MarshalJSON¶added inv0.74.0
func (sGrpcRouteMethodMatch) MarshalJSON() ([]byte,error)
typeGrpcRouteRetryPolicy¶added inv0.74.0
type GrpcRouteRetryPolicy struct {// NumRetries: Specifies the allowed number of retries. This number must be >// 0. If not specified, default to 1.NumRetriesint64 `json:"numRetries,omitempty"`// RetryConditions: - 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 unavailableRetryConditions []string `json:"retryConditions,omitempty"`// ForceSendFields is a list of field names (e.g. "NumRetries") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NumRetries") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GrpcRouteRetryPolicy: The specifications for retries. Specifies one or moreconditions for which this retry rule applies. Valid values are:
func (GrpcRouteRetryPolicy)MarshalJSON¶added inv0.74.0
func (sGrpcRouteRetryPolicy) MarshalJSON() ([]byte,error)
typeGrpcRouteRouteAction¶added inv0.74.0
type GrpcRouteRouteAction struct {// Destinations: 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 []*GrpcRouteDestination `json:"destinations,omitempty"`// FaultInjectionPolicy: 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_policyFaultInjectionPolicy *GrpcRouteFaultInjectionPolicy `json:"faultInjectionPolicy,omitempty"`// IdleTimeout: 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.IdleTimeoutstring `json:"idleTimeout,omitempty"`// RetryPolicy: Optional. Specifies the retry policy associated with this// route.RetryPolicy *GrpcRouteRetryPolicy `json:"retryPolicy,omitempty"`// StatefulSessionAffinity: Optional. Specifies cookie-based stateful session// affinity.StatefulSessionAffinity *GrpcRouteStatefulSessionAffinityPolicy `json:"statefulSessionAffinity,omitempty"`// Timeout: 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.Timeoutstring `json:"timeout,omitempty"`// ForceSendFields is a list of field names (e.g. "Destinations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Destinations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GrpcRouteRouteAction: Specifies how to route matched traffic.
func (GrpcRouteRouteAction)MarshalJSON¶added inv0.74.0
func (sGrpcRouteRouteAction) MarshalJSON() ([]byte,error)
typeGrpcRouteRouteMatch¶added inv0.74.0
type GrpcRouteRouteMatch struct {// Headers: Optional. Specifies a collection of headers to match.Headers []*GrpcRouteHeaderMatch `json:"headers,omitempty"`// Method: Optional. A gRPC method to match against. If this field is empty or// omitted, will match all methods.Method *GrpcRouteMethodMatch `json:"method,omitempty"`// ForceSendFields is a list of field names (e.g. "Headers") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Headers") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GrpcRouteRouteMatch: Criteria for matching traffic. A RouteMatch will beconsidered to match when all supplied fields match.
func (GrpcRouteRouteMatch)MarshalJSON¶added inv0.74.0
func (sGrpcRouteRouteMatch) MarshalJSON() ([]byte,error)
typeGrpcRouteRouteRule¶added inv0.74.0
type GrpcRouteRouteRule struct {// Action: Required. A detailed rule defining how to route traffic. This field// is required.Action *GrpcRouteRouteAction `json:"action,omitempty"`// Matches: 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 []*GrpcRouteRouteMatch `json:"matches,omitempty"`// ForceSendFields is a list of field names (e.g. "Action") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Action") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GrpcRouteRouteRule: Describes how to route traffic.
func (GrpcRouteRouteRule)MarshalJSON¶added inv0.74.0
func (sGrpcRouteRouteRule) MarshalJSON() ([]byte,error)
typeGrpcRouteStatefulSessionAffinityPolicy¶added inv0.144.0
type GrpcRouteStatefulSessionAffinityPolicy struct {// CookieTtl: 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.CookieTtlstring `json:"cookieTtl,omitempty"`// ForceSendFields is a list of field names (e.g. "CookieTtl") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CookieTtl") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GrpcRouteStatefulSessionAffinityPolicy: The specification for cookie-basedstateful session affinity where the date plane supplies a “sessioncookie” with the name "GSSA" which encodes a specific destination host andeach request containing that cookie will be directed to that host as long asthe destination host remains up and healthy. The gRPC proxyless mesh libraryor sidecar proxy will manage the session cookie but the client applicationcode is responsible for copying the cookie from each RPC in the session tothe next.
func (GrpcRouteStatefulSessionAffinityPolicy)MarshalJSON¶added inv0.144.0
func (sGrpcRouteStatefulSessionAffinityPolicy) MarshalJSON() ([]byte,error)
typeHttpRoute¶added inv0.74.0
type HttpRoute struct {// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A free-text description of the resource. Max length// 1024 characters.Descriptionstring `json:"description,omitempty"`// Gateways: Optional. Gateways defines a list of gateways this HttpRoute is// attached to, as one of the routing rules to route the requests served by the// gateway. Each gateway reference should match the pattern:// `projects/*/locations/*/gateways/`Gateways []string `json:"gateways,omitempty"`// Hostnames: 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 `json:"hostnames,omitempty"`// Labels: Optional. Set of label tags associated with the HttpRoute resource.Labels map[string]string `json:"labels,omitempty"`// Meshes: 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/*/meshes/` The attached Mesh should be of a type// SIDECARMeshes []string `json:"meshes,omitempty"`// Name: Identifier. Name of the HttpRoute resource. It matches pattern// `projects/*/locations/*/httpRoutes/http_route_name>`.Namestring `json:"name,omitempty"`// Rules: Required. Rules that define how traffic is routed and handled. Rules// will be matched sequentially based on the RouteMatch specified for the rule.Rules []*HttpRouteRouteRule `json:"rules,omitempty"`// SelfLink: Output only. Server-defined URL of this resourceSelfLinkstring `json:"selfLink,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRoute: HttpRoute is the resource defining how HTTP traffic should berouted by a Mesh or Gateway resource.
func (HttpRoute)MarshalJSON¶added inv0.74.0
typeHttpRouteCorsPolicy¶added inv0.74.0
type HttpRouteCorsPolicy struct {// AllowCredentials: 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.AllowCredentialsbool `json:"allowCredentials,omitempty"`// AllowHeaders: Specifies the content for Access-Control-Allow-Headers header.AllowHeaders []string `json:"allowHeaders,omitempty"`// AllowMethods: Specifies the content for Access-Control-Allow-Methods header.AllowMethods []string `json:"allowMethods,omitempty"`// AllowOriginRegexes: Specifies the regular expression patterns that match// allowed origins. For regular expression grammar, please see//https://github.com/google/re2/wiki/Syntax.AllowOriginRegexes []string `json:"allowOriginRegexes,omitempty"`// AllowOrigins: 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 `json:"allowOrigins,omitempty"`// Disabled: If true, the CORS policy is disabled. The default value is false,// which indicates that the CORS policy is in effect.Disabledbool `json:"disabled,omitempty"`// ExposeHeaders: Specifies the content for Access-Control-Expose-Headers// header.ExposeHeaders []string `json:"exposeHeaders,omitempty"`// MaxAge: Specifies how long result of a preflight request can be cached in// seconds. This translates to the Access-Control-Max-Age header.MaxAgestring `json:"maxAge,omitempty"`// ForceSendFields is a list of field names (e.g. "AllowCredentials") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllowCredentials") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteCorsPolicy: The Specification for allowing client side cross-originrequests.
func (HttpRouteCorsPolicy)MarshalJSON¶added inv0.74.0
func (sHttpRouteCorsPolicy) MarshalJSON() ([]byte,error)
typeHttpRouteDestination¶added inv0.74.0
type HttpRouteDestination struct {// RequestHeaderModifier: 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 *HttpRouteHeaderModifier `json:"requestHeaderModifier,omitempty"`// ResponseHeaderModifier: 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 *HttpRouteHeaderModifier `json:"responseHeaderModifier,omitempty"`// ServiceName: The URL of a BackendService to route traffic to.ServiceNamestring `json:"serviceName,omitempty"`// Weight: 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.Weightint64 `json:"weight,omitempty"`// ForceSendFields is a list of field names (e.g. "RequestHeaderModifier") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RequestHeaderModifier") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteDestination: Specifications of a destination to which the requestshould be routed to.
func (HttpRouteDestination)MarshalJSON¶added inv0.74.0
func (sHttpRouteDestination) MarshalJSON() ([]byte,error)
typeHttpRouteFaultInjectionPolicy¶added inv0.74.0
type HttpRouteFaultInjectionPolicy struct {// Abort: The specification for aborting to client requests.Abort *HttpRouteFaultInjectionPolicyAbort `json:"abort,omitempty"`// Delay: The specification for injecting delay to client requests.Delay *HttpRouteFaultInjectionPolicyDelay `json:"delay,omitempty"`// ForceSendFields is a list of field names (e.g. "Abort") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Abort") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteFaultInjectionPolicy: The specification for fault injectionintroduced into traffic to test the resiliency of clients to destinationservice failure. As part of fault injection, when clients send requests to adestination, delays can be introduced by client proxy on a percentage ofrequests before sending those requests to the destination service. Similarlyrequests can be aborted by client proxy for a percentage of requests.
func (HttpRouteFaultInjectionPolicy)MarshalJSON¶added inv0.74.0
func (sHttpRouteFaultInjectionPolicy) MarshalJSON() ([]byte,error)
typeHttpRouteFaultInjectionPolicyAbort¶added inv0.74.0
type HttpRouteFaultInjectionPolicyAbort struct {// HttpStatus: The HTTP status code used to abort the request. The value must// be between 200 and 599 inclusive.HttpStatusint64 `json:"httpStatus,omitempty"`// Percentage: The percentage of traffic which will be aborted. The value must// be between [0, 100]Percentageint64 `json:"percentage,omitempty"`// ForceSendFields is a list of field names (e.g. "HttpStatus") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "HttpStatus") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteFaultInjectionPolicyAbort: Specification of how client requests areaborted as part of fault injection before being sent to a destination.
func (HttpRouteFaultInjectionPolicyAbort)MarshalJSON¶added inv0.74.0
func (sHttpRouteFaultInjectionPolicyAbort) MarshalJSON() ([]byte,error)
typeHttpRouteFaultInjectionPolicyDelay¶added inv0.74.0
type HttpRouteFaultInjectionPolicyDelay struct {// FixedDelay: Specify a fixed delay before forwarding the request.FixedDelaystring `json:"fixedDelay,omitempty"`// Percentage: The percentage of traffic on which delay will be injected. The// value must be between [0, 100]Percentageint64 `json:"percentage,omitempty"`// ForceSendFields is a list of field names (e.g. "FixedDelay") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FixedDelay") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteFaultInjectionPolicyDelay: Specification of how client requests aredelayed as part of fault injection before being sent to a destination.
func (HttpRouteFaultInjectionPolicyDelay)MarshalJSON¶added inv0.74.0
func (sHttpRouteFaultInjectionPolicyDelay) MarshalJSON() ([]byte,error)
typeHttpRouteHeaderMatch¶added inv0.74.0
type HttpRouteHeaderMatch struct {// ExactMatch: The value of the header should match exactly the content of// exact_match.ExactMatchstring `json:"exactMatch,omitempty"`// Header: The name of the HTTP header to match against.Headerstring `json:"header,omitempty"`// InvertMatch: If specified, the match result will be inverted before// checking. Default value is set to false.InvertMatchbool `json:"invertMatch,omitempty"`// PrefixMatch: The value of the header must start with the contents of// prefix_match.PrefixMatchstring `json:"prefixMatch,omitempty"`// PresentMatch: A header with header_name must exist. The match takes place// whether or not the header has a value.PresentMatchbool `json:"presentMatch,omitempty"`// RangeMatch: If specified, the rule will match if the request header value is// within the range.RangeMatch *HttpRouteHeaderMatchIntegerRange `json:"rangeMatch,omitempty"`// RegexMatch: 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/SyntaxRegexMatchstring `json:"regexMatch,omitempty"`// SuffixMatch: The value of the header must end with the contents of// suffix_match.SuffixMatchstring `json:"suffixMatch,omitempty"`// ForceSendFields is a list of field names (e.g. "ExactMatch") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ExactMatch") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteHeaderMatch: Specifies how to select a route rule based on HTTPrequest headers.
func (HttpRouteHeaderMatch)MarshalJSON¶added inv0.74.0
func (sHttpRouteHeaderMatch) MarshalJSON() ([]byte,error)
typeHttpRouteHeaderMatchIntegerRange¶added inv0.74.0
type HttpRouteHeaderMatchIntegerRange struct {// End: End of the range (exclusive)Endint64 `json:"end,omitempty"`// Start: Start of the range (inclusive)Startint64 `json:"start,omitempty"`// ForceSendFields is a list of field names (e.g. "End") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "End") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteHeaderMatchIntegerRange: Represents an integer value range.
func (HttpRouteHeaderMatchIntegerRange)MarshalJSON¶added inv0.74.0
func (sHttpRouteHeaderMatchIntegerRange) MarshalJSON() ([]byte,error)
typeHttpRouteHeaderModifier¶added inv0.74.0
type HttpRouteHeaderModifier struct {// Add: 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 `json:"add,omitempty"`// Remove: Remove headers (matching by header names) specified in the list.Remove []string `json:"remove,omitempty"`// Set: 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 `json:"set,omitempty"`// ForceSendFields is a list of field names (e.g. "Add") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Add") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteHeaderModifier: The specification for modifying HTTP header in HTTPrequest and HTTP response.
func (HttpRouteHeaderModifier)MarshalJSON¶added inv0.74.0
func (sHttpRouteHeaderModifier) MarshalJSON() ([]byte,error)
typeHttpRouteHttpDirectResponse¶added inv0.155.0
type HttpRouteHttpDirectResponse struct {// BytesBody: Optional. Response body as bytes. Maximum body size is 4096B.BytesBodystring `json:"bytesBody,omitempty"`// Status: Required. Status to return as part of HTTP Response. Must be a// positive integer.Statusint64 `json:"status,omitempty"`// StringBody: Optional. Response body as a string. Maximum body length is 1024// characters.StringBodystring `json:"stringBody,omitempty"`// ForceSendFields is a list of field names (e.g. "BytesBody") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BytesBody") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteHttpDirectResponse: Static HTTP response object to be returned.
func (HttpRouteHttpDirectResponse)MarshalJSON¶added inv0.155.0
func (sHttpRouteHttpDirectResponse) MarshalJSON() ([]byte,error)
typeHttpRouteQueryParameterMatch¶added inv0.74.0
type HttpRouteQueryParameterMatch struct {// ExactMatch: 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.ExactMatchstring `json:"exactMatch,omitempty"`// PresentMatch: 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.PresentMatchbool `json:"presentMatch,omitempty"`// QueryParameter: The name of the query parameter to match.QueryParameterstring `json:"queryParameter,omitempty"`// RegexMatch: The value of the query parameter must match the regular// expression specified by regex_match. For regular expression grammar, please// seehttps://github.com/google/re2/wiki/Syntax Only one of exact_match,// regex_match, or present_match must be set.RegexMatchstring `json:"regexMatch,omitempty"`// ForceSendFields is a list of field names (e.g. "ExactMatch") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ExactMatch") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteQueryParameterMatch: Specifications to match a query parameter inthe request.
func (HttpRouteQueryParameterMatch)MarshalJSON¶added inv0.74.0
func (sHttpRouteQueryParameterMatch) MarshalJSON() ([]byte,error)
typeHttpRouteRedirect¶added inv0.74.0
type HttpRouteRedirect struct {// HostRedirect: The host that will be used in the redirect response instead of// the one that was supplied in the request.HostRedirectstring `json:"hostRedirect,omitempty"`// HttpsRedirect: 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.HttpsRedirectbool `json:"httpsRedirect,omitempty"`// PathRedirect: 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.PathRedirectstring `json:"pathRedirect,omitempty"`// PortRedirect: The port that will be used in the redirected request instead// of the one that was supplied in the request.PortRedirectint64 `json:"portRedirect,omitempty"`// PrefixRewrite: 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.PrefixRewritestring `json:"prefixRewrite,omitempty"`// ResponseCode: The HTTP Status code to use for the redirect.//// Possible values:// "RESPONSE_CODE_UNSPECIFIED" - Default value// "MOVED_PERMANENTLY_DEFAULT" - Corresponds to 301.// "FOUND" - Corresponds to 302.// "SEE_OTHER" - Corresponds to 303.// "TEMPORARY_REDIRECT" - Corresponds to 307. In this case, the request// method will be retained.// "PERMANENT_REDIRECT" - Corresponds to 308. In this case, the request// method will be retained.ResponseCodestring `json:"responseCode,omitempty"`// StripQuery: 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.StripQuerybool `json:"stripQuery,omitempty"`// ForceSendFields is a list of field names (e.g. "HostRedirect") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "HostRedirect") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteRedirect: The specification for redirecting traffic.
func (HttpRouteRedirect)MarshalJSON¶added inv0.74.0
func (sHttpRouteRedirect) MarshalJSON() ([]byte,error)
typeHttpRouteRequestMirrorPolicy¶added inv0.74.0
type HttpRouteRequestMirrorPolicy struct {// Destination: The destination the requests will be mirrored to. The weight of// the destination will be ignored.Destination *HttpRouteDestination `json:"destination,omitempty"`// MirrorPercent: Optional. The percentage of requests to get mirrored to the// desired destination.MirrorPercentfloat64 `json:"mirrorPercent,omitempty"`// ForceSendFields is a list of field names (e.g. "Destination") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Destination") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteRequestMirrorPolicy: Specifies the policy on how requests areshadowed to a separate mirrored destination service. The proxy does not waitfor responses from the shadow service. Prior to sending traffic to theshadow service, the host/authority header is suffixed with -shadow.Mirroring is currently not supported for Cloud Run destinations.
func (HttpRouteRequestMirrorPolicy)MarshalJSON¶added inv0.74.0
func (sHttpRouteRequestMirrorPolicy) MarshalJSON() ([]byte,error)
func (*HttpRouteRequestMirrorPolicy)UnmarshalJSON¶added inv0.155.0
func (s *HttpRouteRequestMirrorPolicy) UnmarshalJSON(data []byte)error
typeHttpRouteRetryPolicy¶added inv0.74.0
type HttpRouteRetryPolicy struct {// NumRetries: Specifies the allowed number of retries. This number must be >// 0. If not specified, default to 1.NumRetriesint64 `json:"numRetries,omitempty"`// PerTryTimeout: Specifies a non-zero timeout per retry attempt.PerTryTimeoutstring `json:"perTryTimeout,omitempty"`// RetryConditions: 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 `json:"retryConditions,omitempty"`// ForceSendFields is a list of field names (e.g. "NumRetries") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NumRetries") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteRetryPolicy: The specifications for retries.
func (HttpRouteRetryPolicy)MarshalJSON¶added inv0.74.0
func (sHttpRouteRetryPolicy) MarshalJSON() ([]byte,error)
typeHttpRouteRouteAction¶added inv0.74.0
type HttpRouteRouteAction struct {// CorsPolicy: The specification for allowing client side cross-origin// requests.CorsPolicy *HttpRouteCorsPolicy `json:"corsPolicy,omitempty"`// Destinations: The destination to which traffic should be forwarded.Destinations []*HttpRouteDestination `json:"destinations,omitempty"`// DirectResponse: Optional. Static HTTP Response object to be returned// regardless of the request.DirectResponse *HttpRouteHttpDirectResponse `json:"directResponse,omitempty"`// FaultInjectionPolicy: 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_policyFaultInjectionPolicy *HttpRouteFaultInjectionPolicy `json:"faultInjectionPolicy,omitempty"`// IdleTimeout: 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.IdleTimeoutstring `json:"idleTimeout,omitempty"`// Redirect: If set, the request is directed as configured by this field.Redirect *HttpRouteRedirect `json:"redirect,omitempty"`// RequestHeaderModifier: 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 *HttpRouteHeaderModifier `json:"requestHeaderModifier,omitempty"`// RequestMirrorPolicy: 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 *HttpRouteRequestMirrorPolicy `json:"requestMirrorPolicy,omitempty"`// ResponseHeaderModifier: 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 *HttpRouteHeaderModifier `json:"responseHeaderModifier,omitempty"`// RetryPolicy: Specifies the retry policy associated with this route.RetryPolicy *HttpRouteRetryPolicy `json:"retryPolicy,omitempty"`// StatefulSessionAffinity: Optional. Specifies cookie-based stateful session// affinity.StatefulSessionAffinity *HttpRouteStatefulSessionAffinityPolicy `json:"statefulSessionAffinity,omitempty"`// Timeout: 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.Timeoutstring `json:"timeout,omitempty"`// UrlRewrite: The specification for rewrite URL before forwarding requests to// the destination.UrlRewrite *HttpRouteURLRewrite `json:"urlRewrite,omitempty"`// ForceSendFields is a list of field names (e.g. "CorsPolicy") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CorsPolicy") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteRouteAction: The specifications for routing traffic and applyingassociated policies.
func (HttpRouteRouteAction)MarshalJSON¶added inv0.74.0
func (sHttpRouteRouteAction) MarshalJSON() ([]byte,error)
typeHttpRouteRouteMatch¶added inv0.74.0
type HttpRouteRouteMatch struct {// FullPathMatch: The HTTP request path value should exactly match this value.// Only one of full_path_match, prefix_match, or regex_match should be used.FullPathMatchstring `json:"fullPathMatch,omitempty"`// Headers: Specifies a list of HTTP request headers to match against. ALL of// the supplied headers must be matched.Headers []*HttpRouteHeaderMatch `json:"headers,omitempty"`// IgnoreCase: Specifies if prefix_match and full_path_match matches are case// sensitive. The default value is false.IgnoreCasebool `json:"ignoreCase,omitempty"`// PrefixMatch: 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.PrefixMatchstring `json:"prefixMatch,omitempty"`// QueryParameters: Specifies a list of query parameters to match against. ALL// of the query parameters must be matched.QueryParameters []*HttpRouteQueryParameterMatch `json:"queryParameters,omitempty"`// RegexMatch: 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.RegexMatchstring `json:"regexMatch,omitempty"`// ForceSendFields is a list of field names (e.g. "FullPathMatch") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FullPathMatch") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteRouteMatch: RouteMatch defines specifications used to matchrequests. If multiple match types are set, this RouteMatch will match if ALLtype of matches are matched.
func (HttpRouteRouteMatch)MarshalJSON¶added inv0.74.0
func (sHttpRouteRouteMatch) MarshalJSON() ([]byte,error)
typeHttpRouteRouteRule¶added inv0.74.0
type HttpRouteRouteRule struct {// Action: The detailed rule defining how to route matched traffic.Action *HttpRouteRouteAction `json:"action,omitempty"`// Matches: 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 []*HttpRouteRouteMatch `json:"matches,omitempty"`// ForceSendFields is a list of field names (e.g. "Action") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Action") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteRouteRule: Specifies how to match traffic and how to route trafficwhen traffic is matched.
func (HttpRouteRouteRule)MarshalJSON¶added inv0.74.0
func (sHttpRouteRouteRule) MarshalJSON() ([]byte,error)
typeHttpRouteStatefulSessionAffinityPolicy¶added inv0.144.0
type HttpRouteStatefulSessionAffinityPolicy struct {// CookieTtl: 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.CookieTtlstring `json:"cookieTtl,omitempty"`// ForceSendFields is a list of field names (e.g. "CookieTtl") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CookieTtl") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteStatefulSessionAffinityPolicy: The specification for cookie-basedstateful session affinity where the date plane supplies a “sessioncookie” with the name "GSSA" which encodes a specific destination host andeach request containing that cookie will be directed to that host as long asthe destination host remains up and healthy. The gRPC proxyless mesh libraryor sidecar proxy will manage the session cookie but the client applicationcode is responsible for copying the cookie from each RPC in the session tothe next.
func (HttpRouteStatefulSessionAffinityPolicy)MarshalJSON¶added inv0.144.0
func (sHttpRouteStatefulSessionAffinityPolicy) MarshalJSON() ([]byte,error)
typeHttpRouteURLRewrite¶added inv0.74.0
type HttpRouteURLRewrite struct {// HostRewrite: Prior to forwarding the request to the selected destination,// the requests host header is replaced by this value.HostRewritestring `json:"hostRewrite,omitempty"`// PathPrefixRewrite: Prior to forwarding the request to the selected// destination, the matching portion of the requests path is replaced by this// value.PathPrefixRewritestring `json:"pathPrefixRewrite,omitempty"`// ForceSendFields is a list of field names (e.g. "HostRewrite") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "HostRewrite") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HttpRouteURLRewrite: The specification for modifying the URL of the request,prior to forwarding the request to the destination.
func (HttpRouteURLRewrite)MarshalJSON¶added inv0.74.0
func (sHttpRouteURLRewrite) MarshalJSON() ([]byte,error)
typeLbEdgeExtension¶added inv0.230.0
type LbEdgeExtension struct {// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A human-readable description of the resource.Descriptionstring `json:"description,omitempty"`// ExtensionChains: 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 `json:"extensionChains,omitempty"`// ForwardingRules: 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 `json:"forwardingRules,omitempty"`// Labels: 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 `json:"labels,omitempty"`// LoadBalancingScheme: Required. All forwarding rules referenced by this// extension must share the same load balancing scheme. Supported values:// `EXTERNAL_MANAGED`.//// Possible values:// "LOAD_BALANCING_SCHEME_UNSPECIFIED" - Default value. Do not use.// "INTERNAL_MANAGED" - Signifies that this is used for Internal HTTP(S) Load// Balancing.// "EXTERNAL_MANAGED" - Signifies that this is used for External Managed// HTTP(S) Load Balancing.LoadBalancingSchemestring `json:"loadBalancingScheme,omitempty"`// Name: Required. Identifier. Name of the `LbEdgeExtension` resource in the// following format:// `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}// `.Namestring `json:"name,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}LbEdgeExtension: `LbEdgeExtension` is a resource that lets the extensionservice influence the selection of backend services and Cloud CDN cache keysby modifying request headers.
func (LbEdgeExtension)MarshalJSON¶added inv0.230.0
func (sLbEdgeExtension) MarshalJSON() ([]byte,error)
typeLbRouteExtension¶added inv0.144.0
type LbRouteExtension struct {// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A human-readable description of the resource.Descriptionstring `json:"description,omitempty"`// ExtensionChains: 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 `json:"extensionChains,omitempty"`// ForwardingRules: 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 `json:"forwardingRules,omitempty"`// Labels: 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 `json:"labels,omitempty"`// LoadBalancingScheme: 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).//// Possible values:// "LOAD_BALANCING_SCHEME_UNSPECIFIED" - Default value. Do not use.// "INTERNAL_MANAGED" - Signifies that this is used for Internal HTTP(S) Load// Balancing.// "EXTERNAL_MANAGED" - Signifies that this is used for External Managed// HTTP(S) Load Balancing.LoadBalancingSchemestring `json:"loadBalancingScheme,omitempty"`// Metadata: 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.`. The// following variables are supported in the metadata: `{forwarding_rule_id}` -// substituted with the forwarding rule's fully qualified resource name. This// field must not be set if at least one of the extension chains contains// plugin extensions. Setting it results in a validation error. You can set// metadata at either the resource level or the extension level. The extension// level metadata is recommended because you can pass a different set of// metadata through each extension to the backend.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Required. Identifier. Name of the `LbRouteExtension` resource in the// following format:// `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extensio// n}`.Namestring `json:"name,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}LbRouteExtension: `LbRouteExtension` is a resource that lets you controlwhere traffic is routed to for a given request.
func (LbRouteExtension)MarshalJSON¶added inv0.144.0
func (sLbRouteExtension) MarshalJSON() ([]byte,error)
typeLbTcpExtension¶added inv0.247.0
type LbTcpExtension struct {// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A human-readable description of the resource.Descriptionstring `json:"description,omitempty"`// ExtensionChains: 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 `json:"extensionChains,omitempty"`// Labels: Optional. Set of labels associated with the `LbTcpExtension`// resource. The format must comply with the requirements for labels// (/compute/docs/labeling-resources#requirements) for Google Cloud resources.Labels map[string]string `json:"labels,omitempty"`// LoadBalancingScheme: Required. All backend services and forwarding rules// referenced by this extension must share the same load balancing scheme.// Supported values: `INTERNAL_MANAGED`. For more information, refer to Backend// services overview// (https://cloud.google.com/load-balancing/docs/backend-service).//// Possible values:// "LOAD_BALANCING_SCHEME_UNSPECIFIED" - Default value. Do not use.// "INTERNAL_MANAGED" - Signifies that this is used for Internal HTTP(S) Load// Balancing.// "EXTERNAL_MANAGED" - Signifies that this is used for External Managed// HTTP(S) Load Balancing.LoadBalancingSchemestring `json:"loadBalancingScheme,omitempty"`// Name: Required. Identifier. Name of the `LbTcpExtension` resource in the// following format:// `projects/{project}/locations/{location}/LbTcpExtension/{lb_tcp_extension}`Namestring `json:"name,omitempty"`// Networks: Optional. If set, this `LbTcpExtension` resource applies to all// `ForwardingRule` resources in these VPC networks. Values should be relative// resource names identifying VPC networks, for example// `projects/*/global/networks/network-1`. Currently limited to 1 network per// resource. Limited to 1 network per resource.Networks []string `json:"networks,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}LbTcpExtension: `LbTcpExtension` is a resource that allows trafficforwarding to different backend services to make allow/deny decisions on TCPconnections for all L7 Load Balancers within a network. Currently onlyinternal load-balancers are supported.
func (LbTcpExtension)MarshalJSON¶added inv0.247.0
func (sLbTcpExtension) MarshalJSON() ([]byte,error)
typeLbTrafficExtension¶added inv0.144.0
type LbTrafficExtension struct {// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A human-readable description of the resource.Descriptionstring `json:"description,omitempty"`// ExtensionChains: 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 `json:"extensionChains,omitempty"`// ForwardingRules: 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 `json:"forwardingRules,omitempty"`// Labels: 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 `json:"labels,omitempty"`// LoadBalancingScheme: 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).//// Possible values:// "LOAD_BALANCING_SCHEME_UNSPECIFIED" - Default value. Do not use.// "INTERNAL_MANAGED" - Signifies that this is used for Internal HTTP(S) Load// Balancing.// "EXTERNAL_MANAGED" - Signifies that this is used for External Managed// HTTP(S) Load Balancing.LoadBalancingSchemestring `json:"loadBalancingScheme,omitempty"`// Metadata: 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.`. The// following variables are supported in the metadata: `{forwarding_rule_id}` -// substituted with the forwarding rule's fully qualified resource name. This// field must not be set if at least one of the extension chains contains// plugin extensions. Setting it results in a validation error. You can set// metadata at either the resource level or the extension level. The extension// level metadata is recommended because you can pass a different set of// metadata through each extension to the backend.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Required. Identifier. Name of the `LbTrafficExtension` resource in the// following format:// `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_exte// nsion}`.Namestring `json:"name,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}LbTrafficExtension: `LbTrafficExtension` is a resource that lets theextension service modify the headers and payloads of both requests andresponses without impacting the choice of backend services or any othersecurity policies associated with the backend service.
func (LbTrafficExtension)MarshalJSON¶added inv0.144.0
func (sLbTrafficExtension) MarshalJSON() ([]byte,error)
typeListAuthzExtensionsResponse¶added inv0.190.0
type ListAuthzExtensionsResponse struct {// AuthzExtensions: The list of `AuthzExtension` resources.AuthzExtensions []*AuthzExtension `json:"authzExtensions,omitempty"`// NextPageToken: A token identifying a page of results that the server// returns.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AuthzExtensions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AuthzExtensions") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListAuthzExtensionsResponse: Message for response to listing`AuthzExtension` resources.
func (ListAuthzExtensionsResponse)MarshalJSON¶added inv0.190.0
func (sListAuthzExtensionsResponse) MarshalJSON() ([]byte,error)
typeListEndpointPoliciesResponse¶
type ListEndpointPoliciesResponse struct {// EndpointPolicies: List of EndpointPolicy resources.EndpointPolicies []*EndpointPolicy `json:"endpointPolicies,omitempty"`// NextPageToken: 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`.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: 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 `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "EndpointPolicies") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EndpointPolicies") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListEndpointPoliciesResponse: Response returned by the ListEndpointPoliciesmethod.
func (ListEndpointPoliciesResponse)MarshalJSON¶
func (sListEndpointPoliciesResponse) MarshalJSON() ([]byte,error)
typeListGatewayRouteViewsResponse¶added inv0.207.0
type ListGatewayRouteViewsResponse struct {// GatewayRouteViews: List of GatewayRouteView resources.GatewayRouteViews []*GatewayRouteView `json:"gatewayRouteViews,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Unreachable resources. Populated when the request attempts to// list all resources across all supported locations, while some locations are// temporarily unavailable.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "GatewayRouteViews") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "GatewayRouteViews") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListGatewayRouteViewsResponse: Response returned by theListGatewayRouteViews method.
func (ListGatewayRouteViewsResponse)MarshalJSON¶added inv0.207.0
func (sListGatewayRouteViewsResponse) MarshalJSON() ([]byte,error)
typeListGatewaysResponse¶added inv0.74.0
type ListGatewaysResponse struct {// Gateways: List of Gateway resources.Gateways []*Gateway `json:"gateways,omitempty"`// NextPageToken: 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`.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Gateways") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Gateways") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListGatewaysResponse: Response returned by the ListGateways method.
func (ListGatewaysResponse)MarshalJSON¶added inv0.74.0
func (sListGatewaysResponse) MarshalJSON() ([]byte,error)
typeListGrpcRoutesResponse¶added inv0.74.0
type ListGrpcRoutesResponse struct {// GrpcRoutes: List of GrpcRoute resources.GrpcRoutes []*GrpcRoute `json:"grpcRoutes,omitempty"`// NextPageToken: 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`.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: 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 `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "GrpcRoutes") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "GrpcRoutes") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListGrpcRoutesResponse: Response returned by the ListGrpcRoutes method.
func (ListGrpcRoutesResponse)MarshalJSON¶added inv0.74.0
func (sListGrpcRoutesResponse) MarshalJSON() ([]byte,error)
typeListHttpRoutesResponse¶added inv0.74.0
type ListHttpRoutesResponse struct {// HttpRoutes: List of HttpRoute resources.HttpRoutes []*HttpRoute `json:"httpRoutes,omitempty"`// NextPageToken: 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`.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: 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 `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "HttpRoutes") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "HttpRoutes") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListHttpRoutesResponse: Response returned by the ListHttpRoutes method.
func (ListHttpRoutesResponse)MarshalJSON¶added inv0.74.0
func (sListHttpRoutesResponse) MarshalJSON() ([]byte,error)
typeListLbEdgeExtensionsResponse¶added inv0.230.0
type ListLbEdgeExtensionsResponse struct {// LbEdgeExtensions: The list of `LbEdgeExtension` resources.LbEdgeExtensions []*LbEdgeExtension `json:"lbEdgeExtensions,omitempty"`// NextPageToken: A token identifying a page of results that the server// returns.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "LbEdgeExtensions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LbEdgeExtensions") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListLbEdgeExtensionsResponse: Message for response to listing`LbEdgeExtension` resources.
func (ListLbEdgeExtensionsResponse)MarshalJSON¶added inv0.230.0
func (sListLbEdgeExtensionsResponse) MarshalJSON() ([]byte,error)
typeListLbRouteExtensionsResponse¶added inv0.144.0
type ListLbRouteExtensionsResponse struct {// LbRouteExtensions: The list of `LbRouteExtension` resources.LbRouteExtensions []*LbRouteExtension `json:"lbRouteExtensions,omitempty"`// NextPageToken: A token identifying a page of results that the server// returns.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "LbRouteExtensions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LbRouteExtensions") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListLbRouteExtensionsResponse: Message for response to listing`LbRouteExtension` resources.
func (ListLbRouteExtensionsResponse)MarshalJSON¶added inv0.144.0
func (sListLbRouteExtensionsResponse) MarshalJSON() ([]byte,error)
typeListLbTcpExtensionsResponse¶added inv0.247.0
type ListLbTcpExtensionsResponse struct {// LbTcpExtensions: The list of `LbTcpExtension` resources.LbTcpExtensions []*LbTcpExtension `json:"lbTcpExtensions,omitempty"`// NextPageToken: A token identifying a page of results that the server// returns.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "LbTcpExtensions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LbTcpExtensions") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListLbTcpExtensionsResponse: Message for response to listing`LbTcpExtension` resources.
func (ListLbTcpExtensionsResponse)MarshalJSON¶added inv0.247.0
func (sListLbTcpExtensionsResponse) MarshalJSON() ([]byte,error)
typeListLbTrafficExtensionsResponse¶added inv0.144.0
type ListLbTrafficExtensionsResponse struct {// LbTrafficExtensions: The list of `LbTrafficExtension` resources.LbTrafficExtensions []*LbTrafficExtension `json:"lbTrafficExtensions,omitempty"`// NextPageToken: A token identifying a page of results that the server// returns.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "LbTrafficExtensions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LbTrafficExtensions") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListLbTrafficExtensionsResponse: Message for response to listing`LbTrafficExtension` resources.
func (ListLbTrafficExtensionsResponse)MarshalJSON¶added inv0.144.0
func (sListLbTrafficExtensionsResponse) MarshalJSON() ([]byte,error)
typeListLocationsResponse¶
type ListLocationsResponse struct {// Locations: A list of locations that matches the specified filter in the// request.Locations []*Location `json:"locations,omitempty"`// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Locations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Locations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListLocationsResponse: The response message for Locations.ListLocations.
func (ListLocationsResponse)MarshalJSON¶
func (sListLocationsResponse) MarshalJSON() ([]byte,error)
typeListMeshRouteViewsResponse¶added inv0.207.0
type ListMeshRouteViewsResponse struct {// MeshRouteViews: List of MeshRouteView resources.MeshRouteViews []*MeshRouteView `json:"meshRouteViews,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Unreachable resources. Populated when the request attempts to// list all resources across all supported locations, while some locations are// temporarily unavailable.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "MeshRouteViews") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MeshRouteViews") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListMeshRouteViewsResponse: Response returned by the ListMeshRouteViewsmethod.
func (ListMeshRouteViewsResponse)MarshalJSON¶added inv0.207.0
func (sListMeshRouteViewsResponse) MarshalJSON() ([]byte,error)
typeListMeshesResponse¶added inv0.74.0
type ListMeshesResponse struct {// Meshes: List of Mesh resources.Meshes []*Mesh `json:"meshes,omitempty"`// NextPageToken: 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`.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: 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 `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Meshes") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Meshes") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListMeshesResponse: Response returned by the ListMeshes method.
func (ListMeshesResponse)MarshalJSON¶added inv0.74.0
func (sListMeshesResponse) MarshalJSON() ([]byte,error)
typeListOperationsResponse¶
type ListOperationsResponse struct {// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Operations: A list of operations that matches the specified filter in the// request.Operations []*Operation `json:"operations,omitempty"`// Unreachable: Unordered list. Unreachable resources. Populated when the// request sets `ListOperationsRequest.return_partial_success` and reads across// collections e.g. when attempting to list all resources across all supported// locations.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListOperationsResponse: The response message for Operations.ListOperations.
func (ListOperationsResponse)MarshalJSON¶
func (sListOperationsResponse) MarshalJSON() ([]byte,error)
typeListServiceBindingsResponse¶added inv0.65.0
type ListServiceBindingsResponse struct {// NextPageToken: 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`.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServiceBindings: List of ServiceBinding resources.ServiceBindings []*ServiceBinding `json:"serviceBindings,omitempty"`// Unreachable: Unreachable resources. Populated when the request attempts to// list all resources across all supported locations, while some locations are// temporarily unavailable.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListServiceBindingsResponse: Response returned by the ListServiceBindingsmethod.
func (ListServiceBindingsResponse)MarshalJSON¶added inv0.65.0
func (sListServiceBindingsResponse) MarshalJSON() ([]byte,error)
typeListServiceLbPoliciesResponse¶added inv0.129.0
type ListServiceLbPoliciesResponse struct {// NextPageToken: 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`.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServiceLbPolicies: List of ServiceLbPolicy resources.ServiceLbPolicies []*ServiceLbPolicy `json:"serviceLbPolicies,omitempty"`// Unreachable: Unreachable resources. Populated when the request attempts to// list all resources across all supported locations, while some locations are// temporarily unavailable.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListServiceLbPoliciesResponse: Response returned by theListServiceLbPolicies method.
func (ListServiceLbPoliciesResponse)MarshalJSON¶added inv0.129.0
func (sListServiceLbPoliciesResponse) MarshalJSON() ([]byte,error)
typeListTcpRoutesResponse¶added inv0.74.0
type ListTcpRoutesResponse struct {// NextPageToken: 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`.NextPageTokenstring `json:"nextPageToken,omitempty"`// TcpRoutes: List of TcpRoute resources.TcpRoutes []*TcpRoute `json:"tcpRoutes,omitempty"`// Unreachable: 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 `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListTcpRoutesResponse: Response returned by the ListTcpRoutes method.
func (ListTcpRoutesResponse)MarshalJSON¶added inv0.74.0
func (sListTcpRoutesResponse) MarshalJSON() ([]byte,error)
typeListTlsRoutesResponse¶added inv0.74.0
type ListTlsRoutesResponse struct {// NextPageToken: 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`.NextPageTokenstring `json:"nextPageToken,omitempty"`// TlsRoutes: List of TlsRoute resources.TlsRoutes []*TlsRoute `json:"tlsRoutes,omitempty"`// Unreachable: 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 `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListTlsRoutesResponse: Response returned by the ListTlsRoutes method.
func (ListTlsRoutesResponse)MarshalJSON¶added inv0.74.0
func (sListTlsRoutesResponse) MarshalJSON() ([]byte,error)
typeListWasmPluginVersionsResponse¶added inv0.204.0
type ListWasmPluginVersionsResponse struct {// NextPageToken: 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`.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Unreachable resources. Populated when the request attempts to// list all resources across all supported locations, while some locations are// temporarily unavailable.Unreachable []string `json:"unreachable,omitempty"`// WasmPluginVersions: List of `WasmPluginVersion` resources.WasmPluginVersions []*WasmPluginVersion `json:"wasmPluginVersions,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListWasmPluginVersionsResponse: Response returned by the`ListWasmPluginVersions` method.
func (ListWasmPluginVersionsResponse)MarshalJSON¶added inv0.204.0
func (sListWasmPluginVersionsResponse) MarshalJSON() ([]byte,error)
typeListWasmPluginsResponse¶added inv0.204.0
type ListWasmPluginsResponse struct {// NextPageToken: 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`.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Unreachable resources. Populated when the request attempts to// list all resources across all supported locations, while some locations are// temporarily unavailable.Unreachable []string `json:"unreachable,omitempty"`// WasmPlugins: List of `WasmPlugin` resources.WasmPlugins []*WasmPlugin `json:"wasmPlugins,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListWasmPluginsResponse: Response returned by the `ListWasmPlugins` method.
func (ListWasmPluginsResponse)MarshalJSON¶added inv0.204.0
func (sListWasmPluginsResponse) MarshalJSON() ([]byte,error)
typeLocation¶
type Location struct {// DisplayName: The friendly name for this location, typically a nearby city// name. For example, "Tokyo".DisplayNamestring `json:"displayName,omitempty"`// Labels: Cross-service attributes for the location. For example// {"cloud.googleapis.com/region": "us-east1"}Labels map[string]string `json:"labels,omitempty"`// LocationId: The canonical id for this location. For example: "us-east1".LocationIdstring `json:"locationId,omitempty"`// Metadata: Service-specific metadata. For example the available capacity at// the given location.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Resource name for the location, which may vary between// implementations. For example:// "projects/example-project/locations/us-east1"Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Location: A resource that represents a Google Cloud location.
func (Location)MarshalJSON¶
typeLoggingConfig¶added inv0.199.0
type LoggingConfig struct {// LogSeverity: Optional. The minimum severity of logs that will be sent to// Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be// sent, unless it is NONE.//// Possible values:// "LOG_SEVERITY_UNSPECIFIED" - Log severity is not specified. This value is// treated the same as NONE, but is used to distinguish between no update and// update to NONE in update_masks.// "NONE" - Default value at resource creation, presence of this value must// be treated as no logging/disable logging.// "DEBUG" - Debug or trace level logging.// "INFO" - Routine information, such as ongoing status or performance.// "NOTICE" - Normal but significant events, such as start up, shut down, or// a configuration change.// "WARNING" - Warning events might cause problems.// "ERROR" - Error events are likely to cause problems.// "CRITICAL" - Critical events cause more severe problems or outages.// "ALERT" - A person must take action immediately.// "EMERGENCY" - One or more systems are unusable.LogSeveritystring `json:"logSeverity,omitempty"`// ForceSendFields is a list of field names (e.g. "LogSeverity") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LogSeverity") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}LoggingConfig: The configuration for Platform Telemetry logging for EventarcAdvanced resources.
func (LoggingConfig)MarshalJSON¶added inv0.199.0
func (sLoggingConfig) MarshalJSON() ([]byte,error)
typeMesh¶added inv0.74.0
type Mesh struct {// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A free-text description of the resource. Max length// 1024 characters.Descriptionstring `json:"description,omitempty"`// EnvoyHeaders: Optional. Determines if envoy will insert internal debug// headers into upstream requests. Other Envoy headers may still be injected.// By default, envoy will not insert any debug headers.//// Possible values:// "ENVOY_HEADERS_UNSPECIFIED" - Defaults to NONE.// "NONE" - Suppress envoy debug headers.// "DEBUG_HEADERS" - 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-msEnvoyHeadersstring `json:"envoyHeaders,omitempty"`// InterceptionPort: Optional. If set to a valid TCP port (1-65535), instructs// the SIDECAR proxy to listen on the specified port of localhost (127.0.0.1)// address. The SIDECAR proxy will expect all traffic to be redirected to this// port regardless of its actual ip:port destination. If unset, a port '15001'// is used as the interception port. This is applicable only for sidecar proxy// deployments.InterceptionPortint64 `json:"interceptionPort,omitempty"`// Labels: Optional. Set of label tags associated with the Mesh resource.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. Name of the Mesh resource. It matches pattern// `projects/*/locations/*/meshes/`.Namestring `json:"name,omitempty"`// SelfLink: Output only. Server-defined URL of this resourceSelfLinkstring `json:"selfLink,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Mesh: Mesh represents a logical configuration grouping for workload toworkload communication within a service mesh. Routes that point to meshdictate how requests are routed within this logical mesh boundary.
func (Mesh)MarshalJSON¶added inv0.74.0
typeMeshRouteView¶added inv0.207.0
type MeshRouteView struct {// Name: Output only. Identifier. Full path name of the MeshRouteView resource.// Format:// projects/{project_number}/locations/{location}/meshes/{mesh}/routeViews/{rout// e_view}Namestring `json:"name,omitempty"`// RouteId: Output only. The resource id for the route.RouteIdstring `json:"routeId,omitempty"`// RouteLocation: Output only. Location where the route exists.RouteLocationstring `json:"routeLocation,omitempty"`// RouteProjectNumber: Output only. Project number where the route exists.RouteProjectNumberint64 `json:"routeProjectNumber,omitempty,string"`// RouteType: Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or// TlsRouteRouteTypestring `json:"routeType,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Name") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Name") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}MeshRouteView: MeshRouteView defines view-only resource for Routes to a Mesh
func (MeshRouteView)MarshalJSON¶added inv0.207.0
func (sMeshRouteView) MarshalJSON() ([]byte,error)
typeMetadataLabelMatcher¶
type MetadataLabelMatcher struct {// MetadataLabelMatchCriteria: 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 , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client// with label connects, the config from P1 will be selected. If a client with// label connects, the config from P2 will be selected. If a client with label// connects, the config from P3 will be selected. If there is more than one// best match, (for example, if a config P4 with selector exists and if a// client with label connects), pick up the one with older creation time.//// Possible values:// "METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED" - Default value. Should not be// used.// "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.MetadataLabelMatchCriteriastring `json:"metadataLabelMatchCriteria,omitempty"`// MetadataLabels: The list of label value pairs that must match labels in the// provided metadata based on filterMatchCriteria This list can have at most 64// entries. The list can be empty if the match criteria is MATCH_ANY, to// specify a wildcard match (i.e this matches any client).MetadataLabels []*MetadataLabels `json:"metadataLabels,omitempty"`// ForceSendFields is a list of field names (e.g. "MetadataLabelMatchCriteria")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MetadataLabelMatchCriteria") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}MetadataLabelMatcher: The matcher that is based on node metadata presentedby xDS clients.
func (MetadataLabelMatcher)MarshalJSON¶
func (sMetadataLabelMatcher) MarshalJSON() ([]byte,error)
typeMetadataLabels¶
type MetadataLabels struct {// LabelName: Required. Label name presented as key in xDS Node Metadata.LabelNamestring `json:"labelName,omitempty"`// LabelValue: Required. Label value presented as value corresponding to the// above key, in xDS Node Metadata.LabelValuestring `json:"labelValue,omitempty"`// ForceSendFields is a list of field names (e.g. "LabelName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LabelName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}MetadataLabels: Defines a name-pair value for a single label.
func (MetadataLabels)MarshalJSON¶
func (sMetadataLabels) MarshalJSON() ([]byte,error)
typeOperation¶
type Operation struct {// Done: If the value is `false`, it means the operation is still in progress.// If `true`, the operation is completed, and either `error` or `response` is// available.Donebool `json:"done,omitempty"`// Error: The error result of the operation in case of failure or cancellation.Error *Status `json:"error,omitempty"`// Metadata: Service-specific metadata associated with the operation. It// typically contains progress information and common metadata such as create// time. Some services might not provide such metadata. Any method that returns// a long-running operation should document the metadata type, if any.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: The server-assigned name, which is only unique within the same service// that originally returns it. If you use the default HTTP mapping, the `name`// should be a resource name ending with `operations/{unique_id}`.Namestring `json:"name,omitempty"`// Response: The normal, successful response of the operation. If the original// method returns no data on success, such as `Delete`, the response is// `google.protobuf.Empty`. If the original method is standard// `Get`/`Create`/`Update`, the response should be the resource. For other// methods, the response should have the type `XxxResponse`, where `Xxx` is the// original method name. For example, if the original method name is// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.Responsegoogleapi.RawMessage `json:"response,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Done") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Done") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Operation: This resource represents a long-running operation that is theresult of a network API call.
func (Operation)MarshalJSON¶
typeOperationMetadata¶
type OperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: 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 of// 1, corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}OperationMetadata: Represents the metadata of the long-running operation.
func (OperationMetadata)MarshalJSON¶
func (sOperationMetadata) MarshalJSON() ([]byte,error)
typeProjectsLocationsAuthzExtensionsCreateCall¶added inv0.190.0
type ProjectsLocationsAuthzExtensionsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsAuthzExtensionsCreateCall)AuthzExtensionId¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsCreateCall) AuthzExtensionId(authzExtensionIdstring) *ProjectsLocationsAuthzExtensionsCreateCall
AuthzExtensionId sets the optional parameter "authzExtensionId": Required.User-provided ID of the `AuthzExtension` resource to be created.
func (*ProjectsLocationsAuthzExtensionsCreateCall)Context¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsAuthzExtensionsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsAuthzExtensionsCreateCall)Do¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.authzExtensions.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAuthzExtensionsCreateCall)Fields¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthzExtensionsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsAuthzExtensionsCreateCall)Header¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsAuthzExtensionsCreateCall)RequestId¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsCreateCall) RequestId(requestIdstring) *ProjectsLocationsAuthzExtensionsCreateCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server can ignore the request if it has already beencompleted. The server guarantees that for 60 minutes since the firstrequest. For example, consider a situation where you make an initial requestand the request times out. If you make the request again with the samerequest ID, the server ignores the second request This prevents clients fromaccidentally creating duplicate commitments. The request ID must be a validUUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsAuthzExtensionsDeleteCall¶added inv0.190.0
type ProjectsLocationsAuthzExtensionsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsAuthzExtensionsDeleteCall)Context¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsAuthzExtensionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsAuthzExtensionsDeleteCall)Do¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.authzExtensions.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAuthzExtensionsDeleteCall)Fields¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthzExtensionsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsAuthzExtensionsDeleteCall)Header¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsAuthzExtensionsDeleteCall)RequestId¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsAuthzExtensionsDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server can ignore the request if it has already beencompleted. The server guarantees that for 60 minutes after the firstrequest. For example, consider a situation where you make an initial requestand the request times out. If you make the request again with the samerequest ID, the server ignores the second request This prevents clients fromaccidentally creating duplicate commitments. The request ID must be a validUUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsAuthzExtensionsGetCall¶added inv0.190.0
type ProjectsLocationsAuthzExtensionsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsAuthzExtensionsGetCall)Context¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsGetCall) Context(ctxcontext.Context) *ProjectsLocationsAuthzExtensionsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsAuthzExtensionsGetCall)Do¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsGetCall) Do(opts ...googleapi.CallOption) (*AuthzExtension,error)
Do executes the "networkservices.projects.locations.authzExtensions.get" call.Any non-2xx status code is an error. Response headers are in either*AuthzExtension.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAuthzExtensionsGetCall)Fields¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthzExtensionsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsAuthzExtensionsGetCall)Header¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsAuthzExtensionsGetCall)IfNoneMatch¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsAuthzExtensionsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsAuthzExtensionsListCall¶added inv0.190.0
type ProjectsLocationsAuthzExtensionsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsAuthzExtensionsListCall)Context¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsListCall) Context(ctxcontext.Context) *ProjectsLocationsAuthzExtensionsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsAuthzExtensionsListCall)Do¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListAuthzExtensionsResponse,error)
Do executes the "networkservices.projects.locations.authzExtensions.list" call.Any non-2xx status code is an error. Response headers are in either*ListAuthzExtensionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsAuthzExtensionsListCall)Fields¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthzExtensionsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsAuthzExtensionsListCall)Filter¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsListCall) Filter(filterstring) *ProjectsLocationsAuthzExtensionsListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsAuthzExtensionsListCall)Header¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsAuthzExtensionsListCall)IfNoneMatch¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsAuthzExtensionsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsAuthzExtensionsListCall)OrderBy¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsListCall) OrderBy(orderBystring) *ProjectsLocationsAuthzExtensionsListCall
OrderBy sets the optional parameter "orderBy": Hint about how to order theresults.
func (*ProjectsLocationsAuthzExtensionsListCall)PageSize¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsListCall) PageSize(pageSizeint64) *ProjectsLocationsAuthzExtensionsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Theserver might return fewer items than requested. If unspecified, the serverpicks an appropriate default.
func (*ProjectsLocationsAuthzExtensionsListCall)PageToken¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsListCall) PageToken(pageTokenstring) *ProjectsLocationsAuthzExtensionsListCall
PageToken sets the optional parameter "pageToken": A token identifying apage of results that the server returns.
func (*ProjectsLocationsAuthzExtensionsListCall)Pages¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsListCall) Pages(ctxcontext.Context, f func(*ListAuthzExtensionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsAuthzExtensionsPatchCall¶added inv0.190.0
type ProjectsLocationsAuthzExtensionsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsAuthzExtensionsPatchCall)Context¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsAuthzExtensionsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsAuthzExtensionsPatchCall)Do¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.authzExtensions.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAuthzExtensionsPatchCall)Fields¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthzExtensionsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsAuthzExtensionsPatchCall)Header¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsAuthzExtensionsPatchCall)RequestId¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsPatchCall) RequestId(requestIdstring) *ProjectsLocationsAuthzExtensionsPatchCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server can ignore the request if it has already beencompleted. The server guarantees that for 60 minutes since the firstrequest. For example, consider a situation where you make an initial requestand the request times out. If you make the request again with the samerequest ID, the server ignores the second request This prevents clients fromaccidentally creating duplicate commitments. The request ID must be a validUUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsAuthzExtensionsPatchCall)UpdateMask¶added inv0.190.0
func (c *ProjectsLocationsAuthzExtensionsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsAuthzExtensionsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Used tospecify the fields to be overwritten in the `AuthzExtension` resource by theupdate. The fields specified in the `update_mask` are relative to theresource, 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.
typeProjectsLocationsAuthzExtensionsService¶added inv0.190.0
type ProjectsLocationsAuthzExtensionsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsAuthzExtensionsService¶added inv0.190.0
func NewProjectsLocationsAuthzExtensionsService(s *Service) *ProjectsLocationsAuthzExtensionsService
func (*ProjectsLocationsAuthzExtensionsService)Create¶added inv0.190.0
func (r *ProjectsLocationsAuthzExtensionsService) Create(parentstring, authzextension *AuthzExtension) *ProjectsLocationsAuthzExtensionsCreateCall
Create: Creates a new `AuthzExtension` resource in a given project andlocation.
- parent: The parent resource of the `AuthzExtension` resource. Must be inthe format `projects/{project}/locations/{location}`.
func (*ProjectsLocationsAuthzExtensionsService)Delete¶added inv0.190.0
func (r *ProjectsLocationsAuthzExtensionsService) Delete(namestring) *ProjectsLocationsAuthzExtensionsDeleteCall
Delete: Deletes the specified `AuthzExtension` resource.
- name: The name of the `AuthzExtension` resource to delete. Must be in theformat`projects/{project}/locations/{location}/authzExtensions/{authz_extension}`.
func (*ProjectsLocationsAuthzExtensionsService)Get¶added inv0.190.0
func (r *ProjectsLocationsAuthzExtensionsService) Get(namestring) *ProjectsLocationsAuthzExtensionsGetCall
Get: Gets details of the specified `AuthzExtension` resource.
- name: A name of the `AuthzExtension` resource to get. Must be in theformat`projects/{project}/locations/{location}/authzExtensions/{authz_extension}`.
func (*ProjectsLocationsAuthzExtensionsService)List¶added inv0.190.0
func (r *ProjectsLocationsAuthzExtensionsService) List(parentstring) *ProjectsLocationsAuthzExtensionsListCall
List: Lists `AuthzExtension` resources in a given project and location.
- parent: The project and location from which the `AuthzExtension` resourcesare listed. These values are specified in the following format:`projects/{project}/locations/{location}`.
func (*ProjectsLocationsAuthzExtensionsService)Patch¶added inv0.190.0
func (r *ProjectsLocationsAuthzExtensionsService) Patch(namestring, authzextension *AuthzExtension) *ProjectsLocationsAuthzExtensionsPatchCall
Patch: Updates the parameters of the specified `AuthzExtension` resource.
- name: Identifier. Name of the `AuthzExtension` resource in the followingformat:`projects/{project}/locations/{location}/authzExtensions/{authz_extension}`.
typeProjectsLocationsEndpointPoliciesCreateCall¶
type ProjectsLocationsEndpointPoliciesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsEndpointPoliciesCreateCall)Context¶
func (c *ProjectsLocationsEndpointPoliciesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsEndpointPoliciesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsEndpointPoliciesCreateCall)Do¶
func (c *ProjectsLocationsEndpointPoliciesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.endpointPolicies.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEndpointPoliciesCreateCall)EndpointPolicyId¶
func (c *ProjectsLocationsEndpointPoliciesCreateCall) EndpointPolicyId(endpointPolicyIdstring) *ProjectsLocationsEndpointPoliciesCreateCall
EndpointPolicyId sets the optional parameter "endpointPolicyId": Required.Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".
func (*ProjectsLocationsEndpointPoliciesCreateCall)Fields¶
func (c *ProjectsLocationsEndpointPoliciesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsEndpointPoliciesCreateCall)Header¶
func (c *ProjectsLocationsEndpointPoliciesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsEndpointPoliciesDeleteCall¶
type ProjectsLocationsEndpointPoliciesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsEndpointPoliciesDeleteCall)Context¶
func (c *ProjectsLocationsEndpointPoliciesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsEndpointPoliciesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsEndpointPoliciesDeleteCall)Do¶
func (c *ProjectsLocationsEndpointPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.endpointPolicies.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEndpointPoliciesDeleteCall)Fields¶
func (c *ProjectsLocationsEndpointPoliciesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsEndpointPoliciesDeleteCall)Header¶
func (c *ProjectsLocationsEndpointPoliciesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsEndpointPoliciesGetCall¶
type ProjectsLocationsEndpointPoliciesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsEndpointPoliciesGetCall)Context¶
func (c *ProjectsLocationsEndpointPoliciesGetCall) Context(ctxcontext.Context) *ProjectsLocationsEndpointPoliciesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsEndpointPoliciesGetCall)Do¶
func (c *ProjectsLocationsEndpointPoliciesGetCall) Do(opts ...googleapi.CallOption) (*EndpointPolicy,error)
Do executes the "networkservices.projects.locations.endpointPolicies.get" call.Any non-2xx status code is an error. Response headers are in either*EndpointPolicy.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEndpointPoliciesGetCall)Fields¶
func (c *ProjectsLocationsEndpointPoliciesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsEndpointPoliciesGetCall)Header¶
func (c *ProjectsLocationsEndpointPoliciesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsEndpointPoliciesGetCall)IfNoneMatch¶
func (c *ProjectsLocationsEndpointPoliciesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsEndpointPoliciesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsEndpointPoliciesListCall¶
type ProjectsLocationsEndpointPoliciesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsEndpointPoliciesListCall)Context¶
func (c *ProjectsLocationsEndpointPoliciesListCall) Context(ctxcontext.Context) *ProjectsLocationsEndpointPoliciesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsEndpointPoliciesListCall)Do¶
func (c *ProjectsLocationsEndpointPoliciesListCall) Do(opts ...googleapi.CallOption) (*ListEndpointPoliciesResponse,error)
Do executes the "networkservices.projects.locations.endpointPolicies.list" call.Any non-2xx status code is an error. Response headers are in either*ListEndpointPoliciesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsEndpointPoliciesListCall)Fields¶
func (c *ProjectsLocationsEndpointPoliciesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsEndpointPoliciesListCall)Header¶
func (c *ProjectsLocationsEndpointPoliciesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsEndpointPoliciesListCall)IfNoneMatch¶
func (c *ProjectsLocationsEndpointPoliciesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsEndpointPoliciesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsEndpointPoliciesListCall)PageSize¶
func (c *ProjectsLocationsEndpointPoliciesListCall) PageSize(pageSizeint64) *ProjectsLocationsEndpointPoliciesListCall
PageSize sets the optional parameter "pageSize": Maximum number ofEndpointPolicies to return per call.
func (*ProjectsLocationsEndpointPoliciesListCall)PageToken¶
func (c *ProjectsLocationsEndpointPoliciesListCall) PageToken(pageTokenstring) *ProjectsLocationsEndpointPoliciesListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListEndpointPoliciesResponse` Indicates that this is a continuation ofa prior `ListEndpointPolicies` call, and that the system should return thenext page of data.
func (*ProjectsLocationsEndpointPoliciesListCall)Pages¶
func (c *ProjectsLocationsEndpointPoliciesListCall) Pages(ctxcontext.Context, f func(*ListEndpointPoliciesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsEndpointPoliciesListCall)ReturnPartialSuccess¶added inv0.228.0
func (c *ProjectsLocationsEndpointPoliciesListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsEndpointPoliciesListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess": Iftrue, allow partial responses for multi-regional Aggregated List requests.Otherwise if one of the locations is down or unreachable, the AggregatedList request will fail.
typeProjectsLocationsEndpointPoliciesPatchCall¶
type ProjectsLocationsEndpointPoliciesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsEndpointPoliciesPatchCall)Context¶
func (c *ProjectsLocationsEndpointPoliciesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsEndpointPoliciesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsEndpointPoliciesPatchCall)Do¶
func (c *ProjectsLocationsEndpointPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.endpointPolicies.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEndpointPoliciesPatchCall)Fields¶
func (c *ProjectsLocationsEndpointPoliciesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsEndpointPoliciesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsEndpointPoliciesPatchCall)Header¶
func (c *ProjectsLocationsEndpointPoliciesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsEndpointPoliciesPatchCall)UpdateMask¶
func (c *ProjectsLocationsEndpointPoliciesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsEndpointPoliciesPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the EndpointPolicy resource by theupdate. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsEndpointPoliciesService¶
type ProjectsLocationsEndpointPoliciesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsEndpointPoliciesService¶
func NewProjectsLocationsEndpointPoliciesService(s *Service) *ProjectsLocationsEndpointPoliciesService
func (*ProjectsLocationsEndpointPoliciesService)Create¶
func (r *ProjectsLocationsEndpointPoliciesService) Create(parentstring, endpointpolicy *EndpointPolicy) *ProjectsLocationsEndpointPoliciesCreateCall
Create: Creates a new EndpointPolicy in a given project and location.
- parent: The parent resource of the EndpointPolicy. Must be in the format`projects/*/locations/*`.
func (*ProjectsLocationsEndpointPoliciesService)Delete¶
func (r *ProjectsLocationsEndpointPoliciesService) Delete(namestring) *ProjectsLocationsEndpointPoliciesDeleteCall
Delete: Deletes a single EndpointPolicy.
- name: A name of the EndpointPolicy to delete. Must be in the format`projects/*/locations/*/endpointPolicies/*`.
func (*ProjectsLocationsEndpointPoliciesService)Get¶
func (r *ProjectsLocationsEndpointPoliciesService) Get(namestring) *ProjectsLocationsEndpointPoliciesGetCall
Get: Gets details of a single EndpointPolicy.
- name: A name of the EndpointPolicy to get. Must be in the format`projects/*/locations/*/endpointPolicies/*`.
func (*ProjectsLocationsEndpointPoliciesService)List¶
func (r *ProjectsLocationsEndpointPoliciesService) List(parentstring) *ProjectsLocationsEndpointPoliciesListCall
List: Lists EndpointPolicies in a given project and location.
- parent: The project and location from which the EndpointPolicies should belisted, specified in the format `projects/*/locations/*`.
func (*ProjectsLocationsEndpointPoliciesService)Patch¶
func (r *ProjectsLocationsEndpointPoliciesService) Patch(namestring, endpointpolicy *EndpointPolicy) *ProjectsLocationsEndpointPoliciesPatchCall
Patch: Updates the parameters of a single EndpointPolicy.
- name: Identifier. Name of the EndpointPolicy resource. It matches pattern`projects/{project}/locations/*/endpointPolicies/{endpoint_policy}`.
typeProjectsLocationsGatewaysCreateCall¶added inv0.74.0
type ProjectsLocationsGatewaysCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGatewaysCreateCall)Context¶added inv0.74.0
func (c *ProjectsLocationsGatewaysCreateCall) Context(ctxcontext.Context) *ProjectsLocationsGatewaysCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGatewaysCreateCall)Do¶added inv0.74.0
func (c *ProjectsLocationsGatewaysCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.gateways.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGatewaysCreateCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsGatewaysCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGatewaysCreateCall)GatewayId¶added inv0.74.0
func (c *ProjectsLocationsGatewaysCreateCall) GatewayId(gatewayIdstring) *ProjectsLocationsGatewaysCreateCall
GatewayId sets the optional parameter "gatewayId": Required. Short name ofthe Gateway resource to be created.
func (*ProjectsLocationsGatewaysCreateCall)Header¶added inv0.74.0
func (c *ProjectsLocationsGatewaysCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsGatewaysDeleteCall¶added inv0.74.0
type ProjectsLocationsGatewaysDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGatewaysDeleteCall)Context¶added inv0.74.0
func (c *ProjectsLocationsGatewaysDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsGatewaysDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGatewaysDeleteCall)Do¶added inv0.74.0
func (c *ProjectsLocationsGatewaysDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.gateways.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGatewaysDeleteCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsGatewaysDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGatewaysDeleteCall)Header¶added inv0.74.0
func (c *ProjectsLocationsGatewaysDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsGatewaysGetCall¶added inv0.74.0
type ProjectsLocationsGatewaysGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGatewaysGetCall)Context¶added inv0.74.0
func (c *ProjectsLocationsGatewaysGetCall) Context(ctxcontext.Context) *ProjectsLocationsGatewaysGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGatewaysGetCall)Do¶added inv0.74.0
func (c *ProjectsLocationsGatewaysGetCall) Do(opts ...googleapi.CallOption) (*Gateway,error)
Do executes the "networkservices.projects.locations.gateways.get" call.Any non-2xx status code is an error. Response headers are in either*Gateway.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGatewaysGetCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsGatewaysGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGatewaysGetCall)Header¶added inv0.74.0
func (c *ProjectsLocationsGatewaysGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGatewaysGetCall)IfNoneMatch¶added inv0.74.0
func (c *ProjectsLocationsGatewaysGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGatewaysGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsGatewaysListCall¶added inv0.74.0
type ProjectsLocationsGatewaysListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGatewaysListCall)Context¶added inv0.74.0
func (c *ProjectsLocationsGatewaysListCall) Context(ctxcontext.Context) *ProjectsLocationsGatewaysListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGatewaysListCall)Do¶added inv0.74.0
func (c *ProjectsLocationsGatewaysListCall) Do(opts ...googleapi.CallOption) (*ListGatewaysResponse,error)
Do executes the "networkservices.projects.locations.gateways.list" call.Any non-2xx status code is an error. Response headers are in either*ListGatewaysResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsGatewaysListCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsGatewaysListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGatewaysListCall)Header¶added inv0.74.0
func (c *ProjectsLocationsGatewaysListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGatewaysListCall)IfNoneMatch¶added inv0.74.0
func (c *ProjectsLocationsGatewaysListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGatewaysListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsGatewaysListCall)PageSize¶added inv0.74.0
func (c *ProjectsLocationsGatewaysListCall) PageSize(pageSizeint64) *ProjectsLocationsGatewaysListCall
PageSize sets the optional parameter "pageSize": Maximum number of Gatewaysto return per call.
func (*ProjectsLocationsGatewaysListCall)PageToken¶added inv0.74.0
func (c *ProjectsLocationsGatewaysListCall) PageToken(pageTokenstring) *ProjectsLocationsGatewaysListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListGatewaysResponse` Indicates that this is a continuation of a prior`ListGateways` call, and that the system should return the next page ofdata.
func (*ProjectsLocationsGatewaysListCall)Pages¶added inv0.74.0
func (c *ProjectsLocationsGatewaysListCall) Pages(ctxcontext.Context, f func(*ListGatewaysResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsGatewaysPatchCall¶added inv0.74.0
type ProjectsLocationsGatewaysPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGatewaysPatchCall)Context¶added inv0.74.0
func (c *ProjectsLocationsGatewaysPatchCall) Context(ctxcontext.Context) *ProjectsLocationsGatewaysPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGatewaysPatchCall)Do¶added inv0.74.0
func (c *ProjectsLocationsGatewaysPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.gateways.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGatewaysPatchCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsGatewaysPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGatewaysPatchCall)Header¶added inv0.74.0
func (c *ProjectsLocationsGatewaysPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGatewaysPatchCall)UpdateMask¶added inv0.74.0
func (c *ProjectsLocationsGatewaysPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsGatewaysPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the Gateway resource by the update.The fields specified in the update_mask are relative to the resource, notthe full request. A field will be overwritten if it is in the mask. If theuser does not provide a mask then all fields will be overwritten.
typeProjectsLocationsGatewaysRouteViewsGetCall¶added inv0.207.0
type ProjectsLocationsGatewaysRouteViewsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGatewaysRouteViewsGetCall)Context¶added inv0.207.0
func (c *ProjectsLocationsGatewaysRouteViewsGetCall) Context(ctxcontext.Context) *ProjectsLocationsGatewaysRouteViewsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGatewaysRouteViewsGetCall)Do¶added inv0.207.0
func (c *ProjectsLocationsGatewaysRouteViewsGetCall) Do(opts ...googleapi.CallOption) (*GatewayRouteView,error)
Do executes the "networkservices.projects.locations.gateways.routeViews.get" call.Any non-2xx status code is an error. Response headers are in either*GatewayRouteView.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsGatewaysRouteViewsGetCall)Fields¶added inv0.207.0
func (c *ProjectsLocationsGatewaysRouteViewsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysRouteViewsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGatewaysRouteViewsGetCall)Header¶added inv0.207.0
func (c *ProjectsLocationsGatewaysRouteViewsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGatewaysRouteViewsGetCall)IfNoneMatch¶added inv0.207.0
func (c *ProjectsLocationsGatewaysRouteViewsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGatewaysRouteViewsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsGatewaysRouteViewsListCall¶added inv0.207.0
type ProjectsLocationsGatewaysRouteViewsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGatewaysRouteViewsListCall)Context¶added inv0.207.0
func (c *ProjectsLocationsGatewaysRouteViewsListCall) Context(ctxcontext.Context) *ProjectsLocationsGatewaysRouteViewsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGatewaysRouteViewsListCall)Do¶added inv0.207.0
func (c *ProjectsLocationsGatewaysRouteViewsListCall) Do(opts ...googleapi.CallOption) (*ListGatewayRouteViewsResponse,error)
Do executes the "networkservices.projects.locations.gateways.routeViews.list" call.Any non-2xx status code is an error. Response headers are in either*ListGatewayRouteViewsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsGatewaysRouteViewsListCall)Fields¶added inv0.207.0
func (c *ProjectsLocationsGatewaysRouteViewsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysRouteViewsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGatewaysRouteViewsListCall)Header¶added inv0.207.0
func (c *ProjectsLocationsGatewaysRouteViewsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGatewaysRouteViewsListCall)IfNoneMatch¶added inv0.207.0
func (c *ProjectsLocationsGatewaysRouteViewsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGatewaysRouteViewsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsGatewaysRouteViewsListCall)PageSize¶added inv0.207.0
func (c *ProjectsLocationsGatewaysRouteViewsListCall) PageSize(pageSizeint64) *ProjectsLocationsGatewaysRouteViewsListCall
PageSize sets the optional parameter "pageSize": Maximum number ofGatewayRouteViews to return per call.
func (*ProjectsLocationsGatewaysRouteViewsListCall)PageToken¶added inv0.207.0
func (c *ProjectsLocationsGatewaysRouteViewsListCall) PageToken(pageTokenstring) *ProjectsLocationsGatewaysRouteViewsListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListGatewayRouteViewsResponse` Indicates that this is a continuationof a prior `ListGatewayRouteViews` call, and that the system should returnthe next page of data.
func (*ProjectsLocationsGatewaysRouteViewsListCall)Pages¶added inv0.207.0
func (c *ProjectsLocationsGatewaysRouteViewsListCall) Pages(ctxcontext.Context, f func(*ListGatewayRouteViewsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsGatewaysRouteViewsService¶added inv0.207.0
type ProjectsLocationsGatewaysRouteViewsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsGatewaysRouteViewsService¶added inv0.207.0
func NewProjectsLocationsGatewaysRouteViewsService(s *Service) *ProjectsLocationsGatewaysRouteViewsService
func (*ProjectsLocationsGatewaysRouteViewsService)Get¶added inv0.207.0
func (r *ProjectsLocationsGatewaysRouteViewsService) Get(namestring) *ProjectsLocationsGatewaysRouteViewsGetCall
Get: Get a single RouteView of a Gateway.
- name: Name of the GatewayRouteView resource. Formats:projects/{project_number}/locations/{location}/gateways/{gateway}/routeViews/{route_view}.
func (*ProjectsLocationsGatewaysRouteViewsService)List¶added inv0.207.0
func (r *ProjectsLocationsGatewaysRouteViewsService) List(parentstring) *ProjectsLocationsGatewaysRouteViewsListCall
List: Lists RouteViews
- parent: The Gateway to which a Route is associated. Formats:projects/{project_number}/locations/{location}/gateways/{gateway}.
typeProjectsLocationsGatewaysService¶added inv0.74.0
type ProjectsLocationsGatewaysService struct {RouteViews *ProjectsLocationsGatewaysRouteViewsService// contains filtered or unexported fields}funcNewProjectsLocationsGatewaysService¶added inv0.74.0
func NewProjectsLocationsGatewaysService(s *Service) *ProjectsLocationsGatewaysService
func (*ProjectsLocationsGatewaysService)Create¶added inv0.74.0
func (r *ProjectsLocationsGatewaysService) Create(parentstring, gateway *Gateway) *ProjectsLocationsGatewaysCreateCall
Create: Creates a new Gateway in a given project and location.
- parent: The parent resource of the Gateway. Must be in the format`projects/*/locations/*`.
func (*ProjectsLocationsGatewaysService)Delete¶added inv0.74.0
func (r *ProjectsLocationsGatewaysService) Delete(namestring) *ProjectsLocationsGatewaysDeleteCall
Delete: Deletes a single Gateway.
- name: A name of the Gateway to delete. Must be in the format`projects/*/locations/*/gateways/*`.
func (*ProjectsLocationsGatewaysService)Get¶added inv0.74.0
func (r *ProjectsLocationsGatewaysService) Get(namestring) *ProjectsLocationsGatewaysGetCall
Get: Gets details of a single Gateway.
- name: A name of the Gateway to get. Must be in the format`projects/*/locations/*/gateways/*`.
func (*ProjectsLocationsGatewaysService)List¶added inv0.74.0
func (r *ProjectsLocationsGatewaysService) List(parentstring) *ProjectsLocationsGatewaysListCall
List: Lists Gateways in a given project and location.
- parent: The project and location from which the Gateways should be listed,specified in the format `projects/*/locations/*`.
func (*ProjectsLocationsGatewaysService)Patch¶added inv0.74.0
func (r *ProjectsLocationsGatewaysService) Patch(namestring, gateway *Gateway) *ProjectsLocationsGatewaysPatchCall
Patch: Updates the parameters of a single Gateway.
- name: Identifier. Name of the Gateway resource. It matches pattern`projects/*/locations/*/gateways/`.
typeProjectsLocationsGetCall¶
type ProjectsLocationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGetCall)Context¶
func (c *ProjectsLocationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGetCall)Do¶
func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location,error)
Do executes the "networkservices.projects.locations.get" call.Any non-2xx status code is an error. Response headers are in either*Location.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGetCall)Fields¶
func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGetCall)Header¶
func (c *ProjectsLocationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsGrpcRoutesCreateCall¶added inv0.74.0
type ProjectsLocationsGrpcRoutesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGrpcRoutesCreateCall)Context¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsGrpcRoutesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGrpcRoutesCreateCall)Do¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.grpcRoutes.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGrpcRoutesCreateCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGrpcRoutesCreateCall)GrpcRouteId¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesCreateCall) GrpcRouteId(grpcRouteIdstring) *ProjectsLocationsGrpcRoutesCreateCall
GrpcRouteId sets the optional parameter "grpcRouteId": Required. Short nameof the GrpcRoute resource to be created.
func (*ProjectsLocationsGrpcRoutesCreateCall)Header¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsGrpcRoutesDeleteCall¶added inv0.74.0
type ProjectsLocationsGrpcRoutesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGrpcRoutesDeleteCall)Context¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsGrpcRoutesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGrpcRoutesDeleteCall)Do¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.grpcRoutes.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGrpcRoutesDeleteCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGrpcRoutesDeleteCall)Header¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsGrpcRoutesGetCall¶added inv0.74.0
type ProjectsLocationsGrpcRoutesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGrpcRoutesGetCall)Context¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesGetCall) Context(ctxcontext.Context) *ProjectsLocationsGrpcRoutesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGrpcRoutesGetCall)Do¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesGetCall) Do(opts ...googleapi.CallOption) (*GrpcRoute,error)
Do executes the "networkservices.projects.locations.grpcRoutes.get" call.Any non-2xx status code is an error. Response headers are in either*GrpcRoute.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGrpcRoutesGetCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGrpcRoutesGetCall)Header¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGrpcRoutesGetCall)IfNoneMatch¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGrpcRoutesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsGrpcRoutesListCall¶added inv0.74.0
type ProjectsLocationsGrpcRoutesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGrpcRoutesListCall)Context¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesListCall) Context(ctxcontext.Context) *ProjectsLocationsGrpcRoutesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGrpcRoutesListCall)Do¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesListCall) Do(opts ...googleapi.CallOption) (*ListGrpcRoutesResponse,error)
Do executes the "networkservices.projects.locations.grpcRoutes.list" call.Any non-2xx status code is an error. Response headers are in either*ListGrpcRoutesResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsGrpcRoutesListCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGrpcRoutesListCall)Header¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGrpcRoutesListCall)IfNoneMatch¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGrpcRoutesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsGrpcRoutesListCall)PageSize¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesListCall) PageSize(pageSizeint64) *ProjectsLocationsGrpcRoutesListCall
PageSize sets the optional parameter "pageSize": Maximum number ofGrpcRoutes to return per call.
func (*ProjectsLocationsGrpcRoutesListCall)PageToken¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesListCall) PageToken(pageTokenstring) *ProjectsLocationsGrpcRoutesListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListGrpcRoutesResponse` Indicates that this is a continuation of aprior `ListGrpcRoutes` call, and that the system should return the next pageof data.
func (*ProjectsLocationsGrpcRoutesListCall)Pages¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesListCall) Pages(ctxcontext.Context, f func(*ListGrpcRoutesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsGrpcRoutesListCall)ReturnPartialSuccess¶added inv0.228.0
func (c *ProjectsLocationsGrpcRoutesListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsGrpcRoutesListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess": Iftrue, allow partial responses for multi-regional Aggregated List requests.Otherwise if one of the locations is down or unreachable, the AggregatedList request will fail.
typeProjectsLocationsGrpcRoutesPatchCall¶added inv0.74.0
type ProjectsLocationsGrpcRoutesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGrpcRoutesPatchCall)Context¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsGrpcRoutesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGrpcRoutesPatchCall)Do¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.grpcRoutes.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGrpcRoutesPatchCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGrpcRoutesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGrpcRoutesPatchCall)Header¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGrpcRoutesPatchCall)UpdateMask¶added inv0.74.0
func (c *ProjectsLocationsGrpcRoutesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsGrpcRoutesPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the GrpcRoute resource by theupdate. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsGrpcRoutesService¶added inv0.74.0
type ProjectsLocationsGrpcRoutesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsGrpcRoutesService¶added inv0.74.0
func NewProjectsLocationsGrpcRoutesService(s *Service) *ProjectsLocationsGrpcRoutesService
func (*ProjectsLocationsGrpcRoutesService)Create¶added inv0.74.0
func (r *ProjectsLocationsGrpcRoutesService) Create(parentstring, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesCreateCall
Create: Creates a new GrpcRoute in a given project and location.
- parent: The parent resource of the GrpcRoute. Must be in the format`projects/*/locations/*`.
func (*ProjectsLocationsGrpcRoutesService)Delete¶added inv0.74.0
func (r *ProjectsLocationsGrpcRoutesService) Delete(namestring) *ProjectsLocationsGrpcRoutesDeleteCall
Delete: Deletes a single GrpcRoute.
- name: A name of the GrpcRoute to delete. Must be in the format`projects/*/locations/*/grpcRoutes/*`.
func (*ProjectsLocationsGrpcRoutesService)Get¶added inv0.74.0
func (r *ProjectsLocationsGrpcRoutesService) Get(namestring) *ProjectsLocationsGrpcRoutesGetCall
Get: Gets details of a single GrpcRoute.
- name: A name of the GrpcRoute to get. Must be in the format`projects/*/locations/*/grpcRoutes/*`.
func (*ProjectsLocationsGrpcRoutesService)List¶added inv0.74.0
func (r *ProjectsLocationsGrpcRoutesService) List(parentstring) *ProjectsLocationsGrpcRoutesListCall
List: Lists GrpcRoutes in a given project and location.
- parent: The project and location from which the GrpcRoutes should belisted, specified in the format `projects/*/locations/*`.
func (*ProjectsLocationsGrpcRoutesService)Patch¶added inv0.74.0
func (r *ProjectsLocationsGrpcRoutesService) Patch(namestring, grpcroute *GrpcRoute) *ProjectsLocationsGrpcRoutesPatchCall
Patch: Updates the parameters of a single GrpcRoute.
- name: Identifier. Name of the GrpcRoute resource. It matches pattern`projects/*/locations/*/grpcRoutes/`.
typeProjectsLocationsHttpRoutesCreateCall¶added inv0.74.0
type ProjectsLocationsHttpRoutesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsHttpRoutesCreateCall)Context¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsHttpRoutesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsHttpRoutesCreateCall)Do¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.httpRoutes.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsHttpRoutesCreateCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsHttpRoutesCreateCall)Header¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsHttpRoutesCreateCall)HttpRouteId¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesCreateCall) HttpRouteId(httpRouteIdstring) *ProjectsLocationsHttpRoutesCreateCall
HttpRouteId sets the optional parameter "httpRouteId": Required. Short nameof the HttpRoute resource to be created.
typeProjectsLocationsHttpRoutesDeleteCall¶added inv0.74.0
type ProjectsLocationsHttpRoutesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsHttpRoutesDeleteCall)Context¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsHttpRoutesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsHttpRoutesDeleteCall)Do¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.httpRoutes.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsHttpRoutesDeleteCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsHttpRoutesDeleteCall)Header¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsHttpRoutesGetCall¶added inv0.74.0
type ProjectsLocationsHttpRoutesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsHttpRoutesGetCall)Context¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesGetCall) Context(ctxcontext.Context) *ProjectsLocationsHttpRoutesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsHttpRoutesGetCall)Do¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesGetCall) Do(opts ...googleapi.CallOption) (*HttpRoute,error)
Do executes the "networkservices.projects.locations.httpRoutes.get" call.Any non-2xx status code is an error. Response headers are in either*HttpRoute.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsHttpRoutesGetCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsHttpRoutesGetCall)Header¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsHttpRoutesGetCall)IfNoneMatch¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsHttpRoutesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsHttpRoutesListCall¶added inv0.74.0
type ProjectsLocationsHttpRoutesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsHttpRoutesListCall)Context¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesListCall) Context(ctxcontext.Context) *ProjectsLocationsHttpRoutesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsHttpRoutesListCall)Do¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesListCall) Do(opts ...googleapi.CallOption) (*ListHttpRoutesResponse,error)
Do executes the "networkservices.projects.locations.httpRoutes.list" call.Any non-2xx status code is an error. Response headers are in either*ListHttpRoutesResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsHttpRoutesListCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsHttpRoutesListCall)Header¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsHttpRoutesListCall)IfNoneMatch¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsHttpRoutesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsHttpRoutesListCall)PageSize¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesListCall) PageSize(pageSizeint64) *ProjectsLocationsHttpRoutesListCall
PageSize sets the optional parameter "pageSize": Maximum number ofHttpRoutes to return per call.
func (*ProjectsLocationsHttpRoutesListCall)PageToken¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesListCall) PageToken(pageTokenstring) *ProjectsLocationsHttpRoutesListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListHttpRoutesResponse` Indicates that this is a continuation of aprior `ListHttpRoutes` call, and that the system should return the next pageof data.
func (*ProjectsLocationsHttpRoutesListCall)Pages¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesListCall) Pages(ctxcontext.Context, f func(*ListHttpRoutesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsHttpRoutesListCall)ReturnPartialSuccess¶added inv0.228.0
func (c *ProjectsLocationsHttpRoutesListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsHttpRoutesListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess": Iftrue, allow partial responses for multi-regional Aggregated List requests.Otherwise if one of the locations is down or unreachable, the AggregatedList request will fail.
typeProjectsLocationsHttpRoutesPatchCall¶added inv0.74.0
type ProjectsLocationsHttpRoutesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsHttpRoutesPatchCall)Context¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsHttpRoutesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsHttpRoutesPatchCall)Do¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.httpRoutes.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsHttpRoutesPatchCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsHttpRoutesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsHttpRoutesPatchCall)Header¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsHttpRoutesPatchCall)UpdateMask¶added inv0.74.0
func (c *ProjectsLocationsHttpRoutesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsHttpRoutesPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the HttpRoute resource by theupdate. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsHttpRoutesService¶added inv0.74.0
type ProjectsLocationsHttpRoutesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsHttpRoutesService¶added inv0.74.0
func NewProjectsLocationsHttpRoutesService(s *Service) *ProjectsLocationsHttpRoutesService
func (*ProjectsLocationsHttpRoutesService)Create¶added inv0.74.0
func (r *ProjectsLocationsHttpRoutesService) Create(parentstring, httproute *HttpRoute) *ProjectsLocationsHttpRoutesCreateCall
Create: Creates a new HttpRoute in a given project and location.
- parent: The parent resource of the HttpRoute. Must be in the format`projects/*/locations/*`.
func (*ProjectsLocationsHttpRoutesService)Delete¶added inv0.74.0
func (r *ProjectsLocationsHttpRoutesService) Delete(namestring) *ProjectsLocationsHttpRoutesDeleteCall
Delete: Deletes a single HttpRoute.
- name: A name of the HttpRoute to delete. Must be in the format`projects/*/locations/*/httpRoutes/*`.
func (*ProjectsLocationsHttpRoutesService)Get¶added inv0.74.0
func (r *ProjectsLocationsHttpRoutesService) Get(namestring) *ProjectsLocationsHttpRoutesGetCall
Get: Gets details of a single HttpRoute.
- name: A name of the HttpRoute to get. Must be in the format`projects/*/locations/*/httpRoutes/*`.
func (*ProjectsLocationsHttpRoutesService)List¶added inv0.74.0
func (r *ProjectsLocationsHttpRoutesService) List(parentstring) *ProjectsLocationsHttpRoutesListCall
List: Lists HttpRoute in a given project and location.
- parent: The project and location from which the HttpRoutes should belisted, specified in the format `projects/*/locations/*`.
func (*ProjectsLocationsHttpRoutesService)Patch¶added inv0.74.0
func (r *ProjectsLocationsHttpRoutesService) Patch(namestring, httproute *HttpRoute) *ProjectsLocationsHttpRoutesPatchCall
Patch: Updates the parameters of a single HttpRoute.
- name: Identifier. Name of the HttpRoute resource. It matches pattern`projects/*/locations/*/httpRoutes/http_route_name>`.
typeProjectsLocationsLbEdgeExtensionsCreateCall¶added inv0.230.0
type ProjectsLocationsLbEdgeExtensionsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbEdgeExtensionsCreateCall)Context¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsLbEdgeExtensionsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbEdgeExtensionsCreateCall)Do¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.lbEdgeExtensions.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsLbEdgeExtensionsCreateCall)Fields¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbEdgeExtensionsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbEdgeExtensionsCreateCall)Header¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbEdgeExtensionsCreateCall)LbEdgeExtensionId¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsCreateCall) LbEdgeExtensionId(lbEdgeExtensionIdstring) *ProjectsLocationsLbEdgeExtensionsCreateCall
LbEdgeExtensionId sets the optional parameter "lbEdgeExtensionId": Required.User-provided ID of the `LbEdgeExtension` resource to be created.
func (*ProjectsLocationsLbEdgeExtensionsCreateCall)RequestId¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsCreateCall) RequestId(requestIdstring) *ProjectsLocationsLbEdgeExtensionsCreateCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server can ignore the request if it has already beencompleted. The server guarantees that for 60 minutes since the firstrequest. For example, consider a situation where you make an initial requestand the request times out. If you make the request again with the samerequest ID, the server ignores the second request This prevents clients fromaccidentally creating duplicate commitments. The request ID must be a validUUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsLbEdgeExtensionsDeleteCall¶added inv0.230.0
type ProjectsLocationsLbEdgeExtensionsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbEdgeExtensionsDeleteCall)Context¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsLbEdgeExtensionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbEdgeExtensionsDeleteCall)Do¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.lbEdgeExtensions.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsLbEdgeExtensionsDeleteCall)Fields¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbEdgeExtensionsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbEdgeExtensionsDeleteCall)Header¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbEdgeExtensionsDeleteCall)RequestId¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsLbEdgeExtensionsDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server can ignore the request if it has already beencompleted. The server guarantees that for 60 minutes after the firstrequest. For example, consider a situation where you make an initial requestand the request times out. If you make the request again with the samerequest ID, the server ignores the second request This prevents clients fromaccidentally creating duplicate commitments. The request ID must be a validUUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsLbEdgeExtensionsGetCall¶added inv0.230.0
type ProjectsLocationsLbEdgeExtensionsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbEdgeExtensionsGetCall)Context¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsGetCall) Context(ctxcontext.Context) *ProjectsLocationsLbEdgeExtensionsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbEdgeExtensionsGetCall)Do¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbEdgeExtension,error)
Do executes the "networkservices.projects.locations.lbEdgeExtensions.get" call.Any non-2xx status code is an error. Response headers are in either*LbEdgeExtension.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsLbEdgeExtensionsGetCall)Fields¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbEdgeExtensionsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbEdgeExtensionsGetCall)Header¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbEdgeExtensionsGetCall)IfNoneMatch¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsLbEdgeExtensionsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsLbEdgeExtensionsListCall¶added inv0.230.0
type ProjectsLocationsLbEdgeExtensionsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbEdgeExtensionsListCall)Context¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsListCall) Context(ctxcontext.Context) *ProjectsLocationsLbEdgeExtensionsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbEdgeExtensionsListCall)Do¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbEdgeExtensionsResponse,error)
Do executes the "networkservices.projects.locations.lbEdgeExtensions.list" call.Any non-2xx status code is an error. Response headers are in either*ListLbEdgeExtensionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsLbEdgeExtensionsListCall)Fields¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbEdgeExtensionsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbEdgeExtensionsListCall)Filter¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsListCall) Filter(filterstring) *ProjectsLocationsLbEdgeExtensionsListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsLbEdgeExtensionsListCall)Header¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbEdgeExtensionsListCall)IfNoneMatch¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsLbEdgeExtensionsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsLbEdgeExtensionsListCall)OrderBy¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsListCall) OrderBy(orderBystring) *ProjectsLocationsLbEdgeExtensionsListCall
OrderBy sets the optional parameter "orderBy": Hint about how to order theresults.
func (*ProjectsLocationsLbEdgeExtensionsListCall)PageSize¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsListCall) PageSize(pageSizeint64) *ProjectsLocationsLbEdgeExtensionsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Theserver might return fewer items than requested. If unspecified, the serverpicks an appropriate default.
func (*ProjectsLocationsLbEdgeExtensionsListCall)PageToken¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsListCall) PageToken(pageTokenstring) *ProjectsLocationsLbEdgeExtensionsListCall
PageToken sets the optional parameter "pageToken": A token identifying apage of results that the server returns.
func (*ProjectsLocationsLbEdgeExtensionsListCall)Pages¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsListCall) Pages(ctxcontext.Context, f func(*ListLbEdgeExtensionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsLbEdgeExtensionsPatchCall¶added inv0.230.0
type ProjectsLocationsLbEdgeExtensionsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbEdgeExtensionsPatchCall)Context¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsLbEdgeExtensionsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbEdgeExtensionsPatchCall)Do¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.lbEdgeExtensions.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsLbEdgeExtensionsPatchCall)Fields¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbEdgeExtensionsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbEdgeExtensionsPatchCall)Header¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbEdgeExtensionsPatchCall)RequestId¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsPatchCall) RequestId(requestIdstring) *ProjectsLocationsLbEdgeExtensionsPatchCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server can ignore the request if it has already beencompleted. The server guarantees that for 60 minutes since the firstrequest. For example, consider a situation where you make an initial requestand the request times out. If you make the request again with the samerequest ID, the server ignores the second request This prevents clients fromaccidentally creating duplicate commitments. The request ID must be a validUUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsLbEdgeExtensionsPatchCall)UpdateMask¶added inv0.230.0
func (c *ProjectsLocationsLbEdgeExtensionsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsLbEdgeExtensionsPatchCall
UpdateMask sets the optional parameter "updateMask": Used to specify thefields to be overwritten in the `LbEdgeExtension` resource by the update.The fields specified in the `update_mask` are relative to the resource, notthe full request. A field is overwritten if it is in the mask. If the userdoes not specify a mask, then all fields are overwritten.
typeProjectsLocationsLbEdgeExtensionsService¶added inv0.230.0
type ProjectsLocationsLbEdgeExtensionsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsLbEdgeExtensionsService¶added inv0.230.0
func NewProjectsLocationsLbEdgeExtensionsService(s *Service) *ProjectsLocationsLbEdgeExtensionsService
func (*ProjectsLocationsLbEdgeExtensionsService)Create¶added inv0.230.0
func (r *ProjectsLocationsLbEdgeExtensionsService) Create(parentstring, lbedgeextension *LbEdgeExtension) *ProjectsLocationsLbEdgeExtensionsCreateCall
Create: Creates a new `LbEdgeExtension` resource in a given project andlocation.
- parent: The parent resource of the `LbEdgeExtension` resource. Must be inthe format `projects/{project}/locations/{location}`.
func (*ProjectsLocationsLbEdgeExtensionsService)Delete¶added inv0.230.0
func (r *ProjectsLocationsLbEdgeExtensionsService) Delete(namestring) *ProjectsLocationsLbEdgeExtensionsDeleteCall
Delete: Deletes the specified `LbEdgeExtension` resource.
- name: The name of the `LbEdgeExtension` resource to delete. Must be in theformat`projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.
func (*ProjectsLocationsLbEdgeExtensionsService)Get¶added inv0.230.0
func (r *ProjectsLocationsLbEdgeExtensionsService) Get(namestring) *ProjectsLocationsLbEdgeExtensionsGetCall
Get: Gets details of the specified `LbEdgeExtension` resource.
- name: A name of the `LbEdgeExtension` resource to get. Must be in theformat`projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.
func (*ProjectsLocationsLbEdgeExtensionsService)List¶added inv0.230.0
func (r *ProjectsLocationsLbEdgeExtensionsService) List(parentstring) *ProjectsLocationsLbEdgeExtensionsListCall
List: Lists `LbEdgeExtension` resources in a given project and location.
- parent: The project and location from which the `LbEdgeExtension`resources are listed. These values are specified in the following format:`projects/{project}/locations/{location}`.
func (*ProjectsLocationsLbEdgeExtensionsService)Patch¶added inv0.230.0
func (r *ProjectsLocationsLbEdgeExtensionsService) Patch(namestring, lbedgeextension *LbEdgeExtension) *ProjectsLocationsLbEdgeExtensionsPatchCall
Patch: Updates the parameters of the specified `LbEdgeExtension` resource.
- name: Identifier. Name of the `LbEdgeExtension` resource in the followingformat:`projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.
typeProjectsLocationsLbRouteExtensionsCreateCall¶added inv0.144.0
type ProjectsLocationsLbRouteExtensionsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbRouteExtensionsCreateCall)Context¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsLbRouteExtensionsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbRouteExtensionsCreateCall)Do¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.lbRouteExtensions.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsLbRouteExtensionsCreateCall)Fields¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbRouteExtensionsCreateCall)Header¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbRouteExtensionsCreateCall)LbRouteExtensionId¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsCreateCall) LbRouteExtensionId(lbRouteExtensionIdstring) *ProjectsLocationsLbRouteExtensionsCreateCall
LbRouteExtensionId sets the optional parameter "lbRouteExtensionId":Required. User-provided ID of the `LbRouteExtension` resource to be created.
func (*ProjectsLocationsLbRouteExtensionsCreateCall)RequestId¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsCreateCall) RequestId(requestIdstring) *ProjectsLocationsLbRouteExtensionsCreateCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server can ignore the request if it has already beencompleted. The server guarantees that for 60 minutes since the firstrequest. For example, consider a situation where you make an initial requestand the request times out. If you make the request again with the samerequest ID, the server ignores the second request This prevents clients fromaccidentally creating duplicate commitments. The request ID must be a validUUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsLbRouteExtensionsDeleteCall¶added inv0.144.0
type ProjectsLocationsLbRouteExtensionsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbRouteExtensionsDeleteCall)Context¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsLbRouteExtensionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbRouteExtensionsDeleteCall)Do¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.lbRouteExtensions.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsLbRouteExtensionsDeleteCall)Fields¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbRouteExtensionsDeleteCall)Header¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbRouteExtensionsDeleteCall)RequestId¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsLbRouteExtensionsDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server can ignore the request if it has already beencompleted. The server guarantees that for 60 minutes after the firstrequest. For example, consider a situation where you make an initial requestand the request times out. If you make the request again with the samerequest ID, the server ignores the second request This prevents clients fromaccidentally creating duplicate commitments. The request ID must be a validUUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsLbRouteExtensionsGetCall¶added inv0.144.0
type ProjectsLocationsLbRouteExtensionsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbRouteExtensionsGetCall)Context¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsGetCall) Context(ctxcontext.Context) *ProjectsLocationsLbRouteExtensionsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbRouteExtensionsGetCall)Do¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbRouteExtension,error)
Do executes the "networkservices.projects.locations.lbRouteExtensions.get" call.Any non-2xx status code is an error. Response headers are in either*LbRouteExtension.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsLbRouteExtensionsGetCall)Fields¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbRouteExtensionsGetCall)Header¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbRouteExtensionsGetCall)IfNoneMatch¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsLbRouteExtensionsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsLbRouteExtensionsListCall¶added inv0.144.0
type ProjectsLocationsLbRouteExtensionsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbRouteExtensionsListCall)Context¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsListCall) Context(ctxcontext.Context) *ProjectsLocationsLbRouteExtensionsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbRouteExtensionsListCall)Do¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbRouteExtensionsResponse,error)
Do executes the "networkservices.projects.locations.lbRouteExtensions.list" call.Any non-2xx status code is an error. Response headers are in either*ListLbRouteExtensionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsLbRouteExtensionsListCall)Fields¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbRouteExtensionsListCall)Filter¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsListCall) Filter(filterstring) *ProjectsLocationsLbRouteExtensionsListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsLbRouteExtensionsListCall)Header¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbRouteExtensionsListCall)IfNoneMatch¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsLbRouteExtensionsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsLbRouteExtensionsListCall)OrderBy¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsListCall) OrderBy(orderBystring) *ProjectsLocationsLbRouteExtensionsListCall
OrderBy sets the optional parameter "orderBy": Hint about how to order theresults.
func (*ProjectsLocationsLbRouteExtensionsListCall)PageSize¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsListCall) PageSize(pageSizeint64) *ProjectsLocationsLbRouteExtensionsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Theserver might return fewer items than requested. If unspecified, the serverpicks an appropriate default.
func (*ProjectsLocationsLbRouteExtensionsListCall)PageToken¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsListCall) PageToken(pageTokenstring) *ProjectsLocationsLbRouteExtensionsListCall
PageToken sets the optional parameter "pageToken": A token identifying apage of results that the server returns.
func (*ProjectsLocationsLbRouteExtensionsListCall)Pages¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsListCall) Pages(ctxcontext.Context, f func(*ListLbRouteExtensionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsLbRouteExtensionsPatchCall¶added inv0.144.0
type ProjectsLocationsLbRouteExtensionsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbRouteExtensionsPatchCall)Context¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsLbRouteExtensionsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbRouteExtensionsPatchCall)Do¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.lbRouteExtensions.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsLbRouteExtensionsPatchCall)Fields¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbRouteExtensionsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbRouteExtensionsPatchCall)Header¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbRouteExtensionsPatchCall)RequestId¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsPatchCall) RequestId(requestIdstring) *ProjectsLocationsLbRouteExtensionsPatchCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server can ignore the request if it has already beencompleted. The server guarantees that for 60 minutes since the firstrequest. For example, consider a situation where you make an initial requestand the request times out. If you make the request again with the samerequest ID, the server ignores the second request This prevents clients fromaccidentally creating duplicate commitments. The request ID must be a validUUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsLbRouteExtensionsPatchCall)UpdateMask¶added inv0.144.0
func (c *ProjectsLocationsLbRouteExtensionsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsLbRouteExtensionsPatchCall
UpdateMask sets the optional parameter "updateMask": Used to specify thefields to be overwritten in the `LbRouteExtension` resource by the update.The fields specified in the `update_mask` are relative to the resource, notthe full request. A field is overwritten if it is in the mask. If the userdoes not specify a mask, then all fields are overwritten.
typeProjectsLocationsLbRouteExtensionsService¶added inv0.144.0
type ProjectsLocationsLbRouteExtensionsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsLbRouteExtensionsService¶added inv0.144.0
func NewProjectsLocationsLbRouteExtensionsService(s *Service) *ProjectsLocationsLbRouteExtensionsService
func (*ProjectsLocationsLbRouteExtensionsService)Create¶added inv0.144.0
func (r *ProjectsLocationsLbRouteExtensionsService) Create(parentstring, lbrouteextension *LbRouteExtension) *ProjectsLocationsLbRouteExtensionsCreateCall
Create: Creates a new `LbRouteExtension` resource in a given project andlocation.
- parent: The parent resource of the `LbRouteExtension` resource. Must be inthe format `projects/{project}/locations/{location}`.
func (*ProjectsLocationsLbRouteExtensionsService)Delete¶added inv0.144.0
func (r *ProjectsLocationsLbRouteExtensionsService) Delete(namestring) *ProjectsLocationsLbRouteExtensionsDeleteCall
Delete: Deletes the specified `LbRouteExtension` resource.
- name: The name of the `LbRouteExtension` resource to delete. Must be inthe format`projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}`.
func (*ProjectsLocationsLbRouteExtensionsService)Get¶added inv0.144.0
func (r *ProjectsLocationsLbRouteExtensionsService) Get(namestring) *ProjectsLocationsLbRouteExtensionsGetCall
Get: Gets details of the specified `LbRouteExtension` resource.
- name: A name of the `LbRouteExtension` resource to get. Must be in theformat`projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}`.
func (*ProjectsLocationsLbRouteExtensionsService)List¶added inv0.144.0
func (r *ProjectsLocationsLbRouteExtensionsService) List(parentstring) *ProjectsLocationsLbRouteExtensionsListCall
List: Lists `LbRouteExtension` resources in a given project and location.
- parent: The project and location from which the `LbRouteExtension`resources are listed. These values are specified in the following format:`projects/{project}/locations/{location}`.
func (*ProjectsLocationsLbRouteExtensionsService)Patch¶added inv0.144.0
func (r *ProjectsLocationsLbRouteExtensionsService) Patch(namestring, lbrouteextension *LbRouteExtension) *ProjectsLocationsLbRouteExtensionsPatchCall
Patch: Updates the parameters of the specified `LbRouteExtension` resource.
- name: Identifier. Name of the `LbRouteExtension` resource in the followingformat:`projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}`.
typeProjectsLocationsLbTcpExtensionsCreateCall¶added inv0.247.0
type ProjectsLocationsLbTcpExtensionsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbTcpExtensionsCreateCall)Context¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsLbTcpExtensionsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbTcpExtensionsCreateCall)Do¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.lbTcpExtensions.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsLbTcpExtensionsCreateCall)Fields¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTcpExtensionsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbTcpExtensionsCreateCall)Header¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbTcpExtensionsCreateCall)LbTcpExtensionId¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsCreateCall) LbTcpExtensionId(lbTcpExtensionIdstring) *ProjectsLocationsLbTcpExtensionsCreateCall
LbTcpExtensionId sets the optional parameter "lbTcpExtensionId": Required.User-provided ID of the `LbTcpExtension` resource to be created.
func (*ProjectsLocationsLbTcpExtensionsCreateCall)RequestId¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsCreateCall) RequestId(requestIdstring) *ProjectsLocationsLbTcpExtensionsCreateCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server can ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, ignores the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsLbTcpExtensionsDeleteCall¶added inv0.247.0
type ProjectsLocationsLbTcpExtensionsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbTcpExtensionsDeleteCall)Context¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsLbTcpExtensionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbTcpExtensionsDeleteCall)Do¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.lbTcpExtensions.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsLbTcpExtensionsDeleteCall)Fields¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTcpExtensionsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbTcpExtensionsDeleteCall)Header¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbTcpExtensionsDeleteCall)RequestId¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsLbTcpExtensionsDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server can ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, ignores the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
typeProjectsLocationsLbTcpExtensionsGetCall¶added inv0.247.0
type ProjectsLocationsLbTcpExtensionsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbTcpExtensionsGetCall)Context¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsGetCall) Context(ctxcontext.Context) *ProjectsLocationsLbTcpExtensionsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbTcpExtensionsGetCall)Do¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbTcpExtension,error)
Do executes the "networkservices.projects.locations.lbTcpExtensions.get" call.Any non-2xx status code is an error. Response headers are in either*LbTcpExtension.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsLbTcpExtensionsGetCall)Fields¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTcpExtensionsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbTcpExtensionsGetCall)Header¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbTcpExtensionsGetCall)IfNoneMatch¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsLbTcpExtensionsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsLbTcpExtensionsListCall¶added inv0.247.0
type ProjectsLocationsLbTcpExtensionsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbTcpExtensionsListCall)Context¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsListCall) Context(ctxcontext.Context) *ProjectsLocationsLbTcpExtensionsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbTcpExtensionsListCall)Do¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbTcpExtensionsResponse,error)
Do executes the "networkservices.projects.locations.lbTcpExtensions.list" call.Any non-2xx status code is an error. Response headers are in either*ListLbTcpExtensionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsLbTcpExtensionsListCall)Fields¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTcpExtensionsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbTcpExtensionsListCall)Filter¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsListCall) Filter(filterstring) *ProjectsLocationsLbTcpExtensionsListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsLbTcpExtensionsListCall)Header¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbTcpExtensionsListCall)IfNoneMatch¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsLbTcpExtensionsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsLbTcpExtensionsListCall)OrderBy¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsListCall) OrderBy(orderBystring) *ProjectsLocationsLbTcpExtensionsListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order theresults.
func (*ProjectsLocationsLbTcpExtensionsListCall)PageSize¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsListCall) PageSize(pageSizeint64) *ProjectsLocationsLbTcpExtensionsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Theserver might return fewer items than requested. If unspecified, the serverpicks an appropriate default.
func (*ProjectsLocationsLbTcpExtensionsListCall)PageToken¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsListCall) PageToken(pageTokenstring) *ProjectsLocationsLbTcpExtensionsListCall
PageToken sets the optional parameter "pageToken": A token identifying apage of results that the server returns.
func (*ProjectsLocationsLbTcpExtensionsListCall)Pages¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsListCall) Pages(ctxcontext.Context, f func(*ListLbTcpExtensionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsLbTcpExtensionsPatchCall¶added inv0.247.0
type ProjectsLocationsLbTcpExtensionsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbTcpExtensionsPatchCall)Context¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsLbTcpExtensionsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbTcpExtensionsPatchCall)Do¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.lbTcpExtensions.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsLbTcpExtensionsPatchCall)Fields¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTcpExtensionsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbTcpExtensionsPatchCall)Header¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbTcpExtensionsPatchCall)RequestId¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsPatchCall) RequestId(requestIdstring) *ProjectsLocationsLbTcpExtensionsPatchCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server can ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes since thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, ignores the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsLbTcpExtensionsPatchCall)UpdateMask¶added inv0.247.0
func (c *ProjectsLocationsLbTcpExtensionsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsLbTcpExtensionsPatchCall
UpdateMask sets the optional parameter "updateMask": Used to specify thefields to be overwritten in the `LbTcpExtension` resource by the update. Thefields specified in the update_mask are relative to the resource, not thefull request. A field is overwritten if it is in the mask. If the user doesnot specify a mask, then all fields are overwritten.
typeProjectsLocationsLbTcpExtensionsService¶added inv0.247.0
type ProjectsLocationsLbTcpExtensionsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsLbTcpExtensionsService¶added inv0.247.0
func NewProjectsLocationsLbTcpExtensionsService(s *Service) *ProjectsLocationsLbTcpExtensionsService
func (*ProjectsLocationsLbTcpExtensionsService)Create¶added inv0.247.0
func (r *ProjectsLocationsLbTcpExtensionsService) Create(parentstring, lbtcpextension *LbTcpExtension) *ProjectsLocationsLbTcpExtensionsCreateCall
Create: Creates a new `LbTcpExtension` resource in a given project andlocation.
- parent: The parent resource of the `LbTcpExtension` resource. Must be inthe format `projects/{project}/locations/{location}`.
func (*ProjectsLocationsLbTcpExtensionsService)Delete¶added inv0.247.0
func (r *ProjectsLocationsLbTcpExtensionsService) Delete(namestring) *ProjectsLocationsLbTcpExtensionsDeleteCall
Delete: Deletes the specified `LbTcpExtension` resource.
- name: The name of the `LbTcpExtension` resource to delete. Must be in theformat`projects/{project}/locations/{location}/LbTcpExtensions/{lb_tcp_extension}`.
func (*ProjectsLocationsLbTcpExtensionsService)Get¶added inv0.247.0
func (r *ProjectsLocationsLbTcpExtensionsService) Get(namestring) *ProjectsLocationsLbTcpExtensionsGetCall
Get: Gets details of the specified `LbTcpExtension` resource.
- name: A name of the `LbTcpExtension` resource to get. Must be in theformat`projects/{project}/locations/{location}/LbTcpExtensions/{lb_tcp_extension}`.
func (*ProjectsLocationsLbTcpExtensionsService)List¶added inv0.247.0
func (r *ProjectsLocationsLbTcpExtensionsService) List(parentstring) *ProjectsLocationsLbTcpExtensionsListCall
List: Lists `LbTcpExtension` resources in a given project and location.
- parent: The project and location from which the `LbTcpExtension` resourcesare listed, specified in the following format:`projects/{project}/locations/{location}`.
func (*ProjectsLocationsLbTcpExtensionsService)Patch¶added inv0.247.0
func (r *ProjectsLocationsLbTcpExtensionsService) Patch(namestring, lbtcpextension *LbTcpExtension) *ProjectsLocationsLbTcpExtensionsPatchCall
Patch: Updates the parameters of the specified `LbTcpExtension` resource.
- name: Identifier. Name of the `LbTcpExtension` resource in the followingformat:`projects/{project}/locations/{location}/LbTcpExtension/{lb_tcp_extension}`.
typeProjectsLocationsLbTrafficExtensionsCreateCall¶added inv0.144.0
type ProjectsLocationsLbTrafficExtensionsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbTrafficExtensionsCreateCall)Context¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsLbTrafficExtensionsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbTrafficExtensionsCreateCall)Do¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.lbTrafficExtensions.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsLbTrafficExtensionsCreateCall)Fields¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbTrafficExtensionsCreateCall)Header¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbTrafficExtensionsCreateCall)LbTrafficExtensionId¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) LbTrafficExtensionId(lbTrafficExtensionIdstring) *ProjectsLocationsLbTrafficExtensionsCreateCall
LbTrafficExtensionId sets the optional parameter "lbTrafficExtensionId":Required. User-provided ID of the `LbTrafficExtension` resource to becreated.
func (*ProjectsLocationsLbTrafficExtensionsCreateCall)RequestId¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsCreateCall) RequestId(requestIdstring) *ProjectsLocationsLbTrafficExtensionsCreateCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server can ignore the request if it has already beencompleted. The server guarantees that for 60 minutes since the firstrequest. For example, consider a situation where you make an initial requestand the request times out. If you make the request again with the samerequest ID, the server ignores the second request This prevents clients fromaccidentally creating duplicate commitments. The request ID must be a validUUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsLbTrafficExtensionsDeleteCall¶added inv0.144.0
type ProjectsLocationsLbTrafficExtensionsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbTrafficExtensionsDeleteCall)Context¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsLbTrafficExtensionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbTrafficExtensionsDeleteCall)Do¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.lbTrafficExtensions.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsLbTrafficExtensionsDeleteCall)Fields¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbTrafficExtensionsDeleteCall)Header¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbTrafficExtensionsDeleteCall)RequestId¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsLbTrafficExtensionsDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server can ignore the request if it has already beencompleted. The server guarantees that for 60 minutes after the firstrequest. For example, consider a situation where you make an initial requestand the request times out. If you make the request again with the samerequest ID, the server ignores the second request This prevents clients fromaccidentally creating duplicate commitments. The request ID must be a validUUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsLbTrafficExtensionsGetCall¶added inv0.144.0
type ProjectsLocationsLbTrafficExtensionsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbTrafficExtensionsGetCall)Context¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Context(ctxcontext.Context) *ProjectsLocationsLbTrafficExtensionsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbTrafficExtensionsGetCall)Do¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Do(opts ...googleapi.CallOption) (*LbTrafficExtension,error)
Do executes the "networkservices.projects.locations.lbTrafficExtensions.get" call.Any non-2xx status code is an error. Response headers are in either*LbTrafficExtension.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsLbTrafficExtensionsGetCall)Fields¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbTrafficExtensionsGetCall)Header¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbTrafficExtensionsGetCall)IfNoneMatch¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsLbTrafficExtensionsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsLbTrafficExtensionsListCall¶added inv0.144.0
type ProjectsLocationsLbTrafficExtensionsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbTrafficExtensionsListCall)Context¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsListCall) Context(ctxcontext.Context) *ProjectsLocationsLbTrafficExtensionsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbTrafficExtensionsListCall)Do¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsListCall) Do(opts ...googleapi.CallOption) (*ListLbTrafficExtensionsResponse,error)
Do executes the "networkservices.projects.locations.lbTrafficExtensions.list" call.Any non-2xx status code is an error. Response headers are in either*ListLbTrafficExtensionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsLbTrafficExtensionsListCall)Fields¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbTrafficExtensionsListCall)Filter¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsListCall) Filter(filterstring) *ProjectsLocationsLbTrafficExtensionsListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsLbTrafficExtensionsListCall)Header¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbTrafficExtensionsListCall)IfNoneMatch¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsLbTrafficExtensionsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsLbTrafficExtensionsListCall)OrderBy¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsListCall) OrderBy(orderBystring) *ProjectsLocationsLbTrafficExtensionsListCall
OrderBy sets the optional parameter "orderBy": Hint about how to order theresults.
func (*ProjectsLocationsLbTrafficExtensionsListCall)PageSize¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsListCall) PageSize(pageSizeint64) *ProjectsLocationsLbTrafficExtensionsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Theserver might return fewer items than requested. If unspecified, the serverpicks an appropriate default.
func (*ProjectsLocationsLbTrafficExtensionsListCall)PageToken¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsListCall) PageToken(pageTokenstring) *ProjectsLocationsLbTrafficExtensionsListCall
PageToken sets the optional parameter "pageToken": A token identifying apage of results that the server returns.
func (*ProjectsLocationsLbTrafficExtensionsListCall)Pages¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsListCall) Pages(ctxcontext.Context, f func(*ListLbTrafficExtensionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsLbTrafficExtensionsPatchCall¶added inv0.144.0
type ProjectsLocationsLbTrafficExtensionsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsLbTrafficExtensionsPatchCall)Context¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsLbTrafficExtensionsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsLbTrafficExtensionsPatchCall)Do¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.lbTrafficExtensions.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsLbTrafficExtensionsPatchCall)Fields¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsLbTrafficExtensionsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsLbTrafficExtensionsPatchCall)Header¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsLbTrafficExtensionsPatchCall)RequestId¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) RequestId(requestIdstring) *ProjectsLocationsLbTrafficExtensionsPatchCall
RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server can ignore the request if it has already beencompleted. The server guarantees that for 60 minutes since the firstrequest. For example, consider a situation where you make an initial requestand the request times out. If you make the request again with the samerequest ID, the server ignores the second request This prevents clients fromaccidentally creating duplicate commitments. The request ID must be a validUUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsLbTrafficExtensionsPatchCall)UpdateMask¶added inv0.144.0
func (c *ProjectsLocationsLbTrafficExtensionsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsLbTrafficExtensionsPatchCall
UpdateMask sets the optional parameter "updateMask": Used to specify thefields to be overwritten in the `LbTrafficExtension` resource by the update.The fields specified in the `update_mask` are relative to the resource, notthe full request. A field is overwritten if it is in the mask. If the userdoes not specify a mask, then all fields are overwritten.
typeProjectsLocationsLbTrafficExtensionsService¶added inv0.144.0
type ProjectsLocationsLbTrafficExtensionsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsLbTrafficExtensionsService¶added inv0.144.0
func NewProjectsLocationsLbTrafficExtensionsService(s *Service) *ProjectsLocationsLbTrafficExtensionsService
func (*ProjectsLocationsLbTrafficExtensionsService)Create¶added inv0.144.0
func (r *ProjectsLocationsLbTrafficExtensionsService) Create(parentstring, lbtrafficextension *LbTrafficExtension) *ProjectsLocationsLbTrafficExtensionsCreateCall
Create: Creates a new `LbTrafficExtension` resource in a given project andlocation.
- parent: The parent resource of the `LbTrafficExtension` resource. Must bein the format `projects/{project}/locations/{location}`.
func (*ProjectsLocationsLbTrafficExtensionsService)Delete¶added inv0.144.0
func (r *ProjectsLocationsLbTrafficExtensionsService) Delete(namestring) *ProjectsLocationsLbTrafficExtensionsDeleteCall
Delete: Deletes the specified `LbTrafficExtension` resource.
- name: The name of the `LbTrafficExtension` resource to delete. Must be inthe format`projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}`.
func (*ProjectsLocationsLbTrafficExtensionsService)Get¶added inv0.144.0
func (r *ProjectsLocationsLbTrafficExtensionsService) Get(namestring) *ProjectsLocationsLbTrafficExtensionsGetCall
Get: Gets details of the specified `LbTrafficExtension` resource.
- name: A name of the `LbTrafficExtension` resource to get. Must be in theformat`projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}`.
func (*ProjectsLocationsLbTrafficExtensionsService)List¶added inv0.144.0
func (r *ProjectsLocationsLbTrafficExtensionsService) List(parentstring) *ProjectsLocationsLbTrafficExtensionsListCall
List: Lists `LbTrafficExtension` resources in a given project and location.
- parent: The project and location from which the `LbTrafficExtension`resources are listed. These values are specified in the following format:`projects/{project}/locations/{location}`.
func (*ProjectsLocationsLbTrafficExtensionsService)Patch¶added inv0.144.0
func (r *ProjectsLocationsLbTrafficExtensionsService) Patch(namestring, lbtrafficextension *LbTrafficExtension) *ProjectsLocationsLbTrafficExtensionsPatchCall
Patch: Updates the parameters of the specified `LbTrafficExtension`resource.
- name: Identifier. Name of the `LbTrafficExtension` resource in thefollowing format:`projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}`.
typeProjectsLocationsListCall¶
type ProjectsLocationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsListCall)Context¶
func (c *ProjectsLocationsListCall) Context(ctxcontext.Context) *ProjectsLocationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsListCall)Do¶
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse,error)
Do executes the "networkservices.projects.locations.list" call.Any non-2xx status code is an error. Response headers are in either*ListLocationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsListCall)ExtraLocationTypes¶added inv0.230.0
func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do notuse this field. It is unsupported and is ignored unless explicitlydocumented otherwise. This is primarily for internal usage.
func (*ProjectsLocationsListCall)Fields¶
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsListCall)Filter¶
func (c *ProjectsLocationsListCall) Filter(filterstring) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down resultsto a preferred subset. The filtering language accepts strings like"displayName=tokyo", and is documented in more detail in AIP-160(https://google.aip.dev/160).
func (*ProjectsLocationsListCall)Header¶
func (c *ProjectsLocationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsListCall)PageSize¶
func (c *ProjectsLocationsListCall) PageSize(pageSizeint64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall)PageToken¶
func (c *ProjectsLocationsListCall) PageToken(pageTokenstring) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token receivedfrom the `next_page_token` field in the response. Send that page token toreceive the subsequent page.
func (*ProjectsLocationsListCall)Pages¶
func (c *ProjectsLocationsListCall) Pages(ctxcontext.Context, f func(*ListLocationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsMeshesCreateCall¶added inv0.74.0
type ProjectsLocationsMeshesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsMeshesCreateCall)Context¶added inv0.74.0
func (c *ProjectsLocationsMeshesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsMeshesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsMeshesCreateCall)Do¶added inv0.74.0
func (c *ProjectsLocationsMeshesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.meshes.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsMeshesCreateCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsMeshesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsMeshesCreateCall)Header¶added inv0.74.0
func (c *ProjectsLocationsMeshesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsMeshesCreateCall)MeshId¶added inv0.74.0
func (c *ProjectsLocationsMeshesCreateCall) MeshId(meshIdstring) *ProjectsLocationsMeshesCreateCall
MeshId sets the optional parameter "meshId": Required. Short name of theMesh resource to be created.
typeProjectsLocationsMeshesDeleteCall¶added inv0.74.0
type ProjectsLocationsMeshesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsMeshesDeleteCall)Context¶added inv0.74.0
func (c *ProjectsLocationsMeshesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsMeshesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsMeshesDeleteCall)Do¶added inv0.74.0
func (c *ProjectsLocationsMeshesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.meshes.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsMeshesDeleteCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsMeshesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsMeshesDeleteCall)Header¶added inv0.74.0
func (c *ProjectsLocationsMeshesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsMeshesGetCall¶added inv0.74.0
type ProjectsLocationsMeshesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsMeshesGetCall)Context¶added inv0.74.0
func (c *ProjectsLocationsMeshesGetCall) Context(ctxcontext.Context) *ProjectsLocationsMeshesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsMeshesGetCall)Do¶added inv0.74.0
func (c *ProjectsLocationsMeshesGetCall) Do(opts ...googleapi.CallOption) (*Mesh,error)
Do executes the "networkservices.projects.locations.meshes.get" call.Any non-2xx status code is an error. Response headers are in either*Mesh.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsMeshesGetCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsMeshesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsMeshesGetCall)Header¶added inv0.74.0
func (c *ProjectsLocationsMeshesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsMeshesGetCall)IfNoneMatch¶added inv0.74.0
func (c *ProjectsLocationsMeshesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsMeshesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsMeshesListCall¶added inv0.74.0
type ProjectsLocationsMeshesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsMeshesListCall)Context¶added inv0.74.0
func (c *ProjectsLocationsMeshesListCall) Context(ctxcontext.Context) *ProjectsLocationsMeshesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsMeshesListCall)Do¶added inv0.74.0
func (c *ProjectsLocationsMeshesListCall) Do(opts ...googleapi.CallOption) (*ListMeshesResponse,error)
Do executes the "networkservices.projects.locations.meshes.list" call.Any non-2xx status code is an error. Response headers are in either*ListMeshesResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsMeshesListCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsMeshesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsMeshesListCall)Header¶added inv0.74.0
func (c *ProjectsLocationsMeshesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsMeshesListCall)IfNoneMatch¶added inv0.74.0
func (c *ProjectsLocationsMeshesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsMeshesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsMeshesListCall)PageSize¶added inv0.74.0
func (c *ProjectsLocationsMeshesListCall) PageSize(pageSizeint64) *ProjectsLocationsMeshesListCall
PageSize sets the optional parameter "pageSize": Maximum number of Meshes toreturn per call.
func (*ProjectsLocationsMeshesListCall)PageToken¶added inv0.74.0
func (c *ProjectsLocationsMeshesListCall) PageToken(pageTokenstring) *ProjectsLocationsMeshesListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListMeshesResponse` Indicates that this is a continuation of a prior`ListMeshes` call, and that the system should return the next page of data.
func (*ProjectsLocationsMeshesListCall)Pages¶added inv0.74.0
func (c *ProjectsLocationsMeshesListCall) Pages(ctxcontext.Context, f func(*ListMeshesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsMeshesListCall)ReturnPartialSuccess¶added inv0.224.0
func (c *ProjectsLocationsMeshesListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsMeshesListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess": Iftrue, allow partial responses for multi-regional Aggregated List requests.Otherwise if one of the locations is down or unreachable, the AggregatedList request will fail.
typeProjectsLocationsMeshesPatchCall¶added inv0.74.0
type ProjectsLocationsMeshesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsMeshesPatchCall)Context¶added inv0.74.0
func (c *ProjectsLocationsMeshesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsMeshesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsMeshesPatchCall)Do¶added inv0.74.0
func (c *ProjectsLocationsMeshesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.meshes.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsMeshesPatchCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsMeshesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsMeshesPatchCall)Header¶added inv0.74.0
func (c *ProjectsLocationsMeshesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsMeshesPatchCall)UpdateMask¶added inv0.74.0
func (c *ProjectsLocationsMeshesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsMeshesPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the Mesh resource by the update. Thefields specified in the update_mask are relative to the resource, not thefull request. A field will be overwritten if it is in the mask. If the userdoes not provide a mask then all fields will be overwritten.
typeProjectsLocationsMeshesRouteViewsGetCall¶added inv0.207.0
type ProjectsLocationsMeshesRouteViewsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsMeshesRouteViewsGetCall)Context¶added inv0.207.0
func (c *ProjectsLocationsMeshesRouteViewsGetCall) Context(ctxcontext.Context) *ProjectsLocationsMeshesRouteViewsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsMeshesRouteViewsGetCall)Do¶added inv0.207.0
func (c *ProjectsLocationsMeshesRouteViewsGetCall) Do(opts ...googleapi.CallOption) (*MeshRouteView,error)
Do executes the "networkservices.projects.locations.meshes.routeViews.get" call.Any non-2xx status code is an error. Response headers are in either*MeshRouteView.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsMeshesRouteViewsGetCall)Fields¶added inv0.207.0
func (c *ProjectsLocationsMeshesRouteViewsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesRouteViewsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsMeshesRouteViewsGetCall)Header¶added inv0.207.0
func (c *ProjectsLocationsMeshesRouteViewsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsMeshesRouteViewsGetCall)IfNoneMatch¶added inv0.207.0
func (c *ProjectsLocationsMeshesRouteViewsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsMeshesRouteViewsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsMeshesRouteViewsListCall¶added inv0.207.0
type ProjectsLocationsMeshesRouteViewsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsMeshesRouteViewsListCall)Context¶added inv0.207.0
func (c *ProjectsLocationsMeshesRouteViewsListCall) Context(ctxcontext.Context) *ProjectsLocationsMeshesRouteViewsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsMeshesRouteViewsListCall)Do¶added inv0.207.0
func (c *ProjectsLocationsMeshesRouteViewsListCall) Do(opts ...googleapi.CallOption) (*ListMeshRouteViewsResponse,error)
Do executes the "networkservices.projects.locations.meshes.routeViews.list" call.Any non-2xx status code is an error. Response headers are in either*ListMeshRouteViewsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsMeshesRouteViewsListCall)Fields¶added inv0.207.0
func (c *ProjectsLocationsMeshesRouteViewsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsMeshesRouteViewsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsMeshesRouteViewsListCall)Header¶added inv0.207.0
func (c *ProjectsLocationsMeshesRouteViewsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsMeshesRouteViewsListCall)IfNoneMatch¶added inv0.207.0
func (c *ProjectsLocationsMeshesRouteViewsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsMeshesRouteViewsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsMeshesRouteViewsListCall)PageSize¶added inv0.207.0
func (c *ProjectsLocationsMeshesRouteViewsListCall) PageSize(pageSizeint64) *ProjectsLocationsMeshesRouteViewsListCall
PageSize sets the optional parameter "pageSize": Maximum number ofMeshRouteViews to return per call.
func (*ProjectsLocationsMeshesRouteViewsListCall)PageToken¶added inv0.207.0
func (c *ProjectsLocationsMeshesRouteViewsListCall) PageToken(pageTokenstring) *ProjectsLocationsMeshesRouteViewsListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListMeshRouteViewsResponse` Indicates that this is a continuation of aprior `ListMeshRouteViews` call, and that the system should return the nextpage of data.
func (*ProjectsLocationsMeshesRouteViewsListCall)Pages¶added inv0.207.0
func (c *ProjectsLocationsMeshesRouteViewsListCall) Pages(ctxcontext.Context, f func(*ListMeshRouteViewsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsMeshesRouteViewsService¶added inv0.207.0
type ProjectsLocationsMeshesRouteViewsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsMeshesRouteViewsService¶added inv0.207.0
func NewProjectsLocationsMeshesRouteViewsService(s *Service) *ProjectsLocationsMeshesRouteViewsService
func (*ProjectsLocationsMeshesRouteViewsService)Get¶added inv0.207.0
func (r *ProjectsLocationsMeshesRouteViewsService) Get(namestring) *ProjectsLocationsMeshesRouteViewsGetCall
Get: Get a single RouteView of a Mesh.
- name: Name of the MeshRouteView resource. Format:projects/{project_number}/locations/{location}/meshes/{mesh}/routeViews/{route_view}.
func (*ProjectsLocationsMeshesRouteViewsService)List¶added inv0.207.0
func (r *ProjectsLocationsMeshesRouteViewsService) List(parentstring) *ProjectsLocationsMeshesRouteViewsListCall
List: Lists RouteViews
- parent: The Mesh to which a Route is associated. Format:projects/{project_number}/locations/{location}/meshes/{mesh}.
typeProjectsLocationsMeshesService¶added inv0.74.0
type ProjectsLocationsMeshesService struct {RouteViews *ProjectsLocationsMeshesRouteViewsService// contains filtered or unexported fields}funcNewProjectsLocationsMeshesService¶added inv0.74.0
func NewProjectsLocationsMeshesService(s *Service) *ProjectsLocationsMeshesService
func (*ProjectsLocationsMeshesService)Create¶added inv0.74.0
func (r *ProjectsLocationsMeshesService) Create(parentstring, mesh *Mesh) *ProjectsLocationsMeshesCreateCall
Create: Creates a new Mesh in a given project and location.
- parent: The parent resource of the Mesh. Must be in the format`projects/*/locations/*`.
func (*ProjectsLocationsMeshesService)Delete¶added inv0.74.0
func (r *ProjectsLocationsMeshesService) Delete(namestring) *ProjectsLocationsMeshesDeleteCall
Delete: Deletes a single Mesh.
- name: A name of the Mesh to delete. Must be in the format`projects/*/locations/*/meshes/*`.
func (*ProjectsLocationsMeshesService)Get¶added inv0.74.0
func (r *ProjectsLocationsMeshesService) Get(namestring) *ProjectsLocationsMeshesGetCall
Get: Gets details of a single Mesh.
- name: A name of the Mesh to get. Must be in the format`projects/*/locations/*/meshes/*`.
func (*ProjectsLocationsMeshesService)List¶added inv0.74.0
func (r *ProjectsLocationsMeshesService) List(parentstring) *ProjectsLocationsMeshesListCall
List: Lists Meshes in a given project and location.
- parent: The project and location from which the Meshes should be listed,specified in the format `projects/*/locations/*`.
func (*ProjectsLocationsMeshesService)Patch¶added inv0.74.0
func (r *ProjectsLocationsMeshesService) Patch(namestring, mesh *Mesh) *ProjectsLocationsMeshesPatchCall
Patch: Updates the parameters of a single Mesh.
- name: Identifier. Name of the Mesh resource. It matches pattern`projects/*/locations/*/meshes/`.
typeProjectsLocationsOperationsCancelCall¶
type ProjectsLocationsOperationsCancelCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsCancelCall)Context¶
func (c *ProjectsLocationsOperationsCancelCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsCancelCall)Do¶
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "networkservices.projects.locations.operations.cancel" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsCancelCall)Fields¶
func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsCancelCall)Header¶
func (c *ProjectsLocationsOperationsCancelCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsOperationsDeleteCall¶
type ProjectsLocationsOperationsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsDeleteCall)Context¶
func (c *ProjectsLocationsOperationsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsDeleteCall)Do¶
func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "networkservices.projects.locations.operations.delete" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsDeleteCall)Fields¶
func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsDeleteCall)Header¶
func (c *ProjectsLocationsOperationsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsOperationsGetCall¶
type ProjectsLocationsOperationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsGetCall)Context¶
func (c *ProjectsLocationsOperationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsGetCall)Do¶
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsGetCall)Fields¶
func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsGetCall)Header¶
func (c *ProjectsLocationsOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsOperationsListCall¶
type ProjectsLocationsOperationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsListCall)Context¶
func (c *ProjectsLocationsOperationsListCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsListCall)Do¶
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse,error)
Do executes the "networkservices.projects.locations.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsOperationsListCall)Fields¶
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsListCall)Filter¶
func (c *ProjectsLocationsOperationsListCall) Filter(filterstring) *ProjectsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsOperationsListCall)Header¶
func (c *ProjectsLocationsOperationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsOperationsListCall)PageSize¶
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list pagesize.
func (*ProjectsLocationsOperationsListCall)PageToken¶
func (c *ProjectsLocationsOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list pagetoken.
func (*ProjectsLocationsOperationsListCall)Pages¶
func (c *ProjectsLocationsOperationsListCall) Pages(ctxcontext.Context, f func(*ListOperationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsOperationsListCall)ReturnPartialSuccess¶added inv0.255.0
func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsOperationsListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.
typeProjectsLocationsOperationsService¶
type ProjectsLocationsOperationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsOperationsService¶
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService)Cancel¶
func (r *ProjectsLocationsOperationsService) Cancel(namestring, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. Theserver makes a best effort to cancel the operation, but success is notguaranteed. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation orother methods to check whether the cancellation succeeded or whether theoperation completed despite cancellation. On successful cancellation, theoperation is not deleted; instead, it becomes an operation with anOperation.error value with a google.rpc.Status.code of `1`, corresponding to`Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (*ProjectsLocationsOperationsService)Delete¶
func (r *ProjectsLocationsOperationsService) Delete(namestring) *ProjectsLocationsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that theclient is no longer interested in the operation result. It does not cancelthe operation. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (*ProjectsLocationsOperationsService)Get¶
func (r *ProjectsLocationsOperationsService) Get(namestring) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.
- name: The name of the operation resource.
func (*ProjectsLocationsOperationsService)List¶
func (r *ProjectsLocationsOperationsService) List(namestring) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
typeProjectsLocationsService¶
type ProjectsLocationsService struct {AuthzExtensions *ProjectsLocationsAuthzExtensionsServiceEndpointPolicies *ProjectsLocationsEndpointPoliciesServiceGateways *ProjectsLocationsGatewaysServiceGrpcRoutes *ProjectsLocationsGrpcRoutesServiceHttpRoutes *ProjectsLocationsHttpRoutesServiceLbEdgeExtensions *ProjectsLocationsLbEdgeExtensionsServiceLbRouteExtensions *ProjectsLocationsLbRouteExtensionsServiceLbTcpExtensions *ProjectsLocationsLbTcpExtensionsServiceLbTrafficExtensions *ProjectsLocationsLbTrafficExtensionsServiceMeshes *ProjectsLocationsMeshesServiceOperations *ProjectsLocationsOperationsServiceServiceBindings *ProjectsLocationsServiceBindingsServiceServiceLbPolicies *ProjectsLocationsServiceLbPoliciesServiceTcpRoutes *ProjectsLocationsTcpRoutesServiceTlsRoutes *ProjectsLocationsTlsRoutesServiceWasmPlugins *ProjectsLocationsWasmPluginsService// contains filtered or unexported fields}funcNewProjectsLocationsService¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (*ProjectsLocationsService)Get¶
func (r *ProjectsLocationsService) Get(namestring) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService)List¶
func (r *ProjectsLocationsService) List(namestring) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
typeProjectsLocationsServiceBindingsCreateCall¶added inv0.65.0
type ProjectsLocationsServiceBindingsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServiceBindingsCreateCall)Context¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsServiceBindingsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServiceBindingsCreateCall)Do¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.serviceBindings.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsServiceBindingsCreateCall)Fields¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServiceBindingsCreateCall)Header¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServiceBindingsCreateCall)ServiceBindingId¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsCreateCall) ServiceBindingId(serviceBindingIdstring) *ProjectsLocationsServiceBindingsCreateCall
ServiceBindingId sets the optional parameter "serviceBindingId": Required.Short name of the ServiceBinding resource to be created.
typeProjectsLocationsServiceBindingsDeleteCall¶added inv0.65.0
type ProjectsLocationsServiceBindingsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServiceBindingsDeleteCall)Context¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsServiceBindingsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServiceBindingsDeleteCall)Do¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.serviceBindings.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsServiceBindingsDeleteCall)Fields¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServiceBindingsDeleteCall)Header¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServiceBindingsGetCall¶added inv0.65.0
type ProjectsLocationsServiceBindingsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServiceBindingsGetCall)Context¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsGetCall) Context(ctxcontext.Context) *ProjectsLocationsServiceBindingsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServiceBindingsGetCall)Do¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsGetCall) Do(opts ...googleapi.CallOption) (*ServiceBinding,error)
Do executes the "networkservices.projects.locations.serviceBindings.get" call.Any non-2xx status code is an error. Response headers are in either*ServiceBinding.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsServiceBindingsGetCall)Fields¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServiceBindingsGetCall)Header¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServiceBindingsGetCall)IfNoneMatch¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServiceBindingsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsServiceBindingsListCall¶added inv0.65.0
type ProjectsLocationsServiceBindingsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServiceBindingsListCall)Context¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsListCall) Context(ctxcontext.Context) *ProjectsLocationsServiceBindingsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServiceBindingsListCall)Do¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsListCall) Do(opts ...googleapi.CallOption) (*ListServiceBindingsResponse,error)
Do executes the "networkservices.projects.locations.serviceBindings.list" call.Any non-2xx status code is an error. Response headers are in either*ListServiceBindingsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServiceBindingsListCall)Fields¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServiceBindingsListCall)Header¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServiceBindingsListCall)IfNoneMatch¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServiceBindingsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsServiceBindingsListCall)PageSize¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsListCall) PageSize(pageSizeint64) *ProjectsLocationsServiceBindingsListCall
PageSize sets the optional parameter "pageSize": Maximum number ofServiceBindings to return per call.
func (*ProjectsLocationsServiceBindingsListCall)PageToken¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsListCall) PageToken(pageTokenstring) *ProjectsLocationsServiceBindingsListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListServiceBindingsResponse` Indicates that this is a continuation ofa prior `ListRouters` call, and that the system should return the next pageof data.
func (*ProjectsLocationsServiceBindingsListCall)Pages¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsListCall) Pages(ctxcontext.Context, f func(*ListServiceBindingsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsServiceBindingsPatchCall¶added inv0.65.0
type ProjectsLocationsServiceBindingsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServiceBindingsPatchCall)Context¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsServiceBindingsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServiceBindingsPatchCall)Do¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.serviceBindings.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsServiceBindingsPatchCall)Fields¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceBindingsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServiceBindingsPatchCall)Header¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServiceBindingsPatchCall)UpdateMask¶added inv0.65.0
func (c *ProjectsLocationsServiceBindingsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsServiceBindingsPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the ServiceBinding resource by theupdate. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsServiceBindingsService¶added inv0.62.0
type ProjectsLocationsServiceBindingsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsServiceBindingsService¶added inv0.62.0
func NewProjectsLocationsServiceBindingsService(s *Service) *ProjectsLocationsServiceBindingsService
func (*ProjectsLocationsServiceBindingsService)Create¶added inv0.65.0
func (r *ProjectsLocationsServiceBindingsService) Create(parentstring, servicebinding *ServiceBinding) *ProjectsLocationsServiceBindingsCreateCall
Create: Creates a new ServiceBinding in a given project and location.
- parent: The parent resource of the ServiceBinding. Must be in the format`projects/*/locations/*`.
func (*ProjectsLocationsServiceBindingsService)Delete¶added inv0.65.0
func (r *ProjectsLocationsServiceBindingsService) Delete(namestring) *ProjectsLocationsServiceBindingsDeleteCall
Delete: Deletes a single ServiceBinding.
- name: A name of the ServiceBinding to delete. Must be in the format`projects/*/locations/*/serviceBindings/*`.
func (*ProjectsLocationsServiceBindingsService)Get¶added inv0.65.0
func (r *ProjectsLocationsServiceBindingsService) Get(namestring) *ProjectsLocationsServiceBindingsGetCall
Get: Gets details of a single ServiceBinding.
- name: A name of the ServiceBinding to get. Must be in the format`projects/*/locations/*/serviceBindings/*`.
func (*ProjectsLocationsServiceBindingsService)List¶added inv0.65.0
func (r *ProjectsLocationsServiceBindingsService) List(parentstring) *ProjectsLocationsServiceBindingsListCall
List: Lists ServiceBinding in a given project and location.
- parent: The project and location from which the ServiceBindings should belisted, specified in the format `projects/*/locations/*`.
func (*ProjectsLocationsServiceBindingsService)Patch¶added inv0.65.0
func (r *ProjectsLocationsServiceBindingsService) Patch(namestring, servicebinding *ServiceBinding) *ProjectsLocationsServiceBindingsPatchCall
Patch: Updates the parameters of a single ServiceBinding.
- name: Identifier. Name of the ServiceBinding resource. It matches pattern`projects/*/locations/*/serviceBindings/`.
typeProjectsLocationsServiceLbPoliciesCreateCall¶added inv0.129.0
type ProjectsLocationsServiceLbPoliciesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServiceLbPoliciesCreateCall)Context¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsServiceLbPoliciesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServiceLbPoliciesCreateCall)Do¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.serviceLbPolicies.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsServiceLbPoliciesCreateCall)Fields¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceLbPoliciesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServiceLbPoliciesCreateCall)Header¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServiceLbPoliciesCreateCall)ServiceLbPolicyId¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesCreateCall) ServiceLbPolicyId(serviceLbPolicyIdstring) *ProjectsLocationsServiceLbPoliciesCreateCall
ServiceLbPolicyId sets the optional parameter "serviceLbPolicyId": Required.Short name of the ServiceLbPolicy resource to be created. E.g. for resourcename`projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`. the id is value of {service_lb_policy_name}
typeProjectsLocationsServiceLbPoliciesDeleteCall¶added inv0.129.0
type ProjectsLocationsServiceLbPoliciesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServiceLbPoliciesDeleteCall)Context¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsServiceLbPoliciesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServiceLbPoliciesDeleteCall)Do¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.serviceLbPolicies.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsServiceLbPoliciesDeleteCall)Fields¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceLbPoliciesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServiceLbPoliciesDeleteCall)Header¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServiceLbPoliciesGetCall¶added inv0.129.0
type ProjectsLocationsServiceLbPoliciesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServiceLbPoliciesGetCall)Context¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesGetCall) Context(ctxcontext.Context) *ProjectsLocationsServiceLbPoliciesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServiceLbPoliciesGetCall)Do¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesGetCall) Do(opts ...googleapi.CallOption) (*ServiceLbPolicy,error)
Do executes the "networkservices.projects.locations.serviceLbPolicies.get" call.Any non-2xx status code is an error. Response headers are in either*ServiceLbPolicy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsServiceLbPoliciesGetCall)Fields¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceLbPoliciesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServiceLbPoliciesGetCall)Header¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServiceLbPoliciesGetCall)IfNoneMatch¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServiceLbPoliciesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsServiceLbPoliciesListCall¶added inv0.129.0
type ProjectsLocationsServiceLbPoliciesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServiceLbPoliciesListCall)Context¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesListCall) Context(ctxcontext.Context) *ProjectsLocationsServiceLbPoliciesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServiceLbPoliciesListCall)Do¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesListCall) Do(opts ...googleapi.CallOption) (*ListServiceLbPoliciesResponse,error)
Do executes the "networkservices.projects.locations.serviceLbPolicies.list" call.Any non-2xx status code is an error. Response headers are in either*ListServiceLbPoliciesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsServiceLbPoliciesListCall)Fields¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceLbPoliciesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServiceLbPoliciesListCall)Header¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServiceLbPoliciesListCall)IfNoneMatch¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServiceLbPoliciesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsServiceLbPoliciesListCall)PageSize¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesListCall) PageSize(pageSizeint64) *ProjectsLocationsServiceLbPoliciesListCall
PageSize sets the optional parameter "pageSize": Maximum number ofServiceLbPolicies to return per call.
func (*ProjectsLocationsServiceLbPoliciesListCall)PageToken¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesListCall) PageToken(pageTokenstring) *ProjectsLocationsServiceLbPoliciesListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListServiceLbPoliciesResponse` Indicates that this is a continuationof a prior `ListRouters` call, and that the system should return the nextpage of data.
func (*ProjectsLocationsServiceLbPoliciesListCall)Pages¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesListCall) Pages(ctxcontext.Context, f func(*ListServiceLbPoliciesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsServiceLbPoliciesPatchCall¶added inv0.129.0
type ProjectsLocationsServiceLbPoliciesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServiceLbPoliciesPatchCall)Context¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsServiceLbPoliciesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServiceLbPoliciesPatchCall)Do¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.serviceLbPolicies.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsServiceLbPoliciesPatchCall)Fields¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsServiceLbPoliciesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServiceLbPoliciesPatchCall)Header¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServiceLbPoliciesPatchCall)UpdateMask¶added inv0.129.0
func (c *ProjectsLocationsServiceLbPoliciesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsServiceLbPoliciesPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the ServiceLbPolicy resource by theupdate. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsServiceLbPoliciesService¶added inv0.129.0
type ProjectsLocationsServiceLbPoliciesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsServiceLbPoliciesService¶added inv0.129.0
func NewProjectsLocationsServiceLbPoliciesService(s *Service) *ProjectsLocationsServiceLbPoliciesService
func (*ProjectsLocationsServiceLbPoliciesService)Create¶added inv0.129.0
func (r *ProjectsLocationsServiceLbPoliciesService) Create(parentstring, servicelbpolicy *ServiceLbPolicy) *ProjectsLocationsServiceLbPoliciesCreateCall
Create: Creates a new ServiceLbPolicy in a given project and location.
- parent: The parent resource of the ServiceLbPolicy. Must be in the format`projects/{project}/locations/{location}`.
func (*ProjectsLocationsServiceLbPoliciesService)Delete¶added inv0.129.0
func (r *ProjectsLocationsServiceLbPoliciesService) Delete(namestring) *ProjectsLocationsServiceLbPoliciesDeleteCall
Delete: Deletes a single ServiceLbPolicy.
- name: A name of the ServiceLbPolicy to delete. Must be in the format`projects/{project}/locations/{location}/serviceLbPolicies/*`.
func (*ProjectsLocationsServiceLbPoliciesService)Get¶added inv0.129.0
func (r *ProjectsLocationsServiceLbPoliciesService) Get(namestring) *ProjectsLocationsServiceLbPoliciesGetCall
Get: Gets details of a single ServiceLbPolicy.
- name: A name of the ServiceLbPolicy to get. Must be in the format`projects/{project}/locations/{location}/serviceLbPolicies/*`.
func (*ProjectsLocationsServiceLbPoliciesService)List¶added inv0.129.0
func (r *ProjectsLocationsServiceLbPoliciesService) List(parentstring) *ProjectsLocationsServiceLbPoliciesListCall
List: Lists ServiceLbPolicies in a given project and location.
- parent: The project and location from which the ServiceLbPolicies shouldbe listed, specified in the format`projects/{project}/locations/{location}`.
func (*ProjectsLocationsServiceLbPoliciesService)Patch¶added inv0.129.0
func (r *ProjectsLocationsServiceLbPoliciesService) Patch(namestring, servicelbpolicy *ServiceLbPolicy) *ProjectsLocationsServiceLbPoliciesPatchCall
Patch: Updates the parameters of a single ServiceLbPolicy.
- name: Identifier. Name of the ServiceLbPolicy resource. It matches pattern`projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.
typeProjectsLocationsTcpRoutesCreateCall¶added inv0.74.0
type ProjectsLocationsTcpRoutesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTcpRoutesCreateCall)Context¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsTcpRoutesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTcpRoutesCreateCall)Do¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.tcpRoutes.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTcpRoutesCreateCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTcpRoutesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTcpRoutesCreateCall)Header¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTcpRoutesCreateCall)TcpRouteId¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesCreateCall) TcpRouteId(tcpRouteIdstring) *ProjectsLocationsTcpRoutesCreateCall
TcpRouteId sets the optional parameter "tcpRouteId": Required. Short name ofthe TcpRoute resource to be created.
typeProjectsLocationsTcpRoutesDeleteCall¶added inv0.74.0
type ProjectsLocationsTcpRoutesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTcpRoutesDeleteCall)Context¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsTcpRoutesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTcpRoutesDeleteCall)Do¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.tcpRoutes.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTcpRoutesDeleteCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTcpRoutesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTcpRoutesDeleteCall)Header¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsTcpRoutesGetCall¶added inv0.74.0
type ProjectsLocationsTcpRoutesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTcpRoutesGetCall)Context¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesGetCall) Context(ctxcontext.Context) *ProjectsLocationsTcpRoutesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTcpRoutesGetCall)Do¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesGetCall) Do(opts ...googleapi.CallOption) (*TcpRoute,error)
Do executes the "networkservices.projects.locations.tcpRoutes.get" call.Any non-2xx status code is an error. Response headers are in either*TcpRoute.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTcpRoutesGetCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTcpRoutesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTcpRoutesGetCall)Header¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTcpRoutesGetCall)IfNoneMatch¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsTcpRoutesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsTcpRoutesListCall¶added inv0.74.0
type ProjectsLocationsTcpRoutesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTcpRoutesListCall)Context¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesListCall) Context(ctxcontext.Context) *ProjectsLocationsTcpRoutesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTcpRoutesListCall)Do¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesListCall) Do(opts ...googleapi.CallOption) (*ListTcpRoutesResponse,error)
Do executes the "networkservices.projects.locations.tcpRoutes.list" call.Any non-2xx status code is an error. Response headers are in either*ListTcpRoutesResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsTcpRoutesListCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTcpRoutesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTcpRoutesListCall)Header¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTcpRoutesListCall)IfNoneMatch¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsTcpRoutesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsTcpRoutesListCall)PageSize¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesListCall) PageSize(pageSizeint64) *ProjectsLocationsTcpRoutesListCall
PageSize sets the optional parameter "pageSize": Maximum number of TcpRoutesto return per call.
func (*ProjectsLocationsTcpRoutesListCall)PageToken¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesListCall) PageToken(pageTokenstring) *ProjectsLocationsTcpRoutesListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListTcpRoutesResponse` Indicates that this is a continuation of aprior `ListTcpRoutes` call, and that the system should return the next pageof data.
func (*ProjectsLocationsTcpRoutesListCall)Pages¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesListCall) Pages(ctxcontext.Context, f func(*ListTcpRoutesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsTcpRoutesListCall)ReturnPartialSuccess¶added inv0.228.0
func (c *ProjectsLocationsTcpRoutesListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsTcpRoutesListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess": Iftrue, allow partial responses for multi-regional Aggregated List requests.Otherwise if one of the locations is down or unreachable, the AggregatedList request will fail.
typeProjectsLocationsTcpRoutesPatchCall¶added inv0.74.0
type ProjectsLocationsTcpRoutesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTcpRoutesPatchCall)Context¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsTcpRoutesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTcpRoutesPatchCall)Do¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.tcpRoutes.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTcpRoutesPatchCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTcpRoutesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTcpRoutesPatchCall)Header¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTcpRoutesPatchCall)UpdateMask¶added inv0.74.0
func (c *ProjectsLocationsTcpRoutesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsTcpRoutesPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the TcpRoute resource by the update.The fields specified in the update_mask are relative to the resource, notthe full request. A field will be overwritten if it is in the mask. If theuser does not provide a mask then all fields will be overwritten.
typeProjectsLocationsTcpRoutesService¶added inv0.74.0
type ProjectsLocationsTcpRoutesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsTcpRoutesService¶added inv0.74.0
func NewProjectsLocationsTcpRoutesService(s *Service) *ProjectsLocationsTcpRoutesService
func (*ProjectsLocationsTcpRoutesService)Create¶added inv0.74.0
func (r *ProjectsLocationsTcpRoutesService) Create(parentstring, tcproute *TcpRoute) *ProjectsLocationsTcpRoutesCreateCall
Create: Creates a new TcpRoute in a given project and location.
- parent: The parent resource of the TcpRoute. Must be in the format`projects/*/locations/*`.
func (*ProjectsLocationsTcpRoutesService)Delete¶added inv0.74.0
func (r *ProjectsLocationsTcpRoutesService) Delete(namestring) *ProjectsLocationsTcpRoutesDeleteCall
Delete: Deletes a single TcpRoute.
- name: A name of the TcpRoute to delete. Must be in the format`projects/*/locations/*/tcpRoutes/*`.
func (*ProjectsLocationsTcpRoutesService)Get¶added inv0.74.0
func (r *ProjectsLocationsTcpRoutesService) Get(namestring) *ProjectsLocationsTcpRoutesGetCall
Get: Gets details of a single TcpRoute.
- name: A name of the TcpRoute to get. Must be in the format`projects/*/locations/*/tcpRoutes/*`.
func (*ProjectsLocationsTcpRoutesService)List¶added inv0.74.0
func (r *ProjectsLocationsTcpRoutesService) List(parentstring) *ProjectsLocationsTcpRoutesListCall
List: Lists TcpRoute in a given project and location.
- parent: The project and location from which the TcpRoutes should belisted, specified in the format `projects/*/locations/*`.
func (*ProjectsLocationsTcpRoutesService)Patch¶added inv0.74.0
func (r *ProjectsLocationsTcpRoutesService) Patch(namestring, tcproute *TcpRoute) *ProjectsLocationsTcpRoutesPatchCall
Patch: Updates the parameters of a single TcpRoute.
- name: Identifier. Name of the TcpRoute resource. It matches pattern`projects/*/locations/*/tcpRoutes/tcp_route_name>`.
typeProjectsLocationsTlsRoutesCreateCall¶added inv0.74.0
type ProjectsLocationsTlsRoutesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTlsRoutesCreateCall)Context¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsTlsRoutesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTlsRoutesCreateCall)Do¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.tlsRoutes.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTlsRoutesCreateCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTlsRoutesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTlsRoutesCreateCall)Header¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTlsRoutesCreateCall)TlsRouteId¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesCreateCall) TlsRouteId(tlsRouteIdstring) *ProjectsLocationsTlsRoutesCreateCall
TlsRouteId sets the optional parameter "tlsRouteId": Required. Short name ofthe TlsRoute resource to be created.
typeProjectsLocationsTlsRoutesDeleteCall¶added inv0.74.0
type ProjectsLocationsTlsRoutesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTlsRoutesDeleteCall)Context¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsTlsRoutesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTlsRoutesDeleteCall)Do¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.tlsRoutes.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTlsRoutesDeleteCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTlsRoutesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTlsRoutesDeleteCall)Header¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsTlsRoutesGetCall¶added inv0.74.0
type ProjectsLocationsTlsRoutesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTlsRoutesGetCall)Context¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesGetCall) Context(ctxcontext.Context) *ProjectsLocationsTlsRoutesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTlsRoutesGetCall)Do¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesGetCall) Do(opts ...googleapi.CallOption) (*TlsRoute,error)
Do executes the "networkservices.projects.locations.tlsRoutes.get" call.Any non-2xx status code is an error. Response headers are in either*TlsRoute.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTlsRoutesGetCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTlsRoutesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTlsRoutesGetCall)Header¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTlsRoutesGetCall)IfNoneMatch¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsTlsRoutesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsTlsRoutesListCall¶added inv0.74.0
type ProjectsLocationsTlsRoutesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTlsRoutesListCall)Context¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesListCall) Context(ctxcontext.Context) *ProjectsLocationsTlsRoutesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTlsRoutesListCall)Do¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesListCall) Do(opts ...googleapi.CallOption) (*ListTlsRoutesResponse,error)
Do executes the "networkservices.projects.locations.tlsRoutes.list" call.Any non-2xx status code is an error. Response headers are in either*ListTlsRoutesResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsTlsRoutesListCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTlsRoutesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTlsRoutesListCall)Header¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTlsRoutesListCall)IfNoneMatch¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsTlsRoutesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsTlsRoutesListCall)PageSize¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesListCall) PageSize(pageSizeint64) *ProjectsLocationsTlsRoutesListCall
PageSize sets the optional parameter "pageSize": Maximum number of TlsRoutesto return per call.
func (*ProjectsLocationsTlsRoutesListCall)PageToken¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesListCall) PageToken(pageTokenstring) *ProjectsLocationsTlsRoutesListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListTlsRoutesResponse` Indicates that this is a continuation of aprior `ListTlsRoutes` call, and that the system should return the next pageof data.
func (*ProjectsLocationsTlsRoutesListCall)Pages¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesListCall) Pages(ctxcontext.Context, f func(*ListTlsRoutesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsTlsRoutesListCall)ReturnPartialSuccess¶added inv0.228.0
func (c *ProjectsLocationsTlsRoutesListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsTlsRoutesListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess": Iftrue, allow partial responses for multi-regional Aggregated List requests.Otherwise if one of the locations is down or unreachable, the AggregatedList request will fail.
typeProjectsLocationsTlsRoutesPatchCall¶added inv0.74.0
type ProjectsLocationsTlsRoutesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTlsRoutesPatchCall)Context¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsTlsRoutesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTlsRoutesPatchCall)Do¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.tlsRoutes.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTlsRoutesPatchCall)Fields¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTlsRoutesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTlsRoutesPatchCall)Header¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTlsRoutesPatchCall)UpdateMask¶added inv0.74.0
func (c *ProjectsLocationsTlsRoutesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsTlsRoutesPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the TlsRoute resource by the update.The fields specified in the update_mask are relative to the resource, notthe full request. A field will be overwritten if it is in the mask. If theuser does not provide a mask then all fields will be overwritten.
typeProjectsLocationsTlsRoutesService¶added inv0.74.0
type ProjectsLocationsTlsRoutesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsTlsRoutesService¶added inv0.74.0
func NewProjectsLocationsTlsRoutesService(s *Service) *ProjectsLocationsTlsRoutesService
func (*ProjectsLocationsTlsRoutesService)Create¶added inv0.74.0
func (r *ProjectsLocationsTlsRoutesService) Create(parentstring, tlsroute *TlsRoute) *ProjectsLocationsTlsRoutesCreateCall
Create: Creates a new TlsRoute in a given project and location.
- parent: The parent resource of the TlsRoute. Must be in the format`projects/*/locations/*`.
func (*ProjectsLocationsTlsRoutesService)Delete¶added inv0.74.0
func (r *ProjectsLocationsTlsRoutesService) Delete(namestring) *ProjectsLocationsTlsRoutesDeleteCall
Delete: Deletes a single TlsRoute.
- name: A name of the TlsRoute to delete. Must be in the format`projects/*/locations/*/tlsRoutes/*`.
func (*ProjectsLocationsTlsRoutesService)Get¶added inv0.74.0
func (r *ProjectsLocationsTlsRoutesService) Get(namestring) *ProjectsLocationsTlsRoutesGetCall
Get: Gets details of a single TlsRoute.
- name: A name of the TlsRoute to get. Must be in the format`projects/*/locations/*/tlsRoutes/*`.
func (*ProjectsLocationsTlsRoutesService)List¶added inv0.74.0
func (r *ProjectsLocationsTlsRoutesService) List(parentstring) *ProjectsLocationsTlsRoutesListCall
List: Lists TlsRoute in a given project and location.
- parent: The project and location from which the TlsRoutes should belisted, specified in the format `projects/*/locations/*`.
func (*ProjectsLocationsTlsRoutesService)Patch¶added inv0.74.0
func (r *ProjectsLocationsTlsRoutesService) Patch(namestring, tlsroute *TlsRoute) *ProjectsLocationsTlsRoutesPatchCall
Patch: Updates the parameters of a single TlsRoute.
- name: Identifier. Name of the TlsRoute resource. It matches pattern`projects/*/locations/*/tlsRoutes/tls_route_name>`.
typeProjectsLocationsWasmPluginsCreateCall¶added inv0.204.0
type ProjectsLocationsWasmPluginsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsWasmPluginsCreateCall)Context¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsWasmPluginsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsWasmPluginsCreateCall)Do¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.wasmPlugins.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsWasmPluginsCreateCall)Fields¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsWasmPluginsCreateCall)Header¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsWasmPluginsCreateCall)WasmPluginId¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsCreateCall) WasmPluginId(wasmPluginIdstring) *ProjectsLocationsWasmPluginsCreateCall
WasmPluginId sets the optional parameter "wasmPluginId": Required.User-provided ID of the `WasmPlugin` resource to be created.
typeProjectsLocationsWasmPluginsDeleteCall¶added inv0.204.0
type ProjectsLocationsWasmPluginsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsWasmPluginsDeleteCall)Context¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsWasmPluginsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsWasmPluginsDeleteCall)Do¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.wasmPlugins.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsWasmPluginsDeleteCall)Fields¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsWasmPluginsDeleteCall)Header¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsWasmPluginsGetCall¶added inv0.204.0
type ProjectsLocationsWasmPluginsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsWasmPluginsGetCall)Context¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsGetCall) Context(ctxcontext.Context) *ProjectsLocationsWasmPluginsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsWasmPluginsGetCall)Do¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsGetCall) Do(opts ...googleapi.CallOption) (*WasmPlugin,error)
Do executes the "networkservices.projects.locations.wasmPlugins.get" call.Any non-2xx status code is an error. Response headers are in either*WasmPlugin.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsWasmPluginsGetCall)Fields¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsWasmPluginsGetCall)Header¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsWasmPluginsGetCall)IfNoneMatch¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsWasmPluginsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsWasmPluginsGetCall)View¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsGetCall) View(viewstring) *ProjectsLocationsWasmPluginsGetCall
View sets the optional parameter "view": Determines how much data must bereturned in the response. See AIP-157 (https://google.aip.dev/157).
Possible values:
"WASM_PLUGIN_VIEW_UNSPECIFIED" - Unspecified value. Do not use."WASM_PLUGIN_VIEW_BASIC" - If specified in the `GET` request for a
`WasmPlugin` resource, the server's response includes just the `WasmPlugin`resource.
"WASM_PLUGIN_VIEW_FULL" - If specified in the `GET` request for a
`WasmPlugin` resource, the server's response includes the `WasmPlugin`resource with all its versions.
typeProjectsLocationsWasmPluginsListCall¶added inv0.204.0
type ProjectsLocationsWasmPluginsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsWasmPluginsListCall)Context¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsListCall) Context(ctxcontext.Context) *ProjectsLocationsWasmPluginsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsWasmPluginsListCall)Do¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsListCall) Do(opts ...googleapi.CallOption) (*ListWasmPluginsResponse,error)
Do executes the "networkservices.projects.locations.wasmPlugins.list" call.Any non-2xx status code is an error. Response headers are in either*ListWasmPluginsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsWasmPluginsListCall)Fields¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsWasmPluginsListCall)Header¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsWasmPluginsListCall)IfNoneMatch¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsWasmPluginsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsWasmPluginsListCall)PageSize¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsListCall) PageSize(pageSizeint64) *ProjectsLocationsWasmPluginsListCall
PageSize sets the optional parameter "pageSize": 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 above1000 are coerced to 1000.
func (*ProjectsLocationsWasmPluginsListCall)PageToken¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsListCall) PageToken(pageTokenstring) *ProjectsLocationsWasmPluginsListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListWasmPluginsResponse` call. Indicates that this is a continuationof a prior `ListWasmPlugins` call, and that the next page of data is to bereturned.
func (*ProjectsLocationsWasmPluginsListCall)Pages¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsListCall) Pages(ctxcontext.Context, f func(*ListWasmPluginsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsWasmPluginsPatchCall¶added inv0.204.0
type ProjectsLocationsWasmPluginsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsWasmPluginsPatchCall)Context¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsWasmPluginsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsWasmPluginsPatchCall)Do¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.wasmPlugins.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsWasmPluginsPatchCall)Fields¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsWasmPluginsPatchCall)Header¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsWasmPluginsPatchCall)UpdateMask¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsWasmPluginsPatchCall
UpdateMask sets the optional parameter "updateMask": Used to specify thefields to be overwritten in the `WasmPlugin` resource by the update. Thefields specified in the `update_mask` field are relative to the resource,not the full request. An omitted `update_mask` field is treated as animplied `update_mask` field equivalent to all fields that are populated(that have a non-empty value). The `update_mask` field supports a specialvalue `*`, which means that each field in the given `WasmPlugin` resource(including the empty ones) replaces the current value.
typeProjectsLocationsWasmPluginsService¶added inv0.204.0
type ProjectsLocationsWasmPluginsService struct {Versions *ProjectsLocationsWasmPluginsVersionsService// contains filtered or unexported fields}funcNewProjectsLocationsWasmPluginsService¶added inv0.204.0
func NewProjectsLocationsWasmPluginsService(s *Service) *ProjectsLocationsWasmPluginsService
func (*ProjectsLocationsWasmPluginsService)Create¶added inv0.204.0
func (r *ProjectsLocationsWasmPluginsService) Create(parentstring, wasmplugin *WasmPlugin) *ProjectsLocationsWasmPluginsCreateCall
Create: Creates a new `WasmPlugin` resource in a given project and location.
- parent: The parent resource of the `WasmPlugin` resource. Must be in theformat `projects/{project}/locations/global`.
func (*ProjectsLocationsWasmPluginsService)Delete¶added inv0.204.0
func (r *ProjectsLocationsWasmPluginsService) Delete(namestring) *ProjectsLocationsWasmPluginsDeleteCall
Delete: Deletes the specified `WasmPlugin` resource.
- name: A name of the `WasmPlugin` resource to delete. Must be in the format`projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
func (*ProjectsLocationsWasmPluginsService)Get¶added inv0.204.0
func (r *ProjectsLocationsWasmPluginsService) Get(namestring) *ProjectsLocationsWasmPluginsGetCall
Get: Gets details of the specified `WasmPlugin` resource.
- name: A name of the `WasmPlugin` resource to get. Must be in the format`projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
func (*ProjectsLocationsWasmPluginsService)List¶added inv0.204.0
func (r *ProjectsLocationsWasmPluginsService) List(parentstring) *ProjectsLocationsWasmPluginsListCall
List: Lists `WasmPlugin` resources in a given project and location.
- parent: The project and location from which the `WasmPlugin` resources arelisted, specified in the following format:`projects/{project}/locations/global`.
func (*ProjectsLocationsWasmPluginsService)Patch¶added inv0.204.0
func (r *ProjectsLocationsWasmPluginsService) Patch(namestring, wasmplugin *WasmPlugin) *ProjectsLocationsWasmPluginsPatchCall
Patch: Updates the parameters of the specified `WasmPlugin` resource.
- name: Identifier. Name of the `WasmPlugin` resource in the followingformat:`projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`.
typeProjectsLocationsWasmPluginsVersionsCreateCall¶added inv0.204.0
type ProjectsLocationsWasmPluginsVersionsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsWasmPluginsVersionsCreateCall)Context¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsWasmPluginsVersionsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsWasmPluginsVersionsCreateCall)Do¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.wasmPlugins.versions.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsWasmPluginsVersionsCreateCall)Fields¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsVersionsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsWasmPluginsVersionsCreateCall)Header¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsWasmPluginsVersionsCreateCall)WasmPluginVersionId¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsCreateCall) WasmPluginVersionId(wasmPluginVersionIdstring) *ProjectsLocationsWasmPluginsVersionsCreateCall
WasmPluginVersionId sets the optional parameter "wasmPluginVersionId":Required. User-provided ID of the `WasmPluginVersion` resource to becreated.
typeProjectsLocationsWasmPluginsVersionsDeleteCall¶added inv0.204.0
type ProjectsLocationsWasmPluginsVersionsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsWasmPluginsVersionsDeleteCall)Context¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsWasmPluginsVersionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsWasmPluginsVersionsDeleteCall)Do¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "networkservices.projects.locations.wasmPlugins.versions.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsWasmPluginsVersionsDeleteCall)Fields¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsVersionsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsWasmPluginsVersionsDeleteCall)Header¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsWasmPluginsVersionsGetCall¶added inv0.204.0
type ProjectsLocationsWasmPluginsVersionsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsWasmPluginsVersionsGetCall)Context¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsGetCall) Context(ctxcontext.Context) *ProjectsLocationsWasmPluginsVersionsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsWasmPluginsVersionsGetCall)Do¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsGetCall) Do(opts ...googleapi.CallOption) (*WasmPluginVersion,error)
Do executes the "networkservices.projects.locations.wasmPlugins.versions.get" call.Any non-2xx status code is an error. Response headers are in either*WasmPluginVersion.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsWasmPluginsVersionsGetCall)Fields¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsVersionsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsWasmPluginsVersionsGetCall)Header¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsWasmPluginsVersionsGetCall)IfNoneMatch¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsWasmPluginsVersionsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsWasmPluginsVersionsListCall¶added inv0.204.0
type ProjectsLocationsWasmPluginsVersionsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsWasmPluginsVersionsListCall)Context¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsListCall) Context(ctxcontext.Context) *ProjectsLocationsWasmPluginsVersionsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsWasmPluginsVersionsListCall)Do¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsListCall) Do(opts ...googleapi.CallOption) (*ListWasmPluginVersionsResponse,error)
Do executes the "networkservices.projects.locations.wasmPlugins.versions.list" call.Any non-2xx status code is an error. Response headers are in either*ListWasmPluginVersionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsWasmPluginsVersionsListCall)Fields¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsWasmPluginsVersionsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsWasmPluginsVersionsListCall)Header¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsWasmPluginsVersionsListCall)IfNoneMatch¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsWasmPluginsVersionsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsWasmPluginsVersionsListCall)PageSize¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsListCall) PageSize(pageSizeint64) *ProjectsLocationsWasmPluginsVersionsListCall
PageSize sets the optional parameter "pageSize": Maximum number of`WasmPluginVersion` resources to return per call. If not specified, at most50 `WasmPluginVersion` resources are returned. The maximum value is 1000;values above 1000 are coerced to 1000.
func (*ProjectsLocationsWasmPluginsVersionsListCall)PageToken¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsListCall) PageToken(pageTokenstring) *ProjectsLocationsWasmPluginsVersionsListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListWasmPluginVersionsResponse` call. Indicates that this is acontinuation of a prior `ListWasmPluginVersions` call, and that the nextpage of data is to be returned.
func (*ProjectsLocationsWasmPluginsVersionsListCall)Pages¶added inv0.204.0
func (c *ProjectsLocationsWasmPluginsVersionsListCall) Pages(ctxcontext.Context, f func(*ListWasmPluginVersionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsWasmPluginsVersionsService¶added inv0.204.0
type ProjectsLocationsWasmPluginsVersionsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsWasmPluginsVersionsService¶added inv0.204.0
func NewProjectsLocationsWasmPluginsVersionsService(s *Service) *ProjectsLocationsWasmPluginsVersionsService
func (*ProjectsLocationsWasmPluginsVersionsService)Create¶added inv0.204.0
func (r *ProjectsLocationsWasmPluginsVersionsService) Create(parentstring, wasmpluginversion *WasmPluginVersion) *ProjectsLocationsWasmPluginsVersionsCreateCall
Create: Creates a new `WasmPluginVersion` resource in a given project andlocation.
- parent: The parent resource of the `WasmPluginVersion` resource. Must bein the format`projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
func (*ProjectsLocationsWasmPluginsVersionsService)Delete¶added inv0.204.0
func (r *ProjectsLocationsWasmPluginsVersionsService) Delete(namestring) *ProjectsLocationsWasmPluginsVersionsDeleteCall
Delete: Deletes the specified `WasmPluginVersion` resource.
- name: A name of the `WasmPluginVersion` resource to delete. Must be in theformat`projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`.
func (*ProjectsLocationsWasmPluginsVersionsService)Get¶added inv0.204.0
func (r *ProjectsLocationsWasmPluginsVersionsService) Get(namestring) *ProjectsLocationsWasmPluginsVersionsGetCall
Get: Gets details of the specified `WasmPluginVersion` resource.
- name: A name of the `WasmPluginVersion` resource to get. Must be in theformat`projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`.
func (*ProjectsLocationsWasmPluginsVersionsService)List¶added inv0.204.0
func (r *ProjectsLocationsWasmPluginsVersionsService) List(parentstring) *ProjectsLocationsWasmPluginsVersionsListCall
List: Lists `WasmPluginVersion` resources in a given project and location.
- parent: The `WasmPlugin` resource whose `WasmPluginVersion`s are listed,specified in the following format:`projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
typeProjectsService¶
type ProjectsService struct {Locations *ProjectsLocationsService// contains filtered or unexported fields}funcNewProjectsService¶
func NewProjectsService(s *Service) *ProjectsService
typeRetryFilterPerRouteConfig¶added inv0.199.0
type RetryFilterPerRouteConfig struct {// CryptoKeyName: The name of the crypto key to use for encrypting event data.CryptoKeyNamestring `json:"cryptoKeyName,omitempty"`// ForceSendFields is a list of field names (e.g. "CryptoKeyName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CryptoKeyName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}func (RetryFilterPerRouteConfig)MarshalJSON¶added inv0.199.0
func (sRetryFilterPerRouteConfig) MarshalJSON() ([]byte,error)
typeService¶
type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentProjects *ProjectsService// contains filtered or unexported fields} funcNewdeprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead.To provide a custom HTTP client, use option.WithHTTPClient.If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
funcNewService¶
NewService creates a new Service.
typeServiceBinding¶added inv0.65.0
type ServiceBinding struct {// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A free-text description of the resource. Max length// 1024 characters.Descriptionstring `json:"description,omitempty"`// Labels: Optional. Set of label tags associated with the ServiceBinding// resource.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. Name of the ServiceBinding resource. It matches pattern// `projects/*/locations/*/serviceBindings/`.Namestring `json:"name,omitempty"`// Service: Optional. The full Service Directory Service name of the format// `projects/*/locations/*/namespaces/*/services/*`. This field is for Service// Directory integration which will be deprecated soon.Servicestring `json:"service,omitempty"`// ServiceId: Output only. The unique identifier of the Service Directory// Service against which the ServiceBinding resource is validated. This is// populated when the Service Binding resource is used in another resource// (like Backend Service). This is of the UUID4 format. This field is for// Service Directory integration which will be deprecated soon.ServiceIdstring `json:"serviceId,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ServiceBinding: ServiceBinding can be used to: - Bind a Service DirectoryService to be used in a BackendService resource. This feature will bedeprecated soon. - Bind a Private Service Connect producer service to beused in consumer Cloud Service Mesh or Application Load Balancers. - Bind aCloud Run service to be used in consumer Cloud Service Mesh or ApplicationLoad Balancers.
func (ServiceBinding)MarshalJSON¶added inv0.65.0
func (sServiceBinding) MarshalJSON() ([]byte,error)
typeServiceLbPolicy¶added inv0.129.0
type ServiceLbPolicy struct {// AutoCapacityDrain: Optional. Configuration to automatically move traffic// away for unhealthy IG/NEG for the associated Backend Service.AutoCapacityDrain *ServiceLbPolicyAutoCapacityDrain `json:"autoCapacityDrain,omitempty"`// CreateTime: Output only. The timestamp when this resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A free-text description of the resource. Max length// 1024 characters.Descriptionstring `json:"description,omitempty"`// FailoverConfig: Optional. Configuration related to health based failover.FailoverConfig *ServiceLbPolicyFailoverConfig `json:"failoverConfig,omitempty"`// IsolationConfig: Optional. Configuration to provide isolation support for// the associated Backend Service.IsolationConfig *ServiceLbPolicyIsolationConfig `json:"isolationConfig,omitempty"`// Labels: Optional. Set of label tags associated with the ServiceLbPolicy// resource.Labels map[string]string `json:"labels,omitempty"`// LoadBalancingAlgorithm: Optional. The type of load balancing algorithm to be// used. The default behavior is WATERFALL_BY_REGION.//// Possible values:// "LOAD_BALANCING_ALGORITHM_UNSPECIFIED" - The type of the loadbalancing// algorithm is unspecified.// "SPRAY_TO_WORLD" - Balance traffic across all backends across the world// proportionally based on capacity.// "SPRAY_TO_REGION" - 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.// "WATERFALL_BY_REGION" - 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.// "WATERFALL_BY_ZONE" - Attempt to keep traffic in a single zone closest to// the client, before spilling over to other zones.LoadBalancingAlgorithmstring `json:"loadBalancingAlgorithm,omitempty"`// Name: Identifier. Name of the ServiceLbPolicy resource. It matches pattern// `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy// _name}`.Namestring `json:"name,omitempty"`// UpdateTime: Output only. The timestamp when this resource was last updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AutoCapacityDrain") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AutoCapacityDrain") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ServiceLbPolicy: ServiceLbPolicy holds global load balancing and trafficdistribution configuration that can be applied to a BackendService.
func (ServiceLbPolicy)MarshalJSON¶added inv0.129.0
func (sServiceLbPolicy) MarshalJSON() ([]byte,error)
typeServiceLbPolicyAutoCapacityDrain¶added inv0.129.0
type ServiceLbPolicyAutoCapacityDrain struct {// Enable: 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.Enablebool `json:"enable,omitempty"`// ForceSendFields is a list of field names (e.g. "Enable") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Enable") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ServiceLbPolicyAutoCapacityDrain: Option to specify if an unhealthy IG/NEGshould be considered for global load balancing and traffic routing.
func (ServiceLbPolicyAutoCapacityDrain)MarshalJSON¶added inv0.129.0
func (sServiceLbPolicyAutoCapacityDrain) MarshalJSON() ([]byte,error)
typeServiceLbPolicyFailoverConfig¶added inv0.129.0
type ServiceLbPolicyFailoverConfig struct {// FailoverHealthThreshold: 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.FailoverHealthThresholdint64 `json:"failoverHealthThreshold,omitempty"`// ForceSendFields is a list of field names (e.g. "FailoverHealthThreshold") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FailoverHealthThreshold") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ServiceLbPolicyFailoverConfig: Option to specify health based failoverbehavior. This is not related to Network load balancer FailoverPolicy.
func (ServiceLbPolicyFailoverConfig)MarshalJSON¶added inv0.129.0
func (sServiceLbPolicyFailoverConfig) MarshalJSON() ([]byte,error)
typeServiceLbPolicyIsolationConfig¶added inv0.232.0
type ServiceLbPolicyIsolationConfig struct {// IsolationGranularity: Optional. The isolation granularity of the load// balancer.//// Possible values:// "ISOLATION_GRANULARITY_UNSPECIFIED" - No isolation is configured for the// backend service. Traffic can overflow based on the load balancing algorithm.// "REGION" - Traffic for this service will be isolated at the cloud region// level.IsolationGranularitystring `json:"isolationGranularity,omitempty"`// IsolationMode: Optional. The isolation mode of the load balancer.//// Possible values:// "ISOLATION_MODE_UNSPECIFIED" - No isolation mode is configured for the// backend service.// "NEAREST" - Traffic will be sent to the nearest region.// "STRICT" - Traffic will fail if no serving backends are available in the// same region as the load balancer.IsolationModestring `json:"isolationMode,omitempty"`// ForceSendFields is a list of field names (e.g. "IsolationGranularity") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IsolationGranularity") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ServiceLbPolicyIsolationConfig: Configuration to provide isolation supportfor the associated Backend Service.
func (ServiceLbPolicyIsolationConfig)MarshalJSON¶added inv0.232.0
func (sServiceLbPolicyIsolationConfig) MarshalJSON() ([]byte,error)
typeStatus¶
type Status struct {// Code: The status code, which should be an enum value of google.rpc.Code.Codeint64 `json:"code,omitempty"`// Details: A list of messages that carry the error details. There is a common// set of message types for APIs to use.Details []googleapi.RawMessage `json:"details,omitempty"`// Message: A developer-facing error message, which should be in English. Any// user-facing error message should be localized and sent in the// google.rpc.Status.details field, or localized by the client.Messagestring `json:"message,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Status: The `Status` type defines a logical error model that is suitable fordifferent programming environments, including REST APIs and RPC APIs. It isused by gRPC (https://github.com/grpc). Each `Status` message contains threepieces of data: error code, error message, and error details. You can findout more about this error model and how to work with it in the API DesignGuide (https://cloud.google.com/apis/design/errors).
func (Status)MarshalJSON¶
typeTcpRoute¶added inv0.74.0
type TcpRoute struct {// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A free-text description of the resource. Max length// 1024 characters.Descriptionstring `json:"description,omitempty"`// Gateways: Optional. Gateways defines a list of gateways this TcpRoute is// attached to, as one of the routing rules to route the requests served by the// gateway. Each gateway reference should match the pattern:// `projects/*/locations/*/gateways/`Gateways []string `json:"gateways,omitempty"`// Labels: Optional. Set of label tags associated with the TcpRoute resource.Labels map[string]string `json:"labels,omitempty"`// Meshes: 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/*/meshes/` The attached Mesh should be of a type// SIDECARMeshes []string `json:"meshes,omitempty"`// Name: Identifier. Name of the TcpRoute resource. It matches pattern// `projects/*/locations/*/tcpRoutes/tcp_route_name>`.Namestring `json:"name,omitempty"`// Rules: 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 []*TcpRouteRouteRule `json:"rules,omitempty"`// SelfLink: Output only. Server-defined URL of this resourceSelfLinkstring `json:"selfLink,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TcpRoute: TcpRoute is the resource defining how TCP traffic should be routedby a Mesh/Gateway resource.
func (TcpRoute)MarshalJSON¶added inv0.74.0
typeTcpRouteRouteAction¶added inv0.74.0
type TcpRouteRouteAction struct {// Destinations: 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 []*TcpRouteRouteDestination `json:"destinations,omitempty"`// IdleTimeout: 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.IdleTimeoutstring `json:"idleTimeout,omitempty"`// OriginalDestination: 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.OriginalDestinationbool `json:"originalDestination,omitempty"`// ForceSendFields is a list of field names (e.g. "Destinations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Destinations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TcpRouteRouteAction: The specifications for routing traffic and applyingassociated policies.
func (TcpRouteRouteAction)MarshalJSON¶added inv0.74.0
func (sTcpRouteRouteAction) MarshalJSON() ([]byte,error)
typeTcpRouteRouteDestination¶added inv0.74.0
type TcpRouteRouteDestination struct {// ServiceName: Required. The URL of a BackendService to route traffic to.ServiceNamestring `json:"serviceName,omitempty"`// Weight: 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.Weightint64 `json:"weight,omitempty"`// ForceSendFields is a list of field names (e.g. "ServiceName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ServiceName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TcpRouteRouteDestination: Describe the destination for traffic to be routedto.
func (TcpRouteRouteDestination)MarshalJSON¶added inv0.74.0
func (sTcpRouteRouteDestination) MarshalJSON() ([]byte,error)
typeTcpRouteRouteMatch¶added inv0.74.0
type TcpRouteRouteMatch struct {// Address: 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'.Addressstring `json:"address,omitempty"`// Port: Required. Specifies the destination port to match against.Portstring `json:"port,omitempty"`// ForceSendFields is a list of field names (e.g. "Address") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Address") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TcpRouteRouteMatch: RouteMatch defines the predicate used to match requeststo a given action. Multiple match types are "OR"ed for evaluation. If norouteMatch field is specified, this rule will unconditionally match traffic.
func (TcpRouteRouteMatch)MarshalJSON¶added inv0.74.0
func (sTcpRouteRouteMatch) MarshalJSON() ([]byte,error)
typeTcpRouteRouteRule¶added inv0.74.0
type TcpRouteRouteRule struct {// Action: Required. The detailed rule defining how to route matched traffic.Action *TcpRouteRouteAction `json:"action,omitempty"`// Matches: 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 []*TcpRouteRouteMatch `json:"matches,omitempty"`// ForceSendFields is a list of field names (e.g. "Action") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Action") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TcpRouteRouteRule: Specifies how to match traffic and how to route trafficwhen traffic is matched.
func (TcpRouteRouteRule)MarshalJSON¶added inv0.74.0
func (sTcpRouteRouteRule) MarshalJSON() ([]byte,error)
typeTlsRoute¶added inv0.74.0
type TlsRoute struct {// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A free-text description of the resource. Max length// 1024 characters.Descriptionstring `json:"description,omitempty"`// Gateways: Optional. Gateways defines a list of gateways this TlsRoute is// attached to, as one of the routing rules to route the requests served by the// gateway. Each gateway reference should match the pattern:// `projects/*/locations/*/gateways/`Gateways []string `json:"gateways,omitempty"`// Labels: Optional. Set of label tags associated with the TlsRoute resource.Labels map[string]string `json:"labels,omitempty"`// Meshes: 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/*/meshes/` The attached Mesh should be of a type// SIDECARMeshes []string `json:"meshes,omitempty"`// Name: Identifier. Name of the TlsRoute resource. It matches pattern// `projects/*/locations/*/tlsRoutes/tls_route_name>`.Namestring `json:"name,omitempty"`// Rules: 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 []*TlsRouteRouteRule `json:"rules,omitempty"`// SelfLink: Output only. Server-defined URL of this resourceSelfLinkstring `json:"selfLink,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TlsRoute: TlsRoute defines how traffic should be routed based on SNI andother matching L3 attributes.
func (TlsRoute)MarshalJSON¶added inv0.74.0
typeTlsRouteRouteAction¶added inv0.74.0
type TlsRouteRouteAction struct {// Destinations: Required. The destination services to which traffic should be// forwarded. At least one destination service is required.Destinations []*TlsRouteRouteDestination `json:"destinations,omitempty"`// IdleTimeout: 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.IdleTimeoutstring `json:"idleTimeout,omitempty"`// ForceSendFields is a list of field names (e.g. "Destinations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Destinations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TlsRouteRouteAction: The specifications for routing traffic and applyingassociated policies.
func (TlsRouteRouteAction)MarshalJSON¶added inv0.74.0
func (sTlsRouteRouteAction) MarshalJSON() ([]byte,error)
typeTlsRouteRouteDestination¶added inv0.74.0
type TlsRouteRouteDestination struct {// ServiceName: Required. The URL of a BackendService to route traffic to.ServiceNamestring `json:"serviceName,omitempty"`// Weight: 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.Weightint64 `json:"weight,omitempty"`// ForceSendFields is a list of field names (e.g. "ServiceName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ServiceName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TlsRouteRouteDestination: Describe the destination for traffic to be routedto.
func (TlsRouteRouteDestination)MarshalJSON¶added inv0.74.0
func (sTlsRouteRouteDestination) MarshalJSON() ([]byte,error)
typeTlsRouteRouteMatch¶added inv0.74.0
type TlsRouteRouteMatch struct {// Alpn: 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 `json:"alpn,omitempty"`// SniHost: 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 `json:"sniHost,omitempty"`// ForceSendFields is a list of field names (e.g. "Alpn") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Alpn") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TlsRouteRouteMatch: RouteMatch defines the predicate used to match requeststo a given action. Multiple match types are "AND"ed for evaluation.
func (TlsRouteRouteMatch)MarshalJSON¶added inv0.74.0
func (sTlsRouteRouteMatch) MarshalJSON() ([]byte,error)
typeTlsRouteRouteRule¶added inv0.74.0
type TlsRouteRouteRule struct {// Action: Required. The detailed rule defining how to route matched traffic.Action *TlsRouteRouteAction `json:"action,omitempty"`// Matches: 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 []*TlsRouteRouteMatch `json:"matches,omitempty"`// ForceSendFields is a list of field names (e.g. "Action") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Action") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TlsRouteRouteRule: Specifies how to match traffic and how to route trafficwhen traffic is matched.
func (TlsRouteRouteRule)MarshalJSON¶added inv0.74.0
func (sTlsRouteRouteRule) MarshalJSON() ([]byte,error)
typeTrafficPortSelector¶
type TrafficPortSelector struct {// Ports: 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 `json:"ports,omitempty"`// ForceSendFields is a list of field names (e.g. "Ports") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Ports") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TrafficPortSelector: Specification of a port-based selector.
func (TrafficPortSelector)MarshalJSON¶
func (sTrafficPortSelector) MarshalJSON() ([]byte,error)
typeWasmPlugin¶added inv0.204.0
type WasmPlugin struct {// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A human-readable description of the resource.Descriptionstring `json:"description,omitempty"`// Labels: 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 `json:"labels,omitempty"`// LogConfig: 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 *WasmPluginLogConfig `json:"logConfig,omitempty"`// MainVersionId: 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.MainVersionIdstring `json:"mainVersionId,omitempty"`// Name: Identifier. Name of the `WasmPlugin` resource in the following format:// `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`.Namestring `json:"name,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// UsedBy: Output only. List of all extensions// (https://cloud.google.com/service-extensions/docs/overview) that use this// `WasmPlugin` resource.UsedBy []*WasmPluginUsedBy `json:"usedBy,omitempty"`// Versions: 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]WasmPluginVersionDetails `json:"versions,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}WasmPlugin: `WasmPlugin` is a resource representing a service executing acustomer-provided Wasm module.
func (WasmPlugin)MarshalJSON¶added inv0.204.0
func (sWasmPlugin) MarshalJSON() ([]byte,error)
typeWasmPluginLogConfig¶added inv0.204.0
type WasmPluginLogConfig struct {// Enable: Optional. Specifies whether to enable logging for activity by this// plugin. Defaults to `false`.Enablebool `json:"enable,omitempty"`// MinLogLevel: Non-empty default. Specifies 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.//// Possible values:// "LOG_LEVEL_UNSPECIFIED" - Unspecified value. Defaults to `LogLevel.INFO`.// "TRACE" - Report logs with TRACE level and above.// "DEBUG" - Report logs with DEBUG level and above.// "INFO" - Report logs with INFO level and above.// "WARN" - Report logs with WARN level and above.// "ERROR" - Report logs with ERROR level and above.// "CRITICAL" - Report logs with CRITICAL level only.MinLogLevelstring `json:"minLogLevel,omitempty"`// SampleRate: 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.SampleRatefloat64 `json:"sampleRate,omitempty"`// ForceSendFields is a list of field names (e.g. "Enable") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Enable") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}WasmPluginLogConfig: Specifies the logging options for the activityperformed by this plugin. If logging is enabled, plugin logs are exported toCloud Logging.
func (WasmPluginLogConfig)MarshalJSON¶added inv0.204.0
func (sWasmPluginLogConfig) MarshalJSON() ([]byte,error)
func (*WasmPluginLogConfig)UnmarshalJSON¶added inv0.204.0
func (s *WasmPluginLogConfig) UnmarshalJSON(data []byte)error
typeWasmPluginUsedBy¶added inv0.204.0
type WasmPluginUsedBy struct {// Name: Output only. Full name of the resource//https://google.aip.dev/122#full-resource-names, for example// `//networkservices.googleapis.com/projects/{project}/locations/{location}/lbR// outeExtensions/{extension}`Namestring `json:"name,omitempty"`// ForceSendFields is a list of field names (e.g. "Name") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Name") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}WasmPluginUsedBy: Defines a resource that uses the `WasmPlugin` resource.
func (WasmPluginUsedBy)MarshalJSON¶added inv0.204.0
func (sWasmPluginUsedBy) MarshalJSON() ([]byte,error)
typeWasmPluginVersion¶added inv0.204.0
type WasmPluginVersion struct {// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A human-readable description of the resource.Descriptionstring `json:"description,omitempty"`// ImageDigest: Output only. This field holds the digest (usually checksum)// value for the plugin image. The value is calculated based on the `image_uri`// field. If the `image_uri` field refers to a container image, the digest// value is obtained from the container image. If the `image_uri` field refers// to a generic artifact, the digest value is calculated based on the contents// of the file.ImageDigeststring `json:"imageDigest,omitempty"`// ImageUri: Optional. URI of the image containing the Wasm module, stored in// Artifact Registry. The URI can refer to one of the following repository// formats: * Container images: the `image_uri` must point to a container that// contains a single file with the name `plugin.wasm`. When a new// `WasmPluginVersion` resource is created, the digest of the image is saved in// the `image_digest` field. When pulling a container image from Artifact// Registry, the digest value is used instead of an image tag. * Generic// artifacts: the `image_uri` must be in this format:// `projects/{project}/locations/{location}/repositories/{repository}/// genericArtifacts/{package}:{version}`. The specified package and version// must contain a file with the name `plugin.wasm`. When a new// `WasmPluginVersion` resource is created, the checksum of the contents of the// file is saved in the `image_digest` field.ImageUristring `json:"imageUri,omitempty"`// Labels: Optional. Set of labels associated with the `WasmPluginVersion`// resource.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. Name of the `WasmPluginVersion` resource in the following// format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/// versions/{wasm_plugin_version}`.Namestring `json:"name,omitempty"`// PluginConfigData: 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.PluginConfigDatastring `json:"pluginConfigData,omitempty"`// PluginConfigDigest: 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` field or the image defined by the// `plugin_config_uri` field.PluginConfigDigeststring `json:"pluginConfigDigest,omitempty"`// PluginConfigUri: 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 URI can refer to one of the following// repository formats: * Container images: the `plugin_config_uri` must point// to a container that contains a single file with the name `plugin.config`.// When a new `WasmPluginVersion` resource is created, the digest of the image// is saved in the `plugin_config_digest` field. When pulling a container image// from Artifact Registry, the digest value is used instead of an image tag. *// Generic artifacts: the `plugin_config_uri` must be in this format:// `projects/{project}/locations/{location}/repositories/{repository}/// genericArtifacts/{package}:{version}`. The specified package and version// must contain a file with the name `plugin.config`. When a new// `WasmPluginVersion` resource is created, the checksum of the contents of the// file is saved in the `plugin_config_digest` field.PluginConfigUristring `json:"pluginConfigUri,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}WasmPluginVersion: A single immutable version of a `WasmPlugin` resource.Defines the Wasm module used and optionally its runtime config.
func (WasmPluginVersion)MarshalJSON¶added inv0.204.0
func (sWasmPluginVersion) MarshalJSON() ([]byte,error)
typeWasmPluginVersionDetails¶added inv0.204.0
type WasmPluginVersionDetails struct {// CreateTime: Output only. The timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. A human-readable description of the resource.Descriptionstring `json:"description,omitempty"`// ImageDigest: Output only. This field holds the digest (usually checksum)// value for the plugin image. The value is calculated based on the `image_uri`// field. If the `image_uri` field refers to a container image, the digest// value is obtained from the container image. If the `image_uri` field refers// to a generic artifact, the digest value is calculated based on the contents// of the file.ImageDigeststring `json:"imageDigest,omitempty"`// ImageUri: Optional. URI of the image containing the Wasm module, stored in// Artifact Registry. The URI can refer to one of the following repository// formats: * Container images: the `image_uri` must point to a container that// contains a single file with the name `plugin.wasm`. When a new// `WasmPluginVersion` resource is created, the digest of the image is saved in// the `image_digest` field. When pulling a container image from Artifact// Registry, the digest value is used instead of an image tag. * Generic// artifacts: the `image_uri` must be in this format:// `projects/{project}/locations/{location}/repositories/{repository}/// genericArtifacts/{package}:{version}`. The specified package and version// must contain a file with the name `plugin.wasm`. When a new// `WasmPluginVersion` resource is created, the checksum of the contents of the// file is saved in the `image_digest` field.ImageUristring `json:"imageUri,omitempty"`// Labels: Optional. Set of labels associated with the `WasmPluginVersion`// resource.Labels map[string]string `json:"labels,omitempty"`// PluginConfigData: 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.PluginConfigDatastring `json:"pluginConfigData,omitempty"`// PluginConfigDigest: 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` field or the image defined by the// `plugin_config_uri` field.PluginConfigDigeststring `json:"pluginConfigDigest,omitempty"`// PluginConfigUri: 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 URI can refer to one of the following// repository formats: * Container images: the `plugin_config_uri` must point// to a container that contains a single file with the name `plugin.config`.// When a new `WasmPluginVersion` resource is created, the digest of the image// is saved in the `plugin_config_digest` field. When pulling a container image// from Artifact Registry, the digest value is used instead of an image tag. *// Generic artifacts: the `plugin_config_uri` must be in this format:// `projects/{project}/locations/{location}/repositories/{repository}/// genericArtifacts/{package}:{version}`. The specified package and version// must contain a file with the name `plugin.config`. When a new// `WasmPluginVersion` resource is created, the checksum of the contents of the// file is saved in the `plugin_config_digest` field.PluginConfigUristring `json:"pluginConfigUri,omitempty"`// UpdateTime: Output only. The timestamp when the resource was updated.UpdateTimestring `json:"updateTime,omitempty"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}WasmPluginVersionDetails: Details of a `WasmPluginVersion` resource to beinlined in the `WasmPlugin` resource.
func (WasmPluginVersionDetails)MarshalJSON¶added inv0.204.0
func (sWasmPluginVersionDetails) MarshalJSON() ([]byte,error)