@googleapis/networkservices 32.0.1 → 32.2.0

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/v1beta1.ts CHANGED
@@ -124,12 +124,143 @@ export namespace networkservices_v1beta1 {
124
124
  }
125
125
  }
126
126
 
127
+ /**
128
+ * AgentGateway represents the agent gateway resource.
129
+ */
130
+ export interface Schema$AgentGateway {
131
+ /**
132
+ * Output only. Field for populated AgentGateway card.
133
+ */
134
+ agentGatewayCard?: Schema$AgentGatewayAgentGatewayOutputCard;
135
+ /**
136
+ * Output only. The timestamp when the resource was created.
137
+ */
138
+ createTime?: string | null;
139
+ /**
140
+ * Optional. A free-text description of the resource. Max length 1024 characters.
141
+ */
142
+ description?: string | null;
143
+ /**
144
+ * Optional. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.
145
+ */
146
+ etag?: string | null;
147
+ /**
148
+ * Optional. Proxy is orchestrated and managed by GoogleCloud in a tenant project.
149
+ */
150
+ googleManaged?: Schema$AgentGatewayGoogleManaged;
151
+ /**
152
+ * Optional. Set of label tags associated with the AgentGateway resource.
153
+ */
154
+ labels?: {[key: string]: string} | null;
155
+ /**
156
+ * Identifier. Name of the AgentGateway resource. It matches pattern `projects/x/locations/x/agentGateways/`.
157
+ */
158
+ name?: string | null;
159
+ /**
160
+ * Optional. Network configuration for the AgentGateway.
161
+ */
162
+ networkConfig?: Schema$AgentGatewayNetworkConfig;
163
+ /**
164
+ * Required. List of protocols supported by an Agent Gateway
165
+ */
166
+ protocols?: string[] | null;
167
+ /**
168
+ * Optional. A list of Agent registries containing the agents, MCP servers and tools governed by the Agent Gateway. Note: Currently limited to project-scoped registries Must be of format `//agentregistry.googleapis.com/projects/{project\}/locations/{location\}/
169
+ */
170
+ registries?: string[] | null;
171
+ /**
172
+ * Optional. Attach to existing Application Load Balancers or Secure Web Proxies.
173
+ */
174
+ selfManaged?: Schema$AgentGatewaySelfManaged;
175
+ /**
176
+ * Output only. The timestamp when the resource was updated.
177
+ */
178
+ updateTime?: string | null;
179
+ }
180
+ /**
181
+ * AgentGatewayOutputCard contains informational output-only fields
182
+ */
183
+ export interface Schema$AgentGatewayAgentGatewayOutputCard {
184
+ /**
185
+ * Output only. mTLS Endpoint associated with this AgentGateway
186
+ */
187
+ mtlsEndpoint?: string | null;
188
+ /**
189
+ * Output only. Root Certificates for Agents to validate this AgentGateway
190
+ */
191
+ rootCertificates?: string[] | null;
192
+ /**
193
+ * Output only. Service Account used by Service Extensions to operate.
194
+ */
195
+ serviceExtensionsServiceAccount?: string | null;
196
+ }
197
+ /**
198
+ * Configuration for Google Managed deployment mode. Proxy is orchestrated and managed by GoogleCloud in a tenant project.
199
+ */
200
+ export interface Schema$AgentGatewayGoogleManaged {
201
+ /**
202
+ * Optional. Operating Mode of Agent Gateway.
203
+ */
204
+ governedAccessPath?: string | null;
205
+ }
206
+ /**
207
+ * NetworkConfig contains network configurations for the AgentGateway.
208
+ */
209
+ export interface Schema$AgentGatewayNetworkConfig {
210
+ /**
211
+ * Optional. Optional DNS peering configuration for connectivity to your private VPC network.
212
+ */
213
+ dnsPeeringConfig?: Schema$AgentGatewayNetworkConfigDnsPeeringConfig;
214
+ /**
215
+ * Optional. Optional PSC-Interface network attachment for connectivity to your private VPCs network.
216
+ */
217
+ egress?: Schema$AgentGatewayNetworkConfigEgress;
218
+ }
219
+ /**
220
+ * DNS peering config for the user VPC network.
221
+ */
222
+ export interface Schema$AgentGatewayNetworkConfigDnsPeeringConfig {
223
+ /**
224
+ * Required. Domain names for which DNS queries should be forwarded to the target network.
225
+ */
226
+ domains?: string[] | null;
227
+ /**
228
+ * Required. Target network in 'target project' to which DNS queries should be forwarded to. Must be in format of `projects/{project\}/global/networks/{network\}`.
229
+ */
230
+ targetNetwork?: string | null;
231
+ /**
232
+ * Required. Target project ID to which DNS queries should be forwarded to. This can be the same project that contains the AgentGateway or a different project.
233
+ */
234
+ targetProject?: string | null;
235
+ }
236
+ /**
237
+ * Configuration for Egress
238
+ */
239
+ export interface Schema$AgentGatewayNetworkConfigEgress {
240
+ /**
241
+ * Optional. The URI of the Network Attachment resource.
242
+ */
243
+ networkAttachment?: string | null;
244
+ }
245
+ /**
246
+ * Configuration for Self Managed deployment mode. Attach to existing Application Load Balancers or Secure Web Proxies.
247
+ */
248
+ export interface Schema$AgentGatewaySelfManaged {
249
+ /**
250
+ * Optional. A supported Google Cloud networking proxy in the Project and Location
251
+ */
252
+ resourceUri?: string | null;
253
+ /**
254
+ * Optional. List of supported Google Cloud networking proxies in the Project and Location. resource_uris is mutually exclusive with resource_uri.
255
+ */
256
+ resourceUris?: string[] | null;
257
+ }
127
258
  /**
128
259
  * `AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision.
129
260
  */
