@googleapis/networkservices 34.2.1 → 38.0.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.
@@ -328,6 +328,50 @@ export declare namespace networkservices_v1beta1 {
328
328
  */
329
329
  export interface Schema$CancelOperationRequest {
330
330
  }
331
+ /**
332
+ * `CdnEdgeExtension` is a resource that lets the extension service modify the headers of both requests to the cache and responses from the cache served by an [`EdgeCacheService`](https://cloud.google.com/media-cdn/docs/reference/rest/v1/projects.locations.edgeCacheServices).
333
+ */
334
+ export interface Schema$CdnEdgeExtension {
335
+ /**
336
+ * Output only. The timestamp when the resource was created.
337
+ */
338
+ createTime?: string | null;
339
+ /**
340
+ * Optional. A human-readable description of the resource.
341
+ */
342
+ description?: string | null;
343
+ /**
344
+ * Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
345
+ */
346
+ extensionChains?: Schema$ExtensionChain[];
347
+ /**
348
+ * Optional. Set of labels associated with the `CdnEdgeExtension` resource. The format must comply with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-resources#requirements) for Google Cloud resources.
349
+ */
350
+ labels?: {
351
+ [key: string]: string;
352
+ } | null;
353
+ /**
354
+ * Required. Identifier. Name of the `CdnEdgeExtension` resource in the following format: `projects/{project\}/locations/{location\}/cdnEdgeExtensions/{cdn_edge_extension\}`.
355
+ */
356
+ name?: string | null;
357
+ /**
358
+ * Required. Specifies the set of resources to which this extension should be applied to.
359
+ */
360
+ target?: Schema$CdnEdgeExtensionTarget;
361
+ /**
362
+ * Output only. The timestamp when the resource was updated.
363
+ */
364
+ updateTime?: string | null;
365
+ }
366
+ /**
367
+ * Specifies the set of targets to which `CdnEdgeExtension` should be applied to.
368
+ */
369
+ export interface Schema$CdnEdgeExtensionTarget {
370
+ /**
371
+ * Required. A list of references to the resources that are targeted by `CdnEdgeExtension`. Types of resources supported: `EdgeCacheService`. The format must be the full resource name of [EdgeCacheService](https://cloud.google.com/media-cdn/docs/reference/rest/v1/projects.locations.edgeCacheServices) in the following format: `//networkservices.googleapis.com/projects/{project\}/locations/{location\}/edgeCacheServices/{edgeCacheService\}`.
372
+ */
373
+ resources?: string[] | null;
374
+ }
331
375
  /**
332
376
  * DNS Peering configuration.
333
377
  */
@@ -1668,6 +1712,23 @@ export declare namespace networkservices_v1beta1 {
1668
1712
  */
1669
1713
  unreachable?: string[] | null;
1670
1714
  }
1715
+ /**
1716
+ * Message for response to listing `CdnEdgeExtension` resources.
1717
+ */
1718
+ export interface Schema$ListCdnEdgeExtensionsResponse {
1719
+ /**
1720
+ * The list of `CdnEdgeExtension` resources.
1721
+ */
1722
+ cdnEdgeExtensions?: Schema$CdnEdgeExtension[];
1723
+ /**
1724
+ * A token identifying a page of results that the server returns.
1725
+ */
1726
+ nextPageToken?: string | null;
1727
+ /**
1728
+ * Locations that could not be reached.
1729
+ */
1730
+ unreachable?: string[] | null;
1731
+ }
1671
1732
  /**
1672
1733
  * Response returned by the ListEndpointPolicies method.
1673
1734
  */
@@ -2791,6 +2852,7 @@ export declare namespace networkservices_v1beta1 {
2791
2852
  agentConnectivityTemplates: Resource$Projects$Locations$Agentconnectivitytemplates;
2792
2853
  agentGateways: Resource$Projects$Locations$Agentgateways;
2793
2854
  authzExtensions: Resource$Projects$Locations$Authzextensions;
2855
+ cdnEdgeExtensions: Resource$Projects$Locations$Cdnedgeextensions;
2794
2856
  endpointPolicies: Resource$Projects$Locations$Endpointpolicies;
2795
2857
  extensionBindings: Resource$Projects$Locations$Extensionbindings;
2796
2858
  gateways: Resource$Projects$Locations$Gateways;
@@ -4323,6 +4385,454 @@ export declare namespace networkservices_v1beta1 {
4323
4385
  */
4324
4386
  requestBody?: Schema$AuthzExtension;
4325
4387
  }
4388
+ export class Resource$Projects$Locations$Cdnedgeextensions {
4389
+ context: APIRequestContext;
4390
+ constructor(context: APIRequestContext);
4391
+ /**
4392
+ * Creates a new `CdnEdgeExtension` resource in a given project and location.
4393
+ * @example
4394
+ * ```js
4395
+ * // Before running the sample:
4396
+ * // - Enable the API at:
4397
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
4398
+ * // - Login into gcloud by running:
4399
+ * // ```sh
4400
+ * // $ gcloud auth application-default login
4401
+ * // ```
4402
+ * // - Install the npm module by running:
4403
+ * // ```sh
4404
+ * // $ npm install googleapis
4405
+ * // ```
4406
+ *
4407
+ * const {google} = require('googleapis');
4408
+ * const networkservices = google.networkservices('v1beta1');
4409
+ *
4410
+ * async function main() {
4411
+ * const auth = new google.auth.GoogleAuth({
4412
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4413
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
4414
+ * });
4415
+ *
4416
+ * // Acquire an auth client, and bind it to all future calls
4417
+ * const authClient = await auth.getClient();
4418
+ * google.options({auth: authClient});
4419
+ *
4420
+ * // Do the magic
4421
+ * const res = await networkservices.projects.locations.cdnEdgeExtensions.create(
4422
+ * {
4423
+ * // Required. User-provided ID of the `CdnEdgeExtension` resource to be created.
4424
+ * cdnEdgeExtensionId: 'placeholder-value',
4425
+ * // Required. The parent resource of the `CdnEdgeExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
4426
+ * parent: 'projects/my-project/locations/my-location',
4427
+ * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4428
+ * requestId: 'placeholder-value',
4429
+ *
4430
+ * // Request body metadata
4431
+ * requestBody: {
4432
+ * // request body parameters
4433
+ * // {
4434
+ * // "createTime": "my_createTime",
4435
+ * // "description": "my_description",
4436
+ * // "extensionChains": [],
4437
+ * // "labels": {},
4438
+ * // "name": "my_name",
4439
+ * // "target": {},
4440
+ * // "updateTime": "my_updateTime"
4441
+ * // }
4442
+ * },
4443
+ * },
4444
+ * );
4445
+ * console.log(res.data);
4446
+ *
4447
+ * // Example response
4448
+ * // {
4449
+ * // "done": false,
4450
+ * // "error": {},
4451
+ * // "metadata": {},
4452
+ * // "name": "my_name",
4453
+ * // "response": {}
4454
+ * // }
4455
+ * }
4456
+ *
4457
+ * main().catch(e => {
4458
+ * console.error(e);
4459
+ * throw e;
4460
+ * });
4461
+ *
4462
+ * ```
4463
+ *
4464
+ * @param params - Parameters for request
4465
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4466
+ * @param callback - Optional callback that handles the response.
4467
+ * @returns A promise if used with async/await, or void if used with a callback.
4468
+ */
4469
+ create(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4470
+ create(params?: Params$Resource$Projects$Locations$Cdnedgeextensions$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4471
+ create(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4472
+ create(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4473
+ create(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Create, callback: BodyResponseCallback<Schema$Operation>): void;
4474
+ create(callback: BodyResponseCallback<Schema$Operation>): void;
4475
+ /**
4476
+ * Deletes the specified `CdnEdgeExtension` resource.
4477
+ * @example
4478
+ * ```js
4479
+ * // Before running the sample:
4480
+ * // - Enable the API at:
4481
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
4482
+ * // - Login into gcloud by running:
4483
+ * // ```sh
4484
+ * // $ gcloud auth application-default login
4485
+ * // ```
4486
+ * // - Install the npm module by running:
4487
+ * // ```sh
4488
+ * // $ npm install googleapis
4489
+ * // ```
4490
+ *
4491
+ * const {google} = require('googleapis');
4492
+ * const networkservices = google.networkservices('v1beta1');
4493
+ *
4494
+ * async function main() {
4495
+ * const auth = new google.auth.GoogleAuth({
4496
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4497
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
4498
+ * });
4499
+ *
4500
+ * // Acquire an auth client, and bind it to all future calls
4501
+ * const authClient = await auth.getClient();
4502
+ * google.options({auth: authClient});
4503
+ *
4504
+ * // Do the magic
4505
+ * const res = await networkservices.projects.locations.cdnEdgeExtensions.delete(
4506
+ * {
4507
+ * // Required. The name of the `CdnEdgeExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/cdnEdgeExtensions/{cdn_edge_extension\}`.
4508
+ * name: 'projects/my-project/locations/my-location/cdnEdgeExtensions/my-cdnEdgeExtension',
4509
+ * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4510
+ * requestId: 'placeholder-value',
4511
+ * },
4512
+ * );
4513
+ * console.log(res.data);
4514
+ *
4515
+ * // Example response
4516
+ * // {
4517
+ * // "done": false,
4518
+ * // "error": {},
4519
+ * // "metadata": {},
4520
+ * // "name": "my_name",
4521
+ * // "response": {}
4522
+ * // }
4523
+ * }
4524
+ *
4525
+ * main().catch(e => {
4526
+ * console.error(e);
4527
+ * throw e;
4528
+ * });
4529
+ *
4530
+ * ```
4531
+ *
4532
+ * @param params - Parameters for request
4533
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4534
+ * @param callback - Optional callback that handles the response.
4535
+ * @returns A promise if used with async/await, or void if used with a callback.
4536
+ */
4537
+ delete(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4538
+ delete(params?: Params$Resource$Projects$Locations$Cdnedgeextensions$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4539
+ delete(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4540
+ delete(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4541
+ delete(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
4542
+ delete(callback: BodyResponseCallback<Schema$Operation>): void;
4543
+ /**
4544
+ * Gets details of the specified `CdnEdgeExtension` resource.
4545
+ * @example
4546
+ * ```js
4547
+ * // Before running the sample:
4548
+ * // - Enable the API at:
4549
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
4550
+ * // - Login into gcloud by running:
4551
+ * // ```sh
4552
+ * // $ gcloud auth application-default login
4553
+ * // ```
4554
+ * // - Install the npm module by running:
4555
+ * // ```sh
4556
+ * // $ npm install googleapis
4557
+ * // ```
4558
+ *
4559
+ * const {google} = require('googleapis');
4560
+ * const networkservices = google.networkservices('v1beta1');
4561
+ *
4562
+ * async function main() {
4563
+ * const auth = new google.auth.GoogleAuth({
4564
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4565
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
4566
+ * });
4567
+ *
4568
+ * // Acquire an auth client, and bind it to all future calls
4569
+ * const authClient = await auth.getClient();
4570
+ * google.options({auth: authClient});
4571
+ *
4572
+ * // Do the magic
4573
+ * const res = await networkservices.projects.locations.cdnEdgeExtensions.get({
4574
+ * // Required. A name of the `CdnEdgeExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/cdnEdgeExtensions/{cdn_edge_extension\}`.
4575
+ * name: 'projects/my-project/locations/my-location/cdnEdgeExtensions/my-cdnEdgeExtension',
4576
+ * });
4577
+ * console.log(res.data);
4578
+ *
4579
+ * // Example response
4580
+ * // {
4581
+ * // "createTime": "my_createTime",
4582
+ * // "description": "my_description",
4583
+ * // "extensionChains": [],
4584
+ * // "labels": {},
4585
+ * // "name": "my_name",
4586
+ * // "target": {},
4587
+ * // "updateTime": "my_updateTime"
4588
+ * // }
4589
+ * }
4590
+ *
4591
+ * main().catch(e => {
4592
+ * console.error(e);
4593
+ * throw e;
4594
+ * });
4595
+ *
4596
+ * ```
4597
+ *
4598
+ * @param params - Parameters for request
4599
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4600
+ * @param callback - Optional callback that handles the response.
4601
+ * @returns A promise if used with async/await, or void if used with a callback.
4602
+ */
4603
+ get(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4604
+ get(params?: Params$Resource$Projects$Locations$Cdnedgeextensions$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$CdnEdgeExtension>>;
4605
+ get(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4606
+ get(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Get, options: MethodOptions | BodyResponseCallback<Schema$CdnEdgeExtension>, callback: BodyResponseCallback<Schema$CdnEdgeExtension>): void;
4607
+ get(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Get, callback: BodyResponseCallback<Schema$CdnEdgeExtension>): void;
4608
+ get(callback: BodyResponseCallback<Schema$CdnEdgeExtension>): void;
4609
+ /**
4610
+ * Lists `CdnEdgeExtensions` resources in a given project and location.
4611
+ * @example
4612
+ * ```js
4613
+ * // Before running the sample:
4614
+ * // - Enable the API at:
4615
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
4616
+ * // - Login into gcloud by running:
4617
+ * // ```sh
4618
+ * // $ gcloud auth application-default login
4619
+ * // ```
4620
+ * // - Install the npm module by running:
4621
+ * // ```sh
4622
+ * // $ npm install googleapis
4623
+ * // ```
4624
+ *
4625
+ * const {google} = require('googleapis');
4626
+ * const networkservices = google.networkservices('v1beta1');
4627
+ *
4628
+ * async function main() {
4629
+ * const auth = new google.auth.GoogleAuth({
4630
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4631
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
4632
+ * });
4633
+ *
4634
+ * // Acquire an auth client, and bind it to all future calls
4635
+ * const authClient = await auth.getClient();
4636
+ * google.options({auth: authClient});
4637
+ *
4638
+ * // Do the magic
4639
+ * const res = await networkservices.projects.locations.cdnEdgeExtensions.list({
4640
+ * // Optional. Filtering results.
4641
+ * filter: 'placeholder-value',
4642
+ * // Optional. Hint about how to order the results.
4643
+ * orderBy: 'placeholder-value',
4644
+ * // Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
4645
+ * pageSize: 'placeholder-value',
4646
+ * // Optional. A token identifying a page of results that the server returns.
4647
+ * pageToken: 'placeholder-value',
4648
+ * // Required. The project and location from which the `CdnEdgeExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
4649
+ * parent: 'projects/my-project/locations/my-location',
4650
+ * });
4651
+ * console.log(res.data);
4652
+ *
4653
+ * // Example response
4654
+ * // {
4655
+ * // "cdnEdgeExtensions": [],
4656
+ * // "nextPageToken": "my_nextPageToken",
4657
+ * // "unreachable": []
4658
+ * // }
4659
+ * }
4660
+ *
4661
+ * main().catch(e => {
4662
+ * console.error(e);
4663
+ * throw e;
4664
+ * });
4665
+ *
4666
+ * ```
4667
+ *
4668
+ * @param params - Parameters for request
4669
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4670
+ * @param callback - Optional callback that handles the response.
4671
+ * @returns A promise if used with async/await, or void if used with a callback.
4672
+ */
4673
+ list(params: Params$Resource$Projects$Locations$Cdnedgeextensions$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4674
+ list(params?: Params$Resource$Projects$Locations$Cdnedgeextensions$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListCdnEdgeExtensionsResponse>>;
4675
+ list(params: Params$Resource$Projects$Locations$Cdnedgeextensions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4676
+ list(params: Params$Resource$Projects$Locations$Cdnedgeextensions$List, options: MethodOptions | BodyResponseCallback<Schema$ListCdnEdgeExtensionsResponse>, callback: BodyResponseCallback<Schema$ListCdnEdgeExtensionsResponse>): void;
4677
+ list(params: Params$Resource$Projects$Locations$Cdnedgeextensions$List, callback: BodyResponseCallback<Schema$ListCdnEdgeExtensionsResponse>): void;
4678
+ list(callback: BodyResponseCallback<Schema$ListCdnEdgeExtensionsResponse>): void;
4679
+ /**
4680
+ * Updates the parameters of the specified `CdnEdgeExtension` resource.
4681
+ * @example
4682
+ * ```js
4683
+ * // Before running the sample:
4684
+ * // - Enable the API at:
4685
+ * // https://console.developers.google.com/apis/api/networkservices.googleapis.com
4686
+ * // - Login into gcloud by running:
4687
+ * // ```sh
4688
+ * // $ gcloud auth application-default login
4689
+ * // ```
4690
+ * // - Install the npm module by running:
4691
+ * // ```sh
4692
+ * // $ npm install googleapis
4693
+ * // ```
4694
+ *
4695
+ * const {google} = require('googleapis');
4696
+ * const networkservices = google.networkservices('v1beta1');
4697
+ *
4698
+ * async function main() {
4699
+ * const auth = new google.auth.GoogleAuth({
4700
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4701
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
4702
+ * });
4703
+ *
4704
+ * // Acquire an auth client, and bind it to all future calls
4705
+ * const authClient = await auth.getClient();
4706
+ * google.options({auth: authClient});
4707
+ *
4708
+ * // Do the magic
4709
+ * const res = await networkservices.projects.locations.cdnEdgeExtensions.patch({
4710
+ * // Required. Identifier. Name of the `CdnEdgeExtension` resource in the following format: `projects/{project\}/locations/{location\}/cdnEdgeExtensions/{cdn_edge_extension\}`.
4711
+ * name: 'projects/my-project/locations/my-location/cdnEdgeExtensions/my-cdnEdgeExtension',
4712
+ * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4713
+ * requestId: 'placeholder-value',
4714
+ * // Optional. Used to specify the fields to be overwritten in the `CdnEdgeExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.
4715
+ * updateMask: 'placeholder-value',
4716
+ *
4717
+ * // Request body metadata
4718
+ * requestBody: {
4719
+ * // request body parameters
4720
+ * // {
4721
+ * // "createTime": "my_createTime",
4722
+ * // "description": "my_description",
4723
+ * // "extensionChains": [],
4724
+ * // "labels": {},
4725
+ * // "name": "my_name",
4726
+ * // "target": {},
4727
+ * // "updateTime": "my_updateTime"
4728
+ * // }
4729
+ * },
4730
+ * });
4731
+ * console.log(res.data);
4732
+ *
4733
+ * // Example response
4734
+ * // {
4735
+ * // "done": false,
4736
+ * // "error": {},
4737
+ * // "metadata": {},
4738
+ * // "name": "my_name",
4739
+ * // "response": {}
4740
+ * // }
4741
+ * }
4742
+ *
4743
+ * main().catch(e => {
4744
+ * console.error(e);
4745
+ * throw e;
4746
+ * });
4747
+ *
4748
+ * ```
4749
+ *
4750
+ * @param params - Parameters for request
4751
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4752
+ * @param callback - Optional callback that handles the response.
4753
+ * @returns A promise if used with async/await, or void if used with a callback.
4754
+ */
4755
+ patch(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4756
+ patch(params?: Params$Resource$Projects$Locations$Cdnedgeextensions$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4757
+ patch(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4758
+ patch(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4759
+ patch(params: Params$Resource$Projects$Locations$Cdnedgeextensions$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
4760
+ patch(callback: BodyResponseCallback<Schema$Operation>): void;
4761
+ }
4762
+ export interface Params$Resource$Projects$Locations$Cdnedgeextensions$Create extends StandardParameters {
4763
+ /**
4764
+ * Required. User-provided ID of the `CdnEdgeExtension` resource to be created.
4765
+ */
4766
+ cdnEdgeExtensionId?: string;
4767
+ /**
4768
+ * Required. The parent resource of the `CdnEdgeExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`.
4769
+ */
4770
+ parent?: string;
4771
+ /**
4772
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4773
+ */
4774
+ requestId?: string;
4775
+ /**
4776
+ * Request body metadata
4777
+ */
4778
+ requestBody?: Schema$CdnEdgeExtension;
4779
+ }
4780
+ export interface Params$Resource$Projects$Locations$Cdnedgeextensions$Delete extends StandardParameters {
4781
+ /**
4782
+ * Required. The name of the `CdnEdgeExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/cdnEdgeExtensions/{cdn_edge_extension\}`.
4783
+ */
4784
+ name?: string;
4785
+ /**
4786
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4787
+ */
4788
+ requestId?: string;
4789
+ }
4790
+ export interface Params$Resource$Projects$Locations$Cdnedgeextensions$Get extends StandardParameters {
4791
+ /**
4792
+ * Required. A name of the `CdnEdgeExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/cdnEdgeExtensions/{cdn_edge_extension\}`.
4793
+ */
4794
+ name?: string;
4795
+ }
4796
+ export interface Params$Resource$Projects$Locations$Cdnedgeextensions$List extends StandardParameters {
4797
+ /**
4798
+ * Optional. Filtering results.
4799
+ */
4800
+ filter?: string;
4801
+ /**
4802
+ * Optional. Hint about how to order the results.
4803
+ */
4804
+ orderBy?: string;
4805
+ /**
4806
+ * Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
4807
+ */
4808
+ pageSize?: number;
4809
+ /**
4810
+ * Optional. A token identifying a page of results that the server returns.
4811
+ */
4812
+ pageToken?: string;
4813
+ /**
4814
+ * Required. The project and location from which the `CdnEdgeExtension` resources are listed. These values are specified in the following format: `projects/{project\}/locations/{location\}`.
4815
+ */
4816
+ parent?: string;
4817
+ }
4818
+ export interface Params$Resource$Projects$Locations$Cdnedgeextensions$Patch extends StandardParameters {
4819
+ /**
4820
+ * Required. Identifier. Name of the `CdnEdgeExtension` resource in the following format: `projects/{project\}/locations/{location\}/cdnEdgeExtensions/{cdn_edge_extension\}`.
4821
+ */
4822
+ name?: string;
4823
+ /**
4824
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4825
+ */
4826
+ requestId?: string;
4827
+ /**
4828
+ * Optional. Used to specify the fields to be overwritten in the `CdnEdgeExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.
4829
+ */
4830
+ updateMask?: string;
4831
+ /**
4832
+ * Request body metadata
4833
+ */
4834
+ requestBody?: Schema$CdnEdgeExtension;
4835
+ }
4326
4836
  export class Resource$Projects$Locations$Endpointpolicies {
4327
4837
  context: APIRequestContext;
4328
4838
  constructor(context: APIRequestContext);