networkservices

package
v0.213.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: BSD-3-Clause Imports: 18 Imported by: 3

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, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any 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 for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

To use an API key for authentication (note: some APIs do not support API keys), use google.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 OAuth flow, use google.golang.org/api/option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
networkservicesService, err := networkservices.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See google.golang.org/api/option.ClientOption for details on options.

Index

Constants

View Source
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

type AuthzExtension added in v0.190.0

type AuthzExtension struct {
	// Authority: Required. The `:authority` header in the gRPC request sent from
	// Envoy to the extension service.
	Authority string `json:"authority,omitempty"`
	// CreateTime: Output only. The timestamp when the resource was created.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. A human-readable description of the resource.
	Description string `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.
	FailOpen bool `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.
	LoadBalancingScheme string `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.
	Metadata googleapi.RawMessage `json:"metadata,omitempty"`
	// Name: Required. Identifier. Name of the `AuthzExtension` resource in the
	// following format:
	// `projects/{project}/locations/{location}/authzExtensions/{authz_extension}`.
	Name string `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}`.
	Service string `json:"service,omitempty"`
	// Timeout: Required. Specifies the timeout for each individual message on the
	// stream. The timeout must be between 10-10000 milliseconds.
	Timeout string `json:"timeout,omitempty"`
	// UpdateTime: Output only. The timestamp when the resource was updated.
	UpdateTime string `json:"updateTime,omitempty"`
	// WireFormat: Optional. The format of communication supported by the callout
	// extension. If not specified, the default is `EXT_PROC_GRPC`.
	//
	// Possible values:
	//   "WIRE_FORMAT_UNSPECIFIED" - Not specified.
	//   "EXT_PROC_GRPC" - The extension service uses ExtProc 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 will be sent as part of the same
	// gRPC stream.
	WireFormat string `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 traffic forwarding to a callout backend service to make an authorization decision.

func (AuthzExtension) MarshalJSON added in v0.190.0

func (s AuthzExtension) MarshalJSON() ([]byte, error)

type CancelOperationRequest

type CancelOperationRequest struct {
}

CancelOperationRequest: The request message for Operations.CancelOperation.

type Empty

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 defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

type EndpointMatcher

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 which the policies should be applied.

func (EndpointMatcher) MarshalJSON

func (s EndpointMatcher) MarshalJSON() ([]byte, error)

type EndpointPolicy

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.
	AuthorizationPolicy string `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.
	ClientTlsPolicy string `json:"clientTlsPolicy,omitempty"`
	// CreateTime: Output only. The timestamp when the resource was created.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. A free-text description of the resource. Max length
	// 1024 characters.
	Description string `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/global/endpointPolicies/{endpoint_policy}`.
	Name string `json:"name,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.
	ServerTlsPolicy string `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.
	Type string `json:"type,omitempty"`
	// UpdateTime: Output only. The timestamp when the resource was updated.
	UpdateTime string `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 desired configuration on the endpoints that match specific criteria. For example, this resource can be used to apply "authentication config" an all endpoints that serve on port 8080.

func (EndpointPolicy) MarshalJSON

func (s EndpointPolicy) MarshalJSON() ([]byte, error)

type ExtensionChain added in v0.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` 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.
	Name string `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 match conditions and extensions to execute.

func (ExtensionChain) MarshalJSON added in v0.144.0

func (s ExtensionChain) MarshalJSON() ([]byte, error)

type ExtensionChainExtension added in v0.144.0

type ExtensionChainExtension struct {
	// 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.
	Authority string `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.
	FailOpen bool `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. 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 is not supported for plugin extensions. Setting it results in a
	// validation error.
	Metadata googleapi.RawMessage `json:"metadata,omitempty"`
	// Name: Required. The name for this extension. The name is logged as part of
	// the HTTP request logs. The name must conform with RFC-1034, is restricted to
	// lower-cased letters, numbers and hyphens, and can have a maximum length of
	// 63 characters. Additionally, the first character must be a letter and the
	// last a letter or a number.
	Name string `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}`. 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` and the `LbRouteExtension` resources.
	Service string `json:"service,omitempty"`
	// SupportedEvents: Optional. A set of events during request or response
	// processing for which this extension is called. This field is required for
	// the `LbTrafficExtension` resource. It must not be set for the
	// `LbRouteExtension` resource, otherwise a validation error is returned.
	//
	// 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`-`1000` milliseconds. Required for
	// callout extensions. This field is not supported for plugin extensions.
	// Setting it results in a validation error.
	Timeout string `json:"timeout,omitempty"`
	// 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:"-"`
}

ExtensionChainExtension: A single extension in the chain to execute for the matching request.

func (ExtensionChainExtension) MarshalJSON added in v0.144.0

func (s ExtensionChainExtension) MarshalJSON() ([]byte, error)

type ExtensionChainMatchCondition added in v0.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).
	CelExpression string `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 invoked for a request.

func (ExtensionChainMatchCondition) MarshalJSON added in v0.144.0

func (s ExtensionChainMatchCondition) MarshalJSON() ([]byte, error)

type Gateway added in v0.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.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. A free-text description of the resource. Max length
	// 1024 characters.
	Description string `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-ms
	EnvoyHeaders string `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'.
	GatewaySecurityPolicy string `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.
	IpVersion string `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/`.
	Name string `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'.
	Network string `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 1 port. 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.
	RoutingMode string `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 coniguration to the
	// proxy/load balancer. Max length 64 characters. Scope should start with a
	// letter and can only have letters, numbers, hyphens.
	Scope string `json:"scope,omitempty"`
	// SelfLink: Output only. Server-defined URL of this resource
	SelfLink string `json:"selfLink,omitempty"`
	// ServerTlsPolicy: Optional. A fully-qualified ServerTLSPolicy URL reference.
	// Specifies how TLS traffic is terminated. If empty, TLS termination is
	// disabled.
	ServerTlsPolicy string `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".
	Subnetwork string `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).
	Type string `json:"type,omitempty"`
	// UpdateTime: Output only. The timestamp when the resource was updated.
	UpdateTime string `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 load balancer. It captures the ip:port over which the services are exposed by the proxy, along with any policy configurations. Routes have reference to to Gateways to dictate how requests should be routed by this Gateway. Next id: 33

func (Gateway) MarshalJSON added in v0.74.0

func (s Gateway) MarshalJSON() ([]byte, error)

type GatewayRouteView added in v0.207.0