130
261
  export interface Schema$AuthzExtension {
131
262
  /**
132
- * Required. The `:authority` header in the gRPC request sent from Envoy to the extension service.
263
+ * Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. It is required when the `service` field points to a backend service or a wasm plugin.
133
264
  */
134
265
  authority?: string | null;
135
266
  /**
@@ -144,6 +275,10 @@ export namespace networkservices_v1beta1 {
144
275
  * Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset.
145
276
  */
146
277
  failOpen?: boolean | null;
278
+ /**
279
+ * Optional. List of the Envoy attributes to forward to the extension server. The attributes provided here are included as part of the `ProcessingRequest.attributes` field (of type `map`), where the keys are the attribute names. Refer to the [documentation](https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference#attributes) for the names of attributes that can be forwarded. If omitted, no attributes are sent. Each element is a string indicating the attribute name.
280
+ */
281
+ forwardAttributes?: string[] | null;
147
282
  /**
148
283
  * Optional. List of the HTTP headers to forward to the extension (from the client). If omitted, all headers are sent. Each element is a string indicating the header name.
149
284
  */
@@ -153,7 +288,7 @@ export namespace networkservices_v1beta1 {
153
288
  */
154
289
  labels?: {[key: string]: string} | null;
155
290
  /**
156
- * Required. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).
291
+ * Optional. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. Can be omitted for AuthzExtensions that do not reference a backend service. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).
157
292
  */
158
293
  loadBalancingScheme?: string | null;
159
294
  /**
@@ -177,7 +312,7 @@ export namespace networkservices_v1beta1 {
177
312
  */
178
313
  updateTime?: string | null;
179
314
  /**
180
- * Optional. The format of communication supported by the callout extension. If not specified, the default value `EXT_PROC_GRPC` is used.
315
+ * Optional. The format of communication supported by the callout extension. This field is supported only for regional `AuthzExtension` resources. If not specified, the default value `EXT_PROC_GRPC` is used. Global `AuthzExtension` resources use the `EXT_PROC_GRPC` wire format.
181
316
  */
182
317
  wireFormat?: string | null;
183
318
  }
@@ -284,6 +419,10 @@ export namespace networkservices_v1beta1 {
284
419
  * Optional. Determines how the proxy behaves if the call to the extension fails or times out. When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens: * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer. * If response headers have been delivered, then the HTTP stream to the downstream client is reset.
285
420
  */
286
421
  failOpen?: boolean | null;
422
+ /**
423
+ * Optional. List of the Envoy attributes to forward to the extension server. The attributes provided here are included as part of the `ProcessingRequest.attributes` field (of type `map`), where the keys are the attribute names. Refer to the [documentation](https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference#attributes) for the names of attributes that can be forwarded. If omitted, no attributes are sent. Each element is a string indicating the attribute name.
424
+ */
425
+ forwardAttributes?: string[] | null;
287
426
  /**
288
427
  * Optional. List of the HTTP headers to forward to the extension (from the client or backend). If omitted, all headers are sent. Each element is a string indicating the header name.
289
428
  */
@@ -297,7 +436,7 @@ export namespace networkservices_v1beta1 {
297
436
  */
298
437
  name?: string | null;
299
438
  /**
300
- * Optional. When set to `TRUE`, enables `observability_mode` on the `ext_proc` filter. This makes `ext_proc` calls asynchronous. Envoy doesn't check for the response from `ext_proc` calls. For more information about the filter, see: https://www.envoyproxy.io/docs/envoy/v1.32.3/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto#extensions-filters-http-ext-proc-v3-externalprocessor This field is helpful when you want to try out the extension in async log-only mode. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources. Only `STREAMED` (default) body processing mode is supported.
439
+ * Optional. When set to `true`, the calls to the extension backend are performed asynchronously, without pausing the processing of the ongoing request. In this mode, only `STREAMED` (default) body processing is supported. Responses, if any, are ignored. Supported by regional `LbTrafficExtension` and `LbRouteExtension` resources.
301
440
  */
302
441
  observabilityMode?: boolean | null;
303
442
  /**
@@ -338,6 +477,14 @@ export namespace networkservices_v1beta1 {
338
477
  * Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 for IPv4 and :: for IPv6.
339
478
  */
340
479
  addresses?: string[] | null;
480
+ /**
481
+ * Optional. If true, the gateway will allow traffic from clients outside of the region where the gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY.
482
+ */
483
+ allowGlobalAccess?: boolean | null;
484
+ /**
485
+ * Optional. If true, the Gateway will listen on all ports. This is mutually exclusive with the `ports` field. This field only applies to gateways of type 'SECURE_WEB_GATEWAY'.
486
+ */
487
+ allPorts?: boolean | null;
341
488
  /**
342
489
  * Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'.
343
490
  */
@@ -1231,6 +1378,23 @@ export namespace networkservices_v1beta1 {
1231
1378
  */
1232
1379
  updateTime?: string | null;
1233
1380
  }
1381
+ /**
1382
+ * Response returned by the ListAgentGateways method.
1383
+ */
1384
+ export interface Schema$ListAgentGatewaysResponse {
1385
+ /**
1386
+ * List of AgentGateway resources.
1387
+ */
1388
+ agentGateways?: Schema$AgentGateway[];
1389
+ /**
1390
+ * If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
1391
+ */
1392
+ nextPageToken?: string | null;
1393
+ /**
1394
+ * Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.
1395
+ */
1396
+ unreachable?: string[] | null;
1397
+ }
1234
1398
  /**
1235
1399
  * Message for response to listing `AuthzExtension` resources.
1236
1400
  */
@@ -1461,7 +1625,7 @@ export namespace networkservices_v1beta1 {
1461
1625
  */
1462
1626
  operations?: Schema$Operation[];
1463
1627
  /**
1464
- * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
1628
+ * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
1465
1629
  */
1466
1630
  unreachable?: string[] | null;
1467
1631
  }
@@ -2008,6 +2172,10 @@ export namespace networkservices_v1beta1 {
2008
2172
  * Output only. Server-defined URL of this resource
2009
2173
  */
2010
2174
  selfLink?: string | null;
2175
+ /**
2176
+ * Optional. TargetProxies defines a list of TargetTcpProxies this TlsRoute is attached to, as one of the routing rules to route the requests served by the TargetTcpProxy. Each TargetTcpProxy reference should match the pattern: `projects/x/locations/x/targetTcpProxies/`
2177
+ */
2178
+ targetProxies?: string[] | null;
2011
2179
  /**
2012
2180
  * Output only. The timestamp when the resource was updated.
2013
2181
  */
@@ -2086,6 +2254,14 @@ export namespace networkservices_v1beta1 {
2086
2254
  * Optional. A human-readable description of the resource.
2087
2255
  */
2088
2256
  description?: string | null;
2257
+ /**
2258
+ * Optional. The name of the customer managed Cloud KMS key to be used to encrypt the `WasmPlugin` image (provided by image_uri) and configuration (provided by plugin_config_data or plugin_config_uri) that are stored by the `Service Extensions` product at rest. Format: "projects/{project\}/locations/{location\}/keyRings/{keyring\}/cryptoKeys/{key\}" By default, Google Cloud automatically encrypts all data at rest using Google-owned and Google-managed encryption keys. If you need ownership and control of the keys that protect your data at rest, you can specify a customer-managed encryption key (CMEK) to encrypt your `WasmPlugin` data. For more information, see [Using customer-managed encryption keys](https://cloud.google.com/kms/docs/cmek).
2259
+ */
2260
+ kmsKeyName?: string | null;
2261
+ /**
2262
+ * Output only. The name of the specific CryptoKeyVersion used to encrypt the `WasmPlugin` data, if the kms_key_name field is set. Format: "projects/{project\}/locations/{location\}/keyRings/{keyring\}/cryptoKeys/{key\}/cryptoKeyVersions/{version\}" This is a read-only field. `WasmPlugin` data is automatically encrypted using the most recent `CryptoKeyVersion` of the `CryptoKey` provided in the `kms_key_name` field. See [Cloud KMS resources](https://cloud.google.com/kms/docs/resource-hierarchy) for more information.
2263
+ */
2264
+ kmsKeyVersion?: string | null;
2089
2265
  /**
2090
2266
  * Optional. Set of labels associated with the `WasmPlugin` resource. The format must comply with [the following requirements](/compute/docs/labeling-resources#requirements).
2091
2267
  */
@@ -2239,6 +2415,7 @@ export namespace networkservices_v1beta1 {
2239
2415
 
2240
2416
  export class Resource$Projects$Locations {
2241
2417
  context: APIRequestContext;
2418
+ agentGateways: Resource$Projects$Locations$Agentgateways;
2242
2419
  authzExtensions: Resource$Projects$Locations$Authzextensions;
2243
2420
  endpointPolicies: Resource$Projects$Locations$Endpointpolicies;
2244
2421
  gateways: Resource$Projects$Locations$Gateways;
@@ -2257,6 +2434,9 @@ export namespace networkservices_v1beta1 {
2257
2434
  wasmPlugins: Resource$Projects$Locations$Wasmplugins;
2258
2435
  constructor(context: APIRequestContext) {
2259
2436
  this.context = context;
2437
+ this.agentGateways = new Resource$Projects$Locations$Agentgateways(
2438
+ this.context
2439
+ );
2260
2440
  this.authzExtensions = new Resource$Projects$Locations$Authzextensions(
2261
2441
  this.context
2262
2442
  );
@@ -2297,7 +2477,635 @@ export namespace networkservices_v1beta1 {
2297
2477
  }
2298
2478
 
2299
2479
  /**
2300
- * Gets information about a location.
2480
+ * Gets information about a location.
2481
+ * @example
2482
+ * ```js
2483
+ * // Before running the sample:
2484
+ * // - Enable the API at:
2485
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
2486
+ * // - Login into gcloud by running:
2487
+ * // ```sh
2488
+ * // $ gcloud auth application-default login
2489
+ * // ```
2490
+ * // - Install the npm module by running:
2491
+ * // ```sh
2492
+ * // $ npm install googleapis
2493
+ * // ```
2494
+ *
2495
+ * const {google} = require('googleapis');
2496
+ * const networkservices = google.networkservices('v1beta1');
2497
+ *
2498
+ * async function main() {
2499
+ * const auth = new google.auth.GoogleAuth({
2500
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2501
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2502
+ * });
2503
+ *
2504
+ * // Acquire an auth client, and bind it to all future calls
2505
+ * const authClient = await auth.getClient();
2506
+ * google.options({auth: authClient});
2507
+ *
2508
+ * // Do the magic
2509
+ * const res = await networkservices.projects.locations.get({
2510
+ * // Resource name for the location.
2511
+ * name: 'projects/my-project/locations/my-location',
2512
+ * });
2513
+ * console.log(res.data);
2514
+ *
2515
+ * // Example response
2516
+ * // {
2517
+ * // "displayName": "my_displayName",
2518
+ * // "labels": {},
2519
+ * // "locationId": "my_locationId",
2520
+ * // "metadata": {},
2521
+ * // "name": "my_name"
2522
+ * // }
2523
+ * }
2524
+ *
2525
+ * main().catch(e => {
2526
+ * console.error(e);
2527
+ * throw e;
2528
+ * });
2529
+ *
2530
+ * ```
2531
+ *
2532
+ * @param params - Parameters for request
2533
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2534
+ * @param callback - Optional callback that handles the response.
2535
+ * @returns A promise if used with async/await, or void if used with a callback.
2536
+ */
2537
+ get(
2538
+ params: Params$Resource$Projects$Locations$Get,
2539
+ options: StreamMethodOptions
2540
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2541
+ get(
2542
+ params?: Params$Resource$Projects$Locations$Get,
2543
+ options?: MethodOptions
2544
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Location>>;
2545
+ get(
2546
+ params: Params$Resource$Projects$Locations$Get,
2547
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
2548
+ callback: BodyResponseCallback<Readable>
2549
+ ): void;
2550
+ get(
2551
+ params: Params$Resource$Projects$Locations$Get,
2552
+ options: MethodOptions | BodyResponseCallback<Schema$Location>,
2553
+ callback: BodyResponseCallback<Schema$Location>
2554
+ ): void;
2555
+ get(
2556
+ params: Params$Resource$Projects$Locations$Get,
2557
+ callback: BodyResponseCallback<Schema$Location>
2558
+ ): void;
2559
+ get(callback: BodyResponseCallback<Schema$Location>): void;
2560
+ get(
2561
+ paramsOrCallback?:
2562
+ | Params$Resource$Projects$Locations$Get
2563
+ | BodyResponseCallback<Schema$Location>
2564
+ | BodyResponseCallback<Readable>,
2565
+ optionsOrCallback?:
2566
+ | MethodOptions
2567
+ | StreamMethodOptions
2568
+ | BodyResponseCallback<Schema$Location>
2569
+ | BodyResponseCallback<Readable>,
2570
+ callback?:
2571
+ | BodyResponseCallback<Schema$Location>
2572
+ | BodyResponseCallback<Readable>
2573
+ ):
2574
+ | void
2575
+ | Promise<GaxiosResponseWithHTTP2<Schema$Location>>
2576
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2577
+ let params = (paramsOrCallback ||
2578
+ {}) as Params$Resource$Projects$Locations$Get;
2579
+ let options = (optionsOrCallback || {}) as MethodOptions;
2580
+
2581
+ if (typeof paramsOrCallback === 'function') {
2582
+ callback = paramsOrCallback;
2583
+ params = {} as Params$Resource$Projects$Locations$Get;
2584
+ options = {};
2585
+ }
2586
+
2587
+ if (typeof optionsOrCallback === 'function') {
2588
+ callback = optionsOrCallback;
2589
+ options = {};
2590
+ }
2591
+
2592
+ const rootUrl =
2593
+ options.rootUrl || 'https://networkservices.googleapis.com/';
2594
+ const parameters = {
2595
+ options: Object.assign(
2596
+ {
2597
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
2598
+ method: 'GET',
2599
+ apiVersion: '',
2600
+ },
2601
+ options
2602
+ ),
2603
+ params,
2604
+ requiredParams: ['name'],
2605
+ pathParams: ['name'],
2606
+ context: this.context,
2607
+ };
2608
+ if (callback) {
2609
+ createAPIRequest<Schema$Location>(
2610
+ parameters,
2611
+ callback as BodyResponseCallback<unknown>
2612
+ );
2613
+ } else {
2614
+ return createAPIRequest<Schema$Location>(parameters);
2615
+ }
2616
+ }
2617
+
2618
+ /**
2619
+ * Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.
2620
+ * @example
2621
+ * ```js
2622
+ * // Before running the sample:
2623
+ * // - Enable the API at:
2624
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
2625
+ * // - Login into gcloud by running:
2626
+ * // ```sh
2627
+ * // $ gcloud auth application-default login
2628
+ * // ```
2629
+ * // - Install the npm module by running:
2630
+ * // ```sh
2631
+ * // $ npm install googleapis
2632
+ * // ```
2633
+ *
2634
+ * const {google} = require('googleapis');
2635
+ * const networkservices = google.networkservices('v1beta1');
2636
+ *
2637
+ * async function main() {
2638
+ * const auth = new google.auth.GoogleAuth({
2639
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2640
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2641
+ * });
2642
+ *
2643
+ * // Acquire an auth client, and bind it to all future calls
2644
+ * const authClient = await auth.getClient();
2645
+ * google.options({auth: authClient});
2646
+ *
2647
+ * // Do the magic
2648
+ * const res = await networkservices.projects.locations.list({
2649
+ * // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
2650
+ * extraLocationTypes: 'placeholder-value',
2651
+ * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
2652
+ * filter: 'placeholder-value',
2653
+ * // The resource that owns the locations collection, if applicable.
2654
+ * name: 'projects/my-project',
2655
+ * // The maximum number of results to return. If not set, the service selects a default.
2656
+ * pageSize: 'placeholder-value',
2657
+ * // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
2658
+ * pageToken: 'placeholder-value',
2659
+ * });
2660
+ * console.log(res.data);
2661
+ *
2662
+ * // Example response
2663
+ * // {
2664
+ * // "locations": [],
2665
+ * // "nextPageToken": "my_nextPageToken"
2666
+ * // }
2667
+ * }
2668
+ *
2669
+ * main().catch(e => {
2670
+ * console.error(e);
2671
+ * throw e;
2672
+ * });
2673
+ *
2674
+ * ```
2675
+ *
2676
+ * @param params - Parameters for request
2677
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2678
+ * @param callback - Optional callback that handles the response.
2679
+ * @returns A promise if used with async/await, or void if used with a callback.
2680
+ */
2681
+ list(
2682
+ params: Params$Resource$Projects$Locations$List,
2683
+ options: StreamMethodOptions
2684
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2685
+ list(
2686
+ params?: Params$Resource$Projects$Locations$List,
2687
+ options?: MethodOptions
2688
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListLocationsResponse>>;
2689
+ list(
2690
+ params: Params$Resource$Projects$Locations$List,
2691
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
2692
+ callback: BodyResponseCallback<Readable>
2693
+ ): void;
2694
+ list(
2695
+ params: Params$Resource$Projects$Locations$List,
2696
+ options:
2697
+ | MethodOptions
2698
+ | BodyResponseCallback<Schema$ListLocationsResponse>,
2699
+ callback: BodyResponseCallback<Schema$ListLocationsResponse>
2700
+ ): void;
2701
+ list(
2702
+ params: Params$Resource$Projects$Locations$List,
2703
+ callback: BodyResponseCallback<Schema$ListLocationsResponse>
2704
+ ): void;
2705
+ list(callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
2706
+ list(
2707
+ paramsOrCallback?:
2708
+ | Params$Resource$Projects$Locations$List
2709
+ | BodyResponseCallback<Schema$ListLocationsResponse>
2710
+ | BodyResponseCallback<Readable>,
2711
+ optionsOrCallback?:
2712
+ | MethodOptions
2713
+ | StreamMethodOptions
2714
+ | BodyResponseCallback<Schema$ListLocationsResponse>
2715
+ | BodyResponseCallback<Readable>,
2716
+ callback?:
2717
+ | BodyResponseCallback<Schema$ListLocationsResponse>
2718
+ | BodyResponseCallback<Readable>
2719
+ ):
2720
+ | void
2721
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListLocationsResponse>>
2722
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2723
+ let params = (paramsOrCallback ||
2724
+ {}) as Params$Resource$Projects$Locations$List;
2725
+ let options = (optionsOrCallback || {}) as MethodOptions;
2726
+
2727
+ if (typeof paramsOrCallback === 'function') {
2728
+ callback = paramsOrCallback;
2729
+ params = {} as Params$Resource$Projects$Locations$List;
2730
+ options = {};
2731
+ }
2732
+
2733
+ if (typeof optionsOrCallback === 'function') {
2734
+ callback = optionsOrCallback;
2735
+ options = {};
2736
+ }
2737
+
2738
+ const rootUrl =
2739
+ options.rootUrl || 'https://networkservices.googleapis.com/';
2740
+ const parameters = {
2741
+ options: Object.assign(
2742
+ {
2743
+ url: (rootUrl + '/v1beta1/{+name}/locations').replace(
2744
+ /([^:]\/)\/+/g,
2745
+ '$1'
2746
+ ),
2747
+ method: 'GET',
2748
+ apiVersion: '',
2749
+ },
2750
+ options
2751
+ ),
2752
+ params,
2753
+ requiredParams: ['name'],
2754
+ pathParams: ['name'],
2755
+ context: this.context,
2756
+ };
2757
+ if (callback) {
2758
+ createAPIRequest<Schema$ListLocationsResponse>(
2759
+ parameters,
2760
+ callback as BodyResponseCallback<unknown>
2761
+ );
2762
+ } else {
2763
+ return createAPIRequest<Schema$ListLocationsResponse>(parameters);
2764
+ }
2765
+ }
2766
+ }
2767
+
2768
+ export interface Params$Resource$Projects$Locations$Get extends StandardParameters {
2769
+ /**
2770
+ * Resource name for the location.
2771
+ */
2772
+ name?: string;
2773
+ }
2774
+ export interface Params$Resource$Projects$Locations$List extends StandardParameters {
2775
+ /**
2776
+ * Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
2777
+ */
2778
+ extraLocationTypes?: string[];
2779
+ /**
2780
+ * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
2781
+ */
2782
+ filter?: string;
2783
+ /**
2784
+ * The resource that owns the locations collection, if applicable.
2785
+ */
2786
+ name?: string;
2787
+ /**
2788
+ * The maximum number of results to return. If not set, the service selects a default.
2789
+ */
2790
+ pageSize?: number;
2791
+ /**
2792
+ * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
2793
+ */
2794
+ pageToken?: string;
2795
+ }
2796
+
2797
+ export class Resource$Projects$Locations$Agentgateways {
2798
+ context: APIRequestContext;
2799
+ constructor(context: APIRequestContext) {
2800
+ this.context = context;
2801
+ }
2802
+
2803
+ /**
2804
+ * Creates a new AgentGateway in a given project and location.
2805
+ * @example
2806
+ * ```js
2807
+ * // Before running the sample:
2808
+ * // - Enable the API at:
2809
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
2810
+ * // - Login into gcloud by running:
2811
+ * // ```sh
2812
+ * // $ gcloud auth application-default login
2813
+ * // ```
2814
+ * // - Install the npm module by running:
2815
+ * // ```sh
2816
+ * // $ npm install googleapis
2817
+ * // ```
2818
+ *
2819
+ * const {google} = require('googleapis');
2820
+ * const networkservices = google.networkservices('v1beta1');
2821
+ *
2822
+ * async function main() {
2823
+ * const auth = new google.auth.GoogleAuth({
2824
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2825
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2826
+ * });
2827
+ *
2828
+ * // Acquire an auth client, and bind it to all future calls
2829
+ * const authClient = await auth.getClient();
2830
+ * google.options({auth: authClient});
2831
+ *
2832
+ * // Do the magic
2833
+ * const res = await networkservices.projects.locations.agentGateways.create({
2834
+ * // Required. Short name of the AgentGateway resource to be created.
2835
+ * agentGatewayId: 'placeholder-value',
2836
+ * // Required. The parent resource of the AgentGateway. Must be in the format `projects/x/locations/x`.
2837
+ * parent: 'projects/my-project/locations/my-location',
2838
+ *
2839
+ * // Request body metadata
2840
+ * requestBody: {
2841
+ * // request body parameters
2842
+ * // {
2843
+ * // "agentGatewayCard": {},
2844
+ * // "createTime": "my_createTime",
2845
+ * // "description": "my_description",
2846
+ * // "etag": "my_etag",
2847
+ * // "googleManaged": {},
2848
+ * // "labels": {},
2849
+ * // "name": "my_name",
2850
+ * // "networkConfig": {},
2851
+ * // "protocols": [],
2852
+ * // "registries": [],
2853
+ * // "selfManaged": {},
2854
+ * // "updateTime": "my_updateTime"
2855
+ * // }
2856
+ * },
2857
+ * });
2858
+ * console.log(res.data);
2859
+ *
2860
+ * // Example response
2861
+ * // {
2862
+ * // "done": false,
2863
+ * // "error": {},
2864
+ * // "metadata": {},
2865
+ * // "name": "my_name",
2866
+ * // "response": {}
2867
+ * // }
2868
+ * }
2869
+ *
2870
+ * main().catch(e => {
2871
+ * console.error(e);
2872
+ * throw e;
2873
+ * });
2874
+ *
2875
+ * ```
2876
+ *
2877
+ * @param params - Parameters for request
2878
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
2879
+ * @param callback - Optional callback that handles the response.
2880
+ * @returns A promise if used with async/await, or void if used with a callback.
2881
+ */
2882
+ create(
2883
+ params: Params$Resource$Projects$Locations$Agentgateways$Create,
2884
+ options: StreamMethodOptions
2885
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2886
+ create(
2887
+ params?: Params$Resource$Projects$Locations$Agentgateways$Create,
2888
+ options?: MethodOptions
2889
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2890
+ create(
2891
+ params: Params$Resource$Projects$Locations$Agentgateways$Create,
2892
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
2893
+ callback: BodyResponseCallback<Readable>
2894
+ ): void;
2895
+ create(
2896
+ params: Params$Resource$Projects$Locations$Agentgateways$Create,
2897
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
2898
+ callback: BodyResponseCallback<Schema$Operation>
2899
+ ): void;
2900
+ create(
2901
+ params: Params$Resource$Projects$Locations$Agentgateways$Create,
2902
+ callback: BodyResponseCallback<Schema$Operation>
2903
+ ): void;
2904
+ create(callback: BodyResponseCallback<Schema$Operation>): void;
2905
+ create(
2906
+ paramsOrCallback?:
2907
+ | Params$Resource$Projects$Locations$Agentgateways$Create
2908
+ | BodyResponseCallback<Schema$Operation>
2909
+ | BodyResponseCallback<Readable>,
2910
+ optionsOrCallback?:
2911
+ | MethodOptions
2912
+ | StreamMethodOptions
2913
+ | BodyResponseCallback<Schema$Operation>
2914
+ | BodyResponseCallback<Readable>,
2915
+ callback?:
2916
+ | BodyResponseCallback<Schema$Operation>
2917
+ | BodyResponseCallback<Readable>
2918
+ ):
2919
+ | void
2920
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
2921
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
2922
+ let params = (paramsOrCallback ||
2923
+ {}) as Params$Resource$Projects$Locations$Agentgateways$Create;
2924
+ let options = (optionsOrCallback || {}) as MethodOptions;
2925
+
2926
+ if (typeof paramsOrCallback === 'function') {
2927
+ callback = paramsOrCallback;
2928
+ params = {} as Params$Resource$Projects$Locations$Agentgateways$Create;
2929
+ options = {};
2930
+ }
2931
+
2932
+ if (typeof optionsOrCallback === 'function') {
2933
+ callback = optionsOrCallback;
2934
+ options = {};
2935
+ }
2936
+
2937
+ const rootUrl =
2938
+ options.rootUrl || 'https://networkservices.googleapis.com/';
2939
+ const parameters = {
2940
+ options: Object.assign(
2941
+ {
2942
+ url: (rootUrl + '/v1beta1/{+parent}/agentGateways').replace(
2943
+ /([^:]\/)\/+/g,
2944
+ '$1'
2945
+ ),
2946
+ method: 'POST',
2947
+ apiVersion: '',
2948
+ },
2949
+ options
2950
+ ),
2951
+ params,
2952
+ requiredParams: ['parent'],
2953
+ pathParams: ['parent'],
2954
+ context: this.context,
2955
+ };
2956
+ if (callback) {
2957
+ createAPIRequest<Schema$Operation>(
2958
+ parameters,
2959
+ callback as BodyResponseCallback<unknown>
2960
+ );
2961
+ } else {
2962
+ return createAPIRequest<Schema$Operation>(parameters);
2963
+ }
2964
+ }
2965
+
2966
+ /**
2967
+ * Deletes a single AgentGateway.
2968
+ * @example
2969
+ * ```js
2970
+ * // Before running the sample:
2971
+ * // - Enable the API at:
2972
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
2973
+ * // - Login into gcloud by running:
2974
+ * // ```sh
2975
+ * // $ gcloud auth application-default login
2976
+ * // ```
2977
+ * // - Install the npm module by running:
2978
+ * // ```sh
2979
+ * // $ npm install googleapis
2980
+ * // ```
2981
+ *
2982
+ * const {google} = require('googleapis');
2983
+ * const networkservices = google.networkservices('v1beta1');
2984
+ *
2985
+ * async function main() {
2986
+ * const auth = new google.auth.GoogleAuth({
2987
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
2988
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
2989
+ * });
2990
+ *
2991
+ * // Acquire an auth client, and bind it to all future calls
2992
+ * const authClient = await auth.getClient();
2993
+ * google.options({auth: authClient});
2994
+ *
2995
+ * // Do the magic
2996
+ * const res = await networkservices.projects.locations.agentGateways.delete({
2997
+ * // Optional. The etag of the AgentGateway to delete.
2998
+ * etag: 'placeholder-value',
2999
+ * // Required. A name of the AgentGateway to delete. Must be in the format `projects/x/locations/x/agentGateways/x`.
3000
+ * name: 'projects/my-project/locations/my-location/agentGateways/my-agentGateway',
3001
+ * });
3002
+ * console.log(res.data);
3003
+ *
3004
+ * // Example response
3005
+ * // {
3006
+ * // "done": false,
3007
+ * // "error": {},
3008
+ * // "metadata": {},
3009
+ * // "name": "my_name",
3010
+ * // "response": {}
3011
+ * // }
3012
+ * }
3013
+ *
3014
+ * main().catch(e => {
3015
+ * console.error(e);
3016
+ * throw e;
3017
+ * });
3018
+ *
3019
+ * ```
3020
+ *
3021
+ * @param params - Parameters for request
3022
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3023
+ * @param callback - Optional callback that handles the response.
3024
+ * @returns A promise if used with async/await, or void if used with a callback.
3025
+ */
3026
+ delete(
3027
+ params: Params$Resource$Projects$Locations$Agentgateways$Delete,
3028
+ options: StreamMethodOptions
3029
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3030
+ delete(
3031
+ params?: Params$Resource$Projects$Locations$Agentgateways$Delete,
3032
+ options?: MethodOptions
3033
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3034
+ delete(
3035
+ params: Params$Resource$Projects$Locations$Agentgateways$Delete,
3036
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3037
+ callback: BodyResponseCallback<Readable>
3038
+ ): void;
3039
+ delete(
3040
+ params: Params$Resource$Projects$Locations$Agentgateways$Delete,
3041
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
3042
+ callback: BodyResponseCallback<Schema$Operation>
3043
+ ): void;
3044
+ delete(
3045
+ params: Params$Resource$Projects$Locations$Agentgateways$Delete,
3046
+ callback: BodyResponseCallback<Schema$Operation>
3047
+ ): void;
3048
+ delete(callback: BodyResponseCallback<Schema$Operation>): void;
3049
+ delete(
3050
+ paramsOrCallback?:
3051
+ | Params$Resource$Projects$Locations$Agentgateways$Delete
3052
+ | BodyResponseCallback<Schema$Operation>
3053
+ | BodyResponseCallback<Readable>,
3054
+ optionsOrCallback?:
3055
+ | MethodOptions
3056
+ | StreamMethodOptions
3057
+ | BodyResponseCallback<Schema$Operation>
3058
+ | BodyResponseCallback<Readable>,
3059
+ callback?:
3060
+ | BodyResponseCallback<Schema$Operation>
3061
+ | BodyResponseCallback<Readable>
3062
+ ):
3063
+ | void
3064
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3065
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3066
+ let params = (paramsOrCallback ||
3067
+ {}) as Params$Resource$Projects$Locations$Agentgateways$Delete;
3068
+ let options = (optionsOrCallback || {}) as MethodOptions;
3069
+
3070
+ if (typeof paramsOrCallback === 'function') {
3071
+ callback = paramsOrCallback;
3072
+ params = {} as Params$Resource$Projects$Locations$Agentgateways$Delete;
3073
+ options = {};
3074
+ }
3075
+
3076
+ if (typeof optionsOrCallback === 'function') {
3077
+ callback = optionsOrCallback;
3078
+ options = {};
3079
+ }
3080
+
3081
+ const rootUrl =
3082
+ options.rootUrl || 'https://networkservices.googleapis.com/';
3083
+ const parameters = {
3084
+ options: Object.assign(
3085
+ {
3086
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
3087
+ method: 'DELETE',
3088
+ apiVersion: '',
3089
+ },
3090
+ options
3091
+ ),
3092
+ params,
3093
+ requiredParams: ['name'],
3094
+ pathParams: ['name'],
3095
+ context: this.context,
3096
+ };
3097
+ if (callback) {
3098
+ createAPIRequest<Schema$Operation>(
3099
+ parameters,
3100
+ callback as BodyResponseCallback<unknown>
3101
+ );
3102
+ } else {
3103
+ return createAPIRequest<Schema$Operation>(parameters);
3104
+ }
3105
+ }
3106
+
3107
+ /**
3108
+ * Gets details of a single AgentGateway.
2301
3109
  * @example
2302
3110
  * ```js
2303
3111
  * // Before running the sample:
@@ -2326,19 +3134,26 @@ export namespace networkservices_v1beta1 {
2326
3134
  * google.options({auth: authClient});
2327
3135
  *
2328
3136
  * // Do the magic
2329
- * const res = await networkservices.projects.locations.get({
2330
- * // Resource name for the location.
2331
- * name: 'projects/my-project/locations/my-location',
3137
+ * const res = await networkservices.projects.locations.agentGateways.get({
3138
+ * // Required. A name of the AgentGateway to get. Must be in the format `projects/x/locations/x/agentGateways/x`.
3139
+ * name: 'projects/my-project/locations/my-location/agentGateways/my-agentGateway',
2332
3140
  * });
2333
3141
  * console.log(res.data);
2334
3142
  *
2335
3143
  * // Example response
2336
3144
  * // {
2337
- * // "displayName": "my_displayName",
3145
+ * // "agentGatewayCard": {},
3146
+ * // "createTime": "my_createTime",
3147
+ * // "description": "my_description",
3148
+ * // "etag": "my_etag",
3149
+ * // "googleManaged": {},
2338
3150
  * // "labels": {},
2339
- * // "locationId": "my_locationId",
2340
- * // "metadata": {},
2341
- * // "name": "my_name"
3151
+ * // "name": "my_name",
3152
+ * // "networkConfig": {},
3153
+ * // "protocols": [],
3154
+ * // "registries": [],
3155
+ * // "selfManaged": {},
3156
+ * // "updateTime": "my_updateTime"
2342
3157
  * // }
2343
3158
  * }
2344
3159
  *
@@ -2355,52 +3170,52 @@ export namespace networkservices_v1beta1 {
2355
3170
  * @returns A promise if used with async/await, or void if used with a callback.
2356
3171
  */
2357
3172
  get(
2358
- params: Params$Resource$Projects$Locations$Get,
3173
+ params: Params$Resource$Projects$Locations$Agentgateways$Get,
2359
3174
  options: StreamMethodOptions
2360
3175
  ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2361
3176
  get(
2362
- params?: Params$Resource$Projects$Locations$Get,
3177
+ params?: Params$Resource$Projects$Locations$Agentgateways$Get,
2363
3178
  options?: MethodOptions
2364
- ): Promise<GaxiosResponseWithHTTP2<Schema$Location>>;
3179
+ ): Promise<GaxiosResponseWithHTTP2<Schema$AgentGateway>>;
2365
3180
  get(
2366
- params: Params$Resource$Projects$Locations$Get,
3181
+ params: Params$Resource$Projects$Locations$Agentgateways$Get,
2367
3182
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
2368
3183
  callback: BodyResponseCallback<Readable>
2369
3184
  ): void;
2370
3185
  get(
2371
- params: Params$Resource$Projects$Locations$Get,
2372
- options: MethodOptions | BodyResponseCallback<Schema$Location>,
2373
- callback: BodyResponseCallback<Schema$Location>
3186
+ params: Params$Resource$Projects$Locations$Agentgateways$Get,
3187
+ options: MethodOptions | BodyResponseCallback<Schema$AgentGateway>,
3188
+ callback: BodyResponseCallback<Schema$AgentGateway>
2374
3189
  ): void;
2375
3190
  get(
2376
- params: Params$Resource$Projects$Locations$Get,
2377
- callback: BodyResponseCallback<Schema$Location>
3191
+ params: Params$Resource$Projects$Locations$Agentgateways$Get,
3192
+ callback: BodyResponseCallback<Schema$AgentGateway>
2378
3193
  ): void;
2379
- get(callback: BodyResponseCallback<Schema$Location>): void;
3194
+ get(callback: BodyResponseCallback<Schema$AgentGateway>): void;
2380
3195
  get(
2381
3196
  paramsOrCallback?:
2382
- | Params$Resource$Projects$Locations$Get
2383
- | BodyResponseCallback<Schema$Location>
3197
+ | Params$Resource$Projects$Locations$Agentgateways$Get
3198
+ | BodyResponseCallback<Schema$AgentGateway>
2384
3199
  | BodyResponseCallback<Readable>,
2385
3200
  optionsOrCallback?:
2386
3201
  | MethodOptions
2387
3202
  | StreamMethodOptions
2388
- | BodyResponseCallback<Schema$Location>
3203
+ | BodyResponseCallback<Schema$AgentGateway>
2389
3204
  | BodyResponseCallback<Readable>,
2390
3205
  callback?:
2391
- | BodyResponseCallback<Schema$Location>
3206
+ | BodyResponseCallback<Schema$AgentGateway>
2392
3207
  | BodyResponseCallback<Readable>
2393
3208
  ):
2394
3209
  | void
2395
- | Promise<GaxiosResponseWithHTTP2<Schema$Location>>
3210
+ | Promise<GaxiosResponseWithHTTP2<Schema$AgentGateway>>
2396
3211
  | Promise<GaxiosResponseWithHTTP2<Readable>> {
2397
3212
  let params = (paramsOrCallback ||
2398
- {}) as Params$Resource$Projects$Locations$Get;
3213
+ {}) as Params$Resource$Projects$Locations$Agentgateways$Get;
2399
3214
  let options = (optionsOrCallback || {}) as MethodOptions;
2400
3215
 
2401
3216
  if (typeof paramsOrCallback === 'function') {
2402
3217
  callback = paramsOrCallback;
2403
- params = {} as Params$Resource$Projects$Locations$Get;
3218
+ params = {} as Params$Resource$Projects$Locations$Agentgateways$Get;
2404
3219
  options = {};
2405
3220
  }
2406
3221
 
@@ -2426,17 +3241,17 @@ export namespace networkservices_v1beta1 {
2426
3241
  context: this.context,
2427
3242
  };
2428
3243
  if (callback) {
2429
- createAPIRequest<Schema$Location>(
3244
+ createAPIRequest<Schema$AgentGateway>(
2430
3245
  parameters,
2431
3246
  callback as BodyResponseCallback<unknown>
2432
3247
  );
2433
3248
  } else {
2434
- return createAPIRequest<Schema$Location>(parameters);
3249
+ return createAPIRequest<Schema$AgentGateway>(parameters);
2435
3250
  }
2436
3251
  }
2437
3252
 
2438
3253
  /**
2439
- * Lists information about the supported locations for this service.
3254
+ * Lists AgentGateways in a given project and location.
2440
3255
  * @example
2441
3256
  * ```js
2442
3257
  * // Before running the sample:
@@ -2465,24 +3280,23 @@ export namespace networkservices_v1beta1 {
2465
3280
  * google.options({auth: authClient});
2466
3281
  *
2467
3282
  * // Do the magic
2468
- * const res = await networkservices.projects.locations.list({
2469
- * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
2470
- * extraLocationTypes: 'placeholder-value',
2471
- * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
2472
- * filter: 'placeholder-value',
2473
- * // The resource that owns the locations collection, if applicable.
2474
- * name: 'projects/my-project',
2475
- * // The maximum number of results to return. If not set, the service selects a default.
3283
+ * const res = await networkservices.projects.locations.agentGateways.list({
3284
+ * // Optional. Maximum number of AgentGateways to return per call.
2476
3285
  * pageSize: 'placeholder-value',
2477
- * // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
3286
+ * // Optional. The value returned by the last `ListAgentGatewaysResponse` Indicates that this is a continuation of a prior `ListAgentGateways` call, and that the system should return the next page of data.
2478
3287
  * pageToken: 'placeholder-value',
3288
+ * // Required. The project and location from which the AgentGateways should be listed, specified in the format `projects/x/locations/x`.
3289
+ * parent: 'projects/my-project/locations/my-location',
3290
+ * // Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
3291
+ * returnPartialSuccess: 'placeholder-value',
2479
3292
  * });
2480
3293
  * console.log(res.data);
2481
3294
  *
2482
3295
  * // Example response
2483
3296
  * // {
2484
- * // "locations": [],
2485
- * // "nextPageToken": "my_nextPageToken"
3297
+ * // "agentGateways": [],
3298
+ * // "nextPageToken": "my_nextPageToken",
3299
+ * // "unreachable": []
2486
3300
  * // }
2487
3301
  * }
2488
3302
  *
@@ -2499,54 +3313,56 @@ export namespace networkservices_v1beta1 {
2499
3313
  * @returns A promise if used with async/await, or void if used with a callback.
2500
3314
  */
2501
3315
  list(
2502
- params: Params$Resource$Projects$Locations$List,
3316
+ params: Params$Resource$Projects$Locations$Agentgateways$List,
2503
3317
  options: StreamMethodOptions
2504
3318
  ): Promise<GaxiosResponseWithHTTP2<Readable>>;
2505
3319
  list(
2506
- params?: Params$Resource$Projects$Locations$List,
3320
+ params?: Params$Resource$Projects$Locations$Agentgateways$List,
2507
3321
  options?: MethodOptions
2508
- ): Promise<GaxiosResponseWithHTTP2<Schema$ListLocationsResponse>>;
3322
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ListAgentGatewaysResponse>>;
2509
3323
  list(
2510
- params: Params$Resource$Projects$Locations$List,
3324
+ params: Params$Resource$Projects$Locations$Agentgateways$List,
2511
3325
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
2512
3326
  callback: BodyResponseCallback<Readable>
2513
3327
  ): void;
2514
3328
  list(
2515
- params: Params$Resource$Projects$Locations$List,
3329
+ params: Params$Resource$Projects$Locations$Agentgateways$List,
2516
3330
  options:
2517
3331
  | MethodOptions
2518
- | BodyResponseCallback<Schema$ListLocationsResponse>,
2519
- callback: BodyResponseCallback<Schema$ListLocationsResponse>
3332
+ | BodyResponseCallback<Schema$ListAgentGatewaysResponse>,
3333
+ callback: BodyResponseCallback<Schema$ListAgentGatewaysResponse>
2520
3334
  ): void;
2521
3335
  list(
2522
- params: Params$Resource$Projects$Locations$List,
2523
- callback: BodyResponseCallback<Schema$ListLocationsResponse>
3336
+ params: Params$Resource$Projects$Locations$Agentgateways$List,
3337
+ callback: BodyResponseCallback<Schema$ListAgentGatewaysResponse>
3338
+ ): void;
3339
+ list(
3340
+ callback: BodyResponseCallback<Schema$ListAgentGatewaysResponse>
2524
3341
  ): void;
2525
- list(callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
2526
3342
  list(
2527
3343
  paramsOrCallback?:
2528
- | Params$Resource$Projects$Locations$List
2529
- | BodyResponseCallback<Schema$ListLocationsResponse>
3344
+ | Params$Resource$Projects$Locations$Agentgateways$List
3345
+ | BodyResponseCallback<Schema$ListAgentGatewaysResponse>
2530
3346
  | BodyResponseCallback<Readable>,
2531
3347
  optionsOrCallback?:
2532
3348
  | MethodOptions
2533
3349
  | StreamMethodOptions
2534
- | BodyResponseCallback<Schema$ListLocationsResponse>
3350
+ | BodyResponseCallback<Schema$ListAgentGatewaysResponse>
2535
3351
  | BodyResponseCallback<Readable>,
2536
3352
  callback?:
2537
- | BodyResponseCallback<Schema$ListLocationsResponse>
3353
+ | BodyResponseCallback<Schema$ListAgentGatewaysResponse>
2538
3354
  | BodyResponseCallback<Readable>
2539
3355
  ):
2540
3356
  | void
2541
- | Promise<GaxiosResponseWithHTTP2<Schema$ListLocationsResponse>>
3357
+ | Promise<GaxiosResponseWithHTTP2<Schema$ListAgentGatewaysResponse>>
2542
3358
  | Promise<GaxiosResponseWithHTTP2<Readable>> {
2543
3359
  let params = (paramsOrCallback ||
2544
- {}) as Params$Resource$Projects$Locations$List;
3360
+ {}) as Params$Resource$Projects$Locations$Agentgateways$List;
2545
3361
  let options = (optionsOrCallback || {}) as MethodOptions;
2546
3362
 
2547
3363
  if (typeof paramsOrCallback === 'function') {
2548
3364
  callback = paramsOrCallback;
2549
- params = {} as Params$Resource$Projects$Locations$List;
3365
+ params = {} as Params$Resource$Projects$Locations$Agentgateways$List;
2550
3366
  options = {};
2551
3367
  }
2552
3368
 
@@ -2560,7 +3376,7 @@ export namespace networkservices_v1beta1 {
2560
3376
  const parameters = {
2561
3377
  options: Object.assign(
2562
3378
  {
2563
- url: (rootUrl + '/v1beta1/{+name}/locations').replace(
3379
+ url: (rootUrl + '/v1beta1/{+parent}/agentGateways').replace(
2564
3380
  /([^:]\/)\/+/g,
2565
3381
  '$1'
2566
3382
  ),
@@ -2570,48 +3386,244 @@ export namespace networkservices_v1beta1 {
2570
3386
  options
2571
3387
  ),
2572
3388
  params,
3389
+ requiredParams: ['parent'],
3390
+ pathParams: ['parent'],
3391
+ context: this.context,
3392
+ };
3393
+ if (callback) {
3394
+ createAPIRequest<Schema$ListAgentGatewaysResponse>(
3395
+ parameters,
3396
+ callback as BodyResponseCallback<unknown>
3397
+ );
3398
+ } else {
3399
+ return createAPIRequest<Schema$ListAgentGatewaysResponse>(parameters);
3400
+ }
3401
+ }
3402
+
3403
+ /**
3404
+ * Updates the parameters of a single AgentGateway.
3405
+ * @example
3406
+ * ```js
3407
+ * // Before running the sample:
3408
+ * // - Enable the API at:
3409
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
3410
+ * // - Login into gcloud by running:
3411
+ * // ```sh
3412
+ * // $ gcloud auth application-default login
3413
+ * // ```
3414
+ * // - Install the npm module by running:
3415
+ * // ```sh
3416
+ * // $ npm install googleapis
3417
+ * // ```
3418
+ *
3419
+ * const {google} = require('googleapis');
3420
+ * const networkservices = google.networkservices('v1beta1');
3421
+ *
3422
+ * async function main() {
3423
+ * const auth = new google.auth.GoogleAuth({
3424
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
3425
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
3426
+ * });
3427
+ *
3428
+ * // Acquire an auth client, and bind it to all future calls
3429
+ * const authClient = await auth.getClient();
3430
+ * google.options({auth: authClient});
3431
+ *
3432
+ * // Do the magic
3433
+ * const res = await networkservices.projects.locations.agentGateways.patch({
3434
+ * // Identifier. Name of the AgentGateway resource. It matches pattern `projects/x/locations/x/agentGateways/`.
3435
+ * name: 'projects/my-project/locations/my-location/agentGateways/my-agentGateway',
3436
+ * // Optional. Field mask is used to specify the fields to be overwritten in the AgentGateway resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
3437
+ * updateMask: 'placeholder-value',
3438
+ *
3439
+ * // Request body metadata
3440
+ * requestBody: {
3441
+ * // request body parameters
3442
+ * // {
3443
+ * // "agentGatewayCard": {},
3444
+ * // "createTime": "my_createTime",
3445
+ * // "description": "my_description",
3446
+ * // "etag": "my_etag",
3447
+ * // "googleManaged": {},
3448
+ * // "labels": {},
3449
+ * // "name": "my_name",
3450
+ * // "networkConfig": {},
3451
+ * // "protocols": [],
3452
+ * // "registries": [],
3453
+ * // "selfManaged": {},
3454
+ * // "updateTime": "my_updateTime"
3455
+ * // }
3456
+ * },
3457
+ * });
3458
+ * console.log(res.data);
3459
+ *
3460
+ * // Example response
3461
+ * // {
3462
+ * // "done": false,
3463
+ * // "error": {},
3464
+ * // "metadata": {},
3465
+ * // "name": "my_name",
3466
+ * // "response": {}
3467
+ * // }
3468
+ * }
3469
+ *
3470
+ * main().catch(e => {
3471
+ * console.error(e);
3472
+ * throw e;
3473
+ * });
3474
+ *
3475
+ * ```
3476
+ *
3477
+ * @param params - Parameters for request
3478
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3479
+ * @param callback - Optional callback that handles the response.
3480
+ * @returns A promise if used with async/await, or void if used with a callback.
3481
+ */
3482
+ patch(
3483
+ params: Params$Resource$Projects$Locations$Agentgateways$Patch,
3484
+ options: StreamMethodOptions
3485
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3486
+ patch(
3487
+ params?: Params$Resource$Projects$Locations$Agentgateways$Patch,
3488
+ options?: MethodOptions
3489
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3490
+ patch(
3491
+ params: Params$Resource$Projects$Locations$Agentgateways$Patch,
3492
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3493
+ callback: BodyResponseCallback<Readable>
3494
+ ): void;
3495
+ patch(
3496
+ params: Params$Resource$Projects$Locations$Agentgateways$Patch,
3497
+ options: MethodOptions | BodyResponseCallback<Schema$Operation>,
3498
+ callback: BodyResponseCallback<Schema$Operation>
3499
+ ): void;
3500
+ patch(
3501
+ params: Params$Resource$Projects$Locations$Agentgateways$Patch,
3502
+ callback: BodyResponseCallback<Schema$Operation>
3503
+ ): void;
3504
+ patch(callback: BodyResponseCallback<Schema$Operation>): void;
3505
+ patch(
3506
+ paramsOrCallback?:
3507
+ | Params$Resource$Projects$Locations$Agentgateways$Patch
3508
+ | BodyResponseCallback<Schema$Operation>
3509
+ | BodyResponseCallback<Readable>,
3510
+ optionsOrCallback?:
3511
+ | MethodOptions
3512
+ | StreamMethodOptions
3513
+ | BodyResponseCallback<Schema$Operation>
3514
+ | BodyResponseCallback<Readable>,
3515
+ callback?:
3516
+ | BodyResponseCallback<Schema$Operation>
3517
+ | BodyResponseCallback<Readable>
3518
+ ):
3519
+ | void
3520
+ | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
3521
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3522
+ let params = (paramsOrCallback ||
3523
+ {}) as Params$Resource$Projects$Locations$Agentgateways$Patch;
3524
+ let options = (optionsOrCallback || {}) as MethodOptions;
3525
+
3526
+ if (typeof paramsOrCallback === 'function') {
3527
+ callback = paramsOrCallback;
3528
+ params = {} as Params$Resource$Projects$Locations$Agentgateways$Patch;
3529
+ options = {};
3530
+ }
3531
+
3532
+ if (typeof optionsOrCallback === 'function') {
3533
+ callback = optionsOrCallback;
3534
+ options = {};
3535
+ }
3536
+
3537
+ const rootUrl =
3538
+ options.rootUrl || 'https://networkservices.googleapis.com/';
3539
+ const parameters = {
3540
+ options: Object.assign(
3541
+ {
3542
+ url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
3543
+ method: 'PATCH',
3544
+ apiVersion: '',
3545
+ },
3546
+ options
3547
+ ),
3548
+ params,
2573
3549
  requiredParams: ['name'],
2574
3550
  pathParams: ['name'],
2575
3551
  context: this.context,
2576
3552
  };
2577
3553
  if (callback) {
2578
- createAPIRequest<Schema$ListLocationsResponse>(
3554
+ createAPIRequest<Schema$Operation>(
2579
3555
  parameters,
2580
3556
  callback as BodyResponseCallback<unknown>
2581
3557
  );
2582
3558
  } else {
2583
- return createAPIRequest<Schema$ListLocationsResponse>(parameters);
3559
+ return createAPIRequest<Schema$Operation>(parameters);
2584
3560
  }
2585
3561
  }
2586
3562
  }
2587
3563
 
2588
- export interface Params$Resource$Projects$Locations$Get extends StandardParameters {
3564
+ export interface Params$Resource$Projects$Locations$Agentgateways$Create extends StandardParameters {
2589
3565
  /**
2590
- * Resource name for the location.
3566
+ * Required. Short name of the AgentGateway resource to be created.
2591
3567
  */
2592
- name?: string;
3568
+ agentGatewayId?: string;
3569
+ /**
3570
+ * Required. The parent resource of the AgentGateway. Must be in the format `projects/x/locations/x`.
3571
+ */
3572
+ parent?: string;
3573
+
3574
+ /**
3575
+ * Request body metadata
3576
+ */
3577
+ requestBody?: Schema$AgentGateway;
2593
3578
  }
2594
- export interface Params$Resource$Projects$Locations$List extends StandardParameters {
3579
+ export interface Params$Resource$Projects$Locations$Agentgateways$Delete extends StandardParameters {
2595
3580
  /**
2596
- * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
3581
+ * Optional. The etag of the AgentGateway to delete.
2597
3582
  */
2598
- extraLocationTypes?: string[];
3583
+ etag?: string;
2599
3584
  /**
2600
- * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
3585
+ * Required. A name of the AgentGateway to delete. Must be in the format `projects/x/locations/x/agentGateways/x`.
2601
3586
  */
2602
- filter?: string;
3587
+ name?: string;
3588
+ }
3589
+ export interface Params$Resource$Projects$Locations$Agentgateways$Get extends StandardParameters {
2603
3590
  /**
2604
- * The resource that owns the locations collection, if applicable.
3591
+ * Required. A name of the AgentGateway to get. Must be in the format `projects/x/locations/x/agentGateways/x`.
2605
3592
  */
2606
3593
  name?: string;
3594
+ }
3595
+ export interface Params$Resource$Projects$Locations$Agentgateways$List extends StandardParameters {
2607
3596
  /**
2608
- * The maximum number of results to return. If not set, the service selects a default.
3597
+ * Optional. Maximum number of AgentGateways to return per call.
2609
3598
  */
2610
3599
  pageSize?: number;
2611
3600
  /**
2612
- * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
3601
+ * Optional. The value returned by the last `ListAgentGatewaysResponse` Indicates that this is a continuation of a prior `ListAgentGateways` call, and that the system should return the next page of data.
2613
3602
  */
2614
3603
  pageToken?: string;
3604
+ /**
3605
+ * Required. The project and location from which the AgentGateways should be listed, specified in the format `projects/x/locations/x`.
3606
+ */
3607
+ parent?: string;
3608
+ /**
3609
+ * Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.
3610
+ */
3611
+ returnPartialSuccess?: boolean;
3612
+ }
3613
+ export interface Params$Resource$Projects$Locations$Agentgateways$Patch extends StandardParameters {
3614
+ /**
3615
+ * Identifier. Name of the AgentGateway resource. It matches pattern `projects/x/locations/x/agentGateways/`.
3616
+ */
3617
+ name?: string;
3618
+ /**
3619
+ * Optional. Field mask is used to specify the fields to be overwritten in the AgentGateway resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
3620
+ */
3621
+ updateMask?: string;
3622
+
3623
+ /**
3624
+ * Request body metadata
3625
+ */
3626
+ requestBody?: Schema$AgentGateway;
2615
3627
  }
2616
3628
 
2617
3629
  export class Resource$Projects$Locations$Authzextensions {
@@ -2666,6 +3678,7 @@ export namespace networkservices_v1beta1 {
2666
3678
  * // "createTime": "my_createTime",
2667
3679
  * // "description": "my_description",
2668
3680
  * // "failOpen": false,
3681
+ * // "forwardAttributes": [],
2669
3682
  * // "forwardHeaders": [],
2670
3683
  * // "labels": {},
2671
3684
  * // "loadBalancingScheme": "my_loadBalancingScheme",
@@ -2971,6 +3984,7 @@ export namespace networkservices_v1beta1 {
2971
3984
  * // "createTime": "my_createTime",
2972
3985
  * // "description": "my_description",
2973
3986
  * // "failOpen": false,
3987
+ * // "forwardAttributes": [],
2974
3988
  * // "forwardHeaders": [],
2975
3989
  * // "labels": {},
2976
3990
  * // "loadBalancingScheme": "my_loadBalancingScheme",
@@ -3274,6 +4288,7 @@ export namespace networkservices_v1beta1 {
3274
4288
  * // "createTime": "my_createTime",
3275
4289
  * // "description": "my_description",
3276
4290
  * // "failOpen": false,
4291
+ * // "forwardAttributes": [],
3277
4292
  * // "forwardHeaders": [],
3278
4293
  * // "labels": {},
3279
4294
  * // "loadBalancingScheme": "my_loadBalancingScheme",
@@ -4351,6 +5366,8 @@ export namespace networkservices_v1beta1 {
4351
5366
  * // request body parameters
4352
5367
  * // {
4353
5368
  * // "addresses": [],
5369
+ * // "allPorts": false,
5370
+ * // "allowGlobalAccess": false,
4354
5371
  * // "certificateUrls": [],
4355
5372
  * // "createTime": "my_createTime",
4356
5373
  * // "description": "my_description",
@@ -4657,6 +5674,8 @@ export namespace networkservices_v1beta1 {
4657
5674
  * // Example response
4658
5675
  * // {
4659
5676
  * // "addresses": [],
5677
+ * // "allPorts": false,
5678
+ * // "allowGlobalAccess": false,
4660
5679
  * // "certificateUrls": [],
4661
5680
  * // "createTime": "my_createTime",
4662
5681
  * // "description": "my_description",
@@ -4957,6 +5976,8 @@ export namespace networkservices_v1beta1 {
4957
5976
  * // request body parameters
4958
5977
  * // {
4959
5978
  * // "addresses": [],
5979
+ * // "allPorts": false,
5980
+ * // "allowGlobalAccess": false,
4960
5981
  * // "certificateUrls": [],
4961
5982
  * // "createTime": "my_createTime",
4962
5983
  * // "description": "my_description",
@@ -6320,6 +7341,8 @@ export namespace networkservices_v1beta1 {
6320
7341
  * httpRouteId: 'placeholder-value',
6321
7342
  * // Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/x`.
6322
7343
  * parent: 'projects/my-project/locations/my-location',
7344
+ * // Optional. Idempotent request UUID.
7345
+ * requestId: 'placeholder-value',
6323
7346
  *
6324
7347
  * // Request body metadata
6325
7348
  * requestBody: {
@@ -6760,6 +7783,8 @@ export namespace networkservices_v1beta1 {
6760
7783
  *
6761
7784
  * // Do the magic
6762
7785
  * const res = await networkservices.projects.locations.httpRoutes.list({
7786
+ * // Optional. Filter expression to restrict the list.
7787
+ * filter: 'placeholder-value',
6763
7788
  * // Maximum number of HttpRoutes to return per call.
6764
7789
  * pageSize: 'placeholder-value',
6765
7790
  * // The value returned by the last `ListHttpRoutesResponse` Indicates that this is a continuation of a prior `ListHttpRoutes` call, and that the system should return the next page of data.
@@ -7045,6 +8070,10 @@ export namespace networkservices_v1beta1 {
7045
8070
  * Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/x`.
7046
8071
  */
7047
8072
  parent?: string;
8073
+ /**
8074
+ * Optional. Idempotent request UUID.
8075
+ */
8076
+ requestId?: string;
7048
8077
 
7049
8078
  /**
7050
8079
  * Request body metadata
@@ -7064,6 +8093,10 @@ export namespace networkservices_v1beta1 {
7064
8093
  name?: string;
7065
8094
  }
7066
8095
  export interface Params$Resource$Projects$Locations$Httproutes$List extends StandardParameters {
8096
+ /**
8097
+ * Optional. Filter expression to restrict the list.
8098
+ */
8099
+ filter?: string;
7067
8100
  /**
7068
8101
  * Maximum number of HttpRoutes to return per call.
7069
8102
  */
@@ -12073,7 +13106,7 @@ export namespace networkservices_v1beta1 {
12073
13106
  * pageSize: 'placeholder-value',
12074
13107
  * // The standard list page token.
12075
13108
  * pageToken: 'placeholder-value',
12076
- * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
13109
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
12077
13110
  * returnPartialSuccess: 'placeholder-value',
12078
13111
  * });
12079
13112
  * console.log(res.data);
@@ -12226,7 +13259,7 @@ export namespace networkservices_v1beta1 {
12226
13259
  */
12227
13260
  pageToken?: string;
12228
13261
  /**
12229
- * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
13262
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
12230
13263
  */
12231
13264
  returnPartialSuccess?: boolean;
12232
13265
  }
@@ -14728,6 +15761,7 @@ export namespace networkservices_v1beta1 {
14728
15761
  * // "name": "my_name",
14729
15762
  * // "rules": [],
14730
15763
  * // "selfLink": "my_selfLink",
15764
+ * // "targetProxies": [],
14731
15765
  * // "updateTime": "my_updateTime"
14732
15766
  * // }
14733
15767
  * },
@@ -15025,6 +16059,7 @@ export namespace networkservices_v1beta1 {
15025
16059
  * // "name": "my_name",
15026
16060
  * // "rules": [],
15027
16061
  * // "selfLink": "my_selfLink",
16062
+ * // "targetProxies": [],
15028
16063
  * // "updateTime": "my_updateTime"
15029
16064
  * // }
15030
16065
  * }
@@ -15318,6 +16353,7 @@ export namespace networkservices_v1beta1 {
15318
16353
  * // "name": "my_name",
15319
16354
  * // "rules": [],
15320
16355
  * // "selfLink": "my_selfLink",
16356
+ * // "targetProxies": [],
15321
16357
  * // "updateTime": "my_updateTime"
15322
16358
  * // }
15323
16359
  * },
@@ -15541,6 +16577,8 @@ export namespace networkservices_v1beta1 {
15541
16577
  * // {
15542
16578
  * // "createTime": "my_createTime",
15543
16579
  * // "description": "my_description",
16580
+ * // "kmsKeyName": "my_kmsKeyName",
16581
+ * // "kmsKeyVersion": "my_kmsKeyVersion",
15544
16582
  * // "labels": {},
15545
16583
  * // "logConfig": {},
15546
16584
  * // "mainVersionId": "my_mainVersionId",
@@ -15840,6 +16878,8 @@ export namespace networkservices_v1beta1 {
15840
16878
  * // {
15841
16879
  * // "createTime": "my_createTime",
15842
16880
  * // "description": "my_description",
16881
+ * // "kmsKeyName": "my_kmsKeyName",
16882
+ * // "kmsKeyVersion": "my_kmsKeyVersion",
15843
16883
  * // "labels": {},
15844
16884
  * // "logConfig": {},
15845
16885
  * // "mainVersionId": "my_mainVersionId",
@@ -16131,6 +17171,8 @@ export namespace networkservices_v1beta1 {
16131
17171
  * // {
16132
17172
  * // "createTime": "my_createTime",
16133
17173
  * // "description": "my_description",
17174
+ * // "kmsKeyName": "my_kmsKeyName",
17175
+ * // "kmsKeyVersion": "my_kmsKeyVersion",
16134
17176
  * // "labels": {},
16135
17177
  * // "logConfig": {},
16136
17178
  * // "mainVersionId": "my_mainVersionId",