@maxim_mazurok/gapi.client.networksecurity-v1beta1 0.0.20230130 → 0.0.20230306

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.
Files changed (3) hide show
  1. package/index.d.ts +1054 -57
  2. package/package.json +1 -1
  3. package/tests.ts +175 -13
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://networksecurity.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20230130
12
+ // Revision: 20230306
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -22,6 +22,38 @@ declare namespace gapi.client {
22
22
  function load(name: "networksecurity", version: "v1beta1", callback: () => any): void;
23
23
 
24
24
  namespace networksecurity {
25
+ interface AddAddressGroupItemsRequest {
26
+ /** Required. List of items to add. */
27
+ items?: string[];
28
+ /**
29
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
30
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
31
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore
32
+ * 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
33
+ * (00000000-0000-0000-0000-000000000000).
34
+ */
35
+ requestId?: string;
36
+ }
37
+ interface AddressGroup {
38
+ /** Required. Capacity of the Address Group */
39
+ capacity?: number;
40
+ /** Output only. The timestamp when the resource was created. */
41
+ createTime?: string;
42
+ /** Optional. Free-text description of the resource. */
43
+ description?: string;
44
+ /** Optional. List of items. */
45
+ items?: string[];
46
+ /** Optional. Set of label tags associated with the AddressGroup resource. */
47
+ labels?: { [P in string]: string };
48
+ /** Required. Name of the AddressGroup resource. It matches pattern `projects/*‍/locations/{location}/addressGroups/`. */
49
+ name?: string;
50
+ /** Output only. Server-defined fully-qualified URL for this resource. */
51
+ selfLink?: string;
52
+ /** Required. The type of the Address Group. Possible values are "IPv4" or "IPV6". */
53
+ type?: string;
54
+ /** Output only. The timestamp when the resource was updated. */
55
+ updateTime?: string;
56
+ }
25
57
  interface AuthorizationPolicy {
26
58
  /** Required. The action to take when a rule match is found. Possible values are "ALLOW" or "DENY". */
27
59
  action?: string;
@@ -69,6 +101,18 @@ declare namespace gapi.client {
69
101
  /** Output only. The timestamp when the resource was updated. */
70
102
  updateTime?: string;
71
103
  }
104
+ interface CloneAddressGroupItemsRequest {
105
+ /**
106
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
107
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
108
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore
109
+ * 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
110
+ * (00000000-0000-0000-0000-000000000000).
111
+ */
112
+ requestId?: string;
113
+ /** Required. Source address group to clone items from. */
114
+ sourceAddressGroup?: string;
115
+ }
72
116
  interface Destination {
73
117
  /**
74
118
  * Required. List of host names to match. Matched against the ":authority" header in http requests. At least one host should match. Each host can be an exact match, or a prefix match
@@ -214,6 +258,30 @@ declare namespace gapi.client {
214
258
  */
215
259
  regexMatch?: string;
216
260
  }
261
+ interface ListAddressGroupReferencesResponse {
262
+ /** A list of references that matches the specified filter in the request. */
263
+ addressGroupReferences?: ListAddressGroupReferencesResponseAddressGroupReference[];
264
+ /**
265
+ * 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
266
+ * `next_page_token` as `page_token`.
267
+ */
268
+ nextPageToken?: string;
269
+ }
270
+ interface ListAddressGroupReferencesResponseAddressGroupReference {
271
+ /** FirewallPolicy that is using the Address Group. */
272
+ firewallPolicy?: string;
273
+ /** Rule priority of the FirewallPolicy that is using the Address Group. */
274
+ rulePriority?: number;
275
+ }
276
+ interface ListAddressGroupsResponse {
277
+ /** List of AddressGroups resources. */
278
+ addressGroups?: AddressGroup[];
279
+ /**
280
+ * 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
281
+ * `next_page_token` as `page_token`.
282
+ */
283
+ nextPageToken?: string;
284
+ }
217
285
  interface ListAuthorizationPoliciesResponse {
218
286
  /** List of AuthorizationPolicies resources. */
219
287
  authorizationPolicies?: AuthorizationPolicy[];
@@ -310,6 +378,18 @@ declare namespace gapi.client {
310
378
  /** Output only. Name of the verb executed by the operation. */
311
379
  verb?: string;
312
380
  }
381
+ interface RemoveAddressGroupItemsRequest {
382
+ /** Required. List of items to remove. */
383
+ items?: string[];
384
+ /**
385
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
386
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
387
+ * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore
388
+ * 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
389
+ * (00000000-0000-0000-0000-000000000000).
390
+ */
391
+ requestId?: string;
392
+ }
313
393
  interface Rule {
314
394
  /**
315
395
  * Optional. List of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods
@@ -380,18 +460,695 @@ declare namespace gapi.client {
380
460
  /** gRPC specific configuration to access the gRPC server to obtain the CA certificate. */
381
461
  grpcEndpoint?: GoogleCloudNetworksecurityV1beta1GrpcEndpoint;
382
462
  }
383
- interface OperationsResource {
384
- /**
385
- * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support
386
- * this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the
387
- * operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
388
- * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
389
- */
390
- cancel(request: {
463
+ interface AddressGroupsResource {
464
+ /** Adds items to an address group. */
465
+ addItems(request: {
466
+ /** V1 error format. */
467
+ "$.xgafv"?: string;
468
+ /** OAuth access token. */
469
+ access_token?: string;
470
+ /** Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
471
+ addressGroup: string;
472
+ /** Data format for response. */
473
+ alt?: string;
474
+ /** JSONP */
475
+ callback?: string;
476
+ /** Selector specifying which fields to include in a partial response. */
477
+ fields?: string;
478
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
479
+ key?: string;
480
+ /** OAuth 2.0 token for the current user. */
481
+ oauth_token?: string;
482
+ /** Returns response with indentations and line breaks. */
483
+ prettyPrint?: boolean;
484
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
485
+ quotaUser?: string;
486
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
487
+ upload_protocol?: string;
488
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
489
+ uploadType?: string;
490
+ /** Request body */
491
+ resource: AddAddressGroupItemsRequest;
492
+ }): Request<Operation>;
493
+ addItems(request: {
494
+ /** V1 error format. */
495
+ "$.xgafv"?: string;
496
+ /** OAuth access token. */
497
+ access_token?: string;
498
+ /** Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
499
+ addressGroup: string;
500
+ /** Data format for response. */
501
+ alt?: string;
502
+ /** JSONP */
503
+ callback?: string;
504
+ /** Selector specifying which fields to include in a partial response. */
505
+ fields?: string;
506
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
507
+ key?: string;
508
+ /** OAuth 2.0 token for the current user. */
509
+ oauth_token?: string;
510
+ /** Returns response with indentations and line breaks. */
511
+ prettyPrint?: boolean;
512
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
513
+ quotaUser?: string;
514
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
515
+ upload_protocol?: string;
516
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
517
+ uploadType?: string;
518
+ },
519
+ body: AddAddressGroupItemsRequest): Request<Operation>;
520
+ /** Clones items from one address group to another. */
521
+ cloneItems(request: {
522
+ /** V1 error format. */
523
+ "$.xgafv"?: string;
524
+ /** OAuth access token. */
525
+ access_token?: string;
526
+ /** Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
527
+ addressGroup: string;
528
+ /** Data format for response. */
529
+ alt?: string;
530
+ /** JSONP */
531
+ callback?: string;
532
+ /** Selector specifying which fields to include in a partial response. */
533
+ fields?: string;
534
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
535
+ key?: string;
536
+ /** OAuth 2.0 token for the current user. */
537
+ oauth_token?: string;
538
+ /** Returns response with indentations and line breaks. */
539
+ prettyPrint?: boolean;
540
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
541
+ quotaUser?: string;
542
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
543
+ upload_protocol?: string;
544
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
545
+ uploadType?: string;
546
+ /** Request body */
547
+ resource: CloneAddressGroupItemsRequest;
548
+ }): Request<Operation>;
549
+ cloneItems(request: {
550
+ /** V1 error format. */
551
+ "$.xgafv"?: string;
552
+ /** OAuth access token. */
553
+ access_token?: string;
554
+ /** Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
555
+ addressGroup: string;
556
+ /** Data format for response. */
557
+ alt?: string;
558
+ /** JSONP */
559
+ callback?: string;
560
+ /** Selector specifying which fields to include in a partial response. */
561
+ fields?: string;
562
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
563
+ key?: string;
564
+ /** OAuth 2.0 token for the current user. */
565
+ oauth_token?: string;
566
+ /** Returns response with indentations and line breaks. */
567
+ prettyPrint?: boolean;
568
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
569
+ quotaUser?: string;
570
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
571
+ upload_protocol?: string;
572
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
573
+ uploadType?: string;
574
+ },
575
+ body: CloneAddressGroupItemsRequest): Request<Operation>;
576
+ /** Creates a new address group in a given project and location. */
577
+ create(request: {
578
+ /** V1 error format. */
579
+ "$.xgafv"?: string;
580
+ /** OAuth access token. */
581
+ access_token?: string;
582
+ /**
583
+ * Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and
584
+ * should not start with a number. E.g. "authz_policy".
585
+ */
586
+ addressGroupId?: string;
587
+ /** Data format for response. */
588
+ alt?: string;
589
+ /** JSONP */
590
+ callback?: string;
591
+ /** Selector specifying which fields to include in a partial response. */
592
+ fields?: string;
593
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
594
+ key?: string;
595
+ /** OAuth 2.0 token for the current user. */
596
+ oauth_token?: string;
597
+ /** Required. The parent resource of the AddressGroup. Must be in the format `projects/*‍/locations/{location}`. */
598
+ parent: string;
599
+ /** Returns response with indentations and line breaks. */
600
+ prettyPrint?: boolean;
601
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
602
+ quotaUser?: string;
603
+ /**
604
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
605
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
606
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
607
+ * ignore 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
608
+ * supported (00000000-0000-0000-0000-000000000000).
609
+ */
610
+ requestId?: string;
611
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
612
+ upload_protocol?: string;
613
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
614
+ uploadType?: string;
615
+ /** Request body */
616
+ resource: AddressGroup;
617
+ }): Request<Operation>;
618
+ create(request: {
619
+ /** V1 error format. */
620
+ "$.xgafv"?: string;
621
+ /** OAuth access token. */
622
+ access_token?: string;
623
+ /**
624
+ * Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and
625
+ * should not start with a number. E.g. "authz_policy".
626
+ */
627
+ addressGroupId?: string;
628
+ /** Data format for response. */
629
+ alt?: string;
630
+ /** JSONP */
631
+ callback?: string;
632
+ /** Selector specifying which fields to include in a partial response. */
633
+ fields?: string;
634
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
635
+ key?: string;
636
+ /** OAuth 2.0 token for the current user. */
637
+ oauth_token?: string;
638
+ /** Required. The parent resource of the AddressGroup. Must be in the format `projects/*‍/locations/{location}`. */
639
+ parent: string;
640
+ /** Returns response with indentations and line breaks. */
641
+ prettyPrint?: boolean;
642
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
643
+ quotaUser?: string;
644
+ /**
645
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
646
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
647
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
648
+ * ignore 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
649
+ * supported (00000000-0000-0000-0000-000000000000).
650
+ */
651
+ requestId?: string;
652
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
653
+ upload_protocol?: string;
654
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
655
+ uploadType?: string;
656
+ },
657
+ body: AddressGroup): Request<Operation>;
658
+ /** Deletes an address group. */
659
+ delete(request?: {
660
+ /** V1 error format. */
661
+ "$.xgafv"?: string;
662
+ /** OAuth access token. */
663
+ access_token?: string;
664
+ /** Data format for response. */
665
+ alt?: string;
666
+ /** JSONP */
667
+ callback?: string;
668
+ /** Selector specifying which fields to include in a partial response. */
669
+ fields?: string;
670
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
671
+ key?: string;
672
+ /** Required. A name of the AddressGroup to delete. Must be in the format `projects/*‍/locations/{location}/addressGroups/*`. */
673
+ name: string;
674
+ /** OAuth 2.0 token for the current user. */
675
+ oauth_token?: string;
676
+ /** Returns response with indentations and line breaks. */
677
+ prettyPrint?: boolean;
678
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
679
+ quotaUser?: string;
680
+ /**
681
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
682
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
683
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
684
+ * ignore 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
685
+ * supported (00000000-0000-0000-0000-000000000000).
686
+ */
687
+ requestId?: string;
688
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
689
+ upload_protocol?: string;
690
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
691
+ uploadType?: string;
692
+ }): Request<Operation>;
693
+ /** Gets details of a single address group. */
694
+ get(request?: {
695
+ /** V1 error format. */
696
+ "$.xgafv"?: string;
697
+ /** OAuth access token. */
698
+ access_token?: string;
699
+ /** Data format for response. */
700
+ alt?: string;
701
+ /** JSONP */
702
+ callback?: string;
703
+ /** Selector specifying which fields to include in a partial response. */
704
+ fields?: string;
705
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
706
+ key?: string;
707
+ /** Required. A name of the AddressGroup to get. Must be in the format `projects/*‍/locations/{location}/addressGroups/*`. */
708
+ name: string;
709
+ /** OAuth 2.0 token for the current user. */
710
+ oauth_token?: string;
711
+ /** Returns response with indentations and line breaks. */
712
+ prettyPrint?: boolean;
713
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
714
+ quotaUser?: string;
715
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
716
+ upload_protocol?: string;
717
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
718
+ uploadType?: string;
719
+ }): Request<AddressGroup>;
720
+ /** Lists address groups in a given project and location. */
721
+ list(request?: {
722
+ /** V1 error format. */
723
+ "$.xgafv"?: string;
724
+ /** OAuth access token. */
725
+ access_token?: string;
726
+ /** Data format for response. */
727
+ alt?: string;
728
+ /** JSONP */
729
+ callback?: string;
730
+ /** Selector specifying which fields to include in a partial response. */
731
+ fields?: string;
732
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
733
+ key?: string;
734
+ /** OAuth 2.0 token for the current user. */
735
+ oauth_token?: string;
736
+ /** Maximum number of AddressGroups to return per call. */
737
+ pageSize?: number;
738
+ /**
739
+ * The value returned by the last `ListAddressGroupsResponse` Indicates that this is a continuation of a prior `ListAddressGroups` call, and that the system should return the next
740
+ * page of data.
741
+ */
742
+ pageToken?: string;
743
+ /** Required. The project and location from which the AddressGroups should be listed, specified in the format `projects/*‍/locations/{location}`. */
744
+ parent: string;
745
+ /** Returns response with indentations and line breaks. */
746
+ prettyPrint?: boolean;
747
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
748
+ quotaUser?: string;
749
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
750
+ upload_protocol?: string;
751
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
752
+ uploadType?: string;
753
+ }): Request<ListAddressGroupsResponse>;
754
+ /** Lists references of an address group. */
755
+ listReferences(request?: {
756
+ /** V1 error format. */
757
+ "$.xgafv"?: string;
758
+ /** OAuth access token. */
759
+ access_token?: string;
760
+ /** Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
761
+ addressGroup: string;
762
+ /** Data format for response. */
763
+ alt?: string;
764
+ /** JSONP */
765
+ callback?: string;
766
+ /** Selector specifying which fields to include in a partial response. */
767
+ fields?: string;
768
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
769
+ key?: string;
770
+ /** OAuth 2.0 token for the current user. */
771
+ oauth_token?: string;
772
+ /**
773
+ * The maximum number of references to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on
774
+ * response's next_page_token to determine if there are more AddressGroupUsers left to be queried.
775
+ */
776
+ pageSize?: number;
777
+ /** The next_page_token value returned from a previous List request, if any. */
778
+ pageToken?: string;
779
+ /** Returns response with indentations and line breaks. */
780
+ prettyPrint?: boolean;
781
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
782
+ quotaUser?: string;
783
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
784
+ upload_protocol?: string;
785
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
786
+ uploadType?: string;
787
+ }): Request<ListAddressGroupReferencesResponse>;
788
+ /** Updates parameters of an address group. */
789
+ patch(request: {
790
+ /** V1 error format. */
791
+ "$.xgafv"?: string;
792
+ /** OAuth access token. */
793
+ access_token?: string;
794
+ /** Data format for response. */
795
+ alt?: string;
796
+ /** JSONP */
797
+ callback?: string;
798
+ /** Selector specifying which fields to include in a partial response. */
799
+ fields?: string;
800
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
801
+ key?: string;
802
+ /** Required. Name of the AddressGroup resource. It matches pattern `projects/*‍/locations/{location}/addressGroups/`. */
803
+ name: string;
804
+ /** OAuth 2.0 token for the current user. */
805
+ oauth_token?: string;
806
+ /** Returns response with indentations and line breaks. */
807
+ prettyPrint?: boolean;
808
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
809
+ quotaUser?: string;
810
+ /**
811
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
812
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
813
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
814
+ * ignore 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
815
+ * supported (00000000-0000-0000-0000-000000000000).
816
+ */
817
+ requestId?: string;
818
+ /**
819
+ * Optional. Field mask is used to specify the fields to be overwritten in the AddressGroup resource by the update. The fields specified in the update_mask are relative to the
820
+ * 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.
821
+ */
822
+ updateMask?: string;
823
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
824
+ upload_protocol?: string;
825
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
826
+ uploadType?: string;
827
+ /** Request body */
828
+ resource: AddressGroup;
829
+ }): Request<Operation>;
830
+ patch(request: {
831
+ /** V1 error format. */
832
+ "$.xgafv"?: string;
833
+ /** OAuth access token. */
834
+ access_token?: string;
835
+ /** Data format for response. */
836
+ alt?: string;
837
+ /** JSONP */
838
+ callback?: string;
839
+ /** Selector specifying which fields to include in a partial response. */
840
+ fields?: string;
841
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
842
+ key?: string;
843
+ /** Required. Name of the AddressGroup resource. It matches pattern `projects/*‍/locations/{location}/addressGroups/`. */
844
+ name: string;
845
+ /** OAuth 2.0 token for the current user. */
846
+ oauth_token?: string;
847
+ /** Returns response with indentations and line breaks. */
848
+ prettyPrint?: boolean;
849
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
850
+ quotaUser?: string;
851
+ /**
852
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
853
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
854
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
855
+ * ignore 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
856
+ * supported (00000000-0000-0000-0000-000000000000).
857
+ */
858
+ requestId?: string;
859
+ /**
860
+ * Optional. Field mask is used to specify the fields to be overwritten in the AddressGroup resource by the update. The fields specified in the update_mask are relative to the
861
+ * 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.
862
+ */
863
+ updateMask?: string;
864
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
865
+ upload_protocol?: string;
866
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
867
+ uploadType?: string;
868
+ },
869
+ body: AddressGroup): Request<Operation>;
870
+ /** Removes items from an address group. */
871
+ removeItems(request: {
872
+ /** V1 error format. */
873
+ "$.xgafv"?: string;
874
+ /** OAuth access token. */
875
+ access_token?: string;
876
+ /** Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
877
+ addressGroup: string;
878
+ /** Data format for response. */
879
+ alt?: string;
880
+ /** JSONP */
881
+ callback?: string;
882
+ /** Selector specifying which fields to include in a partial response. */
883
+ fields?: string;
884
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
885
+ key?: string;
886
+ /** OAuth 2.0 token for the current user. */
887
+ oauth_token?: string;
888
+ /** Returns response with indentations and line breaks. */
889
+ prettyPrint?: boolean;
890
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
891
+ quotaUser?: string;
892
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
893
+ upload_protocol?: string;
894
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
895
+ uploadType?: string;
896
+ /** Request body */
897
+ resource: RemoveAddressGroupItemsRequest;
898
+ }): Request<Operation>;
899
+ removeItems(request: {
900
+ /** V1 error format. */
901
+ "$.xgafv"?: string;
902
+ /** OAuth access token. */
903
+ access_token?: string;
904
+ /** Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
905
+ addressGroup: string;
906
+ /** Data format for response. */
907
+ alt?: string;
908
+ /** JSONP */
909
+ callback?: string;
910
+ /** Selector specifying which fields to include in a partial response. */
911
+ fields?: string;
912
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
913
+ key?: string;
914
+ /** OAuth 2.0 token for the current user. */
915
+ oauth_token?: string;
916
+ /** Returns response with indentations and line breaks. */
917
+ prettyPrint?: boolean;
918
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
919
+ quotaUser?: string;
920
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
921
+ upload_protocol?: string;
922
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
923
+ uploadType?: string;
924
+ },
925
+ body: RemoveAddressGroupItemsRequest): Request<Operation>;
926
+ }
927
+ interface OperationsResource {
928
+ /**
929
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support
930
+ * this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the
931
+ * operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
932
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
933
+ */
934
+ cancel(request: {
935
+ /** V1 error format. */
936
+ "$.xgafv"?: string;
937
+ /** OAuth access token. */
938
+ access_token?: string;
939
+ /** Data format for response. */
940
+ alt?: string;
941
+ /** JSONP */
942
+ callback?: string;
943
+ /** Selector specifying which fields to include in a partial response. */
944
+ fields?: string;
945
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
946
+ key?: string;
947
+ /** The name of the operation resource to be cancelled. */
948
+ name: string;
949
+ /** OAuth 2.0 token for the current user. */
950
+ oauth_token?: string;
951
+ /** Returns response with indentations and line breaks. */
952
+ prettyPrint?: boolean;
953
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
954
+ quotaUser?: string;
955
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
956
+ upload_protocol?: string;
957
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
958
+ uploadType?: string;
959
+ /** Request body */
960
+ resource: CancelOperationRequest;
961
+ }): Request<{}>;
962
+ cancel(request: {
963
+ /** V1 error format. */
964
+ "$.xgafv"?: string;
965
+ /** OAuth access token. */
966
+ access_token?: string;
967
+ /** Data format for response. */
968
+ alt?: string;
969
+ /** JSONP */
970
+ callback?: string;
971
+ /** Selector specifying which fields to include in a partial response. */
972
+ fields?: string;
973
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
974
+ key?: string;
975
+ /** The name of the operation resource to be cancelled. */
976
+ name: string;
977
+ /** OAuth 2.0 token for the current user. */
978
+ oauth_token?: string;
979
+ /** Returns response with indentations and line breaks. */
980
+ prettyPrint?: boolean;
981
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
982
+ quotaUser?: string;
983
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
984
+ upload_protocol?: string;
985
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
986
+ uploadType?: string;
987
+ },
988
+ body: CancelOperationRequest): Request<{}>;
989
+ /**
990
+ * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't
991
+ * support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
992
+ */
993
+ delete(request?: {
994
+ /** V1 error format. */
995
+ "$.xgafv"?: string;
996
+ /** OAuth access token. */
997
+ access_token?: string;
998
+ /** Data format for response. */
999
+ alt?: string;
1000
+ /** JSONP */
1001
+ callback?: string;
1002
+ /** Selector specifying which fields to include in a partial response. */
1003
+ fields?: string;
1004
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1005
+ key?: string;
1006
+ /** The name of the operation resource to be deleted. */
1007
+ name: string;
1008
+ /** OAuth 2.0 token for the current user. */
1009
+ oauth_token?: string;
1010
+ /** Returns response with indentations and line breaks. */
1011
+ prettyPrint?: boolean;
1012
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1013
+ quotaUser?: string;
1014
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1015
+ upload_protocol?: string;
1016
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1017
+ uploadType?: string;
1018
+ }): Request<{}>;
1019
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1020
+ get(request?: {
1021
+ /** V1 error format. */
1022
+ "$.xgafv"?: string;
1023
+ /** OAuth access token. */
1024
+ access_token?: string;
1025
+ /** Data format for response. */
1026
+ alt?: string;
1027
+ /** JSONP */
1028
+ callback?: string;
1029
+ /** Selector specifying which fields to include in a partial response. */
1030
+ fields?: string;
1031
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1032
+ key?: string;
1033
+ /** The name of the operation resource. */
1034
+ name: string;
1035
+ /** OAuth 2.0 token for the current user. */
1036
+ oauth_token?: string;
1037
+ /** Returns response with indentations and line breaks. */
1038
+ prettyPrint?: boolean;
1039
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1040
+ quotaUser?: string;
1041
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1042
+ upload_protocol?: string;
1043
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1044
+ uploadType?: string;
1045
+ }): Request<Operation>;
1046
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1047
+ list(request?: {
1048
+ /** V1 error format. */
1049
+ "$.xgafv"?: string;
1050
+ /** OAuth access token. */
1051
+ access_token?: string;
1052
+ /** Data format for response. */
1053
+ alt?: string;
1054
+ /** JSONP */
1055
+ callback?: string;
1056
+ /** Selector specifying which fields to include in a partial response. */
1057
+ fields?: string;
1058
+ /** The standard list filter. */
1059
+ filter?: string;
1060
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1061
+ key?: string;
1062
+ /** The name of the operation's parent resource. */
1063
+ name: string;
1064
+ /** OAuth 2.0 token for the current user. */
1065
+ oauth_token?: string;
1066
+ /** The standard list page size. */
1067
+ pageSize?: number;
1068
+ /** The standard list page token. */
1069
+ pageToken?: string;
1070
+ /** Returns response with indentations and line breaks. */
1071
+ prettyPrint?: boolean;
1072
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1073
+ quotaUser?: string;
1074
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1075
+ upload_protocol?: string;
1076
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1077
+ uploadType?: string;
1078
+ }): Request<ListOperationsResponse>;
1079
+ }
1080
+ interface LocationsResource {
1081
+ addressGroups: AddressGroupsResource;
1082
+ operations: OperationsResource;
1083
+ }
1084
+ interface OrganizationsResource {
1085
+ locations: LocationsResource;
1086
+ }
1087
+ interface AddressGroupsResource {
1088
+ /** Adds items to an address group. */
1089
+ addItems(request: {
1090
+ /** V1 error format. */
1091
+ "$.xgafv"?: string;
1092
+ /** OAuth access token. */
1093
+ access_token?: string;
1094
+ /** Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1095
+ addressGroup: string;
1096
+ /** Data format for response. */
1097
+ alt?: string;
1098
+ /** JSONP */
1099
+ callback?: string;
1100
+ /** Selector specifying which fields to include in a partial response. */
1101
+ fields?: string;
1102
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1103
+ key?: string;
1104
+ /** OAuth 2.0 token for the current user. */
1105
+ oauth_token?: string;
1106
+ /** Returns response with indentations and line breaks. */
1107
+ prettyPrint?: boolean;
1108
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1109
+ quotaUser?: string;
1110
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1111
+ upload_protocol?: string;
1112
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1113
+ uploadType?: string;
1114
+ /** Request body */
1115
+ resource: AddAddressGroupItemsRequest;
1116
+ }): Request<Operation>;
1117
+ addItems(request: {
1118
+ /** V1 error format. */
1119
+ "$.xgafv"?: string;
1120
+ /** OAuth access token. */
1121
+ access_token?: string;
1122
+ /** Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1123
+ addressGroup: string;
1124
+ /** Data format for response. */
1125
+ alt?: string;
1126
+ /** JSONP */
1127
+ callback?: string;
1128
+ /** Selector specifying which fields to include in a partial response. */
1129
+ fields?: string;
1130
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1131
+ key?: string;
1132
+ /** OAuth 2.0 token for the current user. */
1133
+ oauth_token?: string;
1134
+ /** Returns response with indentations and line breaks. */
1135
+ prettyPrint?: boolean;
1136
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1137
+ quotaUser?: string;
1138
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1139
+ upload_protocol?: string;
1140
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1141
+ uploadType?: string;
1142
+ },
1143
+ body: AddAddressGroupItemsRequest): Request<Operation>;
1144
+ /** Clones items from one address group to another. */
1145
+ cloneItems(request: {
391
1146
  /** V1 error format. */
392
1147
  "$.xgafv"?: string;
393
1148
  /** OAuth access token. */
394
1149
  access_token?: string;
1150
+ /** Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1151
+ addressGroup: string;
395
1152
  /** Data format for response. */
396
1153
  alt?: string;
397
1154
  /** JSONP */
@@ -400,8 +1157,6 @@ declare namespace gapi.client {
400
1157
  fields?: string;
401
1158
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
402
1159
  key?: string;
403
- /** The name of the operation resource to be cancelled. */
404
- name: string;
405
1160
  /** OAuth 2.0 token for the current user. */
406
1161
  oauth_token?: string;
407
1162
  /** Returns response with indentations and line breaks. */
@@ -413,13 +1168,15 @@ declare namespace gapi.client {
413
1168
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
414
1169
  uploadType?: string;
415
1170
  /** Request body */
416
- resource: CancelOperationRequest;
417
- }): Request<{}>;
418
- cancel(request: {
1171
+ resource: CloneAddressGroupItemsRequest;
1172
+ }): Request<Operation>;
1173
+ cloneItems(request: {
419
1174
  /** V1 error format. */
420
1175
  "$.xgafv"?: string;
421
1176
  /** OAuth access token. */
422
1177
  access_token?: string;
1178
+ /** Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1179
+ addressGroup: string;
423
1180
  /** Data format for response. */
424
1181
  alt?: string;
425
1182
  /** JSONP */
@@ -428,8 +1185,6 @@ declare namespace gapi.client {
428
1185
  fields?: string;
429
1186
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
430
1187
  key?: string;
431
- /** The name of the operation resource to be cancelled. */
432
- name: string;
433
1188
  /** OAuth 2.0 token for the current user. */
434
1189
  oauth_token?: string;
435
1190
  /** Returns response with indentations and line breaks. */
@@ -441,16 +1196,18 @@ declare namespace gapi.client {
441
1196
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
442
1197
  uploadType?: string;
443
1198
  },
444
- body: CancelOperationRequest): Request<{}>;
445
- /**
446
- * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't
447
- * support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
448
- */
449
- delete(request?: {
1199
+ body: CloneAddressGroupItemsRequest): Request<Operation>;
1200
+ /** Creates a new address group in a given project and location. */
1201
+ create(request: {
450
1202
  /** V1 error format. */
451
1203
  "$.xgafv"?: string;
452
1204
  /** OAuth access token. */
453
1205
  access_token?: string;
1206
+ /**
1207
+ * Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and
1208
+ * should not start with a number. E.g. "authz_policy".
1209
+ */
1210
+ addressGroupId?: string;
454
1211
  /** Data format for response. */
455
1212
  alt?: string;
456
1213
  /** JSONP */
@@ -459,25 +1216,39 @@ declare namespace gapi.client {
459
1216
  fields?: string;
460
1217
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
461
1218
  key?: string;
462
- /** The name of the operation resource to be deleted. */
463
- name: string;
464
1219
  /** OAuth 2.0 token for the current user. */
465
1220
  oauth_token?: string;
1221
+ /** Required. The parent resource of the AddressGroup. Must be in the format `projects/*‍/locations/{location}`. */
1222
+ parent: string;
466
1223
  /** Returns response with indentations and line breaks. */
467
1224
  prettyPrint?: boolean;
468
1225
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
469
1226
  quotaUser?: string;
1227
+ /**
1228
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
1229
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
1230
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1231
+ * ignore 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
1232
+ * supported (00000000-0000-0000-0000-000000000000).
1233
+ */
1234
+ requestId?: string;
470
1235
  /** Upload protocol for media (e.g. "raw", "multipart"). */
471
1236
  upload_protocol?: string;
472
1237
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
473
1238
  uploadType?: string;
474
- }): Request<{}>;
475
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
476
- get(request?: {
1239
+ /** Request body */
1240
+ resource: AddressGroup;
1241
+ }): Request<Operation>;
1242
+ create(request: {
477
1243
  /** V1 error format. */
478
1244
  "$.xgafv"?: string;
479
1245
  /** OAuth access token. */
480
1246
  access_token?: string;
1247
+ /**
1248
+ * Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and
1249
+ * should not start with a number. E.g. "authz_policy".
1250
+ */
1251
+ addressGroupId?: string;
481
1252
  /** Data format for response. */
482
1253
  alt?: string;
483
1254
  /** JSONP */
@@ -486,7 +1257,43 @@ declare namespace gapi.client {
486
1257
  fields?: string;
487
1258
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
488
1259
  key?: string;
489
- /** The name of the operation resource. */
1260
+ /** OAuth 2.0 token for the current user. */
1261
+ oauth_token?: string;
1262
+ /** Required. The parent resource of the AddressGroup. Must be in the format `projects/*‍/locations/{location}`. */
1263
+ parent: string;
1264
+ /** Returns response with indentations and line breaks. */
1265
+ prettyPrint?: boolean;
1266
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1267
+ quotaUser?: string;
1268
+ /**
1269
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
1270
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
1271
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1272
+ * ignore 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
1273
+ * supported (00000000-0000-0000-0000-000000000000).
1274
+ */
1275
+ requestId?: string;
1276
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1277
+ upload_protocol?: string;
1278
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1279
+ uploadType?: string;
1280
+ },
1281
+ body: AddressGroup): Request<Operation>;
1282
+ /** Deletes a single address group. */
1283
+ delete(request?: {
1284
+ /** V1 error format. */
1285
+ "$.xgafv"?: string;
1286
+ /** OAuth access token. */
1287
+ access_token?: string;
1288
+ /** Data format for response. */
1289
+ alt?: string;
1290
+ /** JSONP */
1291
+ callback?: string;
1292
+ /** Selector specifying which fields to include in a partial response. */
1293
+ fields?: string;
1294
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1295
+ key?: string;
1296
+ /** Required. A name of the AddressGroup to delete. Must be in the format `projects/*‍/locations/{location}/addressGroups/*`. */
490
1297
  name: string;
491
1298
  /** OAuth 2.0 token for the current user. */
492
1299
  oauth_token?: string;
@@ -494,18 +1301,21 @@ declare namespace gapi.client {
494
1301
  prettyPrint?: boolean;
495
1302
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
496
1303
  quotaUser?: string;
1304
+ /**
1305
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
1306
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
1307
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1308
+ * ignore 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
1309
+ * supported (00000000-0000-0000-0000-000000000000).
1310
+ */
1311
+ requestId?: string;
497
1312
  /** Upload protocol for media (e.g. "raw", "multipart"). */
498
1313
  upload_protocol?: string;
499
1314
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
500
1315
  uploadType?: string;
501
1316
  }): Request<Operation>;
502
- /**
503
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
504
- * to override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
505
- * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
506
- * ensure the name binding is the parent resource, without the operations collection id.
507
- */
508
- list(request?: {
1317
+ /** Gets details of a single address group. */
1318
+ get(request?: {
509
1319
  /** V1 error format. */
510
1320
  "$.xgafv"?: string;
511
1321
  /** OAuth access token. */
@@ -516,18 +1326,12 @@ declare namespace gapi.client {
516
1326
  callback?: string;
517
1327
  /** Selector specifying which fields to include in a partial response. */
518
1328
  fields?: string;
519
- /** The standard list filter. */
520
- filter?: string;
521
1329
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
522
1330
  key?: string;
523
- /** The name of the operation's parent resource. */
1331
+ /** Required. A name of the AddressGroup to get. Must be in the format `projects/*‍/locations/{location}/addressGroups/*`. */
524
1332
  name: string;
525
1333
  /** OAuth 2.0 token for the current user. */
526
1334
  oauth_token?: string;
527
- /** The standard list page size. */
528
- pageSize?: number;
529
- /** The standard list page token. */
530
- pageToken?: string;
531
1335
  /** Returns response with indentations and line breaks. */
532
1336
  prettyPrint?: boolean;
533
1337
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
@@ -536,15 +1340,7 @@ declare namespace gapi.client {
536
1340
  upload_protocol?: string;
537
1341
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
538
1342
  uploadType?: string;
539
- }): Request<ListOperationsResponse>;
540
- }
541
- interface LocationsResource {
542
- operations: OperationsResource;
543
- }
544
- interface OrganizationsResource {
545
- locations: LocationsResource;
546
- }
547
- interface AddressGroupsResource {
1343
+ }): Request<AddressGroup>;
548
1344
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
549
1345
  getIamPolicy(request?: {
550
1346
  /** V1 error format. */
@@ -583,6 +1379,212 @@ declare namespace gapi.client {
583
1379
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
584
1380
  uploadType?: string;
585
1381
  }): Request<GoogleIamV1Policy>;
1382
+ /** Lists address groups in a given project and location. */
1383
+ list(request?: {
1384
+ /** V1 error format. */
1385
+ "$.xgafv"?: string;
1386
+ /** OAuth access token. */
1387
+ access_token?: string;
1388
+ /** Data format for response. */
1389
+ alt?: string;
1390
+ /** JSONP */
1391
+ callback?: string;
1392
+ /** Selector specifying which fields to include in a partial response. */
1393
+ fields?: string;
1394
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1395
+ key?: string;
1396
+ /** OAuth 2.0 token for the current user. */
1397
+ oauth_token?: string;
1398
+ /** Maximum number of AddressGroups to return per call. */
1399
+ pageSize?: number;
1400
+ /**
1401
+ * The value returned by the last `ListAddressGroupsResponse` Indicates that this is a continuation of a prior `ListAddressGroups` call, and that the system should return the next
1402
+ * page of data.
1403
+ */
1404
+ pageToken?: string;
1405
+ /** Required. The project and location from which the AddressGroups should be listed, specified in the format `projects/*‍/locations/{location}`. */
1406
+ parent: string;
1407
+ /** Returns response with indentations and line breaks. */
1408
+ prettyPrint?: boolean;
1409
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1410
+ quotaUser?: string;
1411
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1412
+ upload_protocol?: string;
1413
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1414
+ uploadType?: string;
1415
+ }): Request<ListAddressGroupsResponse>;
1416
+ /** Lists references of an address group. */
1417
+ listReferences(request?: {
1418
+ /** V1 error format. */
1419
+ "$.xgafv"?: string;
1420
+ /** OAuth access token. */
1421
+ access_token?: string;
1422
+ /** Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1423
+ addressGroup: string;
1424
+ /** Data format for response. */
1425
+ alt?: string;
1426
+ /** JSONP */
1427
+ callback?: string;
1428
+ /** Selector specifying which fields to include in a partial response. */
1429
+ fields?: string;
1430
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1431
+ key?: string;
1432
+ /** OAuth 2.0 token for the current user. */
1433
+ oauth_token?: string;
1434
+ /**
1435
+ * The maximum number of references to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on
1436
+ * response's next_page_token to determine if there are more AddressGroupUsers left to be queried.
1437
+ */
1438
+ pageSize?: number;
1439
+ /** The next_page_token value returned from a previous List request, if any. */
1440
+ pageToken?: string;
1441
+ /** Returns response with indentations and line breaks. */
1442
+ prettyPrint?: boolean;
1443
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1444
+ quotaUser?: string;
1445
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1446
+ upload_protocol?: string;
1447
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1448
+ uploadType?: string;
1449
+ }): Request<ListAddressGroupReferencesResponse>;
1450
+ /** Updates the parameters of a single address group. */
1451
+ patch(request: {
1452
+ /** V1 error format. */
1453
+ "$.xgafv"?: string;
1454
+ /** OAuth access token. */
1455
+ access_token?: string;
1456
+ /** Data format for response. */
1457
+ alt?: string;
1458
+ /** JSONP */
1459
+ callback?: string;
1460
+ /** Selector specifying which fields to include in a partial response. */
1461
+ fields?: string;
1462
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1463
+ key?: string;
1464
+ /** Required. Name of the AddressGroup resource. It matches pattern `projects/*‍/locations/{location}/addressGroups/`. */
1465
+ name: string;
1466
+ /** OAuth 2.0 token for the current user. */
1467
+ oauth_token?: string;
1468
+ /** Returns response with indentations and line breaks. */
1469
+ prettyPrint?: boolean;
1470
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1471
+ quotaUser?: string;
1472
+ /**
1473
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
1474
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
1475
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1476
+ * ignore 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
1477
+ * supported (00000000-0000-0000-0000-000000000000).
1478
+ */
1479
+ requestId?: string;
1480
+ /**
1481
+ * Optional. Field mask is used to specify the fields to be overwritten in the AddressGroup resource by the update. The fields specified in the update_mask are relative to the
1482
+ * 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.
1483
+ */
1484
+ updateMask?: string;
1485
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1486
+ upload_protocol?: string;
1487
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1488
+ uploadType?: string;
1489
+ /** Request body */
1490
+ resource: AddressGroup;
1491
+ }): Request<Operation>;
1492
+ patch(request: {
1493
+ /** V1 error format. */
1494
+ "$.xgafv"?: string;
1495
+ /** OAuth access token. */
1496
+ access_token?: string;
1497
+ /** Data format for response. */
1498
+ alt?: string;
1499
+ /** JSONP */
1500
+ callback?: string;
1501
+ /** Selector specifying which fields to include in a partial response. */
1502
+ fields?: string;
1503
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1504
+ key?: string;
1505
+ /** Required. Name of the AddressGroup resource. It matches pattern `projects/*‍/locations/{location}/addressGroups/`. */
1506
+ name: string;
1507
+ /** OAuth 2.0 token for the current user. */
1508
+ oauth_token?: string;
1509
+ /** Returns response with indentations and line breaks. */
1510
+ prettyPrint?: boolean;
1511
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1512
+ quotaUser?: string;
1513
+ /**
1514
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
1515
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
1516
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1517
+ * ignore 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
1518
+ * supported (00000000-0000-0000-0000-000000000000).
1519
+ */
1520
+ requestId?: string;
1521
+ /**
1522
+ * Optional. Field mask is used to specify the fields to be overwritten in the AddressGroup resource by the update. The fields specified in the update_mask are relative to the
1523
+ * 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.
1524
+ */
1525
+ updateMask?: string;
1526
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1527
+ upload_protocol?: string;
1528
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1529
+ uploadType?: string;
1530
+ },
1531
+ body: AddressGroup): Request<Operation>;
1532
+ /** Removes items from an address group. */
1533
+ removeItems(request: {
1534
+ /** V1 error format. */
1535
+ "$.xgafv"?: string;
1536
+ /** OAuth access token. */
1537
+ access_token?: string;
1538
+ /** Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1539
+ addressGroup: string;
1540
+ /** Data format for response. */
1541
+ alt?: string;
1542
+ /** JSONP */
1543
+ callback?: string;
1544
+ /** Selector specifying which fields to include in a partial response. */
1545
+ fields?: string;
1546
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1547
+ key?: string;
1548
+ /** OAuth 2.0 token for the current user. */
1549
+ oauth_token?: string;
1550
+ /** Returns response with indentations and line breaks. */
1551
+ prettyPrint?: boolean;
1552
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1553
+ quotaUser?: string;
1554
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1555
+ upload_protocol?: string;
1556
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1557
+ uploadType?: string;
1558
+ /** Request body */
1559
+ resource: RemoveAddressGroupItemsRequest;
1560
+ }): Request<Operation>;
1561
+ removeItems(request: {
1562
+ /** V1 error format. */
1563
+ "$.xgafv"?: string;
1564
+ /** OAuth access token. */
1565
+ access_token?: string;
1566
+ /** Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1567
+ addressGroup: string;
1568
+ /** Data format for response. */
1569
+ alt?: string;
1570
+ /** JSONP */
1571
+ callback?: string;
1572
+ /** Selector specifying which fields to include in a partial response. */
1573
+ fields?: string;
1574
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1575
+ key?: string;
1576
+ /** OAuth 2.0 token for the current user. */
1577
+ oauth_token?: string;
1578
+ /** Returns response with indentations and line breaks. */
1579
+ prettyPrint?: boolean;
1580
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1581
+ quotaUser?: string;
1582
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1583
+ upload_protocol?: string;
1584
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1585
+ uploadType?: string;
1586
+ },
1587
+ body: RemoveAddressGroupItemsRequest): Request<Operation>;
586
1588
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
587
1589
  setIamPolicy(request: {
588
1590
  /** V1 error format. */
@@ -1418,12 +2420,7 @@ declare namespace gapi.client {
1418
2420
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1419
2421
  uploadType?: string;
1420
2422
  }): Request<Operation>;
1421
- /**
1422
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
1423
- * to override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
1424
- * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
1425
- * ensure the name binding is the parent resource, without the operations collection id.
1426
- */
2423
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1427
2424
  list(request?: {
1428
2425
  /** V1 error format. */
1429
2426
  "$.xgafv"?: string;