type GatewayRouteView struct {
	// Name: Output only. Identifier. Full path name of the GatewayRouteView
	// resource. Format:
	// projects/{project_number}/locations/{location}/gateways/{gateway_name}/routeV
	// iews/{route_view_name}
	Name string `json:"name,omitempty"`
	// RouteId: Output only. The resource id for the route.
	RouteId string `json:"routeId,omitempty"`
	// RouteLocation: Output only. Location where the route exists.
	RouteLocation string `json:"routeLocation,omitempty"`
	// RouteProjectNumber: Output only. Project number where the route exists.
	RouteProjectNumber int64 `json:"routeProjectNumber,omitempty,string"`
	// RouteType: Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or
	// TlsRoute
	RouteType string `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 to a Gateway

func (GatewayRouteView) MarshalJSON added in v0.207.0

func (s GatewayRouteView) MarshalJSON() ([]byte, error)

type GrpcRoute added in v0.74.0

type GrpcRoute struct {
	// CreateTime: Output only. The timestamp when the resource was created.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. A free-text description of the resource. Max length
	// 1024 characters.
	Description string `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/global/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 the RFC 1123 definition of a hostname
	// with 2 notable exceptions: - IPs are not allowed. - A hostname may be
	// prefixed with a wildcard label (`*.`). The wildcard label must appear by
	// itself as the first label. Hostname can be "precise" which is a domain name
	// without the terminating dot of a network host (e.g. `foo.example.com`) or
	// "wildcard", which is a domain name prefixed with a single wildcard label
	// (e.g. `*.example.com`). Note that as per RFC1035 and RFC1123, a label must
	// consist of lower case alphanumeric characters or '-', and must start and end
	// with an alphanumeric character. No other punctuation is allowed. The routes
	// associated with a Mesh or Gateway must have unique hostnames. If you attempt
	// to attach multiple routes with conflicting hostnames, the configuration will
	// be rejected. For example, while it is acceptable for routes for the
	// hostnames `*.foo.bar.com` and `*.bar.com` to be associated with the same
	// route, it is not possible to associate two routes both with `*.bar.com` or
	// both with `bar.com`. If a port is specified, then gRPC clients must use the
	// channel URI with the port to match this rule (i.e. "xds:///service:123"),
	// otherwise they must supply the URI without a port (i.e. "xds:///service").
	Hostnames []string `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/global/meshes/`
	Meshes []string `json:"meshes,omitempty"`
	// Name: Identifier. Name of the GrpcRoute resource. It matches pattern
	// `projects/*/locations/global/grpcRoutes/`
	Name string `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 resource
	SelfLink string `json:"selfLink,omitempty"`
	// UpdateTime: Output only. The timestamp when the resource was updated.
	UpdateTime string `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 a Mesh or Gateway resource is routed.

func (GrpcRoute) MarshalJSON added in v0.74.0

func (s GrpcRoute) MarshalJSON() ([]byte, error)

type GrpcRouteDestination added in v0.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.
	ServiceName string `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.
	Weight int64 `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 in v0.74.0

func (s GrpcRouteDestination) MarshalJSON() ([]byte, error)

type GrpcRouteFaultInjectionPolicy added in v0.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 injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests.

func (GrpcRouteFaultInjectionPolicy) MarshalJSON added in v0.74.0

func (s GrpcRouteFaultInjectionPolicy) MarshalJSON() ([]byte, error)

type GrpcRouteFaultInjectionPolicyAbort added in v0.74.0

type GrpcRouteFaultInjectionPolicyAbort struct {
	// HttpStatus: The HTTP status code used to abort the request. The value must
	// be between 200 and 599 inclusive.
	HttpStatus int64 `json:"httpStatus,omitempty"`
	// Percentage: The percentage of traffic which will be aborted. The value must
	// be between [0, 100]
	Percentage int64 `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 are aborted as part of fault injection before being sent to a destination.

func (GrpcRouteFaultInjectionPolicyAbort) MarshalJSON added in v0.74.0

func (s GrpcRouteFaultInjectionPolicyAbort) MarshalJSON() ([]byte, error)

type GrpcRouteFaultInjectionPolicyDelay added in v0.74.0

type GrpcRouteFaultInjectionPolicyDelay struct {
	// FixedDelay: Specify a fixed delay before forwarding the request.
	FixedDelay string `json:"fixedDelay,omitempty"`
	// Percentage: The percentage of traffic on which delay will be injected. The
	// value must be between [0, 100]
	Percentage int64 `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 are delayed as part of fault injection before being sent to a destination.

func (GrpcRouteFaultInjectionPolicyDelay) MarshalJSON added in v0.74.0

func (s GrpcRouteFaultInjectionPolicyDelay) MarshalJSON() ([]byte, error)

type GrpcRouteHeaderMatch added in v0.74.0

type GrpcRouteHeaderMatch struct {
	// Key: Required. The key of the header.
	Key string `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.
	Type string `json:"type,omitempty"`
	// Value: Required. The value of the header.
	Value string `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 in v0.74.0

func (s GrpcRouteHeaderMatch) MarshalJSON() ([]byte, error)

type GrpcRouteMethodMatch added in v0.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.
	CaseSensitive bool `json:"caseSensitive,omitempty"`
	// GrpcMethod: Required. Name of the method to match against. If unspecified,
	// will match all methods.
	GrpcMethod string `json:"grpcMethod,omitempty"`
	// GrpcService: Required. Name of the service to match against. If unspecified,
	// will match all services.
	GrpcService string `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.
	Type string `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 in v0.74.0

func (s GrpcRouteMethodMatch) MarshalJSON() ([]byte, error)

type GrpcRouteRetryPolicy added in v0.74.0

type GrpcRouteRetryPolicy struct {
	// NumRetries: Specifies the allowed number of retries. This number must be >
	// 0. If not specified, default to 1.
	NumRetries int64 `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 unavailable
	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:"-"`
}

GrpcRouteRetryPolicy: The specifications for retries. Specifies one or more conditions for which this retry rule applies. Valid values are:

func (GrpcRouteRetryPolicy) MarshalJSON added in v0.74.0

func (s GrpcRouteRetryPolicy) MarshalJSON() ([]byte, error)

type GrpcRouteRouteAction added in v0.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_policy
	FaultInjectionPolicy *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.
	IdleTimeout string `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.
	Timeout string `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 in v0.74.0

func (s GrpcRouteRouteAction) MarshalJSON() ([]byte, error)

type GrpcRouteRouteMatch added in v0.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 be considered to match when all supplied fields match.

func (GrpcRouteRouteMatch) MarshalJSON added in v0.74.0

func (s GrpcRouteRouteMatch) MarshalJSON() ([]byte, error)

type GrpcRouteRouteRule added in v0.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 in v0.74.0

func (s GrpcRouteRouteRule) MarshalJSON() ([]byte, error)

type GrpcRouteStatefulSessionAffinityPolicy added in v0.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 1 to 86400 seconds (24 hours) inclusive.
	CookieTtl string `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-based stateful session affinity where the date plane supplies a “session cookie” with the name "GSSA" which encodes a specific destination host and each request containing that cookie will be directed to that host as long as the destination host remains up and healthy. The gRPC proxyless mesh library or sidecar proxy will manage the session cookie but the client application code is responsible for copying the cookie from each RPC in the session to the next.

func (GrpcRouteStatefulSessionAffinityPolicy) MarshalJSON added in v0.144.0

func (s GrpcRouteStatefulSessionAffinityPolicy) MarshalJSON() ([]byte, error)

type HttpRoute added in v0.74.0

type HttpRoute struct {
	// CreateTime: Output only. The timestamp when the resource was created.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. A free-text description of the resource. Max length
	// 1024 characters.
	Description string `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/global/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/global/meshes/` The attached Mesh should be of a type
	// SIDECAR
	Meshes []string `json:"meshes,omitempty"`
	// Name: Identifier. Name of the HttpRoute resource. It matches pattern
	// `projects/*/locations/global/httpRoutes/http_route_name>`.
	Name string `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 resource
	SelfLink string `json:"selfLink,omitempty"`
	// UpdateTime: Output only. The timestamp when the resource was updated.
	UpdateTime string `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 be routed by a Mesh or Gateway resource.

func (HttpRoute) MarshalJSON added in v0.74.0

func (s HttpRoute) MarshalJSON() ([]byte, error)

type HttpRouteCorsPolicy added in v0.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.
	AllowCredentials bool `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.
	Disabled bool `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.
	MaxAge string `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-origin requests.

func (HttpRouteCorsPolicy) MarshalJSON added in v0.74.0

func (s HttpRouteCorsPolicy) MarshalJSON() ([]byte, error)

type HttpRouteDestination added in v0.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.
	ServiceName string `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.
	Weight int64 `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 request should be routed to.

func (HttpRouteDestination) MarshalJSON added in v0.74.0

func (s HttpRouteDestination) MarshalJSON() ([]byte, error)

type HttpRouteFaultInjectionPolicy added in v0.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 injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced by client proxy on a percentage of requests before sending those requests to the destination service. Similarly requests can be aborted by client proxy for a percentage of requests.

func (HttpRouteFaultInjectionPolicy) MarshalJSON added in v0.74.0

func (s HttpRouteFaultInjectionPolicy) MarshalJSON() ([]byte, error)

type HttpRouteFaultInjectionPolicyAbort added in v0.74.0

type HttpRouteFaultInjectionPolicyAbort struct {
	// HttpStatus: The HTTP status code used to abort the request. The value must
	// be between 200 and 599 inclusive.
	HttpStatus int64 `json:"httpStatus,omitempty"`
	// Percentage: The percentage of traffic which will be aborted. The value must
	// be between [0, 100]
	Percentage int64 `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 are aborted as part of fault injection before being sent to a destination.

func (HttpRouteFaultInjectionPolicyAbort) MarshalJSON added in v0.74.0

func (s HttpRouteFaultInjectionPolicyAbort) MarshalJSON() ([]byte, error)

type HttpRouteFaultInjectionPolicyDelay added in v0.74.0

type HttpRouteFaultInjectionPolicyDelay struct {
	// FixedDelay: Specify a fixed delay before forwarding the request.
	FixedDelay string `json:"fixedDelay,omitempty"`
	// Percentage: The percentage of traffic on which delay will be injected. The
	// value must be between [0, 100]
	Percentage int64 `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 are delayed as part of fault injection before being sent to a destination.

func (HttpRouteFaultInjectionPolicyDelay) MarshalJSON added in v0.74.0

func (s HttpRouteFaultInjectionPolicyDelay) MarshalJSON() ([]byte, error)

type HttpRouteHeaderMatch added in v0.74.0

type HttpRouteHeaderMatch struct {
	// ExactMatch: The value of the header should match exactly the content of
	// exact_match.
	ExactMatch string `json:"exactMatch,omitempty"`
	// Header: The name of the HTTP header to match against.
	Header string `json:"header,omitempty"`
	// InvertMatch: If specified, the match result will be inverted before
	// checking. Default value is set to false.
	InvertMatch bool `json:"invertMatch,omitempty"`
	// PrefixMatch: The value of the header must start with the contents of
	// prefix_match.
	PrefixMatch string `json:"prefixMatch,omitempty"`
	// PresentMatch: A header with header_name must exist. The match takes place
	// whether or not the header has a value.
	PresentMatch bool `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/Syntax
	RegexMatch string `json:"regexMatch,omitempty"`
	// SuffixMatch: The value of the header must end with the contents of
	// suffix_match.
	SuffixMatch string `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 HTTP request headers.

func (HttpRouteHeaderMatch) MarshalJSON added in v0.74.0

func (s HttpRouteHeaderMatch) MarshalJSON() ([]byte, error)

type HttpRouteHeaderMatchIntegerRange added in v0.74.0

type HttpRouteHeaderMatchIntegerRange struct {
	// End: End of the range (exclusive)
	End int64 `json:"end,omitempty"`
	// Start: Start of the range (inclusive)
	Start int64 `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 in v0.74.0

func (s HttpRouteHeaderMatchIntegerRange) MarshalJSON() ([]byte, error)

type HttpRouteHeaderModifier added in v0.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 HTTP request and HTTP response.

func (HttpRouteHeaderModifier) MarshalJSON added in v0.74.0

func (s HttpRouteHeaderModifier) MarshalJSON() ([]byte, error)

type HttpRouteHttpDirectResponse added in v0.155.0

type HttpRouteHttpDirectResponse struct {
	// BytesBody: Optional. Response body as bytes. Maximum body size is 4096B.
	BytesBody string `json:"bytesBody,omitempty"`
	// Status: Required. Status to return as part of HTTP Response. Must be a
	// positive integer.
	Status int64 `json:"status,omitempty"`
	// StringBody: Optional. Response body as a string. Maximum body length is 1024
	// characters.
	StringBody string `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 in v0.155.0

func (s HttpRouteHttpDirectResponse) MarshalJSON() ([]byte, error)

type HttpRouteQueryParameterMatch added in v0.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.
	ExactMatch string `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.
	PresentMatch bool `json:"presentMatch,omitempty"`
	// QueryParameter: The name of the query parameter to match.
	QueryParameter string `json:"queryParameter,omitempty"`
	// RegexMatch: The value of the query parameter must match the regular
	// expression specified by regex_match. For regular expression grammar, please
	// see https://github.com/google/re2/wiki/Syntax Only one of exact_match,
	// regex_match, or present_match must be set.
	RegexMatch string `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 in the request.

func (HttpRouteQueryParameterMatch) MarshalJSON added in v0.74.0

func (s HttpRouteQueryParameterMatch) MarshalJSON() ([]byte, error)

type HttpRouteRedirect added in v0.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.
	HostRedirect string `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.
	HttpsRedirect bool `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.
	PathRedirect string `json:"pathRedirect,omitempty"`
	// PortRedirect: The port that will be used in the redirected request instead
	// of the one that was supplied in the request.
	PortRedirect int64 `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.
	PrefixRewrite string `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.
	ResponseCode string `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.
	StripQuery bool `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 in v0.74.0

func (s HttpRouteRedirect) MarshalJSON() ([]byte, error)

type HttpRouteRequestMirrorPolicy added in v0.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.
	MirrorPercent float64 `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 are shadowed to a separate mirrored destination service. The proxy does not wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.

func (HttpRouteRequestMirrorPolicy) MarshalJSON added in v0.74.0

func (s HttpRouteRequestMirrorPolicy) MarshalJSON() ([]byte, error)

func (*HttpRouteRequestMirrorPolicy) UnmarshalJSON added in v0.155.0

func (s *HttpRouteRequestMirrorPolicy) UnmarshalJSON(data []byte) error

type HttpRouteRetryPolicy added in v0.74.0

type HttpRouteRetryPolicy struct {
	// NumRetries: Specifies the allowed number of retries. This number must be >
	// 0. If not specified, default to 1.
	NumRetries int64 `json:"numRetries,omitempty"`
	// PerTryTimeout: Specifies a non-zero timeout per retry attempt.
	PerTryTimeout string `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 in v0.74.0

func (s HttpRouteRetryPolicy) MarshalJSON() ([]byte, error)

type HttpRouteRouteAction added in v0.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_policy
	FaultInjectionPolicy *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.
	IdleTimeout string `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.
	Timeout string `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 applying associated policies.

func (HttpRouteRouteAction) MarshalJSON added in v0.74.0

func (s HttpRouteRouteAction) MarshalJSON() ([]byte, error)

type HttpRouteRouteMatch added in v0.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.
	FullPathMatch string `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.
	IgnoreCase bool `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.
	PrefixMatch string `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.
	RegexMatch string `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 match requests. If multiple match types are set, this RouteMatch will match if ALL type of matches are matched.

func (HttpRouteRouteMatch) MarshalJSON added in v0.74.0

func (s HttpRouteRouteMatch) MarshalJSON() ([]byte, error)

type HttpRouteRouteRule added in v0.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 traffic when traffic is matched.

func (HttpRouteRouteRule) MarshalJSON added in v0.74.0

func (s HttpRouteRouteRule) MarshalJSON() ([]byte, error)

type HttpRouteStatefulSessionAffinityPolicy added in v0.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 1 to 86400 seconds (24 hours) inclusive.
	CookieTtl string `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-based stateful session affinity where the date plane supplies a “session cookie” with the name "GSSA" which encodes a specific destination host and each request containing that cookie will be directed to that host as long as the destination host remains up and healthy. The gRPC proxyless mesh library or sidecar proxy will manage the session cookie but the client application code is responsible for copying the cookie from each RPC in the session to the next.

func (HttpRouteStatefulSessionAffinityPolicy) MarshalJSON added in v0.144.0

func (s HttpRouteStatefulSessionAffinityPolicy) MarshalJSON() ([]byte, error)

type HttpRouteURLRewrite added in v0.74.0

type HttpRouteURLRewrite struct {
	// HostRewrite: Prior to forwarding the request to the selected destination,
	// the requests host header is replaced by this value.
	HostRewrite string `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.
	PathPrefixRewrite string `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 in v0.74.0

func (s HttpRouteURLRewrite) MarshalJSON() ([]byte, error)

type LbRouteExtension added in v0.144.0

type LbRouteExtension struct {
	// CreateTime: Output only. The timestamp when the resource was created.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. A human-readable description of the resource.
	Description string `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. There can be only one `LbRouteExtension` resource per 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.
	LoadBalancingScheme string `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.lb_route_extension.`. The
	// following variables are supported in the metadata Struct:
	// `{forwarding_rule_id}` - substituted with the forwarding rule's fully
	// qualified resource name. This field is not supported for plugin extensions.
	// Setting it results in a validation error.
	Metadata googleapi.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}`.
	Name string `json:"name,omitempty"`
	// UpdateTime: Output only. The timestamp when the resource was updated.
	UpdateTime string `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 control where traffic is routed to for a given request.

func (LbRouteExtension) MarshalJSON added in v0.144.0

func (s LbRouteExtension) MarshalJSON() ([]byte, error)

type LbTrafficExtension added in v0.144.0

type LbTrafficExtension struct {
	// CreateTime: Output only. The timestamp when the resource was created.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. A human-readable description of the resource.
	Description string `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. There can be only one `LBTrafficExtension` resource per 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`, `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.
	LoadBalancingScheme string `json:"loadBalancingScheme,omitempty"`
	// Metadata: Optional. The metadata provided here is included in the
	// `ProcessingRequest.metadata_context.filter_metadata` map field. 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 is not supported for plugin extensions. Setting it results in a
	// validation error.
	Metadata googleapi.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}`.
	Name string `json:"name,omitempty"`
	// UpdateTime: Output only. The timestamp when the resource was updated.
	UpdateTime string `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 the extension service modify the headers and payloads of both requests and responses without impacting the choice of backend services or any other security policies associated with the backend service.

func (LbTrafficExtension) MarshalJSON added in v0.144.0

func (s LbTrafficExtension) MarshalJSON() ([]byte, error)

type ListAuthzExtensionsResponse added in v0.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.
	NextPageToken string `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 in v0.190.0

func (s ListAuthzExtensionsResponse) MarshalJSON() ([]byte, error)

type ListEndpointPoliciesResponse

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`.
	NextPageToken string `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. "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 ListEndpointPolicies method.

func (ListEndpointPoliciesResponse) MarshalJSON

func (s ListEndpointPoliciesResponse) MarshalJSON() ([]byte, error)

type ListGatewayRouteViewsResponse added in v0.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.
	NextPageToken string `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. "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 the ListGatewayRouteViews method.

func (ListGatewayRouteViewsResponse) MarshalJSON added in v0.207.0

func (s ListGatewayRouteViewsResponse) MarshalJSON() ([]byte, error)

type ListGatewaysResponse added in v0.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`.
	NextPageToken string `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 in v0.74.0

func (s ListGatewaysResponse) MarshalJSON() ([]byte, error)

type ListGrpcRoutesResponse added in v0.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`.
	NextPageToken string `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. "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 in v0.74.0

func (s ListGrpcRoutesResponse) MarshalJSON() ([]byte, error)

type ListHttpRoutesResponse added in v0.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`.
	NextPageToken string `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. "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 in v0.74.0

func (s ListHttpRoutesResponse) MarshalJSON() ([]byte, error)

type ListLbRouteExtensionsResponse added in v0.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.
	NextPageToken string `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 in v0.144.0

func (s ListLbRouteExtensionsResponse) MarshalJSON() ([]byte, error)

type ListLbTrafficExtensionsResponse added in v0.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.
	NextPageToken string `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 in v0.144.0

func (s ListLbTrafficExtensionsResponse) MarshalJSON() ([]byte, error)

type ListLocationsResponse

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.
	NextPageToken string `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 (s ListLocationsResponse) MarshalJSON() ([]byte, error)

type ListMeshRouteViewsResponse added in v0.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.
	NextPageToken string `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. "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 ListMeshRouteViews method.

func (ListMeshRouteViewsResponse) MarshalJSON added in v0.207.0

func (s ListMeshRouteViewsResponse) MarshalJSON() ([]byte, error)

type ListMeshesResponse added in v0.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`.
	NextPageToken string `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. "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 in v0.74.0

func (s ListMeshesResponse) MarshalJSON() ([]byte, error)

type ListOperationsResponse

type ListOperationsResponse struct {
	// NextPageToken: The standard List next-page token.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Operations: A list of operations that matches the specified filter in the
	// request.
	Operations []*Operation `json:"operations,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 (s ListOperationsResponse) MarshalJSON() ([]byte, error)

type ListServiceBindingsResponse added in v0.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`.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// ServiceBindings: List of ServiceBinding resources.
	ServiceBindings []*ServiceBinding `json:"serviceBindings,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 ListServiceBindings method.

func (ListServiceBindingsResponse) MarshalJSON added in v0.65.0

func (s ListServiceBindingsResponse) MarshalJSON() ([]byte, error)

type ListServiceLbPoliciesResponse added in v0.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`.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// ServiceLbPolicies: List of ServiceLbPolicy resources.
	ServiceLbPolicies []*ServiceLbPolicy `json:"serviceLbPolicies,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 the ListServiceLbPolicies method.

func (ListServiceLbPoliciesResponse) MarshalJSON added in v0.129.0

func (s ListServiceLbPoliciesResponse) MarshalJSON() ([]byte, error)

type ListTcpRoutesResponse added in v0.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`.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// TcpRoutes: List of TcpRoute resources.
	TcpRoutes []*TcpRoute `json:"tcpRoutes,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 in v0.74.0

func (s ListTcpRoutesResponse) MarshalJSON() ([]byte, error)

type ListTlsRoutesResponse added in v0.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`.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// TlsRoutes: List of TlsRoute resources.
	TlsRoutes []*TlsRoute `json:"tlsRoutes,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 in v0.74.0

func (s ListTlsRoutesResponse) MarshalJSON() ([]byte, error)

type ListWasmPluginVersionsResponse added in v0.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`.
	NextPageToken string `json:"nextPageToken,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 in v0.204.0

func (s ListWasmPluginVersionsResponse) MarshalJSON() ([]byte, error)

type ListWasmPluginsResponse added in v0.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`.
	NextPageToken string `json:"nextPageToken,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 in v0.204.0

func (s ListWasmPluginsResponse) MarshalJSON() ([]byte, error)

type Location

type Location struct {
	// DisplayName: The friendly name for this location, typically a nearby city
	// name. For example, "Tokyo".
	DisplayName string `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".
	LocationId string `json:"locationId,omitempty"`
	// Metadata: Service-specific metadata. For example the available capacity at
	// the given location.
	Metadata googleapi.RawMessage `json:"metadata,omitempty"`
	// Name: Resource name for the location, which may vary between
	// implementations. For example:
	// "projects/example-project/locations/us-east1"
	Name string `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

func (s Location) MarshalJSON() ([]byte, error)

type LoggingConfig added in v0.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.
	LogSeverity string `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 Eventarc Advanced resources.

func (LoggingConfig) MarshalJSON added in v0.199.0

func (s LoggingConfig) MarshalJSON() ([]byte, error)

type Mesh added in v0.74.0

type Mesh struct {
	// CreateTime: Output only. The timestamp when the resource was created.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. A free-text description of the resource. Max length
	// 1024 characters.
	Description string `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-ms
	EnvoyHeaders string `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.
	InterceptionPort int64 `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/global/meshes/`.
	Name string `json:"name,omitempty"`
	// SelfLink: Output only. Server-defined URL of this resource
	SelfLink string `json:"selfLink,omitempty"`
	// UpdateTime: Output only. The timestamp when the resource was updated.
	UpdateTime string `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 to workload communication within a service mesh. Routes that point to mesh dictate how requests are routed within this logical mesh boundary.

func (Mesh) MarshalJSON added in v0.74.0

func (s Mesh) MarshalJSON() ([]byte, error)

type MeshRouteView added in v0.207.0

type MeshRouteView struct {
	// Name: Output only. Identifier. Full path name of the MeshRouteView resource.
	// Format:
	// projects/{project_number}/locations/{location}/meshes/{mesh_name}/routeViews/
	// {route_view_name}
	Name string `json:"name,omitempty"`
	// RouteId: Output only. The resource id for the route.
	RouteId string `json:"routeId,omitempty"`
	// RouteLocation: Output only. Location where the route exists.
	RouteLocation string `json:"routeLocation,omitempty"`
	// RouteProjectNumber: Output only. Project number where the route exists.
	RouteProjectNumber int64 `json:"routeProjectNumber,omitempty,string"`
	// RouteType: Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or
	// TlsRoute
	RouteType string `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 in v0.207.0

func (s MeshRouteView) MarshalJSON() ([]byte, error)

type MetadataLabelMatcher

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.
	MetadataLabelMatchCriteria string `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 presented by xDS clients.

func (MetadataLabelMatcher) MarshalJSON

func (s MetadataLabelMatcher) MarshalJSON() ([]byte, error)

type MetadataLabels

type MetadataLabels struct {
	// LabelName: Required. Label name presented as key in xDS Node Metadata.
	LabelName string `json:"labelName,omitempty"`
	// LabelValue: Required. Label value presented as value corresponding to the
	// above key, in xDS Node Metadata.
	LabelValue string `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 (s MetadataLabels) MarshalJSON() ([]byte, error)

type Operation

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.
	Done bool `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.
	Metadata googleapi.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}`.
	Name string `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`.
	Response googleapi.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 the result of a network API call.

func (Operation) MarshalJSON

func (s Operation) MarshalJSON() ([]byte, error)

type OperationMetadata

type OperationMetadata struct {
	// ApiVersion: Output only. API version used to start the operation.
	ApiVersion string `json:"apiVersion,omitempty"`
	// CreateTime: Output only. The time the operation was created.
	CreateTime string `json:"createTime,omitempty"`
	// EndTime: Output only. The time the operation finished running.
	EndTime string `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`.
	RequestedCancellation bool `json:"requestedCancellation,omitempty"`
	// StatusMessage: Output only. Human-readable status of the operation, if any.
	StatusMessage string `json:"statusMessage,omitempty"`
	// Target: Output only. Server-defined resource path for the target of the
	// operation.
	Target string `json:"target,omitempty"`
	// Verb: Output only. Name of the verb executed by the operation.
	Verb string `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 (s OperationMetadata) MarshalJSON() ([]byte, error)

type ProjectsLocationsAuthzExtensionsCreateCall added in v0.190.0

type ProjectsLocationsAuthzExtensionsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsAuthzExtensionsCreateCall) AuthzExtensionId added in v0.190.0

AuthzExtensionId sets the optional parameter "authzExtensionId": Required. User-provided ID of the `AuthzExtension` resource to be created.

func (*ProjectsLocationsAuthzExtensionsCreateCall) Context added in v0.190.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAuthzExtensionsCreateCall) Do added in v0.190.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAuthzExtensionsCreateCall) Fields added in v0.190.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsAuthzExtensionsCreateCall) Header added in v0.190.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsAuthzExtensionsCreateCall) RequestId added in v0.190.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsAuthzExtensionsDeleteCall added in v0.190.0

type ProjectsLocationsAuthzExtensionsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsAuthzExtensionsDeleteCall) Context added in v0.190.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAuthzExtensionsDeleteCall) Do added in v0.190.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAuthzExtensionsDeleteCall) Fields added in v0.190.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsAuthzExtensionsDeleteCall) Header added in v0.190.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsAuthzExtensionsDeleteCall) RequestId added in v0.190.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsAuthzExtensionsGetCall added in v0.190.0

type ProjectsLocationsAuthzExtensionsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsAuthzExtensionsGetCall) Context added in v0.190.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAuthzExtensionsGetCall) Do added in v0.190.0

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 check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAuthzExtensionsGetCall) Fields added in v0.190.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsAuthzExtensionsGetCall) Header added in v0.190.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsAuthzExtensionsGetCall) IfNoneMatch added in v0.190.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsAuthzExtensionsListCall added in v0.190.0

type ProjectsLocationsAuthzExtensionsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsAuthzExtensionsListCall) Context added in v0.190.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAuthzExtensionsListCall) Do added in v0.190.0

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAuthzExtensionsListCall) Fields added in v0.190.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsAuthzExtensionsListCall) Filter added in v0.190.0

Filter sets the optional parameter "filter": Filtering results.

func (*ProjectsLocationsAuthzExtensionsListCall) Header added in v0.190.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsAuthzExtensionsListCall) IfNoneMatch added in v0.190.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsAuthzExtensionsListCall) OrderBy added in v0.190.0

OrderBy sets the optional parameter "orderBy": Hint for how to order the results.

func (*ProjectsLocationsAuthzExtensionsListCall) PageSize added in v0.190.0

PageSize sets the optional parameter "pageSize": Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.

func (*ProjectsLocationsAuthzExtensionsListCall) PageToken added in v0.190.0

PageToken sets the optional parameter "pageToken": A token identifying a page of results that the server returns.

func (*ProjectsLocationsAuthzExtensionsListCall) Pages added in v0.190.0

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.

type ProjectsLocationsAuthzExtensionsPatchCall added in v0.190.0

type ProjectsLocationsAuthzExtensionsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsAuthzExtensionsPatchCall) Context added in v0.190.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAuthzExtensionsPatchCall) Do added in v0.190.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAuthzExtensionsPatchCall) Fields added in v0.190.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsAuthzExtensionsPatchCall) Header added in v0.190.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsAuthzExtensionsPatchCall) RequestId added in v0.190.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsAuthzExtensionsPatchCall) UpdateMask added in v0.190.0

UpdateMask sets the optional parameter "updateMask": Required. Used to specify the fields to be overwritten in the `AuthzExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.

type ProjectsLocationsAuthzExtensionsService added in v0.190.0

type ProjectsLocationsAuthzExtensionsService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsAuthzExtensionsService added in v0.190.0

func NewProjectsLocationsAuthzExtensionsService(s *Service) *ProjectsLocationsAuthzExtensionsService

func (*ProjectsLocationsAuthzExtensionsService) Create added in v0.190.0

Create: Creates a new `AuthzExtension` resource in a given project and location.

  • parent: The parent resource of the `AuthzExtension` resource. Must be in the format `projects/{project}/locations/{location}`.

func (*ProjectsLocationsAuthzExtensionsService) Delete added in v0.190.0

Delete: Deletes the specified `AuthzExtension` resource.

  • name: The name of the `AuthzExtension` resource to delete. Must be in the format `projects/{project}/locations/{location}/authzExtensions/{authz_extension}` .

func (*ProjectsLocationsAuthzExtensionsService) Get added in v0.190.0

Get: Gets details of the specified `AuthzExtension` resource.

  • name: A name of the `AuthzExtension` resource to get. Must be in the format `projects/{project}/locations/{location}/authzExtensions/{authz_extension}` .

func (*ProjectsLocationsAuthzExtensionsService) List added in v0.190.0

List: Lists `AuthzExtension` resources in a given project and location.

  • parent: The project and location from which the `AuthzExtension` resources are listed, specified in the following format: `projects/{project}/locations/{location}`.

func (*ProjectsLocationsAuthzExtensionsService) Patch added in v0.190.0

Patch: Updates the parameters of the specified `AuthzExtension` resource.

  • name: Identifier. Name of the `AuthzExtension` resource in the following format: `projects/{project}/locations/{location}/authzExtensions/{authz_extension}` .

type ProjectsLocationsEndpointPoliciesCreateCall

type ProjectsLocationsEndpointPoliciesCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsEndpointPoliciesCreateCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEndpointPoliciesCreateCall) Do

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsEndpointPoliciesCreateCall) EndpointPolicyId

EndpointPolicyId sets the optional parameter "endpointPolicyId": Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".

func (*ProjectsLocationsEndpointPoliciesCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsEndpointPoliciesCreateCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsEndpointPoliciesDeleteCall

type ProjectsLocationsEndpointPoliciesDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsEndpointPoliciesDeleteCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEndpointPoliciesDeleteCall) Do

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsEndpointPoliciesDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsEndpointPoliciesDeleteCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsEndpointPoliciesGetCall

type ProjectsLocationsEndpointPoliciesGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsEndpointPoliciesGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEndpointPoliciesGetCall) Do

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 check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsEndpointPoliciesGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsEndpointPoliciesGetCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsEndpointPoliciesGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsEndpointPoliciesListCall

type ProjectsLocationsEndpointPoliciesListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsEndpointPoliciesListCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEndpointPoliciesListCall) Do

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsEndpointPoliciesListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsEndpointPoliciesListCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsEndpointPoliciesListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsEndpointPoliciesListCall) PageSize

PageSize sets the optional parameter "pageSize": Maximum number of EndpointPolicies to return per call.

func (*ProjectsLocationsEndpointPoliciesListCall) PageToken

PageToken sets the optional parameter "pageToken": The value returned by the last `ListEndpointPoliciesResponse` Indicates that this is a continuation of a prior `ListEndpointPolicies` call, and that the system should return the next page of data.

func (*ProjectsLocationsEndpointPoliciesListCall) Pages

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.

type ProjectsLocationsEndpointPoliciesPatchCall

type ProjectsLocationsEndpointPoliciesPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsEndpointPoliciesPatchCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEndpointPoliciesPatchCall) Do

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsEndpointPoliciesPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsEndpointPoliciesPatchCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsEndpointPoliciesPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the EndpointPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

type ProjectsLocationsEndpointPoliciesService

type ProjectsLocationsEndpointPoliciesService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsEndpointPoliciesService

func NewProjectsLocationsEndpointPoliciesService(s *Service) *ProjectsLocationsEndpointPoliciesService

func (*ProjectsLocationsEndpointPoliciesService) Create

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/global`.

func (*ProjectsLocationsEndpointPoliciesService) Delete

Delete: Deletes a single EndpointPolicy.

  • name: A name of the EndpointPolicy to delete. Must be in the format `projects/*/locations/global/endpointPolicies/*`.

func (*ProjectsLocationsEndpointPoliciesService) Get

Get: Gets details of a single EndpointPolicy.

  • name: A name of the EndpointPolicy to get. Must be in the format `projects/*/locations/global/endpointPolicies/*`.

func (*ProjectsLocationsEndpointPoliciesService) List

List: Lists EndpointPolicies in a given project and location.

  • parent: The project and location from which the EndpointPolicies should be listed, specified in the format `projects/*/locations/global`.

func (*ProjectsLocationsEndpointPoliciesService) Patch

Patch: Updates the parameters of a single EndpointPolicy.

  • name: Identifier. Name of the EndpointPolicy resource. It matches pattern `projects/{project}/locations/global/endpointPolicies/{endpoint_policy}`.

type ProjectsLocationsGatewaysCreateCall added in v0.74.0

type ProjectsLocationsGatewaysCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGatewaysCreateCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGatewaysCreateCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGatewaysCreateCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsGatewaysCreateCall) GatewayId added in v0.74.0

GatewayId sets the optional parameter "gatewayId": Required. Short name of the Gateway resource to be created.

func (*ProjectsLocationsGatewaysCreateCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsGatewaysDeleteCall added in v0.74.0

type ProjectsLocationsGatewaysDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGatewaysDeleteCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGatewaysDeleteCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGatewaysDeleteCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsGatewaysDeleteCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsGatewaysGetCall added in v0.74.0

type ProjectsLocationsGatewaysGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGatewaysGetCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGatewaysGetCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGatewaysGetCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsGatewaysGetCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsGatewaysGetCall) IfNoneMatch added in v0.74.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsGatewaysListCall added in v0.74.0

type ProjectsLocationsGatewaysListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGatewaysListCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGatewaysListCall) Do added in v0.74.0

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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGatewaysListCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsGatewaysListCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsGatewaysListCall) IfNoneMatch added in v0.74.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsGatewaysListCall) PageSize added in v0.74.0

PageSize sets the optional parameter "pageSize": Maximum number of Gateways to return per call.

func (*ProjectsLocationsGatewaysListCall) PageToken added in v0.74.0

PageToken sets the optional parameter "pageToken": The value returned by the last `ListGatewaysResponse` Indicates that this is a continuation of a prior `ListGateways` call, and that the system should return the next page of data.

func (*ProjectsLocationsGatewaysListCall) Pages added in v0.74.0

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.

type ProjectsLocationsGatewaysPatchCall added in v0.74.0

type ProjectsLocationsGatewaysPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGatewaysPatchCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGatewaysPatchCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGatewaysPatchCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsGatewaysPatchCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsGatewaysPatchCall) UpdateMask added in v0.74.0

UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the Gateway resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

type ProjectsLocationsGatewaysRouteViewsGetCall added in v0.207.0

type ProjectsLocationsGatewaysRouteViewsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGatewaysRouteViewsGetCall) Context added in v0.207.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGatewaysRouteViewsGetCall) Do added in v0.207.0

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 at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGatewaysRouteViewsGetCall) Fields added in v0.207.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsGatewaysRouteViewsGetCall) Header added in v0.207.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsGatewaysRouteViewsGetCall) IfNoneMatch added in v0.207.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsGatewaysRouteViewsListCall added in v0.207.0

type ProjectsLocationsGatewaysRouteViewsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGatewaysRouteViewsListCall) Context added in v0.207.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGatewaysRouteViewsListCall) Do added in v0.207.0

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGatewaysRouteViewsListCall) Fields added in v0.207.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsGatewaysRouteViewsListCall) Header added in v0.207.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsGatewaysRouteViewsListCall) IfNoneMatch added in v0.207.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsGatewaysRouteViewsListCall) PageSize added in v0.207.0

PageSize sets the optional parameter "pageSize": Maximum number of GatewayRouteViews to return per call.

func (*ProjectsLocationsGatewaysRouteViewsListCall) PageToken added in v0.207.0

PageToken sets the optional parameter "pageToken": The value returned by the last `ListGatewayRouteViewsResponse` Indicates that this is a continuation of a prior `ListGatewayRouteViews` call, and that the system should return the next page of data.

func (*ProjectsLocationsGatewaysRouteViewsListCall) Pages added in v0.207.0

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.

type ProjectsLocationsGatewaysRouteViewsService added in v0.207.0

type ProjectsLocationsGatewaysRouteViewsService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsGatewaysRouteViewsService added in v0.207.0

func NewProjectsLocationsGatewaysRouteViewsService(s *Service) *ProjectsLocationsGatewaysRouteViewsService

func (*ProjectsLocationsGatewaysRouteViewsService) Get added in v0.207.0

Get: Get a single RouteView of a Gateway.

  • name: Name of the GatewayRouteView resource. Formats: projects/{project_number}/locations/{location}/gateways/{gateway_name}/rout eViews/{route_view_name}.

func (*ProjectsLocationsGatewaysRouteViewsService) List added in v0.207.0

List: Lists RouteViews

  • parent: The Gateway to which a Route is associated. Formats: projects/{project_number}/locations/{location}/gateways/{gateway_name}.

type ProjectsLocationsGatewaysService added in v0.74.0

type ProjectsLocationsGatewaysService struct {
	RouteViews *ProjectsLocationsGatewaysRouteViewsService
	// contains filtered or unexported fields
}

func NewProjectsLocationsGatewaysService added in v0.74.0

func NewProjectsLocationsGatewaysService(s *Service) *ProjectsLocationsGatewaysService

func (*ProjectsLocationsGatewaysService) Create added in v0.74.0

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 in v0.74.0

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 in v0.74.0

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 in v0.74.0

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 in v0.74.0

Patch: Updates the parameters of a single Gateway.

  • name: Identifier. Name of the Gateway resource. It matches pattern `projects/*/locations/*/gateways/`.

type ProjectsLocationsGetCall

type ProjectsLocationsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGetCall) Do

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsGetCall) Header

func (c *ProjectsLocationsGetCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsGetCall) IfNoneMatch

func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsGrpcRoutesCreateCall added in v0.74.0

type ProjectsLocationsGrpcRoutesCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGrpcRoutesCreateCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGrpcRoutesCreateCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGrpcRoutesCreateCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsGrpcRoutesCreateCall) GrpcRouteId added in v0.74.0

GrpcRouteId sets the optional parameter "grpcRouteId": Required. Short name of the GrpcRoute resource to be created.

func (*ProjectsLocationsGrpcRoutesCreateCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsGrpcRoutesDeleteCall added in v0.74.0

type ProjectsLocationsGrpcRoutesDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGrpcRoutesDeleteCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGrpcRoutesDeleteCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGrpcRoutesDeleteCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsGrpcRoutesDeleteCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsGrpcRoutesGetCall added in v0.74.0

type ProjectsLocationsGrpcRoutesGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGrpcRoutesGetCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGrpcRoutesGetCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGrpcRoutesGetCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsGrpcRoutesGetCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsGrpcRoutesGetCall) IfNoneMatch added in v0.74.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsGrpcRoutesListCall added in v0.74.0

type ProjectsLocationsGrpcRoutesListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGrpcRoutesListCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGrpcRoutesListCall) Do added in v0.74.0

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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGrpcRoutesListCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsGrpcRoutesListCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsGrpcRoutesListCall) IfNoneMatch added in v0.74.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsGrpcRoutesListCall) PageSize added in v0.74.0

PageSize sets the optional parameter "pageSize": Maximum number of GrpcRoutes to return per call.

func (*ProjectsLocationsGrpcRoutesListCall) PageToken added in v0.74.0

PageToken sets the optional parameter "pageToken": The value returned by the last `ListGrpcRoutesResponse` Indicates that this is a continuation of a prior `ListGrpcRoutes` call, and that the system should return the next page of data.

func (*ProjectsLocationsGrpcRoutesListCall) Pages added in v0.74.0

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.

type ProjectsLocationsGrpcRoutesPatchCall added in v0.74.0

type ProjectsLocationsGrpcRoutesPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGrpcRoutesPatchCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGrpcRoutesPatchCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGrpcRoutesPatchCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsGrpcRoutesPatchCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsGrpcRoutesPatchCall) UpdateMask added in v0.74.0

UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the GrpcRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

type ProjectsLocationsGrpcRoutesService added in v0.74.0

type ProjectsLocationsGrpcRoutesService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsGrpcRoutesService added in v0.74.0

func NewProjectsLocationsGrpcRoutesService(s *Service) *ProjectsLocationsGrpcRoutesService

func (*ProjectsLocationsGrpcRoutesService) Create added in v0.74.0

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/global`.

func (*ProjectsLocationsGrpcRoutesService) Delete added in v0.74.0

Delete: Deletes a single GrpcRoute.

  • name: A name of the GrpcRoute to delete. Must be in the format `projects/*/locations/global/grpcRoutes/*`.

func (*ProjectsLocationsGrpcRoutesService) Get added in v0.74.0

Get: Gets details of a single GrpcRoute.

  • name: A name of the GrpcRoute to get. Must be in the format `projects/*/locations/global/grpcRoutes/*`.

func (*ProjectsLocationsGrpcRoutesService) List added in v0.74.0

List: Lists GrpcRoutes in a given project and location.

  • parent: The project and location from which the GrpcRoutes should be listed, specified in the format `projects/*/locations/global`.

func (*ProjectsLocationsGrpcRoutesService) Patch added in v0.74.0

Patch: Updates the parameters of a single GrpcRoute.

  • name: Identifier. Name of the GrpcRoute resource. It matches pattern `projects/*/locations/global/grpcRoutes/`.

type ProjectsLocationsHttpRoutesCreateCall added in v0.74.0

type ProjectsLocationsHttpRoutesCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsHttpRoutesCreateCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsHttpRoutesCreateCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsHttpRoutesCreateCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsHttpRoutesCreateCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsHttpRoutesCreateCall) HttpRouteId added in v0.74.0

HttpRouteId sets the optional parameter "httpRouteId": Required. Short name of the HttpRoute resource to be created.

type ProjectsLocationsHttpRoutesDeleteCall added in v0.74.0

type ProjectsLocationsHttpRoutesDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsHttpRoutesDeleteCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsHttpRoutesDeleteCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsHttpRoutesDeleteCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsHttpRoutesDeleteCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsHttpRoutesGetCall added in v0.74.0

type ProjectsLocationsHttpRoutesGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsHttpRoutesGetCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsHttpRoutesGetCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsHttpRoutesGetCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsHttpRoutesGetCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsHttpRoutesGetCall) IfNoneMatch added in v0.74.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsHttpRoutesListCall added in v0.74.0

type ProjectsLocationsHttpRoutesListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsHttpRoutesListCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsHttpRoutesListCall) Do added in v0.74.0

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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsHttpRoutesListCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsHttpRoutesListCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsHttpRoutesListCall) IfNoneMatch added in v0.74.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsHttpRoutesListCall) PageSize added in v0.74.0

