@maxim_mazurok/gapi.client.networkservices-v1beta1 0.0.20220802

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts ADDED
@@ -0,0 +1,3217 @@
1
+ /* Type definitions for non-npm package Network Services API v1beta1 0.0 */
2
+ // Project: https://cloud.google.com/networking
3
+ // Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
4
+ // Nick Amoscato <https://github.com/namoscato>
5
+ // Declan Vong <https://github.com/declanvong>
6
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
7
+ // TypeScript Version: 2.8
8
+
9
+ // IMPORTANT
10
+ // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
+ // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
+ // Generated from: https://networkservices.googleapis.com/$discovery/rest?version=v1beta1
13
+ // Revision: 20220802
14
+
15
+ /// <reference types="gapi.client" />
16
+
17
+ declare namespace gapi.client {
18
+ /** Load Network Services API v1beta1 */
19
+ function load(urlOrObject: "https://networkservices.googleapis.com/$discovery/rest?version=v1beta1"): Promise<void>;
20
+ /** @deprecated Please load APIs with discovery documents. */
21
+ function load(name: "networkservices", version: "v1beta1"): Promise<void>;
22
+ /** @deprecated Please load APIs with discovery documents. */
23
+ function load(name: "networkservices", version: "v1beta1", callback: () => any): void;
24
+
25
+ namespace networkservices {
26
+ interface AuditConfig {
27
+ /** The configuration for logging of each type of permission. */
28
+ auditLogConfigs?: AuditLogConfig[];
29
+ /**
30
+ * Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all
31
+ * services.
32
+ */
33
+ service?: string;
34
+ }
35
+ interface AuditLogConfig {
36
+ /** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
37
+ exemptedMembers?: string[];
38
+ /** The log type that this config enables. */
39
+ logType?: string;
40
+ }
41
+ interface Binding {
42
+ /**
43
+ * The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`,
44
+ * then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which
45
+ * resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
46
+ */
47
+ condition?: Expr;
48
+ /**
49
+ * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on
50
+ * the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service
51
+ * account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that
52
+ * represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example,
53
+ * `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example,
54
+ * `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. *
55
+ * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example,
56
+ * `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service
57
+ * account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently
58
+ * deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in
59
+ * the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
60
+ */
61
+ members?: string[];
62
+ /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
63
+ role?: string;
64
+ }
65
+ // tslint:disable-next-line:no-empty-interface
66
+ interface CancelOperationRequest {
67
+ }
68
+ // tslint:disable-next-line:no-empty-interface
69
+ interface Empty {
70
+ }
71
+ interface EndpointMatcher {
72
+ /** The matcher is based on node metadata presented by xDS clients. */
73
+ metadataLabelMatcher?: MetadataLabelMatcher;
74
+ }
75
+ interface EndpointPolicy {
76
+ /**
77
+ * Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies to the inbound traffic at the matched endpoints. Refer to Authorization.
78
+ * If this field is not specified, authorization is disabled(no authz checks) for this endpoint.
79
+ */
80
+ authorizationPolicy?: string;
81
+ /**
82
+ * 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
83
+ * 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
84
+ * control plane, with the connection between sidecar and endpoint requiring authentication. If this field is not set, authentication is disabled(open). Applicable only when
85
+ * EndpointPolicyType is SIDECAR_PROXY.
86
+ */
87
+ clientTlsPolicy?: string;
88
+ /** Output only. The timestamp when the resource was created. */
89
+ createTime?: string;
90
+ /** Optional. A free-text description of the resource. Max length 1024 characters. */
91
+ description?: string;
92
+ /** Required. A matcher that selects endpoints to which the policies should be applied. */
93
+ endpointMatcher?: EndpointMatcher;
94
+ /** Optional. Set of label tags associated with the EndpointPolicy resource. */
95
+ labels?: { [P in string]: string };
96
+ /** Required. Name of the EndpointPolicy resource. It matches pattern `projects/{project}/locations/global/endpointPolicies/{endpoint_policy}`. */
97
+ name?: string;
98
+ /**
99
+ * 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
100
+ * identified backends. If this field is not set, authentication is disabled(open) for this endpoint.
101
+ */
102
+ serverTlsPolicy?: string;
103
+ /** Optional. Port selector for the (matched) endpoints. If no port selector is provided, the matched config is applied to all ports. */
104
+ trafficPortSelector?: TrafficPortSelector;
105
+ /** Required. The type of endpoint policy. This is primarily used to validate the configuration. */
106
+ type?: string;
107
+ /** Output only. The timestamp when the resource was updated. */
108
+ updateTime?: string;
109
+ }
110
+ interface Expr {
111
+ /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
112
+ description?: string;
113
+ /** Textual representation of an expression in Common Expression Language syntax. */
114
+ expression?: string;
115
+ /** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
116
+ location?: string;
117
+ /** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
118
+ title?: string;
119
+ }
120
+ interface Gateway {
121
+ /** Output only. The timestamp when the resource was created. */
122
+ createTime?: string;
123
+ /** Optional. A free-text description of the resource. Max length 1024 characters. */
124
+ description?: string;
125
+ /** Optional. Set of label tags associated with the Gateway resource. */
126
+ labels?: { [P in string]: string };
127
+ /** Required. Name of the Gateway resource. It matches pattern `projects/*‍/locations/*‍/gateways/`. */
128
+ name?: string;
129
+ /**
130
+ * 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
131
+ * 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
132
+ */
133
+ ports?: number[];
134
+ /**
135
+ * Required. Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be
136
+ * 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.
137
+ */
138
+ scope?: string;
139
+ /** Output only. Server-defined URL of this resource */
140
+ selfLink?: string;
141
+ /** Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled. */
142
+ serverTlsPolicy?: string;
143
+ /** Immutable. The type of the customer managed gateway. This field is required. If unspecified, an error is returned. */
144
+ type?: string;
145
+ /** Output only. The timestamp when the resource was updated. */
146
+ updateTime?: string;
147
+ }
148
+ interface GrpcRoute {
149
+ /** Output only. The timestamp when the resource was created. */
150
+ createTime?: string;
151
+ /** Optional. A free-text description of the resource. Max length 1024 characters. */
152
+ description?: string;
153
+ /**
154
+ * 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
155
+ * match the pattern: `projects/*‍/locations/global/gateways/`
156
+ */
157
+ gateways?: string[];
158
+ /**
159
+ * 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
160
+ * 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
161
+ * 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
162
+ * 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
163
+ * 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
164
+ * 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
165
+ * 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
166
+ * 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").
167
+ */
168
+ hostnames?: string[];
169
+ /** Optional. Set of label tags associated with the GrpcRoute resource. */
170
+ labels?: { [P in string]: string };
171
+ /**
172
+ * 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
173
+ * pattern: `projects/*‍/locations/global/meshes/`
174
+ */
175
+ meshes?: string[];
176
+ /** Required. Name of the GrpcRoute resource. It matches pattern `projects/*‍/locations/global/grpcRoutes/` */
177
+ name?: string;
178
+ /**
179
+ * 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
180
+ * executed. At least one rule must be supplied.
181
+ */
182
+ rules?: GrpcRouteRouteRule[];
183
+ /** Output only. Server-defined URL of this resource */
184
+ selfLink?: string;
185
+ /** Output only. The timestamp when the resource was updated. */
186
+ updateTime?: string;
187
+ }
188
+ interface GrpcRouteDestination {
189
+ /** Required. The URL of a destination service to which to route traffic. Must refer to either a BackendService or ServiceDirectoryService. */
190
+ serviceName?: string;
191
+ /**
192
+ * 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
193
+ * 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
194
+ * 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
195
+ * weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
196
+ */
197
+ weight?: number;
198
+ }
199
+ interface GrpcRouteFaultInjectionPolicy {
200
+ /** The specification for aborting to client requests. */
201
+ abort?: GrpcRouteFaultInjectionPolicyAbort;
202
+ /** The specification for injecting delay to client requests. */
203
+ delay?: GrpcRouteFaultInjectionPolicyDelay;
204
+ }
205
+ interface GrpcRouteFaultInjectionPolicyAbort {
206
+ /** The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. */
207
+ httpStatus?: number;
208
+ /** The percentage of traffic which will be aborted. The value must be between [0, 100] */
209
+ percentage?: number;
210
+ }
211
+ interface GrpcRouteFaultInjectionPolicyDelay {
212
+ /** Specify a fixed delay before forwarding the request. */
213
+ fixedDelay?: string;
214
+ /** The percentage of traffic on which delay will be injected. The value must be between [0, 100] */
215
+ percentage?: number;
216
+ }
217
+ interface GrpcRouteHeaderMatch {
218
+ /** Required. The key of the header. */
219
+ key?: string;
220
+ /** Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT is used. */
221
+ type?: string;
222
+ /** Required. The value of the header. */
223
+ value?: string;
224
+ }
225
+ interface GrpcRouteMethodMatch {
226
+ /** Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION. */
227
+ caseSensitive?: boolean;
228
+ /** Required. Name of the method to match against. If unspecified, will match all methods. */
229
+ grpcMethod?: string;
230
+ /** Required. Name of the service to match against. If unspecified, will match all services. */
231
+ grpcService?: string;
232
+ /** Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used. */
233
+ type?: string;
234
+ }
235
+ interface GrpcRouteRetryPolicy {
236
+ /** Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1. */
237
+ numRetries?: number;
238
+ /**
239
+ * - 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
240
+ * 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
241
+ * 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
242
+ * 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
243
+ */
244
+ retryConditions?: string[];
245
+ }
246
+ interface GrpcRouteRouteAction {
247
+ /**
248
+ * 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
249
+ * weight field of these destinations.
250
+ */
251
+ destinations?: GrpcRouteDestination[];
252
+ /**
253
+ * 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
254
+ * 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
255
+ * aborted by for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
256
+ */
257
+ faultInjectionPolicy?: GrpcRouteFaultInjectionPolicy;
258
+ /** Optional. Specifies the retry policy associated with this route. */
259
+ retryPolicy?: GrpcRouteRetryPolicy;
260
+ /**
261
+ * 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
262
+ * completely processed. Timeout includes all retries.
263
+ */
264
+ timeout?: string;
265
+ }
266
+ interface GrpcRouteRouteMatch {
267
+ /** Optional. Specifies a collection of headers to match. */
268
+ headers?: GrpcRouteHeaderMatch[];
269
+ /** Optional. A gRPC method to match against. If this field is empty or omitted, will match all methods. */
270
+ method?: GrpcRouteMethodMatch;
271
+ }
272
+ interface GrpcRouteRouteRule {
273
+ /** Required. A detailed rule defining how to route traffic. This field is required. */
274
+ action?: GrpcRouteRouteAction;
275
+ /**
276
+ * 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
277
+ * satisfied. If no matches field is specified, this rule will unconditionally match traffic.
278
+ */
279
+ matches?: GrpcRouteRouteMatch[];
280
+ }
281
+ interface HttpRoute {
282
+ /** Output only. The timestamp when the resource was created. */
283
+ createTime?: string;
284
+ /** Optional. A free-text description of the resource. Max length 1024 characters. */
285
+ description?: string;
286
+ /**
287
+ * 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
288
+ * match the pattern: `projects/*‍/locations/global/gateways/`
289
+ */
290
+ gateways?: string[];
291
+ /**
292
+ * 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
293
+ * 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
294
+ * 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
295
+ * 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
296
+ * 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
297
+ * 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
298
+ * 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".
299
+ */
300
+ hostnames?: string[];
301
+ /** Optional. Set of label tags associated with the HttpRoute resource. */
302
+ labels?: { [P in string]: string };
303
+ /**
304
+ * 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
305
+ * pattern: `projects/*‍/locations/global/meshes/` The attached Mesh should be of a type SIDECAR
306
+ */
307
+ meshes?: string[];
308
+ /** Required. Name of the HttpRoute resource. It matches pattern `projects/*‍/locations/global/httpRoutes/http_route_name>`. */
309
+ name?: string;
310
+ /** Required. Rules that define how traffic is routed and handled. Rules will be matched sequentially based on the RouteMatch specified for the rule. */
311
+ rules?: HttpRouteRouteRule[];
312
+ /** Output only. Server-defined URL of this resource */
313
+ selfLink?: string;
314
+ /** Output only. The timestamp when the resource was updated. */
315
+ updateTime?: string;
316
+ }
317
+ interface HttpRouteCorsPolicy {
318
+ /**
319
+ * 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
320
+ * header. Default value is false.
321
+ */
322
+ allowCredentials?: boolean;
323
+ /** Specifies the content for Access-Control-Allow-Headers header. */
324
+ allowHeaders?: string[];
325
+ /** Specifies the content for Access-Control-Allow-Methods header. */
326
+ allowMethods?: string[];
327
+ /** Specifies the regular expression patterns that match allowed origins. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax. */
328
+ allowOriginRegexes?: string[];
329
+ /** 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. */
330
+ allowOrigins?: string[];
331
+ /** If true, the CORS policy is disabled. The default value is false, which indicates that the CORS policy is in effect. */
332
+ disabled?: boolean;
333
+ /** Specifies the content for Access-Control-Expose-Headers header. */
334
+ exposeHeaders?: string[];
335
+ /** Specifies how long result of a preflight request can be cached in seconds. This translates to the Access-Control-Max-Age header. */
336
+ maxAge?: string;
337
+ }
338
+ interface HttpRouteDestination {
339
+ /** The URL of a BackendService to route traffic to. */
340
+ serviceName?: string;
341
+ /**
342
+ * 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
343
+ * 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
344
+ * 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
345
+ * unspecified for all services, then, traffic is distributed in equal proportions to all of them.
346
+ */
347
+ weight?: number;
348
+ }
349
+ interface HttpRouteFaultInjectionPolicy {
350
+ /** The specification for aborting to client requests. */
351
+ abort?: HttpRouteFaultInjectionPolicyAbort;
352
+ /** The specification for injecting delay to client requests. */
353
+ delay?: HttpRouteFaultInjectionPolicyDelay;
354
+ }
355
+ interface HttpRouteFaultInjectionPolicyAbort {
356
+ /** The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. */
357
+ httpStatus?: number;
358
+ /** The percentage of traffic which will be aborted. The value must be between [0, 100] */
359
+ percentage?: number;
360
+ }
361
+ interface HttpRouteFaultInjectionPolicyDelay {
362
+ /** Specify a fixed delay before forwarding the request. */
363
+ fixedDelay?: string;
364
+ /** The percentage of traffic on which delay will be injected. The value must be between [0, 100] */
365
+ percentage?: number;
366
+ }
367
+ interface HttpRouteHeaderMatch {
368
+ /** The value of the header should match exactly the content of exact_match. */
369
+ exactMatch?: string;
370
+ /** The name of the HTTP header to match against. */
371
+ header?: string;
372
+ /** If specified, the match result will be inverted before checking. Default value is set to false. */
373
+ invertMatch?: boolean;
374
+ /** The value of the header must start with the contents of prefix_match. */
375
+ prefixMatch?: string;
376
+ /** A header with header_name must exist. The match takes place whether or not the header has a value. */
377
+ presentMatch?: boolean;
378
+ /** If specified, the rule will match if the request header value is within the range. */
379
+ rangeMatch?: HttpRouteHeaderMatchIntegerRange;
380
+ /** 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 */
381
+ regexMatch?: string;
382
+ /** The value of the header must end with the contents of suffix_match. */
383
+ suffixMatch?: string;
384
+ }
385
+ interface HttpRouteHeaderMatchIntegerRange {
386
+ /** End of the range (exclusive) */
387
+ end?: number;
388
+ /** Start of the range (inclusive) */
389
+ start?: number;
390
+ }
391
+ interface HttpRouteHeaderModifier {
392
+ /** Add the headers with given map where key is the name of the header, value is the value of the header. */
393
+ add?: { [P in string]: string };
394
+ /** Remove headers (matching by header names) specified in the list. */
395
+ remove?: string[];
396
+ /** Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header. */
397
+ set?: { [P in string]: string };
398
+ }
399
+ interface HttpRouteQueryParameterMatch {
400
+ /** 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. */
401
+ exactMatch?: string;
402
+ /**
403
+ * 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,
404
+ * or present_match must be set.
405
+ */
406
+ presentMatch?: boolean;
407
+ /** The name of the query parameter to match. */
408
+ queryParameter?: string;
409
+ /**
410
+ * 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
411
+ * Only one of exact_match, regex_match, or present_match must be set.
412
+ */
413
+ regexMatch?: string;
414
+ }
415
+ interface HttpRouteRedirect {
416
+ /** The host that will be used in the redirect response instead of the one that was supplied in the request. */
417
+ hostRedirect?: string;
418
+ /**
419
+ * 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
420
+ * default is set to false.
421
+ */
422
+ httpsRedirect?: boolean;
423
+ /**
424
+ * 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
425
+ * alone or neither. If neither is supplied, the path of the original request will be used for the redirect.
426
+ */
427
+ pathRedirect?: string;
428
+ /** The port that will be used in the redirected request instead of the one that was supplied in the request. */
429
+ portRedirect?: number;
430
+ /** 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. */
431
+ prefixRewrite?: string;
432
+ /** The HTTP Status code to use for the redirect. */
433
+ responseCode?: string;
434
+ /**
435
+ * 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.
436
+ * The default is set to false.
437
+ */
438
+ stripQuery?: boolean;
439
+ }
440
+ interface HttpRouteRequestMirrorPolicy {
441
+ /** The destination the requests will be mirrored to. The weight of the destination will be ignored. */
442
+ destination?: HttpRouteDestination;
443
+ }
444
+ interface HttpRouteRetryPolicy {
445
+ /** Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1. */
446
+ numRetries?: number;
447
+ /** Specifies a non-zero timeout per retry attempt. */
448
+ perTryTimeout?: string;
449
+ /**
450
+ * 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
451
+ * 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
452
+ * 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
453
+ * 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
454
+ * 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.
455
+ */
456
+ retryConditions?: string[];
457
+ }
458
+ interface HttpRouteRouteAction {
459
+ /** The specification for allowing client side cross-origin requests. */
460
+ corsPolicy?: HttpRouteCorsPolicy;
461
+ /** The destination to which traffic should be forwarded. */
462
+ destinations?: HttpRouteDestination[];
463
+ /**
464
+ * 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
465
+ * 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
466
+ * percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy
467
+ */
468
+ faultInjectionPolicy?: HttpRouteFaultInjectionPolicy;
469
+ /** If set, the request is directed as configured by this field. */
470
+ redirect?: HttpRouteRedirect;
471
+ /** The specification for modifying the headers of a matching request prior to delivery of the request to the destination. */
472
+ requestHeaderModifier?: HttpRouteHeaderModifier;
473
+ /**
474
+ * 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
475
+ * before returning the response. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
476
+ */
477
+ requestMirrorPolicy?: HttpRouteRequestMirrorPolicy;
478
+ /** The specification for modifying the headers of a response prior to sending the response back to the client. */
479
+ responseHeaderModifier?: HttpRouteHeaderModifier;
480
+ /** Specifies the retry policy associated with this route. */
481
+ retryPolicy?: HttpRouteRetryPolicy;
482
+ /**
483
+ * 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
484
+ * processed. Timeout includes all retries.
485
+ */
486
+ timeout?: string;
487
+ /** The specification for rewrite URL before forwarding requests to the destination. */
488
+ urlRewrite?: HttpRouteURLRewrite;
489
+ }
490
+ interface HttpRouteRouteMatch {
491
+ /** The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used. */
492
+ fullPathMatch?: string;
493
+ /** Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched. */
494
+ headers?: HttpRouteHeaderMatch[];
495
+ /** Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false. */
496
+ ignoreCase?: boolean;
497
+ /** 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. */
498
+ prefixMatch?: string;
499
+ /** Specifies a list of query parameters to match against. ALL of the query parameters must be matched. */
500
+ queryParameters?: HttpRouteQueryParameterMatch[];
501
+ /**
502
+ * 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
503
+ * 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.
504
+ */
505
+ regexMatch?: string;
506
+ }
507
+ interface HttpRouteRouteRule {
508
+ /** The detailed rule defining how to route matched traffic. */
509
+ action?: HttpRouteRouteAction;
510
+ /**
511
+ * 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
512
+ * 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
513
+ * end of the rules list.
514
+ */
515
+ matches?: HttpRouteRouteMatch[];
516
+ }
517
+ interface HttpRouteURLRewrite {
518
+ /** Prior to forwarding the request to the selected destination, the requests host header is replaced by this value. */
519
+ hostRewrite?: string;
520
+ /** Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value. */
521
+ pathPrefixRewrite?: string;
522
+ }
523
+ interface ListEndpointPoliciesResponse {
524
+ /** List of EndpointPolicy resources. */
525
+ endpointPolicies?: EndpointPolicy[];
526
+ /**
527
+ * 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
528
+ * `next_page_token` as `page_token`.
529
+ */
530
+ nextPageToken?: string;
531
+ }
532
+ interface ListGatewaysResponse {
533
+ /** List of Gateway resources. */
534
+ gateways?: Gateway[];
535
+ /**
536
+ * 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
537
+ * `next_page_token` as `page_token`.
538
+ */
539
+ nextPageToken?: string;
540
+ }
541
+ interface ListGrpcRoutesResponse {
542
+ /** List of GrpcRoute resources. */
543
+ grpcRoutes?: GrpcRoute[];
544
+ /**
545
+ * 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
546
+ * `next_page_token` as `page_token`.
547
+ */
548
+ nextPageToken?: string;
549
+ }
550
+ interface ListHttpRoutesResponse {
551
+ /** List of HttpRoute resources. */
552
+ httpRoutes?: HttpRoute[];
553
+ /**
554
+ * 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
555
+ * `next_page_token` as `page_token`.
556
+ */
557
+ nextPageToken?: string;
558
+ }
559
+ interface ListLocationsResponse {
560
+ /** A list of locations that matches the specified filter in the request. */
561
+ locations?: Location[];
562
+ /** The standard List next-page token. */
563
+ nextPageToken?: string;
564
+ }
565
+ interface ListMeshesResponse {
566
+ /** List of Mesh resources. */
567
+ meshes?: Mesh[];
568
+ /**
569
+ * 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
570
+ * `next_page_token` as `page_token`.
571
+ */
572
+ nextPageToken?: string;
573
+ }
574
+ interface ListOperationsResponse {
575
+ /** The standard List next-page token. */
576
+ nextPageToken?: string;
577
+ /** A list of operations that matches the specified filter in the request. */
578
+ operations?: Operation[];
579
+ }
580
+ interface ListServiceBindingsResponse {
581
+ /**
582
+ * 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
583
+ * `next_page_token` as `page_token`.
584
+ */
585
+ nextPageToken?: string;
586
+ /** List of ServiceBinding resources. */
587
+ serviceBindings?: ServiceBinding[];
588
+ }
589
+ interface ListTcpRoutesResponse {
590
+ /**
591
+ * 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
592
+ * `next_page_token` as `page_token`.
593
+ */
594
+ nextPageToken?: string;
595
+ /** List of TcpRoute resources. */
596
+ tcpRoutes?: TcpRoute[];
597
+ }
598
+ interface ListTlsRoutesResponse {
599
+ /**
600
+ * 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
601
+ * `next_page_token` as `page_token`.
602
+ */
603
+ nextPageToken?: string;
604
+ /** List of TlsRoute resources. */
605
+ tlsRoutes?: TlsRoute[];
606
+ }
607
+ interface Location {
608
+ /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
609
+ displayName?: string;
610
+ /** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
611
+ labels?: { [P in string]: string };
612
+ /** The canonical id for this location. For example: `"us-east1"`. */
613
+ locationId?: string;
614
+ /** Service-specific metadata. For example the available capacity at the given location. */
615
+ metadata?: { [P in string]: any };
616
+ /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
617
+ name?: string;
618
+ }
619
+ interface Mesh {
620
+ /** Output only. The timestamp when the resource was created. */
621
+ createTime?: string;
622
+ /** Optional. A free-text description of the resource. Max length 1024 characters. */
623
+ description?: string;
624
+ /**
625
+ * 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
626
+ * traffic to be redirected to this port regardless of its actual ip:port destination. If unset, a port '15001' is used as the interception port. This will is applicable only for
627
+ * sidecar proxy deployments.
628
+ */
629
+ interceptionPort?: number;
630
+ /** Optional. Set of label tags associated with the Mesh resource. */
631
+ labels?: { [P in string]: string };
632
+ /** Required. Name of the Mesh resource. It matches pattern `projects/*‍/locations/global/meshes/`. */
633
+ name?: string;
634
+ /** Output only. Server-defined URL of this resource */
635
+ selfLink?: string;
636
+ /** Output only. The timestamp when the resource was updated. */
637
+ updateTime?: string;
638
+ }
639
+ interface MetadataLabelMatcher {
640
+ /**
641
+ * 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.
642
+ * 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
643
+ * 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
644
+ * 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
645
+ * more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown.
646
+ */
647
+ metadataLabelMatchCriteria?: string;
648
+ /**
649
+ * 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
650
+ * criteria is MATCH_ANY, to specify a wildcard match (i.e this matches any client).
651
+ */
652
+ metadataLabels?: MetadataLabels[];
653
+ }
654
+ interface MetadataLabels {
655
+ /** Required. Label name presented as key in xDS Node Metadata. */
656
+ labelName?: string;
657
+ /** Required. Label value presented as value corresponding to the above key, in xDS Node Metadata. */
658
+ labelValue?: string;
659
+ }
660
+ interface Operation {
661
+ /** 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. */
662
+ done?: boolean;
663
+ /** The error result of the operation in case of failure or cancellation. */
664
+ error?: Status;
665
+ /**
666
+ * 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
667
+ * metadata. Any method that returns a long-running operation should document the metadata type, if any.
668
+ */
669
+ metadata?: { [P in string]: any };
670
+ /**
671
+ * 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
672
+ * with `operations/{unique_id}`.
673
+ */
674
+ name?: string;
675
+ /**
676
+ * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
677
+ * 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
678
+ * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
679
+ */
680
+ response?: { [P in string]: any };
681
+ }
682
+ interface OperationMetadata {
683
+ /** Output only. API version used to start the operation. */
684
+ apiVersion?: string;
685
+ /** Output only. The time the operation was created. */
686
+ createTime?: string;
687
+ /** Output only. The time the operation finished running. */
688
+ endTime?: string;
689
+ /**
690
+ * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a
691
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
692
+ */
693
+ requestedCancellation?: boolean;
694
+ /** Output only. Human-readable status of the operation, if any. */
695
+ statusMessage?: string;
696
+ /** Output only. Server-defined resource path for the target of the operation. */
697
+ target?: string;
698
+ /** Output only. Name of the verb executed by the operation. */
699
+ verb?: string;
700
+ }
701
+ interface Policy {
702
+ /** Specifies cloud audit logging configuration for this policy. */
703
+ auditConfigs?: AuditConfig[];
704
+ /**
705
+ * Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings`
706
+ * must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a
707
+ * principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another
708
+ * 1,450 principals to the `bindings` in the `Policy`.
709
+ */
710
+ bindings?: Binding[];
711
+ /**
712
+ * `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make
713
+ * use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems
714
+ * are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM
715
+ * Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1`
716
+ * policy, and all of the conditions in the version `3` policy are lost.
717
+ */
718
+ etag?: string;
719
+ /**
720
+ * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings
721
+ * must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a
722
+ * policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use
723
+ * IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1`
724
+ * policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave
725
+ * the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
726
+ */
727
+ version?: number;
728
+ }
729
+ interface ServiceBinding {
730
+ /** Output only. The timestamp when the resource was created. */
731
+ createTime?: string;
732
+ /** Optional. A free-text description of the resource. Max length 1024 characters. */
733
+ description?: string;
734
+ /** Optional. Set of label tags associated with the ServiceBinding resource. */
735
+ labels?: { [P in string]: string };
736
+ /** Required. Name of the ServiceBinding resource. It matches pattern `projects/*‍/locations/global/serviceBindings/service_binding_name>`. */
737
+ name?: string;
738
+ /** Required. The full service directory service name of the format /projects/*‍/locations/*‍/namespaces/*‍/services/* */
739
+ service?: string;
740
+ /** Output only. The timestamp when the resource was updated. */
741
+ updateTime?: string;
742
+ }
743
+ interface SetIamPolicyRequest {
744
+ /**
745
+ * REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud
746
+ * services (such as Projects) might reject them.
747
+ */
748
+ policy?: Policy;
749
+ /**
750
+ * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used:
751
+ * `paths: "bindings, etag"`
752
+ */
753
+ updateMask?: string;
754
+ }
755
+ interface Status {
756
+ /** The status code, which should be an enum value of google.rpc.Code. */
757
+ code?: number;
758
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
759
+ details?: Array<{ [P in string]: any }>;
760
+ /**
761
+ * 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
762
+ * client.
763
+ */
764
+ message?: string;
765
+ }
766
+ interface TcpRoute {
767
+ /** Output only. The timestamp when the resource was created. */
768
+ createTime?: string;
769
+ /** Optional. A free-text description of the resource. Max length 1024 characters. */
770
+ description?: string;
771
+ /**
772
+ * 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
773
+ * match the pattern: `projects/*‍/locations/global/gateways/`
774
+ */
775
+ gateways?: string[];
776
+ /** Optional. Set of label tags associated with the TcpRoute resource. */
777
+ labels?: { [P in string]: string };
778
+ /**
779
+ * 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
780
+ * pattern: `projects/*‍/locations/global/meshes/` The attached Mesh should be of a type SIDECAR
781
+ */
782
+ meshes?: string[];
783
+ /** Required. Name of the TcpRoute resource. It matches pattern `projects/*‍/locations/global/tcpRoutes/tcp_route_name>`. */
784
+ name?: string;
785
+ /**
786
+ * 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
787
+ * match.
788
+ */
789
+ rules?: TcpRouteRouteRule[];
790
+ /** Output only. Server-defined URL of this resource */
791
+ selfLink?: string;
792
+ /** Output only. The timestamp when the resource was updated. */
793
+ updateTime?: string;
794
+ }
795
+ interface TcpRouteRouteAction {
796
+ /** Optional. The destination services to which traffic should be forwarded. At least one destination service is required. */
797
+ destinations?: TcpRouteRouteDestination[];
798
+ /** Optional. If true, Router will use the destination IP and port of the original connection as the destination of the request. Default is false. */
799
+ originalDestination?: boolean;
800
+ }
801
+ interface TcpRouteRouteDestination {
802
+ /** Required. The URL of a BackendService to route traffic to. */
803
+ serviceName?: string;
804
+ /**
805
+ * 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
806
+ * 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
807
+ * 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
808
+ * weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
809
+ */
810
+ weight?: number;
811
+ }
812
+ interface TcpRouteRouteMatch {
813
+ /**
814
+ * 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
815
+ * (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
816
+ * within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0" - matches against any IP address'.
817
+ */
818
+ address?: string;
819
+ /** Required. Specifies the destination port to match against. */
820
+ port?: string;
821
+ }
822
+ interface TcpRouteRouteRule {
823
+ /** Required. The detailed rule defining how to route matched traffic. */
824
+ action?: TcpRouteRouteAction;
825
+ /**
826
+ * 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
827
+ * will unconditionally match traffic.
828
+ */
829
+ matches?: TcpRouteRouteMatch[];
830
+ }
831
+ interface TestIamPermissionsRequest {
832
+ /**
833
+ * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
834
+ * Overview](https://cloud.google.com/iam/docs/overview#permissions).
835
+ */
836
+ permissions?: string[];
837
+ }
838
+ interface TestIamPermissionsResponse {
839
+ /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
840
+ permissions?: string[];
841
+ }
842
+ interface TlsRoute {
843
+ /** Output only. The timestamp when the resource was created. */
844
+ createTime?: string;
845
+ /** Optional. A free-text description of the resource. Max length 1024 characters. */
846
+ description?: string;
847
+ /**
848
+ * 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
849
+ * match the pattern: `projects/*‍/locations/global/gateways/`
850
+ */
851
+ gateways?: string[];
852
+ /**
853
+ * 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
854
+ * pattern: `projects/*‍/locations/global/meshes/` The attached Mesh should be of a type SIDECAR
855
+ */
856
+ meshes?: string[];
857
+ /** Required. Name of the TlsRoute resource. It matches pattern `projects/*‍/locations/global/tlsRoutes/tls_route_name>`. */
858
+ name?: string;
859
+ /**
860
+ * 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
861
+ * match.
862
+ */
863
+ rules?: TlsRouteRouteRule[];
864
+ /** Output only. Server-defined URL of this resource */
865
+ selfLink?: string;
866
+ /** Output only. The timestamp when the resource was updated. */
867
+ updateTime?: string;
868
+ }
869
+ interface TlsRouteRouteAction {
870
+ /** Required. The destination services to which traffic should be forwarded. At least one destination service is required. */
871
+ destinations?: TlsRouteRouteDestination[];
872
+ }
873
+ interface TlsRouteRouteDestination {
874
+ /** Required. The URL of a BackendService to route traffic to. */
875
+ serviceName?: string;
876
+ /**
877
+ * 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
878
+ * all destinations does not need to sum up to 100.
879
+ */
880
+ weight?: number;
881
+ }
882
+ interface TlsRouteRouteMatch {
883
+ /**
884
+ * 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
885
+ * can be set.
886
+ */
887
+ alpn?: string[];
888
+ /**
889
+ * 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
890
+ * *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across
891
+ * all matches can be set.
892
+ */
893
+ sniHost?: string[];
894
+ }
895
+ interface TlsRouteRouteRule {
896
+ /** Required. The detailed rule defining how to route matched traffic. */
897
+ action?: TlsRouteRouteAction;
898
+ /** Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation. */
899
+ matches?: TlsRouteRouteMatch[];
900
+ }
901
+ interface TrafficPortSelector {
902
+ /**
903
+ * 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
904
+ * the list is empty, all ports are selected.
905
+ */
906
+ ports?: string[];
907
+ }
908
+ interface EndpointPoliciesResource {
909
+ /** Creates a new EndpointPolicy in a given project and location. */
910
+ create(request: {
911
+ /** V1 error format. */
912
+ "$.xgafv"?: string;
913
+ /** OAuth access token. */
914
+ access_token?: string;
915
+ /** Data format for response. */
916
+ alt?: string;
917
+ /** JSONP */
918
+ callback?: string;
919
+ /** Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS". */
920
+ endpointPolicyId?: string;
921
+ /** Selector specifying which fields to include in a partial response. */
922
+ fields?: string;
923
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
924
+ key?: string;
925
+ /** OAuth 2.0 token for the current user. */
926
+ oauth_token?: string;
927
+ /** Required. The parent resource of the EndpointPolicy. Must be in the format `projects/*‍/locations/global`. */
928
+ parent: string;
929
+ /** Returns response with indentations and line breaks. */
930
+ prettyPrint?: boolean;
931
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
932
+ quotaUser?: string;
933
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
934
+ upload_protocol?: string;
935
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
936
+ uploadType?: string;
937
+ /** Request body */
938
+ resource: EndpointPolicy;
939
+ }): Request<Operation>;
940
+ create(request: {
941
+ /** V1 error format. */
942
+ "$.xgafv"?: string;
943
+ /** OAuth access token. */
944
+ access_token?: string;
945
+ /** Data format for response. */
946
+ alt?: string;
947
+ /** JSONP */
948
+ callback?: string;
949
+ /** Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS". */
950
+ endpointPolicyId?: string;
951
+ /** Selector specifying which fields to include in a partial response. */
952
+ fields?: string;
953
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
954
+ key?: string;
955
+ /** OAuth 2.0 token for the current user. */
956
+ oauth_token?: string;
957
+ /** Required. The parent resource of the EndpointPolicy. Must be in the format `projects/*‍/locations/global`. */
958
+ parent: string;
959
+ /** Returns response with indentations and line breaks. */
960
+ prettyPrint?: boolean;
961
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
962
+ quotaUser?: string;
963
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
964
+ upload_protocol?: string;
965
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
966
+ uploadType?: string;
967
+ },
968
+ body: EndpointPolicy): Request<Operation>;
969
+ /** Deletes a single EndpointPolicy. */
970
+ delete(request?: {
971
+ /** V1 error format. */
972
+ "$.xgafv"?: string;
973
+ /** OAuth access token. */
974
+ access_token?: string;
975
+ /** Data format for response. */
976
+ alt?: string;
977
+ /** JSONP */
978
+ callback?: string;
979
+ /** Selector specifying which fields to include in a partial response. */
980
+ fields?: string;
981
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
982
+ key?: string;
983
+ /** Required. A name of the EndpointPolicy to delete. Must be in the format `projects/*‍/locations/global/endpointPolicies/*`. */
984
+ name: string;
985
+ /** OAuth 2.0 token for the current user. */
986
+ oauth_token?: string;
987
+ /** Returns response with indentations and line breaks. */
988
+ prettyPrint?: boolean;
989
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
990
+ quotaUser?: string;
991
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
992
+ upload_protocol?: string;
993
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
994
+ uploadType?: string;
995
+ }): Request<Operation>;
996
+ /** Gets details of a single EndpointPolicy. */
997
+ get(request?: {
998
+ /** V1 error format. */
999
+ "$.xgafv"?: string;
1000
+ /** OAuth access token. */
1001
+ access_token?: string;
1002
+ /** Data format for response. */
1003
+ alt?: string;
1004
+ /** JSONP */
1005
+ callback?: string;
1006
+ /** Selector specifying which fields to include in a partial response. */
1007
+ fields?: string;
1008
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1009
+ key?: string;
1010
+ /** Required. A name of the EndpointPolicy to get. Must be in the format `projects/*‍/locations/global/endpointPolicies/*`. */
1011
+ name: string;
1012
+ /** OAuth 2.0 token for the current user. */
1013
+ oauth_token?: string;
1014
+ /** Returns response with indentations and line breaks. */
1015
+ prettyPrint?: boolean;
1016
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1017
+ quotaUser?: string;
1018
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1019
+ upload_protocol?: string;
1020
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1021
+ uploadType?: string;
1022
+ }): Request<EndpointPolicy>;
1023
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1024
+ getIamPolicy(request?: {
1025
+ /** V1 error format. */
1026
+ "$.xgafv"?: string;
1027
+ /** OAuth access token. */
1028
+ access_token?: string;
1029
+ /** Data format for response. */
1030
+ alt?: string;
1031
+ /** JSONP */
1032
+ callback?: string;
1033
+ /** Selector specifying which fields to include in a partial response. */
1034
+ fields?: string;
1035
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1036
+ key?: string;
1037
+ /** OAuth 2.0 token for the current user. */
1038
+ oauth_token?: string;
1039
+ /**
1040
+ * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
1041
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
1042
+ * in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
1043
+ * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
1044
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1045
+ */
1046
+ "options.requestedPolicyVersion"?: number;
1047
+ /** Returns response with indentations and line breaks. */
1048
+ prettyPrint?: boolean;
1049
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1050
+ quotaUser?: string;
1051
+ /**
1052
+ * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
1053
+ * field.
1054
+ */
1055
+ resource: string;
1056
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1057
+ upload_protocol?: string;
1058
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1059
+ uploadType?: string;
1060
+ }): Request<Policy>;
1061
+ /** Lists EndpointPolicies in a given project and location. */
1062
+ list(request?: {
1063
+ /** V1 error format. */
1064
+ "$.xgafv"?: string;
1065
+ /** OAuth access token. */
1066
+ access_token?: string;
1067
+ /** Data format for response. */
1068
+ alt?: string;
1069
+ /** JSONP */
1070
+ callback?: string;
1071
+ /** Selector specifying which fields to include in a partial response. */
1072
+ fields?: string;
1073
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1074
+ key?: string;
1075
+ /** OAuth 2.0 token for the current user. */
1076
+ oauth_token?: string;
1077
+ /** Maximum number of EndpointPolicies to return per call. */
1078
+ pageSize?: number;
1079
+ /**
1080
+ * 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
1081
+ * next page of data.
1082
+ */
1083
+ pageToken?: string;
1084
+ /** Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/*‍/locations/global`. */
1085
+ parent: string;
1086
+ /** Returns response with indentations and line breaks. */
1087
+ prettyPrint?: boolean;
1088
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1089
+ quotaUser?: string;
1090
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1091
+ upload_protocol?: string;
1092
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1093
+ uploadType?: string;
1094
+ }): Request<ListEndpointPoliciesResponse>;
1095
+ /** Updates the parameters of a single EndpointPolicy. */
1096
+ patch(request: {
1097
+ /** V1 error format. */
1098
+ "$.xgafv"?: string;
1099
+ /** OAuth access token. */
1100
+ access_token?: string;
1101
+ /** Data format for response. */
1102
+ alt?: string;
1103
+ /** JSONP */
1104
+ callback?: string;
1105
+ /** Selector specifying which fields to include in a partial response. */
1106
+ fields?: string;
1107
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1108
+ key?: string;
1109
+ /** Required. Name of the EndpointPolicy resource. It matches pattern `projects/{project}/locations/global/endpointPolicies/{endpoint_policy}`. */
1110
+ name: string;
1111
+ /** OAuth 2.0 token for the current user. */
1112
+ oauth_token?: string;
1113
+ /** Returns response with indentations and line breaks. */
1114
+ prettyPrint?: boolean;
1115
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1116
+ quotaUser?: string;
1117
+ /**
1118
+ * Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy resource by the update. The fields specified in the update_mask are relative to the
1119
+ * 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.
1120
+ */
1121
+ updateMask?: string;
1122
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1123
+ upload_protocol?: string;
1124
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1125
+ uploadType?: string;
1126
+ /** Request body */
1127
+ resource: EndpointPolicy;
1128
+ }): Request<Operation>;
1129
+ patch(request: {
1130
+ /** V1 error format. */
1131
+ "$.xgafv"?: string;
1132
+ /** OAuth access token. */
1133
+ access_token?: string;
1134
+ /** Data format for response. */
1135
+ alt?: string;
1136
+ /** JSONP */
1137
+ callback?: string;
1138
+ /** Selector specifying which fields to include in a partial response. */
1139
+ fields?: string;
1140
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1141
+ key?: string;
1142
+ /** Required. Name of the EndpointPolicy resource. It matches pattern `projects/{project}/locations/global/endpointPolicies/{endpoint_policy}`. */
1143
+ name: string;
1144
+ /** OAuth 2.0 token for the current user. */
1145
+ oauth_token?: string;
1146
+ /** Returns response with indentations and line breaks. */
1147
+ prettyPrint?: boolean;
1148
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1149
+ quotaUser?: string;
1150
+ /**
1151
+ * Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy resource by the update. The fields specified in the update_mask are relative to the
1152
+ * 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.
1153
+ */
1154
+ updateMask?: string;
1155
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1156
+ upload_protocol?: string;
1157
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1158
+ uploadType?: string;
1159
+ },
1160
+ body: EndpointPolicy): Request<Operation>;
1161
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1162
+ setIamPolicy(request: {
1163
+ /** V1 error format. */
1164
+ "$.xgafv"?: string;
1165
+ /** OAuth access token. */
1166
+ access_token?: string;
1167
+ /** Data format for response. */
1168
+ alt?: string;
1169
+ /** JSONP */
1170
+ callback?: string;
1171
+ /** Selector specifying which fields to include in a partial response. */
1172
+ fields?: string;
1173
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1174
+ key?: string;
1175
+ /** OAuth 2.0 token for the current user. */
1176
+ oauth_token?: string;
1177
+ /** Returns response with indentations and line breaks. */
1178
+ prettyPrint?: boolean;
1179
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1180
+ quotaUser?: string;
1181
+ /**
1182
+ * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
1183
+ * field.
1184
+ */
1185
+ resource: string;
1186
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1187
+ upload_protocol?: string;
1188
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1189
+ uploadType?: string;
1190
+ },
1191
+ body: SetIamPolicyRequest): Request<Policy>;
1192
+ /**
1193
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
1194
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
1195
+ */
1196
+ testIamPermissions(request: {
1197
+ /** V1 error format. */
1198
+ "$.xgafv"?: string;
1199
+ /** OAuth access token. */
1200
+ access_token?: string;
1201
+ /** Data format for response. */
1202
+ alt?: string;
1203
+ /** JSONP */
1204
+ callback?: string;
1205
+ /** Selector specifying which fields to include in a partial response. */
1206
+ fields?: string;
1207
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1208
+ key?: string;
1209
+ /** OAuth 2.0 token for the current user. */
1210
+ oauth_token?: string;
1211
+ /** Returns response with indentations and line breaks. */
1212
+ prettyPrint?: boolean;
1213
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1214
+ quotaUser?: string;
1215
+ /**
1216
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
1217
+ * this field.
1218
+ */
1219
+ resource: string;
1220
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1221
+ upload_protocol?: string;
1222
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1223
+ uploadType?: string;
1224
+ },
1225
+ body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
1226
+ }
1227
+ interface GatewaysResource {
1228
+ /** Creates a new Gateway in a given project and location. */
1229
+ create(request: {
1230
+ /** V1 error format. */
1231
+ "$.xgafv"?: string;
1232
+ /** OAuth access token. */
1233
+ access_token?: string;
1234
+ /** Data format for response. */
1235
+ alt?: string;
1236
+ /** JSONP */
1237
+ callback?: string;
1238
+ /** Selector specifying which fields to include in a partial response. */
1239
+ fields?: string;
1240
+ /** Required. Short name of the Gateway resource to be created. */
1241
+ gatewayId?: string;
1242
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1243
+ key?: string;
1244
+ /** OAuth 2.0 token for the current user. */
1245
+ oauth_token?: string;
1246
+ /** Required. The parent resource of the Gateway. Must be in the format `projects/*‍/locations/*`. */
1247
+ parent: string;
1248
+ /** Returns response with indentations and line breaks. */
1249
+ prettyPrint?: boolean;
1250
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1251
+ quotaUser?: string;
1252
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1253
+ upload_protocol?: string;
1254
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1255
+ uploadType?: string;
1256
+ /** Request body */
1257
+ resource: Gateway;
1258
+ }): Request<Operation>;
1259
+ create(request: {
1260
+ /** V1 error format. */
1261
+ "$.xgafv"?: string;
1262
+ /** OAuth access token. */
1263
+ access_token?: string;
1264
+ /** Data format for response. */
1265
+ alt?: string;
1266
+ /** JSONP */
1267
+ callback?: string;
1268
+ /** Selector specifying which fields to include in a partial response. */
1269
+ fields?: string;
1270
+ /** Required. Short name of the Gateway resource to be created. */
1271
+ gatewayId?: string;
1272
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1273
+ key?: string;
1274
+ /** OAuth 2.0 token for the current user. */
1275
+ oauth_token?: string;
1276
+ /** Required. The parent resource of the Gateway. Must be in the format `projects/*‍/locations/*`. */
1277
+ parent: string;
1278
+ /** Returns response with indentations and line breaks. */
1279
+ prettyPrint?: boolean;
1280
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1281
+ quotaUser?: string;
1282
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1283
+ upload_protocol?: string;
1284
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1285
+ uploadType?: string;
1286
+ },
1287
+ body: Gateway): Request<Operation>;
1288
+ /** Deletes a single Gateway. */
1289
+ delete(request?: {
1290
+ /** V1 error format. */
1291
+ "$.xgafv"?: string;
1292
+ /** OAuth access token. */
1293
+ access_token?: string;
1294
+ /** Data format for response. */
1295
+ alt?: string;
1296
+ /** JSONP */
1297
+ callback?: string;
1298
+ /** Selector specifying which fields to include in a partial response. */
1299
+ fields?: string;
1300
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1301
+ key?: string;
1302
+ /** Required. A name of the Gateway to delete. Must be in the format `projects/*‍/locations/*‍/gateways/*`. */
1303
+ name: string;
1304
+ /** OAuth 2.0 token for the current user. */
1305
+ oauth_token?: string;
1306
+ /** Returns response with indentations and line breaks. */
1307
+ prettyPrint?: boolean;
1308
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1309
+ quotaUser?: string;
1310
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1311
+ upload_protocol?: string;
1312
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1313
+ uploadType?: string;
1314
+ }): Request<Operation>;
1315
+ /** Gets details of a single Gateway. */
1316
+ get(request?: {
1317
+ /** V1 error format. */
1318
+ "$.xgafv"?: string;
1319
+ /** OAuth access token. */
1320
+ access_token?: string;
1321
+ /** Data format for response. */
1322
+ alt?: string;
1323
+ /** JSONP */
1324
+ callback?: string;
1325
+ /** Selector specifying which fields to include in a partial response. */
1326
+ fields?: string;
1327
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1328
+ key?: string;
1329
+ /** Required. A name of the Gateway to get. Must be in the format `projects/*‍/locations/*‍/gateways/*`. */
1330
+ name: string;
1331
+ /** OAuth 2.0 token for the current user. */
1332
+ oauth_token?: string;
1333
+ /** Returns response with indentations and line breaks. */
1334
+ prettyPrint?: boolean;
1335
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1336
+ quotaUser?: string;
1337
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1338
+ upload_protocol?: string;
1339
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1340
+ uploadType?: string;
1341
+ }): Request<Gateway>;
1342
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1343
+ getIamPolicy(request?: {
1344
+ /** V1 error format. */
1345
+ "$.xgafv"?: string;
1346
+ /** OAuth access token. */
1347
+ access_token?: string;
1348
+ /** Data format for response. */
1349
+ alt?: string;
1350
+ /** JSONP */
1351
+ callback?: string;
1352
+ /** Selector specifying which fields to include in a partial response. */
1353
+ fields?: string;
1354
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1355
+ key?: string;
1356
+ /** OAuth 2.0 token for the current user. */
1357
+ oauth_token?: string;
1358
+ /**
1359
+ * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
1360
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
1361
+ * in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
1362
+ * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
1363
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1364
+ */
1365
+ "options.requestedPolicyVersion"?: number;
1366
+ /** Returns response with indentations and line breaks. */
1367
+ prettyPrint?: boolean;
1368
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1369
+ quotaUser?: string;
1370
+ /**
1371
+ * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
1372
+ * field.
1373
+ */
1374
+ resource: string;
1375
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1376
+ upload_protocol?: string;
1377
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1378
+ uploadType?: string;
1379
+ }): Request<Policy>;
1380
+ /** Lists Gateways in a given project and location. */
1381
+ list(request?: {
1382
+ /** V1 error format. */
1383
+ "$.xgafv"?: string;
1384
+ /** OAuth access token. */
1385
+ access_token?: string;
1386
+ /** Data format for response. */
1387
+ alt?: string;
1388
+ /** JSONP */
1389
+ callback?: string;
1390
+ /** Selector specifying which fields to include in a partial response. */
1391
+ fields?: string;
1392
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1393
+ key?: string;
1394
+ /** OAuth 2.0 token for the current user. */
1395
+ oauth_token?: string;
1396
+ /** Maximum number of Gateways to return per call. */
1397
+ pageSize?: number;
1398
+ /**
1399
+ * 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
1400
+ * data.
1401
+ */
1402
+ pageToken?: string;
1403
+ /** Required. The project and location from which the Gateways should be listed, specified in the format `projects/*‍/locations/*`. */
1404
+ parent: string;
1405
+ /** Returns response with indentations and line breaks. */
1406
+ prettyPrint?: boolean;
1407
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1408
+ quotaUser?: string;
1409
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1410
+ upload_protocol?: string;
1411
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1412
+ uploadType?: string;
1413
+ }): Request<ListGatewaysResponse>;
1414
+ /** Updates the parameters of a single Gateway. */
1415
+ patch(request: {
1416
+ /** V1 error format. */
1417
+ "$.xgafv"?: string;
1418
+ /** OAuth access token. */
1419
+ access_token?: string;
1420
+ /** Data format for response. */
1421
+ alt?: string;
1422
+ /** JSONP */
1423
+ callback?: string;
1424
+ /** Selector specifying which fields to include in a partial response. */
1425
+ fields?: string;
1426
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1427
+ key?: string;
1428
+ /** Required. Name of the Gateway resource. It matches pattern `projects/*‍/locations/*‍/gateways/`. */
1429
+ name: string;
1430
+ /** OAuth 2.0 token for the current user. */
1431
+ oauth_token?: string;
1432
+ /** Returns response with indentations and line breaks. */
1433
+ prettyPrint?: boolean;
1434
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1435
+ quotaUser?: string;
1436
+ /**
1437
+ * Optional. Field mask is used to specify the fields to be overwritten in the Gateway resource by the update. The fields specified in the update_mask are relative to the resource,
1438
+ * 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.
1439
+ */
1440
+ updateMask?: string;
1441
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1442
+ upload_protocol?: string;
1443
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1444
+ uploadType?: string;
1445
+ /** Request body */
1446
+ resource: Gateway;
1447
+ }): Request<Operation>;
1448
+ patch(request: {
1449
+ /** V1 error format. */
1450
+ "$.xgafv"?: string;
1451
+ /** OAuth access token. */
1452
+ access_token?: string;
1453
+ /** Data format for response. */
1454
+ alt?: string;
1455
+ /** JSONP */
1456
+ callback?: string;
1457
+ /** Selector specifying which fields to include in a partial response. */
1458
+ fields?: string;
1459
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1460
+ key?: string;
1461
+ /** Required. Name of the Gateway resource. It matches pattern `projects/*‍/locations/*‍/gateways/`. */
1462
+ name: string;
1463
+ /** OAuth 2.0 token for the current user. */
1464
+ oauth_token?: string;
1465
+ /** Returns response with indentations and line breaks. */
1466
+ prettyPrint?: boolean;
1467
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1468
+ quotaUser?: string;
1469
+ /**
1470
+ * Optional. Field mask is used to specify the fields to be overwritten in the Gateway resource by the update. The fields specified in the update_mask are relative to the resource,
1471
+ * 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.
1472
+ */
1473
+ updateMask?: string;
1474
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1475
+ upload_protocol?: string;
1476
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1477
+ uploadType?: string;
1478
+ },
1479
+ body: Gateway): Request<Operation>;
1480
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1481
+ setIamPolicy(request: {
1482
+ /** V1 error format. */
1483
+ "$.xgafv"?: string;
1484
+ /** OAuth access token. */
1485
+ access_token?: string;
1486
+ /** Data format for response. */
1487
+ alt?: string;
1488
+ /** JSONP */
1489
+ callback?: string;
1490
+ /** Selector specifying which fields to include in a partial response. */
1491
+ fields?: string;
1492
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1493
+ key?: string;
1494
+ /** OAuth 2.0 token for the current user. */
1495
+ oauth_token?: string;
1496
+ /** Returns response with indentations and line breaks. */
1497
+ prettyPrint?: boolean;
1498
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1499
+ quotaUser?: string;
1500
+ /**
1501
+ * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
1502
+ * field.
1503
+ */
1504
+ resource: string;
1505
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1506
+ upload_protocol?: string;
1507
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1508
+ uploadType?: string;
1509
+ },
1510
+ body: SetIamPolicyRequest): Request<Policy>;
1511
+ /**
1512
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
1513
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
1514
+ */
1515
+ testIamPermissions(request: {
1516
+ /** V1 error format. */
1517
+ "$.xgafv"?: string;
1518
+ /** OAuth access token. */
1519
+ access_token?: string;
1520
+ /** Data format for response. */
1521
+ alt?: string;
1522
+ /** JSONP */
1523
+ callback?: string;
1524
+ /** Selector specifying which fields to include in a partial response. */
1525
+ fields?: string;
1526
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1527
+ key?: string;
1528
+ /** OAuth 2.0 token for the current user. */
1529
+ oauth_token?: string;
1530
+ /** Returns response with indentations and line breaks. */
1531
+ prettyPrint?: boolean;
1532
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1533
+ quotaUser?: string;
1534
+ /**
1535
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
1536
+ * this field.
1537
+ */
1538
+ resource: string;
1539
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1540
+ upload_protocol?: string;
1541
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1542
+ uploadType?: string;
1543
+ },
1544
+ body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
1545
+ }
1546
+ interface GrpcRoutesResource {
1547
+ /** Creates a new GrpcRoute in a given project and location. */
1548
+ create(request: {
1549
+ /** V1 error format. */
1550
+ "$.xgafv"?: string;
1551
+ /** OAuth access token. */
1552
+ access_token?: string;
1553
+ /** Data format for response. */
1554
+ alt?: string;
1555
+ /** JSONP */
1556
+ callback?: string;
1557
+ /** Selector specifying which fields to include in a partial response. */
1558
+ fields?: string;
1559
+ /** Required. Short name of the GrpcRoute resource to be created. */
1560
+ grpcRouteId?: string;
1561
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1562
+ key?: string;
1563
+ /** OAuth 2.0 token for the current user. */
1564
+ oauth_token?: string;
1565
+ /** Required. The parent resource of the GrpcRoute. Must be in the format `projects/*‍/locations/global`. */
1566
+ parent: string;
1567
+ /** Returns response with indentations and line breaks. */
1568
+ prettyPrint?: boolean;
1569
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1570
+ quotaUser?: string;
1571
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1572
+ upload_protocol?: string;
1573
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1574
+ uploadType?: string;
1575
+ /** Request body */
1576
+ resource: GrpcRoute;
1577
+ }): Request<Operation>;
1578
+ create(request: {
1579
+ /** V1 error format. */
1580
+ "$.xgafv"?: string;
1581
+ /** OAuth access token. */
1582
+ access_token?: string;
1583
+ /** Data format for response. */
1584
+ alt?: string;
1585
+ /** JSONP */
1586
+ callback?: string;
1587
+ /** Selector specifying which fields to include in a partial response. */
1588
+ fields?: string;
1589
+ /** Required. Short name of the GrpcRoute resource to be created. */
1590
+ grpcRouteId?: string;
1591
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1592
+ key?: string;
1593
+ /** OAuth 2.0 token for the current user. */
1594
+ oauth_token?: string;
1595
+ /** Required. The parent resource of the GrpcRoute. Must be in the format `projects/*‍/locations/global`. */
1596
+ parent: string;
1597
+ /** Returns response with indentations and line breaks. */
1598
+ prettyPrint?: boolean;
1599
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1600
+ quotaUser?: string;
1601
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1602
+ upload_protocol?: string;
1603
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1604
+ uploadType?: string;
1605
+ },
1606
+ body: GrpcRoute): Request<Operation>;
1607
+ /** Deletes a single GrpcRoute. */
1608
+ delete(request?: {
1609
+ /** V1 error format. */
1610
+ "$.xgafv"?: string;
1611
+ /** OAuth access token. */
1612
+ access_token?: string;
1613
+ /** Data format for response. */
1614
+ alt?: string;
1615
+ /** JSONP */
1616
+ callback?: string;
1617
+ /** Selector specifying which fields to include in a partial response. */
1618
+ fields?: string;
1619
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1620
+ key?: string;
1621
+ /** Required. A name of the GrpcRoute to delete. Must be in the format `projects/*‍/locations/global/grpcRoutes/*`. */
1622
+ name: string;
1623
+ /** OAuth 2.0 token for the current user. */
1624
+ oauth_token?: string;
1625
+ /** Returns response with indentations and line breaks. */
1626
+ prettyPrint?: boolean;
1627
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1628
+ quotaUser?: string;
1629
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1630
+ upload_protocol?: string;
1631
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1632
+ uploadType?: string;
1633
+ }): Request<Operation>;
1634
+ /** Gets details of a single GrpcRoute. */
1635
+ get(request?: {
1636
+ /** V1 error format. */
1637
+ "$.xgafv"?: string;
1638
+ /** OAuth access token. */
1639
+ access_token?: string;
1640
+ /** Data format for response. */
1641
+ alt?: string;
1642
+ /** JSONP */
1643
+ callback?: string;
1644
+ /** Selector specifying which fields to include in a partial response. */
1645
+ fields?: string;
1646
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1647
+ key?: string;
1648
+ /** Required. A name of the GrpcRoute to get. Must be in the format `projects/*‍/locations/global/grpcRoutes/*`. */
1649
+ name: string;
1650
+ /** OAuth 2.0 token for the current user. */
1651
+ oauth_token?: string;
1652
+ /** Returns response with indentations and line breaks. */
1653
+ prettyPrint?: boolean;
1654
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1655
+ quotaUser?: string;
1656
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1657
+ upload_protocol?: string;
1658
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1659
+ uploadType?: string;
1660
+ }): Request<GrpcRoute>;
1661
+ /** Lists GrpcRoutes in a given project and location. */
1662
+ list(request?: {
1663
+ /** V1 error format. */
1664
+ "$.xgafv"?: string;
1665
+ /** OAuth access token. */
1666
+ access_token?: string;
1667
+ /** Data format for response. */
1668
+ alt?: string;
1669
+ /** JSONP */
1670
+ callback?: string;
1671
+ /** Selector specifying which fields to include in a partial response. */
1672
+ fields?: string;
1673
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1674
+ key?: string;
1675
+ /** OAuth 2.0 token for the current user. */
1676
+ oauth_token?: string;
1677
+ /** Maximum number of GrpcRoutes to return per call. */
1678
+ pageSize?: number;
1679
+ /**
1680
+ * 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
1681
+ * of data.
1682
+ */
1683
+ pageToken?: string;
1684
+ /** Required. The project and location from which the GrpcRoutes should be listed, specified in the format `projects/*‍/locations/global`. */
1685
+ parent: string;
1686
+ /** Returns response with indentations and line breaks. */
1687
+ prettyPrint?: boolean;
1688
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1689
+ quotaUser?: string;
1690
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1691
+ upload_protocol?: string;
1692
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1693
+ uploadType?: string;
1694
+ }): Request<ListGrpcRoutesResponse>;
1695
+ /** Updates the parameters of a single GrpcRoute. */
1696
+ patch(request: {
1697
+ /** V1 error format. */
1698
+ "$.xgafv"?: string;
1699
+ /** OAuth access token. */
1700
+ access_token?: string;
1701
+ /** Data format for response. */
1702
+ alt?: string;
1703
+ /** JSONP */
1704
+ callback?: string;
1705
+ /** Selector specifying which fields to include in a partial response. */
1706
+ fields?: string;
1707
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1708
+ key?: string;
1709
+ /** Required. Name of the GrpcRoute resource. It matches pattern `projects/*‍/locations/global/grpcRoutes/` */
1710
+ name: string;
1711
+ /** OAuth 2.0 token for the current user. */
1712
+ oauth_token?: string;
1713
+ /** Returns response with indentations and line breaks. */
1714
+ prettyPrint?: boolean;
1715
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1716
+ quotaUser?: string;
1717
+ /**
1718
+ * Optional. Field mask is used to specify the fields to be overwritten in the GrpcRoute resource by the update. The fields specified in the update_mask are relative to the
1719
+ * 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.
1720
+ */
1721
+ updateMask?: string;
1722
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1723
+ upload_protocol?: string;
1724
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1725
+ uploadType?: string;
1726
+ /** Request body */
1727
+ resource: GrpcRoute;
1728
+ }): Request<Operation>;
1729
+ patch(request: {
1730
+ /** V1 error format. */
1731
+ "$.xgafv"?: string;
1732
+ /** OAuth access token. */
1733
+ access_token?: string;
1734
+ /** Data format for response. */
1735
+ alt?: string;
1736
+ /** JSONP */
1737
+ callback?: string;
1738
+ /** Selector specifying which fields to include in a partial response. */
1739
+ fields?: string;
1740
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1741
+ key?: string;
1742
+ /** Required. Name of the GrpcRoute resource. It matches pattern `projects/*‍/locations/global/grpcRoutes/` */
1743
+ name: string;
1744
+ /** OAuth 2.0 token for the current user. */
1745
+ oauth_token?: string;
1746
+ /** Returns response with indentations and line breaks. */
1747
+ prettyPrint?: boolean;
1748
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1749
+ quotaUser?: string;
1750
+ /**
1751
+ * Optional. Field mask is used to specify the fields to be overwritten in the GrpcRoute resource by the update. The fields specified in the update_mask are relative to the
1752
+ * 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.
1753
+ */
1754
+ updateMask?: string;
1755
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1756
+ upload_protocol?: string;
1757
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1758
+ uploadType?: string;
1759
+ },
1760
+ body: GrpcRoute): Request<Operation>;
1761
+ }
1762
+ interface HttpRoutesResource {
1763
+ /** Creates a new HttpRoute in a given project and location. */
1764
+ create(request: {
1765
+ /** V1 error format. */
1766
+ "$.xgafv"?: string;
1767
+ /** OAuth access token. */
1768
+ access_token?: string;
1769
+ /** Data format for response. */
1770
+ alt?: string;
1771
+ /** JSONP */
1772
+ callback?: string;
1773
+ /** Selector specifying which fields to include in a partial response. */
1774
+ fields?: string;
1775
+ /** Required. Short name of the HttpRoute resource to be created. */
1776
+ httpRouteId?: string;
1777
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1778
+ key?: string;
1779
+ /** OAuth 2.0 token for the current user. */
1780
+ oauth_token?: string;
1781
+ /** Required. The parent resource of the HttpRoute. Must be in the format `projects/*‍/locations/global`. */
1782
+ parent: string;
1783
+ /** Returns response with indentations and line breaks. */
1784
+ prettyPrint?: boolean;
1785
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1786
+ quotaUser?: string;
1787
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1788
+ upload_protocol?: string;
1789
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1790
+ uploadType?: string;
1791
+ /** Request body */
1792
+ resource: HttpRoute;
1793
+ }): Request<Operation>;
1794
+ create(request: {
1795
+ /** V1 error format. */
1796
+ "$.xgafv"?: string;
1797
+ /** OAuth access token. */
1798
+ access_token?: string;
1799
+ /** Data format for response. */
1800
+ alt?: string;
1801
+ /** JSONP */
1802
+ callback?: string;
1803
+ /** Selector specifying which fields to include in a partial response. */
1804
+ fields?: string;
1805
+ /** Required. Short name of the HttpRoute resource to be created. */
1806
+ httpRouteId?: string;
1807
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1808
+ key?: string;
1809
+ /** OAuth 2.0 token for the current user. */
1810
+ oauth_token?: string;
1811
+ /** Required. The parent resource of the HttpRoute. Must be in the format `projects/*‍/locations/global`. */
1812
+ parent: string;
1813
+ /** Returns response with indentations and line breaks. */
1814
+ prettyPrint?: boolean;
1815
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1816
+ quotaUser?: string;
1817
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1818
+ upload_protocol?: string;
1819
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1820
+ uploadType?: string;
1821
+ },
1822
+ body: HttpRoute): Request<Operation>;
1823
+ /** Deletes a single HttpRoute. */
1824
+ delete(request?: {
1825
+ /** V1 error format. */
1826
+ "$.xgafv"?: string;
1827
+ /** OAuth access token. */
1828
+ access_token?: string;
1829
+ /** Data format for response. */
1830
+ alt?: string;
1831
+ /** JSONP */
1832
+ callback?: string;
1833
+ /** Selector specifying which fields to include in a partial response. */
1834
+ fields?: string;
1835
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1836
+ key?: string;
1837
+ /** Required. A name of the HttpRoute to delete. Must be in the format `projects/*‍/locations/global/httpRoutes/*`. */
1838
+ name: string;
1839
+ /** OAuth 2.0 token for the current user. */
1840
+ oauth_token?: string;
1841
+ /** Returns response with indentations and line breaks. */
1842
+ prettyPrint?: boolean;
1843
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1844
+ quotaUser?: string;
1845
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1846
+ upload_protocol?: string;
1847
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1848
+ uploadType?: string;
1849
+ }): Request<Operation>;
1850
+ /** Gets details of a single HttpRoute. */
1851
+ get(request?: {
1852
+ /** V1 error format. */
1853
+ "$.xgafv"?: string;
1854
+ /** OAuth access token. */
1855
+ access_token?: string;
1856
+ /** Data format for response. */
1857
+ alt?: string;
1858
+ /** JSONP */
1859
+ callback?: string;
1860
+ /** Selector specifying which fields to include in a partial response. */
1861
+ fields?: string;
1862
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1863
+ key?: string;
1864
+ /** Required. A name of the HttpRoute to get. Must be in the format `projects/*‍/locations/global/httpRoutes/*`. */
1865
+ name: string;
1866
+ /** OAuth 2.0 token for the current user. */
1867
+ oauth_token?: string;
1868
+ /** Returns response with indentations and line breaks. */
1869
+ prettyPrint?: boolean;
1870
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1871
+ quotaUser?: string;
1872
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1873
+ upload_protocol?: string;
1874
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1875
+ uploadType?: string;
1876
+ }): Request<HttpRoute>;
1877
+ /** Lists HttpRoute in a given project and location. */
1878
+ list(request?: {
1879
+ /** V1 error format. */
1880
+ "$.xgafv"?: string;
1881
+ /** OAuth access token. */
1882
+ access_token?: string;
1883
+ /** Data format for response. */
1884
+ alt?: string;
1885
+ /** JSONP */
1886
+ callback?: string;
1887
+ /** Selector specifying which fields to include in a partial response. */
1888
+ fields?: string;
1889
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1890
+ key?: string;
1891
+ /** OAuth 2.0 token for the current user. */
1892
+ oauth_token?: string;
1893
+ /** Maximum number of HttpRoutes to return per call. */
1894
+ pageSize?: number;
1895
+ /**
1896
+ * 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
1897
+ * of data.
1898
+ */
1899
+ pageToken?: string;
1900
+ /** Required. The project and location from which the HttpRoutes should be listed, specified in the format `projects/*‍/locations/global`. */
1901
+ parent: string;
1902
+ /** Returns response with indentations and line breaks. */
1903
+ prettyPrint?: boolean;
1904
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1905
+ quotaUser?: string;
1906
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1907
+ upload_protocol?: string;
1908
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1909
+ uploadType?: string;
1910
+ }): Request<ListHttpRoutesResponse>;
1911
+ /** Updates the parameters of a single HttpRoute. */
1912
+ patch(request: {
1913
+ /** V1 error format. */
1914
+ "$.xgafv"?: string;
1915
+ /** OAuth access token. */
1916
+ access_token?: string;
1917
+ /** Data format for response. */
1918
+ alt?: string;
1919
+ /** JSONP */
1920
+ callback?: string;
1921
+ /** Selector specifying which fields to include in a partial response. */
1922
+ fields?: string;
1923
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1924
+ key?: string;
1925
+ /** Required. Name of the HttpRoute resource. It matches pattern `projects/*‍/locations/global/httpRoutes/http_route_name>`. */
1926
+ name: string;
1927
+ /** OAuth 2.0 token for the current user. */
1928
+ oauth_token?: string;
1929
+ /** Returns response with indentations and line breaks. */
1930
+ prettyPrint?: boolean;
1931
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1932
+ quotaUser?: string;
1933
+ /**
1934
+ * Optional. Field mask is used to specify the fields to be overwritten in the HttpRoute resource by the update. The fields specified in the update_mask are relative to the
1935
+ * 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.
1936
+ */
1937
+ updateMask?: string;
1938
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1939
+ upload_protocol?: string;
1940
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1941
+ uploadType?: string;
1942
+ /** Request body */
1943
+ resource: HttpRoute;
1944
+ }): Request<Operation>;
1945
+ patch(request: {
1946
+ /** V1 error format. */
1947
+ "$.xgafv"?: string;
1948
+ /** OAuth access token. */
1949
+ access_token?: string;
1950
+ /** Data format for response. */
1951
+ alt?: string;
1952
+ /** JSONP */
1953
+ callback?: string;
1954
+ /** Selector specifying which fields to include in a partial response. */
1955
+ fields?: string;
1956
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1957
+ key?: string;
1958
+ /** Required. Name of the HttpRoute resource. It matches pattern `projects/*‍/locations/global/httpRoutes/http_route_name>`. */
1959
+ name: string;
1960
+ /** OAuth 2.0 token for the current user. */
1961
+ oauth_token?: string;
1962
+ /** Returns response with indentations and line breaks. */
1963
+ prettyPrint?: boolean;
1964
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1965
+ quotaUser?: string;
1966
+ /**
1967
+ * Optional. Field mask is used to specify the fields to be overwritten in the HttpRoute resource by the update. The fields specified in the update_mask are relative to the
1968
+ * 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.
1969
+ */
1970
+ updateMask?: string;
1971
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1972
+ upload_protocol?: string;
1973
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1974
+ uploadType?: string;
1975
+ },
1976
+ body: HttpRoute): Request<Operation>;
1977
+ }
1978
+ interface MeshesResource {
1979
+ /** Creates a new Mesh in a given project and location. */
1980
+ create(request: {
1981
+ /** V1 error format. */
1982
+ "$.xgafv"?: string;
1983
+ /** OAuth access token. */
1984
+ access_token?: string;
1985
+ /** Data format for response. */
1986
+ alt?: string;
1987
+ /** JSONP */
1988
+ callback?: string;
1989
+ /** Selector specifying which fields to include in a partial response. */
1990
+ fields?: string;
1991
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1992
+ key?: string;
1993
+ /** Required. Short name of the Mesh resource to be created. */
1994
+ meshId?: string;
1995
+ /** OAuth 2.0 token for the current user. */
1996
+ oauth_token?: string;
1997
+ /** Required. The parent resource of the Mesh. Must be in the format `projects/*‍/locations/global`. */
1998
+ parent: string;
1999
+ /** Returns response with indentations and line breaks. */
2000
+ prettyPrint?: boolean;
2001
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2002
+ quotaUser?: string;
2003
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2004
+ upload_protocol?: string;
2005
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2006
+ uploadType?: string;
2007
+ /** Request body */
2008
+ resource: Mesh;
2009
+ }): Request<Operation>;
2010
+ create(request: {
2011
+ /** V1 error format. */
2012
+ "$.xgafv"?: string;
2013
+ /** OAuth access token. */
2014
+ access_token?: string;
2015
+ /** Data format for response. */
2016
+ alt?: string;
2017
+ /** JSONP */
2018
+ callback?: string;
2019
+ /** Selector specifying which fields to include in a partial response. */
2020
+ fields?: string;
2021
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2022
+ key?: string;
2023
+ /** Required. Short name of the Mesh resource to be created. */
2024
+ meshId?: string;
2025
+ /** OAuth 2.0 token for the current user. */
2026
+ oauth_token?: string;
2027
+ /** Required. The parent resource of the Mesh. Must be in the format `projects/*‍/locations/global`. */
2028
+ parent: string;
2029
+ /** Returns response with indentations and line breaks. */
2030
+ prettyPrint?: boolean;
2031
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2032
+ quotaUser?: string;
2033
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2034
+ upload_protocol?: string;
2035
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2036
+ uploadType?: string;
2037
+ },
2038
+ body: Mesh): Request<Operation>;
2039
+ /** Deletes a single Mesh. */
2040
+ delete(request?: {
2041
+ /** V1 error format. */
2042
+ "$.xgafv"?: string;
2043
+ /** OAuth access token. */
2044
+ access_token?: string;
2045
+ /** Data format for response. */
2046
+ alt?: string;
2047
+ /** JSONP */
2048
+ callback?: string;
2049
+ /** Selector specifying which fields to include in a partial response. */
2050
+ fields?: string;
2051
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2052
+ key?: string;
2053
+ /** Required. A name of the Mesh to delete. Must be in the format `projects/*‍/locations/global/meshes/*`. */
2054
+ name: string;
2055
+ /** OAuth 2.0 token for the current user. */
2056
+ oauth_token?: string;
2057
+ /** Returns response with indentations and line breaks. */
2058
+ prettyPrint?: boolean;
2059
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2060
+ quotaUser?: string;
2061
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2062
+ upload_protocol?: string;
2063
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2064
+ uploadType?: string;
2065
+ }): Request<Operation>;
2066
+ /** Gets details of a single Mesh. */
2067
+ get(request?: {
2068
+ /** V1 error format. */
2069
+ "$.xgafv"?: string;
2070
+ /** OAuth access token. */
2071
+ access_token?: string;
2072
+ /** Data format for response. */
2073
+ alt?: string;
2074
+ /** JSONP */
2075
+ callback?: string;
2076
+ /** Selector specifying which fields to include in a partial response. */
2077
+ fields?: string;
2078
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2079
+ key?: string;
2080
+ /** Required. A name of the Mesh to get. Must be in the format `projects/*‍/locations/global/meshes/*`. */
2081
+ name: string;
2082
+ /** OAuth 2.0 token for the current user. */
2083
+ oauth_token?: string;
2084
+ /** Returns response with indentations and line breaks. */
2085
+ prettyPrint?: boolean;
2086
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2087
+ quotaUser?: string;
2088
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2089
+ upload_protocol?: string;
2090
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2091
+ uploadType?: string;
2092
+ }): Request<Mesh>;
2093
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2094
+ getIamPolicy(request?: {
2095
+ /** V1 error format. */
2096
+ "$.xgafv"?: string;
2097
+ /** OAuth access token. */
2098
+ access_token?: string;
2099
+ /** Data format for response. */
2100
+ alt?: string;
2101
+ /** JSONP */
2102
+ callback?: string;
2103
+ /** Selector specifying which fields to include in a partial response. */
2104
+ fields?: string;
2105
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2106
+ key?: string;
2107
+ /** OAuth 2.0 token for the current user. */
2108
+ oauth_token?: string;
2109
+ /**
2110
+ * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
2111
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
2112
+ * in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
2113
+ * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
2114
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
2115
+ */
2116
+ "options.requestedPolicyVersion"?: number;
2117
+ /** Returns response with indentations and line breaks. */
2118
+ prettyPrint?: boolean;
2119
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2120
+ quotaUser?: string;
2121
+ /**
2122
+ * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
2123
+ * field.
2124
+ */
2125
+ resource: string;
2126
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2127
+ upload_protocol?: string;
2128
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2129
+ uploadType?: string;
2130
+ }): Request<Policy>;
2131
+ /** Lists Meshes in a given project and location. */
2132
+ list(request?: {
2133
+ /** V1 error format. */
2134
+ "$.xgafv"?: string;
2135
+ /** OAuth access token. */
2136
+ access_token?: string;
2137
+ /** Data format for response. */
2138
+ alt?: string;
2139
+ /** JSONP */
2140
+ callback?: string;
2141
+ /** Selector specifying which fields to include in a partial response. */
2142
+ fields?: string;
2143
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2144
+ key?: string;
2145
+ /** OAuth 2.0 token for the current user. */
2146
+ oauth_token?: string;
2147
+ /** Maximum number of Meshes to return per call. */
2148
+ pageSize?: number;
2149
+ /** 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. */
2150
+ pageToken?: string;
2151
+ /** Required. The project and location from which the Meshes should be listed, specified in the format `projects/*‍/locations/global`. */
2152
+ parent: string;
2153
+ /** Returns response with indentations and line breaks. */
2154
+ prettyPrint?: boolean;
2155
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2156
+ quotaUser?: string;
2157
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2158
+ upload_protocol?: string;
2159
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2160
+ uploadType?: string;
2161
+ }): Request<ListMeshesResponse>;
2162
+ /** Updates the parameters of a single Mesh. */
2163
+ patch(request: {
2164
+ /** V1 error format. */
2165
+ "$.xgafv"?: string;
2166
+ /** OAuth access token. */
2167
+ access_token?: string;
2168
+ /** Data format for response. */
2169
+ alt?: string;
2170
+ /** JSONP */
2171
+ callback?: string;
2172
+ /** Selector specifying which fields to include in a partial response. */
2173
+ fields?: string;
2174
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2175
+ key?: string;
2176
+ /** Required. Name of the Mesh resource. It matches pattern `projects/*‍/locations/global/meshes/`. */
2177
+ name: string;
2178
+ /** OAuth 2.0 token for the current user. */
2179
+ oauth_token?: string;
2180
+ /** Returns response with indentations and line breaks. */
2181
+ prettyPrint?: boolean;
2182
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2183
+ quotaUser?: string;
2184
+ /**
2185
+ * Optional. Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource,
2186
+ * 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.
2187
+ */
2188
+ updateMask?: string;
2189
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2190
+ upload_protocol?: string;
2191
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2192
+ uploadType?: string;
2193
+ /** Request body */
2194
+ resource: Mesh;
2195
+ }): Request<Operation>;
2196
+ patch(request: {
2197
+ /** V1 error format. */
2198
+ "$.xgafv"?: string;
2199
+ /** OAuth access token. */
2200
+ access_token?: string;
2201
+ /** Data format for response. */
2202
+ alt?: string;
2203
+ /** JSONP */
2204
+ callback?: string;
2205
+ /** Selector specifying which fields to include in a partial response. */
2206
+ fields?: string;
2207
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2208
+ key?: string;
2209
+ /** Required. Name of the Mesh resource. It matches pattern `projects/*‍/locations/global/meshes/`. */
2210
+ name: string;
2211
+ /** OAuth 2.0 token for the current user. */
2212
+ oauth_token?: string;
2213
+ /** Returns response with indentations and line breaks. */
2214
+ prettyPrint?: boolean;
2215
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2216
+ quotaUser?: string;
2217
+ /**
2218
+ * Optional. Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource,
2219
+ * 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.
2220
+ */
2221
+ updateMask?: string;
2222
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2223
+ upload_protocol?: string;
2224
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2225
+ uploadType?: string;
2226
+ },
2227
+ body: Mesh): Request<Operation>;
2228
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2229
+ setIamPolicy(request: {
2230
+ /** V1 error format. */
2231
+ "$.xgafv"?: string;
2232
+ /** OAuth access token. */
2233
+ access_token?: string;
2234
+ /** Data format for response. */
2235
+ alt?: string;
2236
+ /** JSONP */
2237
+ callback?: string;
2238
+ /** Selector specifying which fields to include in a partial response. */
2239
+ fields?: string;
2240
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2241
+ key?: string;
2242
+ /** OAuth 2.0 token for the current user. */
2243
+ oauth_token?: string;
2244
+ /** Returns response with indentations and line breaks. */
2245
+ prettyPrint?: boolean;
2246
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2247
+ quotaUser?: string;
2248
+ /**
2249
+ * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
2250
+ * field.
2251
+ */
2252
+ resource: string;
2253
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2254
+ upload_protocol?: string;
2255
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2256
+ uploadType?: string;
2257
+ },
2258
+ body: SetIamPolicyRequest): Request<Policy>;
2259
+ /**
2260
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
2261
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
2262
+ */
2263
+ testIamPermissions(request: {
2264
+ /** V1 error format. */
2265
+ "$.xgafv"?: string;
2266
+ /** OAuth access token. */
2267
+ access_token?: string;
2268
+ /** Data format for response. */
2269
+ alt?: string;
2270
+ /** JSONP */
2271
+ callback?: string;
2272
+ /** Selector specifying which fields to include in a partial response. */
2273
+ fields?: string;
2274
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2275
+ key?: string;
2276
+ /** OAuth 2.0 token for the current user. */
2277
+ oauth_token?: string;
2278
+ /** Returns response with indentations and line breaks. */
2279
+ prettyPrint?: boolean;
2280
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2281
+ quotaUser?: string;
2282
+ /**
2283
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
2284
+ * this field.
2285
+ */
2286
+ resource: string;
2287
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2288
+ upload_protocol?: string;
2289
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2290
+ uploadType?: string;
2291
+ },
2292
+ body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
2293
+ }
2294
+ interface OperationsResource {
2295
+ /**
2296
+ * 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
2297
+ * 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
2298
+ * operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
2299
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
2300
+ */
2301
+ cancel(request: {
2302
+ /** V1 error format. */
2303
+ "$.xgafv"?: string;
2304
+ /** OAuth access token. */
2305
+ access_token?: string;
2306
+ /** Data format for response. */
2307
+ alt?: string;
2308
+ /** JSONP */
2309
+ callback?: string;
2310
+ /** Selector specifying which fields to include in a partial response. */
2311
+ fields?: string;
2312
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2313
+ key?: string;
2314
+ /** The name of the operation resource to be cancelled. */
2315
+ name: string;
2316
+ /** OAuth 2.0 token for the current user. */
2317
+ oauth_token?: string;
2318
+ /** Returns response with indentations and line breaks. */
2319
+ prettyPrint?: boolean;
2320
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2321
+ quotaUser?: string;
2322
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2323
+ upload_protocol?: string;
2324
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2325
+ uploadType?: string;
2326
+ /** Request body */
2327
+ resource: CancelOperationRequest;
2328
+ }): Request<{}>;
2329
+ cancel(request: {
2330
+ /** V1 error format. */
2331
+ "$.xgafv"?: string;
2332
+ /** OAuth access token. */
2333
+ access_token?: string;
2334
+ /** Data format for response. */
2335
+ alt?: string;
2336
+ /** JSONP */
2337
+ callback?: string;
2338
+ /** Selector specifying which fields to include in a partial response. */
2339
+ fields?: string;
2340
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2341
+ key?: string;
2342
+ /** The name of the operation resource to be cancelled. */
2343
+ name: string;
2344
+ /** OAuth 2.0 token for the current user. */
2345
+ oauth_token?: string;
2346
+ /** Returns response with indentations and line breaks. */
2347
+ prettyPrint?: boolean;
2348
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2349
+ quotaUser?: string;
2350
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2351
+ upload_protocol?: string;
2352
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2353
+ uploadType?: string;
2354
+ },
2355
+ body: CancelOperationRequest): Request<{}>;
2356
+ /**
2357
+ * 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
2358
+ * support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
2359
+ */
2360
+ delete(request?: {
2361
+ /** V1 error format. */
2362
+ "$.xgafv"?: string;
2363
+ /** OAuth access token. */
2364
+ access_token?: string;
2365
+ /** Data format for response. */
2366
+ alt?: string;
2367
+ /** JSONP */
2368
+ callback?: string;
2369
+ /** Selector specifying which fields to include in a partial response. */
2370
+ fields?: string;
2371
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2372
+ key?: string;
2373
+ /** The name of the operation resource to be deleted. */
2374
+ name: string;
2375
+ /** OAuth 2.0 token for the current user. */
2376
+ oauth_token?: string;
2377
+ /** Returns response with indentations and line breaks. */
2378
+ prettyPrint?: boolean;
2379
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2380
+ quotaUser?: string;
2381
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2382
+ upload_protocol?: string;
2383
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2384
+ uploadType?: string;
2385
+ }): Request<{}>;
2386
+ /** 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. */
2387
+ get(request?: {
2388
+ /** V1 error format. */
2389
+ "$.xgafv"?: string;
2390
+ /** OAuth access token. */
2391
+ access_token?: string;
2392
+ /** Data format for response. */
2393
+ alt?: string;
2394
+ /** JSONP */
2395
+ callback?: string;
2396
+ /** Selector specifying which fields to include in a partial response. */
2397
+ fields?: string;
2398
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2399
+ key?: string;
2400
+ /** The name of the operation resource. */
2401
+ name: string;
2402
+ /** OAuth 2.0 token for the current user. */
2403
+ oauth_token?: string;
2404
+ /** Returns response with indentations and line breaks. */
2405
+ prettyPrint?: boolean;
2406
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2407
+ quotaUser?: string;
2408
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2409
+ upload_protocol?: string;
2410
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2411
+ uploadType?: string;
2412
+ }): Request<Operation>;
2413
+ /**
2414
+ * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
2415
+ * to override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
2416
+ * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
2417
+ * ensure the name binding is the parent resource, without the operations collection id.
2418
+ */
2419
+ list(request?: {
2420
+ /** V1 error format. */
2421
+ "$.xgafv"?: string;
2422
+ /** OAuth access token. */
2423
+ access_token?: string;
2424
+ /** Data format for response. */
2425
+ alt?: string;
2426
+ /** JSONP */
2427
+ callback?: string;
2428
+ /** Selector specifying which fields to include in a partial response. */
2429
+ fields?: string;
2430
+ /** The standard list filter. */
2431
+ filter?: string;
2432
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2433
+ key?: string;
2434
+ /** The name of the operation's parent resource. */
2435
+ name: string;
2436
+ /** OAuth 2.0 token for the current user. */
2437
+ oauth_token?: string;
2438
+ /** The standard list page size. */
2439
+ pageSize?: number;
2440
+ /** The standard list page token. */
2441
+ pageToken?: string;
2442
+ /** Returns response with indentations and line breaks. */
2443
+ prettyPrint?: boolean;
2444
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2445
+ quotaUser?: string;
2446
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2447
+ upload_protocol?: string;
2448
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2449
+ uploadType?: string;
2450
+ }): Request<ListOperationsResponse>;
2451
+ }
2452
+ interface ServiceBindingsResource {
2453
+ /** Creates a new ServiceBinding in a given project and location. */
2454
+ create(request: {
2455
+ /** V1 error format. */
2456
+ "$.xgafv"?: string;
2457
+ /** OAuth access token. */
2458
+ access_token?: string;
2459
+ /** Data format for response. */
2460
+ alt?: string;
2461
+ /** JSONP */
2462
+ callback?: string;
2463
+ /** Selector specifying which fields to include in a partial response. */
2464
+ fields?: string;
2465
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2466
+ key?: string;
2467
+ /** OAuth 2.0 token for the current user. */
2468
+ oauth_token?: string;
2469
+ /** Required. The parent resource of the ServiceBinding. Must be in the format `projects/*‍/locations/global`. */
2470
+ parent: string;
2471
+ /** Returns response with indentations and line breaks. */
2472
+ prettyPrint?: boolean;
2473
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2474
+ quotaUser?: string;
2475
+ /** Required. Short name of the ServiceBinding resource to be created. */
2476
+ serviceBindingId?: string;
2477
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2478
+ upload_protocol?: string;
2479
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2480
+ uploadType?: string;
2481
+ /** Request body */
2482
+ resource: ServiceBinding;
2483
+ }): Request<Operation>;
2484
+ create(request: {
2485
+ /** V1 error format. */
2486
+ "$.xgafv"?: string;
2487
+ /** OAuth access token. */
2488
+ access_token?: string;
2489
+ /** Data format for response. */
2490
+ alt?: string;
2491
+ /** JSONP */
2492
+ callback?: string;
2493
+ /** Selector specifying which fields to include in a partial response. */
2494
+ fields?: string;
2495
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2496
+ key?: string;
2497
+ /** OAuth 2.0 token for the current user. */
2498
+ oauth_token?: string;
2499
+ /** Required. The parent resource of the ServiceBinding. Must be in the format `projects/*‍/locations/global`. */
2500
+ parent: string;
2501
+ /** Returns response with indentations and line breaks. */
2502
+ prettyPrint?: boolean;
2503
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2504
+ quotaUser?: string;
2505
+ /** Required. Short name of the ServiceBinding resource to be created. */
2506
+ serviceBindingId?: string;
2507
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2508
+ upload_protocol?: string;
2509
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2510
+ uploadType?: string;
2511
+ },
2512
+ body: ServiceBinding): Request<Operation>;
2513
+ /** Deletes a single ServiceBinding. */
2514
+ delete(request?: {
2515
+ /** V1 error format. */
2516
+ "$.xgafv"?: string;
2517
+ /** OAuth access token. */
2518
+ access_token?: string;
2519
+ /** Data format for response. */
2520
+ alt?: string;
2521
+ /** JSONP */
2522
+ callback?: string;
2523
+ /** Selector specifying which fields to include in a partial response. */
2524
+ fields?: string;
2525
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2526
+ key?: string;
2527
+ /** Required. A name of the ServiceBinding to delete. Must be in the format `projects/*‍/locations/global/serviceBindings/*`. */
2528
+ name: string;
2529
+ /** OAuth 2.0 token for the current user. */
2530
+ oauth_token?: string;
2531
+ /** Returns response with indentations and line breaks. */
2532
+ prettyPrint?: boolean;
2533
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2534
+ quotaUser?: string;
2535
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2536
+ upload_protocol?: string;
2537
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2538
+ uploadType?: string;
2539
+ }): Request<Operation>;
2540
+ /** Gets details of a single ServiceBinding. */
2541
+ get(request?: {
2542
+ /** V1 error format. */
2543
+ "$.xgafv"?: string;
2544
+ /** OAuth access token. */
2545
+ access_token?: string;
2546
+ /** Data format for response. */
2547
+ alt?: string;
2548
+ /** JSONP */
2549
+ callback?: string;
2550
+ /** Selector specifying which fields to include in a partial response. */
2551
+ fields?: string;
2552
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2553
+ key?: string;
2554
+ /** Required. A name of the ServiceBinding to get. Must be in the format `projects/*‍/locations/global/serviceBindings/*`. */
2555
+ name: string;
2556
+ /** OAuth 2.0 token for the current user. */
2557
+ oauth_token?: string;
2558
+ /** Returns response with indentations and line breaks. */
2559
+ prettyPrint?: boolean;
2560
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2561
+ quotaUser?: string;
2562
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2563
+ upload_protocol?: string;
2564
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2565
+ uploadType?: string;
2566
+ }): Request<ServiceBinding>;
2567
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2568
+ getIamPolicy(request?: {
2569
+ /** V1 error format. */
2570
+ "$.xgafv"?: string;
2571
+ /** OAuth access token. */
2572
+ access_token?: string;
2573
+ /** Data format for response. */
2574
+ alt?: string;
2575
+ /** JSONP */
2576
+ callback?: string;
2577
+ /** Selector specifying which fields to include in a partial response. */
2578
+ fields?: string;
2579
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2580
+ key?: string;
2581
+ /** OAuth 2.0 token for the current user. */
2582
+ oauth_token?: string;
2583
+ /**
2584
+ * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
2585
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
2586
+ * in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
2587
+ * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
2588
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
2589
+ */
2590
+ "options.requestedPolicyVersion"?: number;
2591
+ /** Returns response with indentations and line breaks. */
2592
+ prettyPrint?: boolean;
2593
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2594
+ quotaUser?: string;
2595
+ /**
2596
+ * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
2597
+ * field.
2598
+ */
2599
+ resource: string;
2600
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2601
+ upload_protocol?: string;
2602
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2603
+ uploadType?: string;
2604
+ }): Request<Policy>;
2605
+ /** Lists ServiceBinding in a given project and location. */
2606
+ list(request?: {
2607
+ /** V1 error format. */
2608
+ "$.xgafv"?: string;
2609
+ /** OAuth access token. */
2610
+ access_token?: string;
2611
+ /** Data format for response. */
2612
+ alt?: string;
2613
+ /** JSONP */
2614
+ callback?: string;
2615
+ /** Selector specifying which fields to include in a partial response. */
2616
+ fields?: string;
2617
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2618
+ key?: string;
2619
+ /** OAuth 2.0 token for the current user. */
2620
+ oauth_token?: string;
2621
+ /** Maximum number of ServiceBindings to return per call. */
2622
+ pageSize?: number;
2623
+ /**
2624
+ * 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
2625
+ * of data.
2626
+ */
2627
+ pageToken?: string;
2628
+ /** Required. The project and location from which the ServiceBindings should be listed, specified in the format `projects/*‍/locations/global`. */
2629
+ parent: string;
2630
+ /** Returns response with indentations and line breaks. */
2631
+ prettyPrint?: boolean;
2632
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2633
+ quotaUser?: string;
2634
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2635
+ upload_protocol?: string;
2636
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2637
+ uploadType?: string;
2638
+ }): Request<ListServiceBindingsResponse>;
2639
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2640
+ setIamPolicy(request: {
2641
+ /** V1 error format. */
2642
+ "$.xgafv"?: string;
2643
+ /** OAuth access token. */
2644
+ access_token?: string;
2645
+ /** Data format for response. */
2646
+ alt?: string;
2647
+ /** JSONP */
2648
+ callback?: string;
2649
+ /** Selector specifying which fields to include in a partial response. */
2650
+ fields?: string;
2651
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2652
+ key?: string;
2653
+ /** OAuth 2.0 token for the current user. */
2654
+ oauth_token?: string;
2655
+ /** Returns response with indentations and line breaks. */
2656
+ prettyPrint?: boolean;
2657
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2658
+ quotaUser?: string;
2659
+ /**
2660
+ * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
2661
+ * field.
2662
+ */
2663
+ resource: string;
2664
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2665
+ upload_protocol?: string;
2666
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2667
+ uploadType?: string;
2668
+ },
2669
+ body: SetIamPolicyRequest): Request<Policy>;
2670
+ /**
2671
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
2672
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
2673
+ */
2674
+ testIamPermissions(request: {
2675
+ /** V1 error format. */
2676
+ "$.xgafv"?: string;
2677
+ /** OAuth access token. */
2678
+ access_token?: string;
2679
+ /** Data format for response. */
2680
+ alt?: string;
2681
+ /** JSONP */
2682
+ callback?: string;
2683
+ /** Selector specifying which fields to include in a partial response. */
2684
+ fields?: string;
2685
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2686
+ key?: string;
2687
+ /** OAuth 2.0 token for the current user. */
2688
+ oauth_token?: string;
2689
+ /** Returns response with indentations and line breaks. */
2690
+ prettyPrint?: boolean;
2691
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2692
+ quotaUser?: string;
2693
+ /**
2694
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
2695
+ * this field.
2696
+ */
2697
+ resource: string;
2698
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2699
+ upload_protocol?: string;
2700
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2701
+ uploadType?: string;
2702
+ },
2703
+ body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
2704
+ }
2705
+ interface TcpRoutesResource {
2706
+ /** Creates a new TcpRoute in a given project and location. */
2707
+ create(request: {
2708
+ /** V1 error format. */
2709
+ "$.xgafv"?: string;
2710
+ /** OAuth access token. */
2711
+ access_token?: string;
2712
+ /** Data format for response. */
2713
+ alt?: string;
2714
+ /** JSONP */
2715
+ callback?: string;
2716
+ /** Selector specifying which fields to include in a partial response. */
2717
+ fields?: string;
2718
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2719
+ key?: string;
2720
+ /** OAuth 2.0 token for the current user. */
2721
+ oauth_token?: string;
2722
+ /** Required. The parent resource of the TcpRoute. Must be in the format `projects/*‍/locations/global`. */
2723
+ parent: string;
2724
+ /** Returns response with indentations and line breaks. */
2725
+ prettyPrint?: boolean;
2726
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2727
+ quotaUser?: string;
2728
+ /** Required. Short name of the TcpRoute resource to be created. E.g. TODO(Add an example). */
2729
+ tcpRouteId?: string;
2730
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2731
+ upload_protocol?: string;
2732
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2733
+ uploadType?: string;
2734
+ /** Request body */
2735
+ resource: TcpRoute;
2736
+ }): Request<Operation>;
2737
+ create(request: {
2738
+ /** V1 error format. */
2739
+ "$.xgafv"?: string;
2740
+ /** OAuth access token. */
2741
+ access_token?: string;
2742
+ /** Data format for response. */
2743
+ alt?: string;
2744
+ /** JSONP */
2745
+ callback?: string;
2746
+ /** Selector specifying which fields to include in a partial response. */
2747
+ fields?: string;
2748
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2749
+ key?: string;
2750
+ /** OAuth 2.0 token for the current user. */
2751
+ oauth_token?: string;
2752
+ /** Required. The parent resource of the TcpRoute. Must be in the format `projects/*‍/locations/global`. */
2753
+ parent: string;
2754
+ /** Returns response with indentations and line breaks. */
2755
+ prettyPrint?: boolean;
2756
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2757
+ quotaUser?: string;
2758
+ /** Required. Short name of the TcpRoute resource to be created. E.g. TODO(Add an example). */
2759
+ tcpRouteId?: string;
2760
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2761
+ upload_protocol?: string;
2762
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2763
+ uploadType?: string;
2764
+ },
2765
+ body: TcpRoute): Request<Operation>;
2766
+ /** Deletes a single TcpRoute. */
2767
+ delete(request?: {
2768
+ /** V1 error format. */
2769
+ "$.xgafv"?: string;
2770
+ /** OAuth access token. */
2771
+ access_token?: string;
2772
+ /** Data format for response. */
2773
+ alt?: string;
2774
+ /** JSONP */
2775
+ callback?: string;
2776
+ /** Selector specifying which fields to include in a partial response. */
2777
+ fields?: string;
2778
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2779
+ key?: string;
2780
+ /** Required. A name of the TcpRoute to delete. Must be in the format `projects/*‍/locations/global/tcpRoutes/*`. */
2781
+ name: string;
2782
+ /** OAuth 2.0 token for the current user. */
2783
+ oauth_token?: string;
2784
+ /** Returns response with indentations and line breaks. */
2785
+ prettyPrint?: boolean;
2786
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2787
+ quotaUser?: string;
2788
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2789
+ upload_protocol?: string;
2790
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2791
+ uploadType?: string;
2792
+ }): Request<Operation>;
2793
+ /** Gets details of a single TcpRoute. */
2794
+ get(request?: {
2795
+ /** V1 error format. */
2796
+ "$.xgafv"?: string;
2797
+ /** OAuth access token. */
2798
+ access_token?: string;
2799
+ /** Data format for response. */
2800
+ alt?: string;
2801
+ /** JSONP */
2802
+ callback?: string;
2803
+ /** Selector specifying which fields to include in a partial response. */
2804
+ fields?: string;
2805
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2806
+ key?: string;
2807
+ /** Required. A name of the TcpRoute to get. Must be in the format `projects/*‍/locations/global/tcpRoutes/*`. */
2808
+ name: string;
2809
+ /** OAuth 2.0 token for the current user. */
2810
+ oauth_token?: string;
2811
+ /** Returns response with indentations and line breaks. */
2812
+ prettyPrint?: boolean;
2813
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2814
+ quotaUser?: string;
2815
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2816
+ upload_protocol?: string;
2817
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2818
+ uploadType?: string;
2819
+ }): Request<TcpRoute>;
2820
+ /** Lists TcpRoute in a given project and location. */
2821
+ list(request?: {
2822
+ /** V1 error format. */
2823
+ "$.xgafv"?: string;
2824
+ /** OAuth access token. */
2825
+ access_token?: string;
2826
+ /** Data format for response. */
2827
+ alt?: string;
2828
+ /** JSONP */
2829
+ callback?: string;
2830
+ /** Selector specifying which fields to include in a partial response. */
2831
+ fields?: string;
2832
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2833
+ key?: string;
2834
+ /** OAuth 2.0 token for the current user. */
2835
+ oauth_token?: string;
2836
+ /** Maximum number of TcpRoutes to return per call. */
2837
+ pageSize?: number;
2838
+ /**
2839
+ * 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
2840
+ * data.
2841
+ */
2842
+ pageToken?: string;
2843
+ /** Required. The project and location from which the TcpRoutes should be listed, specified in the format `projects/*‍/locations/global`. */
2844
+ parent: string;
2845
+ /** Returns response with indentations and line breaks. */
2846
+ prettyPrint?: boolean;
2847
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2848
+ quotaUser?: string;
2849
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2850
+ upload_protocol?: string;
2851
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2852
+ uploadType?: string;
2853
+ }): Request<ListTcpRoutesResponse>;
2854
+ /** Updates the parameters of a single TcpRoute. */
2855
+ patch(request: {
2856
+ /** V1 error format. */
2857
+ "$.xgafv"?: string;
2858
+ /** OAuth access token. */
2859
+ access_token?: string;
2860
+ /** Data format for response. */
2861
+ alt?: string;
2862
+ /** JSONP */
2863
+ callback?: string;
2864
+ /** Selector specifying which fields to include in a partial response. */
2865
+ fields?: string;
2866
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2867
+ key?: string;
2868
+ /** Required. Name of the TcpRoute resource. It matches pattern `projects/*‍/locations/global/tcpRoutes/tcp_route_name>`. */
2869
+ name: string;
2870
+ /** OAuth 2.0 token for the current user. */
2871
+ oauth_token?: string;
2872
+ /** Returns response with indentations and line breaks. */
2873
+ prettyPrint?: boolean;
2874
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2875
+ quotaUser?: string;
2876
+ /**
2877
+ * Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update. The fields specified in the update_mask are relative to the
2878
+ * 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.
2879
+ */
2880
+ updateMask?: string;
2881
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2882
+ upload_protocol?: string;
2883
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2884
+ uploadType?: string;
2885
+ /** Request body */
2886
+ resource: TcpRoute;
2887
+ }): Request<Operation>;
2888
+ patch(request: {
2889
+ /** V1 error format. */
2890
+ "$.xgafv"?: string;
2891
+ /** OAuth access token. */
2892
+ access_token?: string;
2893
+ /** Data format for response. */
2894
+ alt?: string;
2895
+ /** JSONP */
2896
+ callback?: string;
2897
+ /** Selector specifying which fields to include in a partial response. */
2898
+ fields?: string;
2899
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2900
+ key?: string;
2901
+ /** Required. Name of the TcpRoute resource. It matches pattern `projects/*‍/locations/global/tcpRoutes/tcp_route_name>`. */
2902
+ name: string;
2903
+ /** OAuth 2.0 token for the current user. */
2904
+ oauth_token?: string;
2905
+ /** Returns response with indentations and line breaks. */
2906
+ prettyPrint?: boolean;
2907
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2908
+ quotaUser?: string;
2909
+ /**
2910
+ * Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update. The fields specified in the update_mask are relative to the
2911
+ * 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.
2912
+ */
2913
+ updateMask?: string;
2914
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2915
+ upload_protocol?: string;
2916
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2917
+ uploadType?: string;
2918
+ },
2919
+ body: TcpRoute): Request<Operation>;
2920
+ }
2921
+ interface TlsRoutesResource {
2922
+ /** Creates a new TlsRoute in a given project and location. */
2923
+ create(request: {
2924
+ /** V1 error format. */
2925
+ "$.xgafv"?: string;
2926
+ /** OAuth access token. */
2927
+ access_token?: string;
2928
+ /** Data format for response. */
2929
+ alt?: string;
2930
+ /** JSONP */
2931
+ callback?: string;
2932
+ /** Selector specifying which fields to include in a partial response. */
2933
+ fields?: string;
2934
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2935
+ key?: string;
2936
+ /** OAuth 2.0 token for the current user. */
2937
+ oauth_token?: string;
2938
+ /** Required. The parent resource of the TlsRoute. Must be in the format `projects/*‍/locations/global`. */
2939
+ parent: string;
2940
+ /** Returns response with indentations and line breaks. */
2941
+ prettyPrint?: boolean;
2942
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2943
+ quotaUser?: string;
2944
+ /** Required. Short name of the TlsRoute resource to be created. E.g. TODO(Add an example). */
2945
+ tlsRouteId?: string;
2946
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2947
+ upload_protocol?: string;
2948
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2949
+ uploadType?: string;
2950
+ /** Request body */
2951
+ resource: TlsRoute;
2952
+ }): Request<Operation>;
2953
+ create(request: {
2954
+ /** V1 error format. */
2955
+ "$.xgafv"?: string;
2956
+ /** OAuth access token. */
2957
+ access_token?: string;
2958
+ /** Data format for response. */
2959
+ alt?: string;
2960
+ /** JSONP */
2961
+ callback?: string;
2962
+ /** Selector specifying which fields to include in a partial response. */
2963
+ fields?: string;
2964
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2965
+ key?: string;
2966
+ /** OAuth 2.0 token for the current user. */
2967
+ oauth_token?: string;
2968
+ /** Required. The parent resource of the TlsRoute. Must be in the format `projects/*‍/locations/global`. */
2969
+ parent: string;
2970
+ /** Returns response with indentations and line breaks. */
2971
+ prettyPrint?: boolean;
2972
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2973
+ quotaUser?: string;
2974
+ /** Required. Short name of the TlsRoute resource to be created. E.g. TODO(Add an example). */
2975
+ tlsRouteId?: string;
2976
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2977
+ upload_protocol?: string;
2978
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2979
+ uploadType?: string;
2980
+ },
2981
+ body: TlsRoute): Request<Operation>;
2982
+ /** Deletes a single TlsRoute. */
2983
+ delete(request?: {
2984
+ /** V1 error format. */
2985
+ "$.xgafv"?: string;
2986
+ /** OAuth access token. */
2987
+ access_token?: string;
2988
+ /** Data format for response. */
2989
+ alt?: string;
2990
+ /** JSONP */
2991
+ callback?: string;
2992
+ /** Selector specifying which fields to include in a partial response. */
2993
+ fields?: string;
2994
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2995
+ key?: string;
2996
+ /** Required. A name of the TlsRoute to delete. Must be in the format `projects/*‍/locations/global/tlsRoutes/*`. */
2997
+ name: string;
2998
+ /** OAuth 2.0 token for the current user. */
2999
+ oauth_token?: string;
3000
+ /** Returns response with indentations and line breaks. */
3001
+ prettyPrint?: boolean;
3002
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3003
+ quotaUser?: string;
3004
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3005
+ upload_protocol?: string;
3006
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3007
+ uploadType?: string;
3008
+ }): Request<Operation>;
3009
+ /** Gets details of a single TlsRoute. */
3010
+ get(request?: {
3011
+ /** V1 error format. */
3012
+ "$.xgafv"?: string;
3013
+ /** OAuth access token. */
3014
+ access_token?: string;
3015
+ /** Data format for response. */
3016
+ alt?: string;
3017
+ /** JSONP */
3018
+ callback?: string;
3019
+ /** Selector specifying which fields to include in a partial response. */
3020
+ fields?: string;
3021
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3022
+ key?: string;
3023
+ /** Required. A name of the TlsRoute to get. Must be in the format `projects/*‍/locations/global/tlsRoutes/*`. */
3024
+ name: string;
3025
+ /** OAuth 2.0 token for the current user. */
3026
+ oauth_token?: string;
3027
+ /** Returns response with indentations and line breaks. */
3028
+ prettyPrint?: boolean;
3029
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3030
+ quotaUser?: string;
3031
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3032
+ upload_protocol?: string;
3033
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3034
+ uploadType?: string;
3035
+ }): Request<TlsRoute>;
3036
+ /** Lists TlsRoute in a given project and location. */
3037
+ list(request?: {
3038
+ /** V1 error format. */
3039
+ "$.xgafv"?: string;
3040
+ /** OAuth access token. */
3041
+ access_token?: string;
3042
+ /** Data format for response. */
3043
+ alt?: string;
3044
+ /** JSONP */
3045
+ callback?: string;
3046
+ /** Selector specifying which fields to include in a partial response. */
3047
+ fields?: string;
3048
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3049
+ key?: string;
3050
+ /** OAuth 2.0 token for the current user. */
3051
+ oauth_token?: string;
3052
+ /** Maximum number of TlsRoutes to return per call. */
3053
+ pageSize?: number;
3054
+ /**
3055
+ * 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
3056
+ * data.
3057
+ */
3058
+ pageToken?: string;
3059
+ /** Required. The project and location from which the TlsRoutes should be listed, specified in the format `projects/*‍/locations/global`. */
3060
+ parent: string;
3061
+ /** Returns response with indentations and line breaks. */
3062
+ prettyPrint?: boolean;
3063
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3064
+ quotaUser?: string;
3065
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3066
+ upload_protocol?: string;
3067
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3068
+ uploadType?: string;
3069
+ }): Request<ListTlsRoutesResponse>;
3070
+ /** Updates the parameters of a single TlsRoute. */
3071
+ patch(request: {
3072
+ /** V1 error format. */
3073
+ "$.xgafv"?: string;
3074
+ /** OAuth access token. */
3075
+ access_token?: string;
3076
+ /** Data format for response. */
3077
+ alt?: string;
3078
+ /** JSONP */
3079
+ callback?: string;
3080
+ /** Selector specifying which fields to include in a partial response. */
3081
+ fields?: string;
3082
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3083
+ key?: string;
3084
+ /** Required. Name of the TlsRoute resource. It matches pattern `projects/*‍/locations/global/tlsRoutes/tls_route_name>`. */
3085
+ name: string;
3086
+ /** OAuth 2.0 token for the current user. */
3087
+ oauth_token?: string;
3088
+ /** Returns response with indentations and line breaks. */
3089
+ prettyPrint?: boolean;
3090
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3091
+ quotaUser?: string;
3092
+ /**
3093
+ * Optional. Field mask is used to specify the fields to be overwritten in the TlsRoute resource by the update. The fields specified in the update_mask are relative to the
3094
+ * 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.
3095
+ */
3096
+ updateMask?: string;
3097
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3098
+ upload_protocol?: string;
3099
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3100
+ uploadType?: string;
3101
+ /** Request body */
3102
+ resource: TlsRoute;
3103
+ }): Request<Operation>;
3104
+ patch(request: {
3105
+ /** V1 error format. */
3106
+ "$.xgafv"?: string;
3107
+ /** OAuth access token. */
3108
+ access_token?: string;
3109
+ /** Data format for response. */
3110
+ alt?: string;
3111
+ /** JSONP */
3112
+ callback?: string;
3113
+ /** Selector specifying which fields to include in a partial response. */
3114
+ fields?: string;
3115
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3116
+ key?: string;
3117
+ /** Required. Name of the TlsRoute resource. It matches pattern `projects/*‍/locations/global/tlsRoutes/tls_route_name>`. */
3118
+ name: string;
3119
+ /** OAuth 2.0 token for the current user. */
3120
+ oauth_token?: string;
3121
+ /** Returns response with indentations and line breaks. */
3122
+ prettyPrint?: boolean;
3123
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3124
+ quotaUser?: string;
3125
+ /**
3126
+ * Optional. Field mask is used to specify the fields to be overwritten in the TlsRoute resource by the update. The fields specified in the update_mask are relative to the
3127
+ * 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.
3128
+ */
3129
+ updateMask?: string;
3130
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3131
+ upload_protocol?: string;
3132
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3133
+ uploadType?: string;
3134
+ },
3135
+ body: TlsRoute): Request<Operation>;
3136
+ }
3137
+ interface LocationsResource {
3138
+ /** Gets information about a location. */
3139
+ get(request?: {
3140
+ /** V1 error format. */
3141
+ "$.xgafv"?: string;
3142
+ /** OAuth access token. */
3143
+ access_token?: string;
3144
+ /** Data format for response. */
3145
+ alt?: string;
3146
+ /** JSONP */
3147
+ callback?: string;
3148
+ /** Selector specifying which fields to include in a partial response. */
3149
+ fields?: string;
3150
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3151
+ key?: string;
3152
+ /** Resource name for the location. */
3153
+ name: string;
3154
+ /** OAuth 2.0 token for the current user. */
3155
+ oauth_token?: string;
3156
+ /** Returns response with indentations and line breaks. */
3157
+ prettyPrint?: boolean;
3158
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3159
+ quotaUser?: string;
3160
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3161
+ upload_protocol?: string;
3162
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3163
+ uploadType?: string;
3164
+ }): Request<Location>;
3165
+ /** Lists information about the supported locations for this service. */
3166
+ list(request?: {
3167
+ /** V1 error format. */
3168
+ "$.xgafv"?: string;
3169
+ /** OAuth access token. */
3170
+ access_token?: string;
3171
+ /** Data format for response. */
3172
+ alt?: string;
3173
+ /** JSONP */
3174
+ callback?: string;
3175
+ /** Selector specifying which fields to include in a partial response. */
3176
+ fields?: string;
3177
+ /**
3178
+ * 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
3179
+ * [AIP-160](https://google.aip.dev/160).
3180
+ */
3181
+ filter?: string;
3182
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3183
+ key?: string;
3184
+ /** The resource that owns the locations collection, if applicable. */
3185
+ name: string;
3186
+ /** OAuth 2.0 token for the current user. */
3187
+ oauth_token?: string;
3188
+ /** The maximum number of results to return. If not set, the service selects a default. */
3189
+ pageSize?: number;
3190
+ /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
3191
+ pageToken?: string;
3192
+ /** Returns response with indentations and line breaks. */
3193
+ prettyPrint?: boolean;
3194
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3195
+ quotaUser?: string;
3196
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3197
+ upload_protocol?: string;
3198
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3199
+ uploadType?: string;
3200
+ }): Request<ListLocationsResponse>;
3201
+ endpointPolicies: EndpointPoliciesResource;
3202
+ gateways: GatewaysResource;
3203
+ grpcRoutes: GrpcRoutesResource;
3204
+ httpRoutes: HttpRoutesResource;
3205
+ meshes: MeshesResource;
3206
+ operations: OperationsResource;
3207
+ serviceBindings: ServiceBindingsResource;
3208
+ tcpRoutes: TcpRoutesResource;
3209
+ tlsRoutes: TlsRoutesResource;
3210
+ }
3211
+ interface ProjectsResource {
3212
+ locations: LocationsResource;
3213
+ }
3214
+
3215
+ const projects: ProjectsResource;
3216
+ }
3217
+ }