PageSize sets the optional parameter "pageSize": Maximum number of HttpRoutes to return per call.

func (*ProjectsLocationsHttpRoutesListCall) PageToken added in v0.74.0

PageToken sets the optional parameter "pageToken": The value returned by the last `ListHttpRoutesResponse` Indicates that this is a continuation of a prior `ListHttpRoutes` call, and that the system should return the next page of data.

func (*ProjectsLocationsHttpRoutesListCall) Pages added in v0.74.0

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.

type ProjectsLocationsHttpRoutesPatchCall added in v0.74.0

type ProjectsLocationsHttpRoutesPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsHttpRoutesPatchCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsHttpRoutesPatchCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsHttpRoutesPatchCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsHttpRoutesPatchCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsHttpRoutesPatchCall) UpdateMask added in v0.74.0

UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the HttpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

type ProjectsLocationsHttpRoutesService added in v0.74.0

type ProjectsLocationsHttpRoutesService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsHttpRoutesService added in v0.74.0

func NewProjectsLocationsHttpRoutesService(s *Service) *ProjectsLocationsHttpRoutesService

func (*ProjectsLocationsHttpRoutesService) Create added in v0.74.0

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/global`.

func (*ProjectsLocationsHttpRoutesService) Delete added in v0.74.0

Delete: Deletes a single HttpRoute.

  • name: A name of the HttpRoute to delete. Must be in the format `projects/*/locations/global/httpRoutes/*`.

func (*ProjectsLocationsHttpRoutesService) Get added in v0.74.0

Get: Gets details of a single HttpRoute.

  • name: A name of the HttpRoute to get. Must be in the format `projects/*/locations/global/httpRoutes/*`.

func (*ProjectsLocationsHttpRoutesService) List added in v0.74.0

List: Lists HttpRoute in a given project and location.

  • parent: The project and location from which the HttpRoutes should be listed, specified in the format `projects/*/locations/global`.

func (*ProjectsLocationsHttpRoutesService) Patch added in v0.74.0

Patch: Updates the parameters of a single HttpRoute.

  • name: Identifier. Name of the HttpRoute resource. It matches pattern `projects/*/locations/global/httpRoutes/http_route_name>`.

type ProjectsLocationsLbRouteExtensionsCreateCall added in v0.144.0

type ProjectsLocationsLbRouteExtensionsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsLbRouteExtensionsCreateCall) Context added in v0.144.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsLbRouteExtensionsCreateCall) Do added in v0.144.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsLbRouteExtensionsCreateCall) Fields added in v0.144.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsLbRouteExtensionsCreateCall) Header added in v0.144.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsLbRouteExtensionsCreateCall) LbRouteExtensionId added in v0.144.0

LbRouteExtensionId sets the optional parameter "lbRouteExtensionId": Required. User-provided ID of the `LbRouteExtension` resource to be created.

func (*ProjectsLocationsLbRouteExtensionsCreateCall) RequestId added in v0.144.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsLbRouteExtensionsDeleteCall added in v0.144.0

type ProjectsLocationsLbRouteExtensionsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsLbRouteExtensionsDeleteCall) Context added in v0.144.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsLbRouteExtensionsDeleteCall) Do added in v0.144.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsLbRouteExtensionsDeleteCall) Fields added in v0.144.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsLbRouteExtensionsDeleteCall) Header added in v0.144.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsLbRouteExtensionsDeleteCall) RequestId added in v0.144.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsLbRouteExtensionsGetCall added in v0.144.0

type ProjectsLocationsLbRouteExtensionsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsLbRouteExtensionsGetCall) Context added in v0.144.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsLbRouteExtensionsGetCall) Do added in v0.144.0

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 at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsLbRouteExtensionsGetCall) Fields added in v0.144.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsLbRouteExtensionsGetCall) Header added in v0.144.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsLbRouteExtensionsGetCall) IfNoneMatch added in v0.144.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsLbRouteExtensionsListCall added in v0.144.0

type ProjectsLocationsLbRouteExtensionsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsLbRouteExtensionsListCall) Context added in v0.144.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsLbRouteExtensionsListCall) Do added in v0.144.0

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsLbRouteExtensionsListCall) Fields added in v0.144.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsLbRouteExtensionsListCall) Filter added in v0.144.0

Filter sets the optional parameter "filter": Filtering results.

func (*ProjectsLocationsLbRouteExtensionsListCall) Header added in v0.144.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsLbRouteExtensionsListCall) IfNoneMatch added in v0.144.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsLbRouteExtensionsListCall) OrderBy added in v0.144.0

OrderBy sets the optional parameter "orderBy": Hint for how to order the results.

func (*ProjectsLocationsLbRouteExtensionsListCall) PageSize added in v0.144.0

PageSize sets the optional parameter "pageSize": Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.

func (*ProjectsLocationsLbRouteExtensionsListCall) PageToken added in v0.144.0

PageToken sets the optional parameter "pageToken": A token identifying a page of results that the server returns.

func (*ProjectsLocationsLbRouteExtensionsListCall) Pages added in v0.144.0

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.

type ProjectsLocationsLbRouteExtensionsPatchCall added in v0.144.0

type ProjectsLocationsLbRouteExtensionsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsLbRouteExtensionsPatchCall) Context added in v0.144.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsLbRouteExtensionsPatchCall) Do added in v0.144.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsLbRouteExtensionsPatchCall) Fields added in v0.144.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsLbRouteExtensionsPatchCall) Header added in v0.144.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsLbRouteExtensionsPatchCall) RequestId added in v0.144.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsLbRouteExtensionsPatchCall) UpdateMask added in v0.144.0

UpdateMask sets the optional parameter "updateMask": Used to specify the fields to be overwritten in the `LbRouteExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.

type ProjectsLocationsLbRouteExtensionsService added in v0.144.0

type ProjectsLocationsLbRouteExtensionsService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsLbRouteExtensionsService added in v0.144.0

func NewProjectsLocationsLbRouteExtensionsService(s *Service) *ProjectsLocationsLbRouteExtensionsService

func (*ProjectsLocationsLbRouteExtensionsService) Create added in v0.144.0

Create: Creates a new `LbRouteExtension` resource in a given project and location.

  • parent: The parent resource of the `LbRouteExtension` resource. Must be in the format `projects/{project}/locations/{location}`.

func (*ProjectsLocationsLbRouteExtensionsService) Delete added in v0.144.0

Delete: Deletes the specified `LbRouteExtension` resource.

  • name: The name of the `LbRouteExtension` resource to delete. Must be in the format `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extens ion}`.

func (*ProjectsLocationsLbRouteExtensionsService) Get added in v0.144.0

Get: Gets details of the specified `LbRouteExtension` resource.

  • name: A name of the `LbRouteExtension` resource to get. Must be in the format `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extens ion}`.

func (*ProjectsLocationsLbRouteExtensionsService) List added in v0.144.0

List: Lists `LbRouteExtension` resources in a given project and location.

  • parent: The project and location from which the `LbRouteExtension` resources are listed, specified in the following format: `projects/{project}/locations/{location}`.

func (*ProjectsLocationsLbRouteExtensionsService) Patch added in v0.144.0

Patch: Updates the parameters of the specified `LbRouteExtension` resource.

  • name: Identifier. Name of the `LbRouteExtension` resource in the following format: `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extens ion}`.

type ProjectsLocationsLbTrafficExtensionsCreateCall added in v0.144.0

type ProjectsLocationsLbTrafficExtensionsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsLbTrafficExtensionsCreateCall) Context added in v0.144.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsLbTrafficExtensionsCreateCall) Do added in v0.144.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsLbTrafficExtensionsCreateCall) Fields added in v0.144.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsLbTrafficExtensionsCreateCall) Header added in v0.144.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsLbTrafficExtensionsCreateCall) LbTrafficExtensionId added in v0.144.0

LbTrafficExtensionId sets the optional parameter "lbTrafficExtensionId": Required. User-provided ID of the `LbTrafficExtension` resource to be created.

func (*ProjectsLocationsLbTrafficExtensionsCreateCall) RequestId added in v0.144.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsLbTrafficExtensionsDeleteCall added in v0.144.0

type ProjectsLocationsLbTrafficExtensionsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsLbTrafficExtensionsDeleteCall) Context added in v0.144.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsLbTrafficExtensionsDeleteCall) Do added in v0.144.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsLbTrafficExtensionsDeleteCall) Fields added in v0.144.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsLbTrafficExtensionsDeleteCall) Header added in v0.144.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsLbTrafficExtensionsDeleteCall) RequestId added in v0.144.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

type ProjectsLocationsLbTrafficExtensionsGetCall added in v0.144.0

type ProjectsLocationsLbTrafficExtensionsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsLbTrafficExtensionsGetCall) Context added in v0.144.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsLbTrafficExtensionsGetCall) Do added in v0.144.0

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 at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsLbTrafficExtensionsGetCall) Fields added in v0.144.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsLbTrafficExtensionsGetCall) Header added in v0.144.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsLbTrafficExtensionsGetCall) IfNoneMatch added in v0.144.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsLbTrafficExtensionsListCall added in v0.144.0

type ProjectsLocationsLbTrafficExtensionsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsLbTrafficExtensionsListCall) Context added in v0.144.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsLbTrafficExtensionsListCall) Do added in v0.144.0

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsLbTrafficExtensionsListCall) Fields added in v0.144.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsLbTrafficExtensionsListCall) Filter added in v0.144.0

Filter sets the optional parameter "filter": Filtering results.

func (*ProjectsLocationsLbTrafficExtensionsListCall) Header added in v0.144.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsLbTrafficExtensionsListCall) IfNoneMatch added in v0.144.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsLbTrafficExtensionsListCall) OrderBy added in v0.144.0

OrderBy sets the optional parameter "orderBy": Hint for how to order the results.

func (*ProjectsLocationsLbTrafficExtensionsListCall) PageSize added in v0.144.0

PageSize sets the optional parameter "pageSize": Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.

func (*ProjectsLocationsLbTrafficExtensionsListCall) PageToken added in v0.144.0

PageToken sets the optional parameter "pageToken": A token identifying a page of results that the server returns.

func (*ProjectsLocationsLbTrafficExtensionsListCall) Pages added in v0.144.0

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.

type ProjectsLocationsLbTrafficExtensionsPatchCall added in v0.144.0

type ProjectsLocationsLbTrafficExtensionsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsLbTrafficExtensionsPatchCall) Context added in v0.144.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsLbTrafficExtensionsPatchCall) Do added in v0.144.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsLbTrafficExtensionsPatchCall) Fields added in v0.144.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsLbTrafficExtensionsPatchCall) Header added in v0.144.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsLbTrafficExtensionsPatchCall) RequestId added in v0.144.0

RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsLbTrafficExtensionsPatchCall) UpdateMask added in v0.144.0

UpdateMask sets the optional parameter "updateMask": Used to specify the fields to be overwritten in the `LbTrafficExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.

type ProjectsLocationsLbTrafficExtensionsService added in v0.144.0

type ProjectsLocationsLbTrafficExtensionsService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsLbTrafficExtensionsService added in v0.144.0

func NewProjectsLocationsLbTrafficExtensionsService(s *Service) *ProjectsLocationsLbTrafficExtensionsService

func (*ProjectsLocationsLbTrafficExtensionsService) Create added in v0.144.0

Create: Creates a new `LbTrafficExtension` resource in a given project and location.

  • parent: The parent resource of the `LbTrafficExtension` resource. Must be in the format `projects/{project}/locations/{location}`.

func (*ProjectsLocationsLbTrafficExtensionsService) Delete added in v0.144.0

Delete: Deletes the specified `LbTrafficExtension` resource.

  • name: The name of the `LbTrafficExtension` resource to delete. Must be in the format `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_ex tension}`.

func (*ProjectsLocationsLbTrafficExtensionsService) Get added in v0.144.0

Get: Gets details of the specified `LbTrafficExtension` resource.

  • name: A name of the `LbTrafficExtension` resource to get. Must be in the format `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_ex tension}`.

func (*ProjectsLocationsLbTrafficExtensionsService) List added in v0.144.0

List: Lists `LbTrafficExtension` resources in a given project and location.

  • parent: The project and location from which the `LbTrafficExtension` resources are listed, specified in the following format: `projects/{project}/locations/{location}`.

func (*ProjectsLocationsLbTrafficExtensionsService) Patch added in v0.144.0

Patch: Updates the parameters of the specified `LbTrafficExtension` resource.

  • name: Identifier. Name of the `LbTrafficExtension` resource in the following format: `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_ex tension}`.

type ProjectsLocationsListCall

type ProjectsLocationsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsListCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsListCall) Do

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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsListCall) Filter

Filter sets the optional parameter "filter": A filter to narrow down results to 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

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsListCall) IfNoneMatch

func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.

func (*ProjectsLocationsListCall) PageToken

PageToken sets the optional parameter "pageToken": A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.

func (*ProjectsLocationsListCall) Pages

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.

type ProjectsLocationsMeshesCreateCall added in v0.74.0

type ProjectsLocationsMeshesCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsMeshesCreateCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsMeshesCreateCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsMeshesCreateCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsMeshesCreateCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsMeshesCreateCall) MeshId added in v0.74.0

MeshId sets the optional parameter "meshId": Required. Short name of the Mesh resource to be created.

type ProjectsLocationsMeshesDeleteCall added in v0.74.0

type ProjectsLocationsMeshesDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsMeshesDeleteCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsMeshesDeleteCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsMeshesDeleteCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsMeshesDeleteCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsMeshesGetCall added in v0.74.0

type ProjectsLocationsMeshesGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsMeshesGetCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsMeshesGetCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsMeshesGetCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsMeshesGetCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsMeshesGetCall) IfNoneMatch added in v0.74.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsMeshesListCall added in v0.74.0

type ProjectsLocationsMeshesListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsMeshesListCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsMeshesListCall) Do added in v0.74.0

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 at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsMeshesListCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsMeshesListCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsMeshesListCall) IfNoneMatch added in v0.74.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsMeshesListCall) PageSize added in v0.74.0

PageSize sets the optional parameter "pageSize": Maximum number of Meshes to return per call.

func (*ProjectsLocationsMeshesListCall) PageToken added in v0.74.0

PageToken sets the optional parameter "pageToken": The value returned by the last `ListMeshesResponse` Indicates that this is a continuation of a prior `ListMeshes` call, and that the system should return the next page of data.

func (*ProjectsLocationsMeshesListCall) Pages added in v0.74.0

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.

type ProjectsLocationsMeshesPatchCall added in v0.74.0

type ProjectsLocationsMeshesPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsMeshesPatchCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsMeshesPatchCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsMeshesPatchCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsMeshesPatchCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsMeshesPatchCall) UpdateMask added in v0.74.0

UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

type ProjectsLocationsMeshesRouteViewsGetCall added in v0.207.0

type ProjectsLocationsMeshesRouteViewsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsMeshesRouteViewsGetCall) Context added in v0.207.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsMeshesRouteViewsGetCall) Do added in v0.207.0

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 check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsMeshesRouteViewsGetCall) Fields added in v0.207.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsMeshesRouteViewsGetCall) Header added in v0.207.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsMeshesRouteViewsGetCall) IfNoneMatch added in v0.207.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsMeshesRouteViewsListCall added in v0.207.0

type ProjectsLocationsMeshesRouteViewsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsMeshesRouteViewsListCall) Context added in v0.207.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsMeshesRouteViewsListCall) Do added in v0.207.0

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsMeshesRouteViewsListCall) Fields added in v0.207.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsMeshesRouteViewsListCall) Header added in v0.207.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsMeshesRouteViewsListCall) IfNoneMatch added in v0.207.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsMeshesRouteViewsListCall) PageSize added in v0.207.0

PageSize sets the optional parameter "pageSize": Maximum number of MeshRouteViews to return per call.

func (*ProjectsLocationsMeshesRouteViewsListCall) PageToken added in v0.207.0

PageToken sets the optional parameter "pageToken": The value returned by the last `ListMeshRouteViewsResponse` Indicates that this is a continuation of a prior `ListMeshRouteViews` call, and that the system should return the next page of data.

func (*ProjectsLocationsMeshesRouteViewsListCall) Pages added in v0.207.0

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.

type ProjectsLocationsMeshesRouteViewsService added in v0.207.0

type ProjectsLocationsMeshesRouteViewsService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsMeshesRouteViewsService added in v0.207.0

func NewProjectsLocationsMeshesRouteViewsService(s *Service) *ProjectsLocationsMeshesRouteViewsService

func (*ProjectsLocationsMeshesRouteViewsService) Get added in v0.207.0

Get: Get a single RouteView of a Mesh.

  • name: Name of the MeshRouteView resource. Format: projects/{project_number}/locations/{location}/meshes/{mesh_name}/routeView s/{route_view_name}.

func (*ProjectsLocationsMeshesRouteViewsService) List added in v0.207.0

List: Lists RouteViews

  • parent: The Mesh to which a Route is associated. Format: projects/{project_number}/locations/{location}/meshes/{mesh_name}.

type ProjectsLocationsMeshesService added in v0.74.0

type ProjectsLocationsMeshesService struct {
	RouteViews *ProjectsLocationsMeshesRouteViewsService
	// contains filtered or unexported fields
}

func NewProjectsLocationsMeshesService added in v0.74.0

func NewProjectsLocationsMeshesService(s *Service) *ProjectsLocationsMeshesService

func (*ProjectsLocationsMeshesService) Create added in v0.74.0

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/global`.

func (*ProjectsLocationsMeshesService) Delete added in v0.74.0

Delete: Deletes a single Mesh.

  • name: A name of the Mesh to delete. Must be in the format `projects/*/locations/global/meshes/*`.

func (*ProjectsLocationsMeshesService) Get added in v0.74.0

Get: Gets details of a single Mesh.

  • name: A name of the Mesh to get. Must be in the format `projects/*/locations/global/meshes/*`.

func (*ProjectsLocationsMeshesService) List added in v0.74.0

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/global`.

func (*ProjectsLocationsMeshesService) Patch added in v0.74.0

Patch: Updates the parameters of a single Mesh.

  • name: Identifier. Name of the Mesh resource. It matches pattern `projects/*/locations/global/meshes/`.

type ProjectsLocationsOperationsCancelCall

type ProjectsLocationsOperationsCancelCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsOperationsCancelCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsCancelCall) Do

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsCancelCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsOperationsCancelCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsOperationsDeleteCall

type ProjectsLocationsOperationsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsOperationsDeleteCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsDeleteCall) Do

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsOperationsDeleteCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsOperationsGetCall

type ProjectsLocationsOperationsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsOperationsGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsGetCall) Do

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsOperationsGetCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsOperationsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsOperationsListCall

type ProjectsLocationsOperationsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsOperationsListCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsListCall) Do

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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsOperationsListCall) Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsOperationsListCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsOperationsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsOperationsListCall) PageSize

PageSize sets the optional parameter "pageSize": The standard list page size.

func (*ProjectsLocationsOperationsListCall) PageToken

PageToken sets the optional parameter "pageToken": The standard list page token.

func (*ProjectsLocationsOperationsListCall) Pages

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.

type ProjectsLocationsOperationsService

type ProjectsLocationsOperationsService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsOperationsService

func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService

func (*ProjectsLocationsOperationsService) Cancel

Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.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

Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the 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

Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

- name: The name of the operation resource.

func (*ProjectsLocationsOperationsService) List

List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

type ProjectsLocationsService

func NewProjectsLocationsService

func NewProjectsLocationsService(s *Service) *ProjectsLocationsService

func (*ProjectsLocationsService) Get

Get: Gets information about a location.

- name: Resource name for the location.

func (*ProjectsLocationsService) List

List: Lists information about the supported locations for this service.

- name: The resource that owns the locations collection, if applicable.

type ProjectsLocationsServiceBindingsCreateCall added in v0.65.0

type ProjectsLocationsServiceBindingsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsServiceBindingsCreateCall) Context added in v0.65.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServiceBindingsCreateCall) Do added in v0.65.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServiceBindingsCreateCall) Fields added in v0.65.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsServiceBindingsCreateCall) Header added in v0.65.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsServiceBindingsCreateCall) ServiceBindingId added in v0.65.0

ServiceBindingId sets the optional parameter "serviceBindingId": Required. Short name of the ServiceBinding resource to be created.

type ProjectsLocationsServiceBindingsDeleteCall added in v0.65.0

type ProjectsLocationsServiceBindingsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsServiceBindingsDeleteCall) Context added in v0.65.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServiceBindingsDeleteCall) Do added in v0.65.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServiceBindingsDeleteCall) Fields added in v0.65.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsServiceBindingsDeleteCall) Header added in v0.65.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsServiceBindingsGetCall added in v0.65.0

type ProjectsLocationsServiceBindingsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsServiceBindingsGetCall) Context added in v0.65.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServiceBindingsGetCall) Do added in v0.65.0

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 check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServiceBindingsGetCall) Fields added in v0.65.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsServiceBindingsGetCall) Header added in v0.65.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsServiceBindingsGetCall) IfNoneMatch added in v0.65.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsServiceBindingsListCall added in v0.65.0

type ProjectsLocationsServiceBindingsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsServiceBindingsListCall) Context added in v0.65.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServiceBindingsListCall) Do added in v0.65.0

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServiceBindingsListCall) Fields added in v0.65.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsServiceBindingsListCall) Header added in v0.65.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsServiceBindingsListCall) IfNoneMatch added in v0.65.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsServiceBindingsListCall) PageSize added in v0.65.0

PageSize sets the optional parameter "pageSize": Maximum number of ServiceBindings to return per call.

func (*ProjectsLocationsServiceBindingsListCall) PageToken added in v0.65.0

PageToken sets the optional parameter "pageToken": The value returned by the last `ListServiceBindingsResponse` Indicates that this is a continuation of a prior `ListRouters` call, and that the system should return the next page of data.

func (*ProjectsLocationsServiceBindingsListCall) Pages added in v0.65.0

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.

type ProjectsLocationsServiceBindingsService added in v0.62.0

type ProjectsLocationsServiceBindingsService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsServiceBindingsService added in v0.62.0

func NewProjectsLocationsServiceBindingsService(s *Service) *ProjectsLocationsServiceBindingsService

func (*ProjectsLocationsServiceBindingsService) Create added in v0.65.0

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/global`.

func (*ProjectsLocationsServiceBindingsService) Delete added in v0.65.0

Delete: Deletes a single ServiceBinding.

  • name: A name of the ServiceBinding to delete. Must be in the format `projects/*/locations/global/serviceBindings/*`.

func (*ProjectsLocationsServiceBindingsService) Get added in v0.65.0

Get: Gets details of a single ServiceBinding.

  • name: A name of the ServiceBinding to get. Must be in the format `projects/*/locations/global/serviceBindings/*`.

func (*ProjectsLocationsServiceBindingsService) List added in v0.65.0

List: Lists ServiceBinding in a given project and location.

  • parent: The project and location from which the ServiceBindings should be listed, specified in the format `projects/*/locations/global`.

type ProjectsLocationsServiceLbPoliciesCreateCall added in v0.129.0

type ProjectsLocationsServiceLbPoliciesCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsServiceLbPoliciesCreateCall) Context added in v0.129.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServiceLbPoliciesCreateCall) Do added in v0.129.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServiceLbPoliciesCreateCall) Fields added in v0.129.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsServiceLbPoliciesCreateCall) Header added in v0.129.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsServiceLbPoliciesCreateCall) ServiceLbPolicyId added in v0.129.0

ServiceLbPolicyId sets the optional parameter "serviceLbPolicyId": Required. Short name of the ServiceLbPolicy resource to be created. E.g. for resource name `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy _name}`. the id is value of {service_lb_policy_name}

type ProjectsLocationsServiceLbPoliciesDeleteCall added in v0.129.0

type ProjectsLocationsServiceLbPoliciesDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsServiceLbPoliciesDeleteCall) Context added in v0.129.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServiceLbPoliciesDeleteCall) Do added in v0.129.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServiceLbPoliciesDeleteCall) Fields added in v0.129.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsServiceLbPoliciesDeleteCall) Header added in v0.129.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsServiceLbPoliciesGetCall added in v0.129.0

type ProjectsLocationsServiceLbPoliciesGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsServiceLbPoliciesGetCall) Context added in v0.129.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServiceLbPoliciesGetCall) Do added in v0.129.0

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 at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServiceLbPoliciesGetCall) Fields added in v0.129.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsServiceLbPoliciesGetCall) Header added in v0.129.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsServiceLbPoliciesGetCall) IfNoneMatch added in v0.129.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsServiceLbPoliciesListCall added in v0.129.0

type ProjectsLocationsServiceLbPoliciesListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsServiceLbPoliciesListCall) Context added in v0.129.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServiceLbPoliciesListCall) Do added in v0.129.0

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServiceLbPoliciesListCall) Fields added in v0.129.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsServiceLbPoliciesListCall) Header added in v0.129.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsServiceLbPoliciesListCall) IfNoneMatch added in v0.129.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsServiceLbPoliciesListCall) PageSize added in v0.129.0

PageSize sets the optional parameter "pageSize": Maximum number of ServiceLbPolicies to return per call.

func (*ProjectsLocationsServiceLbPoliciesListCall) PageToken added in v0.129.0

PageToken sets the optional parameter "pageToken": The value returned by the last `ListServiceLbPoliciesResponse` Indicates that this is a continuation of a prior `ListRouters` call, and that the system should return the next page of data.

func (*ProjectsLocationsServiceLbPoliciesListCall) Pages added in v0.129.0

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.

type ProjectsLocationsServiceLbPoliciesPatchCall added in v0.129.0

type ProjectsLocationsServiceLbPoliciesPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsServiceLbPoliciesPatchCall) Context added in v0.129.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServiceLbPoliciesPatchCall) Do added in v0.129.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServiceLbPoliciesPatchCall) Fields added in v0.129.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsServiceLbPoliciesPatchCall) Header added in v0.129.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsServiceLbPoliciesPatchCall) UpdateMask added in v0.129.0

UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the ServiceLbPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

type ProjectsLocationsServiceLbPoliciesService added in v0.129.0

type ProjectsLocationsServiceLbPoliciesService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsServiceLbPoliciesService added in v0.129.0

func NewProjectsLocationsServiceLbPoliciesService(s *Service) *ProjectsLocationsServiceLbPoliciesService

func (*ProjectsLocationsServiceLbPoliciesService) Create added in v0.129.0

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 in v0.129.0

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 in v0.129.0

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 in v0.129.0

List: Lists ServiceLbPolicies in a given project and location.

  • parent: The project and location from which the ServiceLbPolicies should be listed, specified in the format `projects/{project}/locations/{location}`.

func (*ProjectsLocationsServiceLbPoliciesService) Patch added in v0.129.0

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_poli cy_name}`.

type ProjectsLocationsTcpRoutesCreateCall added in v0.74.0

type ProjectsLocationsTcpRoutesCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTcpRoutesCreateCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTcpRoutesCreateCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTcpRoutesCreateCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsTcpRoutesCreateCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsTcpRoutesCreateCall) TcpRouteId added in v0.74.0

TcpRouteId sets the optional parameter "tcpRouteId": Required. Short name of the TcpRoute resource to be created.

type ProjectsLocationsTcpRoutesDeleteCall added in v0.74.0

type ProjectsLocationsTcpRoutesDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTcpRoutesDeleteCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTcpRoutesDeleteCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTcpRoutesDeleteCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsTcpRoutesDeleteCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsTcpRoutesGetCall added in v0.74.0

type ProjectsLocationsTcpRoutesGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTcpRoutesGetCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTcpRoutesGetCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTcpRoutesGetCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsTcpRoutesGetCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsTcpRoutesGetCall) IfNoneMatch added in v0.74.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsTcpRoutesListCall added in v0.74.0

type ProjectsLocationsTcpRoutesListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTcpRoutesListCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTcpRoutesListCall) Do added in v0.74.0

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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTcpRoutesListCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsTcpRoutesListCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsTcpRoutesListCall) IfNoneMatch added in v0.74.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsTcpRoutesListCall) PageSize added in v0.74.0

PageSize sets the optional parameter "pageSize": Maximum number of TcpRoutes to return per call.

func (*ProjectsLocationsTcpRoutesListCall) PageToken added in v0.74.0

PageToken sets the optional parameter "pageToken": The value returned by the last `ListTcpRoutesResponse` Indicates that this is a continuation of a prior `ListTcpRoutes` call, and that the system should return the next page of data.

func (*ProjectsLocationsTcpRoutesListCall) Pages added in v0.74.0

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.

type ProjectsLocationsTcpRoutesPatchCall added in v0.74.0

type ProjectsLocationsTcpRoutesPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTcpRoutesPatchCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTcpRoutesPatchCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTcpRoutesPatchCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsTcpRoutesPatchCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsTcpRoutesPatchCall) UpdateMask added in v0.74.0

UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

type ProjectsLocationsTcpRoutesService added in v0.74.0

type ProjectsLocationsTcpRoutesService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsTcpRoutesService added in v0.74.0

func NewProjectsLocationsTcpRoutesService(s *Service) *ProjectsLocationsTcpRoutesService

func (*ProjectsLocationsTcpRoutesService) Create added in v0.74.0

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/global`.

func (*ProjectsLocationsTcpRoutesService) Delete added in v0.74.0

Delete: Deletes a single TcpRoute.

  • name: A name of the TcpRoute to delete. Must be in the format `projects/*/locations/global/tcpRoutes/*`.

func (*ProjectsLocationsTcpRoutesService) Get added in v0.74.0

Get: Gets details of a single TcpRoute.

  • name: A name of the TcpRoute to get. Must be in the format `projects/*/locations/global/tcpRoutes/*`.

func (*ProjectsLocationsTcpRoutesService) List added in v0.74.0

List: Lists TcpRoute in a given project and location.

  • parent: The project and location from which the TcpRoutes should be listed, specified in the format `projects/*/locations/global`.

func (*ProjectsLocationsTcpRoutesService) Patch added in v0.74.0

Patch: Updates the parameters of a single TcpRoute.

  • name: Identifier. Name of the TcpRoute resource. It matches pattern `projects/*/locations/global/tcpRoutes/tcp_route_name>`.

type ProjectsLocationsTlsRoutesCreateCall added in v0.74.0

type ProjectsLocationsTlsRoutesCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTlsRoutesCreateCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTlsRoutesCreateCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTlsRoutesCreateCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsTlsRoutesCreateCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsTlsRoutesCreateCall) TlsRouteId added in v0.74.0

TlsRouteId sets the optional parameter "tlsRouteId": Required. Short name of the TlsRoute resource to be created.

type ProjectsLocationsTlsRoutesDeleteCall added in v0.74.0

type ProjectsLocationsTlsRoutesDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTlsRoutesDeleteCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTlsRoutesDeleteCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTlsRoutesDeleteCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsTlsRoutesDeleteCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsTlsRoutesGetCall added in v0.74.0

type ProjectsLocationsTlsRoutesGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTlsRoutesGetCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTlsRoutesGetCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTlsRoutesGetCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsTlsRoutesGetCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsTlsRoutesGetCall) IfNoneMatch added in v0.74.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsTlsRoutesListCall added in v0.74.0

type ProjectsLocationsTlsRoutesListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTlsRoutesListCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTlsRoutesListCall) Do added in v0.74.0

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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTlsRoutesListCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsTlsRoutesListCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsTlsRoutesListCall) IfNoneMatch added in v0.74.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsTlsRoutesListCall) PageSize added in v0.74.0

PageSize sets the optional parameter "pageSize": Maximum number of TlsRoutes to return per call.

func (*ProjectsLocationsTlsRoutesListCall) PageToken added in v0.74.0

PageToken sets the optional parameter "pageToken": The value returned by the last `ListTlsRoutesResponse` Indicates that this is a continuation of a prior `ListTlsRoutes` call, and that the system should return the next page of data.

func (*ProjectsLocationsTlsRoutesListCall) Pages added in v0.74.0

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.

type ProjectsLocationsTlsRoutesPatchCall added in v0.74.0

type ProjectsLocationsTlsRoutesPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTlsRoutesPatchCall) Context added in v0.74.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTlsRoutesPatchCall) Do added in v0.74.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTlsRoutesPatchCall) Fields added in v0.74.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsTlsRoutesPatchCall) Header added in v0.74.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsTlsRoutesPatchCall) UpdateMask added in v0.74.0

UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the TlsRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

type ProjectsLocationsTlsRoutesService added in v0.74.0

type ProjectsLocationsTlsRoutesService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsTlsRoutesService added in v0.74.0

func NewProjectsLocationsTlsRoutesService(s *Service) *ProjectsLocationsTlsRoutesService

func (*ProjectsLocationsTlsRoutesService) Create added in v0.74.0

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/global`.

func (*ProjectsLocationsTlsRoutesService) Delete added in v0.74.0

Delete: Deletes a single TlsRoute.

  • name: A name of the TlsRoute to delete. Must be in the format `projects/*/locations/global/tlsRoutes/*`.

func (*ProjectsLocationsTlsRoutesService) Get added in v0.74.0

Get: Gets details of a single TlsRoute.

  • name: A name of the TlsRoute to get. Must be in the format `projects/*/locations/global/tlsRoutes/*`.

func (*ProjectsLocationsTlsRoutesService) List added in v0.74.0

List: Lists TlsRoute in a given project and location.

  • parent: The project and location from which the TlsRoutes should be listed, specified in the format `projects/*/locations/global`.

func (*ProjectsLocationsTlsRoutesService) Patch added in v0.74.0

Patch: Updates the parameters of a single TlsRoute.

  • name: Identifier. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name>`.

type ProjectsLocationsWasmPluginsCreateCall added in v0.204.0

type ProjectsLocationsWasmPluginsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsWasmPluginsCreateCall) Context added in v0.204.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsWasmPluginsCreateCall) Do added in v0.204.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsWasmPluginsCreateCall) Fields added in v0.204.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsWasmPluginsCreateCall) Header added in v0.204.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsWasmPluginsCreateCall) WasmPluginId added in v0.204.0

WasmPluginId sets the optional parameter "wasmPluginId": Required. User-provided ID of the `WasmPlugin` resource to be created.

type ProjectsLocationsWasmPluginsDeleteCall added in v0.204.0

type ProjectsLocationsWasmPluginsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsWasmPluginsDeleteCall) Context added in v0.204.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsWasmPluginsDeleteCall) Do added in v0.204.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsWasmPluginsDeleteCall) Fields added in v0.204.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsWasmPluginsDeleteCall) Header added in v0.204.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsWasmPluginsGetCall added in v0.204.0

type ProjectsLocationsWasmPluginsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsWasmPluginsGetCall) Context added in v0.204.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsWasmPluginsGetCall) Do added in v0.204.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsWasmPluginsGetCall) Fields added in v0.204.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsWasmPluginsGetCall) Header added in v0.204.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsWasmPluginsGetCall) IfNoneMatch added in v0.204.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsWasmPluginsGetCall) View added in v0.204.0

View sets the optional parameter "view": Determines how much data must be returned 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.

type ProjectsLocationsWasmPluginsListCall added in v0.204.0

type ProjectsLocationsWasmPluginsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsWasmPluginsListCall) Context added in v0.204.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsWasmPluginsListCall) Do added in v0.204.0

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsWasmPluginsListCall) Fields added in v0.204.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsWasmPluginsListCall) Header added in v0.204.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsWasmPluginsListCall) IfNoneMatch added in v0.204.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsWasmPluginsListCall) PageSize added in v0.204.0

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 above 1000 are coerced to 1000.

func (*ProjectsLocationsWasmPluginsListCall) PageToken added in v0.204.0

PageToken sets the optional parameter "pageToken": The value returned by the last `ListWasmPluginsResponse` call. Indicates that this is a continuation of a prior `ListWasmPlugins` call, and that the next page of data is to be returned.

func (*ProjectsLocationsWasmPluginsListCall) Pages added in v0.204.0

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.

type ProjectsLocationsWasmPluginsPatchCall added in v0.204.0

type ProjectsLocationsWasmPluginsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsWasmPluginsPatchCall) Context added in v0.204.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsWasmPluginsPatchCall) Do added in v0.204.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsWasmPluginsPatchCall) Fields added in v0.204.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsWasmPluginsPatchCall) Header added in v0.204.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsWasmPluginsPatchCall) UpdateMask added in v0.204.0

UpdateMask sets the optional parameter "updateMask": Used to specify the fields to be overwritten in the `WasmPlugin` resource by the update. The fields specified in the `update_mask` field are relative to the resource, not the full request. An omitted `update_mask` field is treated as an implied `update_mask` field equivalent to all fields that are populated (that have a non-empty value). The `update_mask` field supports a special value `*`, which means that each field in the given `WasmPlugin` resource (including the empty ones) replaces the current value.

type ProjectsLocationsWasmPluginsService added in v0.204.0

type ProjectsLocationsWasmPluginsService struct {
	Versions *ProjectsLocationsWasmPluginsVersionsService
	// contains filtered or unexported fields
}

func NewProjectsLocationsWasmPluginsService added in v0.204.0

func NewProjectsLocationsWasmPluginsService(s *Service) *ProjectsLocationsWasmPluginsService

func (*ProjectsLocationsWasmPluginsService) Create added in v0.204.0

Create: Creates a new `WasmPlugin` resource in a given project and location.

  • parent: The parent resource of the `WasmPlugin` resource. Must be in the format `projects/{project}/locations/global`.

func (*ProjectsLocationsWasmPluginsService) Delete added in v0.204.0

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 in v0.204.0

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 in v0.204.0

List: Lists `WasmPlugin` resources in a given project and location.

  • parent: The project and location from which the `WasmPlugin` resources are listed, specified in the following format: `projects/{project}/locations/global`.

func (*ProjectsLocationsWasmPluginsService) Patch added in v0.204.0

Patch: Updates the parameters of the specified `WasmPlugin` resource.

  • name: Identifier. Name of the `WasmPlugin` resource in the following format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`.

type ProjectsLocationsWasmPluginsVersionsCreateCall added in v0.204.0

type ProjectsLocationsWasmPluginsVersionsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsWasmPluginsVersionsCreateCall) Context added in v0.204.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsWasmPluginsVersionsCreateCall) Do added in v0.204.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsWasmPluginsVersionsCreateCall) Fields added in v0.204.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsWasmPluginsVersionsCreateCall) Header added in v0.204.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsWasmPluginsVersionsCreateCall) WasmPluginVersionId added in v0.204.0

WasmPluginVersionId sets the optional parameter "wasmPluginVersionId": Required. User-provided ID of the `WasmPluginVersion` resource to be created.

type ProjectsLocationsWasmPluginsVersionsDeleteCall added in v0.204.0

type ProjectsLocationsWasmPluginsVersionsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsWasmPluginsVersionsDeleteCall) Context added in v0.204.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsWasmPluginsVersionsDeleteCall) Do added in v0.204.0

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsWasmPluginsVersionsDeleteCall) Fields added in v0.204.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsWasmPluginsVersionsDeleteCall) Header added in v0.204.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsWasmPluginsVersionsGetCall added in v0.204.0

type ProjectsLocationsWasmPluginsVersionsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsWasmPluginsVersionsGetCall) Context added in v0.204.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsWasmPluginsVersionsGetCall) Do added in v0.204.0

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 at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsWasmPluginsVersionsGetCall) Fields added in v0.204.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsWasmPluginsVersionsGetCall) Header added in v0.204.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsWasmPluginsVersionsGetCall) IfNoneMatch added in v0.204.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsWasmPluginsVersionsListCall added in v0.204.0

type ProjectsLocationsWasmPluginsVersionsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsWasmPluginsVersionsListCall) Context added in v0.204.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsWasmPluginsVersionsListCall) Do added in v0.204.0

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsWasmPluginsVersionsListCall) Fields added in v0.204.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsWasmPluginsVersionsListCall) Header added in v0.204.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsWasmPluginsVersionsListCall) IfNoneMatch added in v0.204.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsWasmPluginsVersionsListCall) PageSize added in v0.204.0

PageSize sets the optional parameter "pageSize": Maximum number of `WasmPluginVersion` resources to return per call. If not specified, at most 50 `WasmPluginVersion` resources are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

func (*ProjectsLocationsWasmPluginsVersionsListCall) PageToken added in v0.204.0

PageToken sets the optional parameter "pageToken": The value returned by the last `ListWasmPluginVersionsResponse` call. Indicates that this is a continuation of a prior `ListWasmPluginVersions` call, and that the next page of data is to be returned.

func (*ProjectsLocationsWasmPluginsVersionsListCall) Pages added in v0.204.0

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.

type ProjectsLocationsWasmPluginsVersionsService added in v0.204.0

type ProjectsLocationsWasmPluginsVersionsService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsWasmPluginsVersionsService added in v0.204.0

func NewProjectsLocationsWasmPluginsVersionsService(s *Service) *ProjectsLocationsWasmPluginsVersionsService

func (*ProjectsLocationsWasmPluginsVersionsService) Create added in v0.204.0

Create: Creates a new `WasmPluginVersion` resource in a given project and location.

  • parent: The parent resource of the `WasmPluginVersion` resource. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.

func (*ProjectsLocationsWasmPluginsVersionsService) Delete added in v0.204.0

Delete: Deletes the specified `WasmPluginVersion` resource.

  • name: A name of the `WasmPluginVersion` resource to delete. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wa sm_plugin_version}`.

func (*ProjectsLocationsWasmPluginsVersionsService) Get added in v0.204.0

Get: Gets details of the specified `WasmPluginVersion` resource.

  • name: A name of the `WasmPluginVersion` resource to get. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wa sm_plugin_version}`.

func (*ProjectsLocationsWasmPluginsVersionsService) List added in v0.204.0

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}`.

type ProjectsService

type ProjectsService struct {
	Locations *ProjectsLocationsService
	// contains filtered or unexported fields
}

func NewProjectsService

func NewProjectsService(s *Service) *ProjectsService

type RetryFilterPerRouteConfig added in v0.199.0

type RetryFilterPerRouteConfig struct {
	// CryptoKeyName: The name of the crypto key to use for encrypting event data.
	CryptoKeyName string `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 in v0.199.0

func (s RetryFilterPerRouteConfig) MarshalJSON() ([]byte, error)

type Service

type Service struct {
	BasePath  string // API endpoint base URL
	UserAgent string // optional additional User-Agent fragment

	Projects *ProjectsService
	// contains filtered or unexported fields
}

func New deprecated

func New(client *http.Client) (*Service, error)

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.

func NewService

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.

type ServiceBinding added in v0.65.0

type ServiceBinding struct {
	// CreateTime: Output only. The timestamp when the resource was created.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. A free-text description of the resource. Max length
	// 1024 characters.
	Description string `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/global/serviceBindings/service_binding_name`.
	Name string `json:"name,omitempty"`
	// Service: Required. The full Service Directory Service name of the format
	// projects/*/locations/*/namespaces/*/services/*
	Service string `json:"service,omitempty"`
	// ServiceId: Output only. The unique identifier of the Service Directory
	// Service against which the Service Binding 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.
	ServiceId string `json:"serviceId,omitempty"`
	// UpdateTime: Output only. The timestamp when the resource was updated.
	UpdateTime string `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 is the resource that defines a Service Directory Service to be used in a BackendService resource.

func (ServiceBinding) MarshalJSON added in v0.65.0

func (s ServiceBinding) MarshalJSON() ([]byte, error)

type ServiceLbPolicy added in v0.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.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. A free-text description of the resource. Max length
	// 1024 characters.
	Description string `json:"description,omitempty"`
	// FailoverConfig: Optional. Configuration related to health based failover.
	FailoverConfig *ServiceLbPolicyFailoverConfig `json:"failoverConfig,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.
	LoadBalancingAlgorithm string `json:"loadBalancingAlgorithm,omitempty"`
	// Name: Identifier. Name of the ServiceLbPolicy resource. It matches pattern
	// `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy
	// _name}`.
	Name string `json:"name,omitempty"`
	// UpdateTime: Output only. The timestamp when this resource was last updated.
	UpdateTime string `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 traffic distribution configuration that can be applied to a BackendService.

func (ServiceLbPolicy) MarshalJSON added in v0.129.0

func (s ServiceLbPolicy) MarshalJSON() ([]byte, error)

type ServiceLbPolicyAutoCapacityDrain added in v0.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.
	Enable bool `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/NEG should be considered for global load balancing and traffic routing.

func (ServiceLbPolicyAutoCapacityDrain) MarshalJSON added in v0.129.0

func (s ServiceLbPolicyAutoCapacityDrain) MarshalJSON() ([]byte, error)

type ServiceLbPolicyFailoverConfig added in v0.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.
	FailoverHealthThreshold int64 `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 failover behavior. This is not related to Network load balancer FailoverPolicy.

func (ServiceLbPolicyFailoverConfig) MarshalJSON added in v0.129.0

func (s ServiceLbPolicyFailoverConfig) MarshalJSON() ([]byte, error)

type Status

type Status struct {
	// Code: The status code, which should be an enum value of google.rpc.Code.
	Code int64 `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.
	Message string `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 for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).

func (Status) MarshalJSON

func (s Status) MarshalJSON() ([]byte, error)

type TcpRoute added in v0.74.0

type TcpRoute struct {
	// CreateTime: Output only. The timestamp when the resource was created.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. A free-text description of the resource. Max length
	// 1024 characters.
	Description string `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/global/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/global/meshes/` The attached Mesh should be of a type
	// SIDECAR
	Meshes []string `json:"meshes,omitempty"`
	// Name: Identifier. Name of the TcpRoute resource. It matches pattern
	// `projects/*/locations/global/tcpRoutes/tcp_route_name>`.
	Name string `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 resource
	SelfLink string `json:"selfLink,omitempty"`
	// UpdateTime: Output only. The timestamp when the resource was updated.
	UpdateTime string `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 routed by a Mesh/Gateway resource.

func (TcpRoute) MarshalJSON added in v0.74.0

func (s TcpRoute) MarshalJSON() ([]byte, error)

type TcpRouteRouteAction added in v0.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.
	IdleTimeout string `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.
	OriginalDestination bool `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 applying associated policies.

func (TcpRouteRouteAction) MarshalJSON added in v0.74.0

func (s TcpRouteRouteAction) MarshalJSON() ([]byte, error)

type TcpRouteRouteDestination added in v0.74.0

type TcpRouteRouteDestination struct {
	// ServiceName: Required. The URL of a BackendService to route traffic to.
	ServiceName string `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.
	Weight int64 `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 routed to.

func (TcpRouteRouteDestination) MarshalJSON added in v0.74.0

func (s TcpRouteRouteDestination) MarshalJSON() ([]byte, error)

type TcpRouteRouteMatch added in v0.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'.
	Address string `json:"address,omitempty"`
	// Port: Required. Specifies the destination port to match against.
	Port string `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 requests to a given action. Multiple match types are "OR"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic.

func (TcpRouteRouteMatch) MarshalJSON added in v0.74.0

func (s TcpRouteRouteMatch) MarshalJSON() ([]byte, error)

type TcpRouteRouteRule added in v0.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 traffic when traffic is matched.

func (TcpRouteRouteRule) MarshalJSON added in v0.74.0

func (s TcpRouteRouteRule) MarshalJSON() ([]byte, error)

type TlsRoute added in v0.74.0

type TlsRoute struct {
	// CreateTime: Output only. The timestamp when the resource was created.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. A free-text description of the resource. Max length
	// 1024 characters.
	Description string `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/global/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/global/meshes/` The attached Mesh should be of a type
	// SIDECAR
	Meshes []string `json:"meshes,omitempty"`
	// Name: Identifier. Name of the TlsRoute resource. It matches pattern
	// `projects/*/locations/global/tlsRoutes/tls_route_name>`.
	Name string `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 resource
	SelfLink string `json:"selfLink,omitempty"`
	// UpdateTime: Output only. The timestamp when the resource was updated.
	UpdateTime string `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 and other matching L3 attributes.

func (TlsRoute) MarshalJSON added in v0.74.0

func (s TlsRoute) MarshalJSON() ([]byte, error)

type TlsRouteRouteAction added in v0.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.
	IdleTimeout string `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 applying associated policies.

func (TlsRouteRouteAction) MarshalJSON added in v0.74.0

func (s TlsRouteRouteAction) MarshalJSON() ([]byte, error)

type TlsRouteRouteDestination added in v0.74.0

type TlsRouteRouteDestination struct {
	// ServiceName: Required. The URL of a BackendService to route traffic to.
	ServiceName string `json:"serviceName,omitempty"`
	// Weight: Optional. Specifies the proportion of requests forwareded to the
	// backend referenced by the service_name field. This is computed as: -
	// weight/Sum(weights in destinations) Weights in all destinations does not
	// need to sum up to 100.
	Weight int64 `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 routed to.

func (TlsRouteRouteDestination) MarshalJSON added in v0.74.0

func (s TlsRouteRouteDestination) MarshalJSON() ([]byte, error)

type TlsRouteRouteMatch added in v0.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 requests to a given action. Multiple match types are "AND"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic.

func (TlsRouteRouteMatch) MarshalJSON added in v0.74.0

func (s TlsRouteRouteMatch) MarshalJSON() ([]byte, error)

type TlsRouteRouteRule added in v0.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.
	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 traffic when traffic is matched.

func (TlsRouteRouteRule) MarshalJSON added in v0.74.0

func (s TlsRouteRouteRule) MarshalJSON() ([]byte, error)

type TrafficPortSelector

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 (s TrafficPortSelector) MarshalJSON() ([]byte, error)

type WasmPlugin added in v0.204.0

type WasmPlugin struct {
	// CreateTime: Output only. The timestamp when the resource was created.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. A human-readable description of the resource.
	Description string `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.
	MainVersionId string `json:"mainVersionId,omitempty"`
	// Name: Identifier. Name of the `WasmPlugin` resource in the following format:
	// `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`.
	Name string `json:"name,omitempty"`
	// UpdateTime: Output only. The timestamp when the resource was updated.
	UpdateTime string `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 a customer-provided Wasm module.

func (WasmPlugin) MarshalJSON added in v0.204.0

func (s WasmPlugin) MarshalJSON() ([]byte, error)

type WasmPluginLogConfig added in v0.204.0

type WasmPluginLogConfig struct {
	// Enable: Optional. Specifies whether to enable logging for activity by this
	// plugin. Defaults to `false`.
	Enable bool `json:"enable,omitempty"`
	// MinLogLevel: Non-empty default. Specificies the lowest level of the plugin
	// logs that are exported to Cloud Logging. This setting relates to the logs
	// generated by using logging statements in your Wasm code. This field is can
	// be set only if logging is enabled for the plugin. If the field is not
	// provided when logging is enabled, it is set to `INFO` by default.
	//
	// 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.
	MinLogLevel string `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.
	SampleRate float64 `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 activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging.

func (WasmPluginLogConfig) MarshalJSON added in v0.204.0

func (s WasmPluginLogConfig) MarshalJSON() ([]byte, error)

func (*WasmPluginLogConfig) UnmarshalJSON added in v0.204.0

func (s *WasmPluginLogConfig) UnmarshalJSON(data []byte) error

type WasmPluginUsedBy added in v0.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}`
	Name string `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 in v0.204.0

func (s WasmPluginUsedBy) MarshalJSON() ([]byte, error)

type WasmPluginVersion added in v0.204.0

type WasmPluginVersion struct {
	// CreateTime: Output only. The timestamp when the resource was created.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. A human-readable description of the resource.
	Description string `json:"description,omitempty"`
	// ImageDigest: Output only. The resolved digest for the image specified in the
	// `image` field. The digest is resolved during the creation of
	// `WasmPluginVersion` resource. This field holds the digest value, regardless
	// of whether a tag or digest was originally specified in the `image` field.
	ImageDigest string `json:"imageDigest,omitempty"`
	// ImageUri: Optional. URI of the container image containing the plugin, stored
	// in the Artifact Registry. When a new `WasmPluginVersion` resource is
	// created, the digest of the container image is saved in the `image_digest`
	// field. When downloading an image, the digest value is used instead of an
	// image tag.
	ImageUri string `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}`.
	Name string `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.
	PluginConfigData string `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` or the container image defined by
	// the `plugin_config_uri` field.
	PluginConfigDigest string `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 container image must contain only a single file
	// with the name `plugin.config`. When a new `WasmPluginVersion` resource is
	// created, the digest of the container image is saved in the
	// `plugin_config_digest` field.
	PluginConfigUri string `json:"pluginConfigUri,omitempty"`
	// UpdateTime: Output only. The timestamp when the resource was updated.
	UpdateTime string `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 in v0.204.0

func (s WasmPluginVersion) MarshalJSON() ([]byte, error)

type WasmPluginVersionDetails added in v0.204.0

type WasmPluginVersionDetails struct {
	// CreateTime: Output only. The timestamp when the resource was created.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. A human-readable description of the resource.
	Description string `json:"description,omitempty"`
	// ImageDigest: Output only. The resolved digest for the image specified in
	// `image`. The digest is resolved during the creation of a `WasmPluginVersion`
	// resource. This field holds the digest value regardless of whether a tag or
	// digest was originally specified in the `image` field.
	ImageDigest string `json:"imageDigest,omitempty"`
	// ImageUri: Optional. URI of the container image containing the Wasm module,
	// stored in the Artifact Registry. The container image must contain only a
	// single file with the name `plugin.wasm`. When a new `WasmPluginVersion`
	// resource is created, the URI gets resolved to an image digest and saved in
	// the `image_digest` field.
	ImageUri string `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.
	PluginConfigData string `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 the `plugin_config_data` field or the container image
	// defined by the `plugin_config_uri` field.
	PluginConfigDigest string `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 container image must contain only a single file
	// with the name `plugin.config`. When a new `WasmPluginVersion` resource is
	// created, the digest of the container image is saved in the
	// `plugin_config_digest` field.
	PluginConfigUri string `json:"pluginConfigUri,omitempty"`
	// UpdateTime: Output only. The timestamp when the resource was updated.
	UpdateTime string `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 be inlined in the `WasmPlugin` resource.

func (WasmPluginVersionDetails) MarshalJSON added in v0.204.0

func (s WasmPluginVersionDetails) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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