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

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 +1066 -59
  2. package/package.json +1 -1
  3. package/tests.ts +173 -1
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: 20230208
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 t he
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 t he
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 t he
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,15 @@ 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: {
391
466
  /** V1 error format. */
392
467
  "$.xgafv"?: string;
393
468
  /** OAuth access token. */
394
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;
395
472
  /** Data format for response. */
396
473
  alt?: string;
397
474
  /** JSONP */
@@ -400,8 +477,6 @@ declare namespace gapi.client {
400
477
  fields?: string;
401
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. */
402
479
  key?: string;
403
- /** The name of the operation resource to be cancelled. */
404
- name: string;
405
480
  /** OAuth 2.0 token for the current user. */
406
481
  oauth_token?: string;
407
482
  /** Returns response with indentations and line breaks. */
@@ -413,13 +488,15 @@ declare namespace gapi.client {
413
488
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
414
489
  uploadType?: string;
415
490
  /** Request body */
416
- resource: CancelOperationRequest;
417
- }): Request<{}>;
418
- cancel(request: {
491
+ resource: AddAddressGroupItemsRequest;
492
+ }): Request<Operation>;
493
+ addItems(request: {
419
494
  /** V1 error format. */
420
495
  "$.xgafv"?: string;
421
496
  /** OAuth access token. */
422
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;
423
500
  /** Data format for response. */
424
501
  alt?: string;
425
502
  /** JSONP */
@@ -428,8 +505,6 @@ declare namespace gapi.client {
428
505
  fields?: string;
429
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. */
430
507
  key?: string;
431
- /** The name of the operation resource to be cancelled. */
432
- name: string;
433
508
  /** OAuth 2.0 token for the current user. */
434
509
  oauth_token?: string;
435
510
  /** Returns response with indentations and line breaks. */
@@ -441,11 +516,146 @@ declare namespace gapi.client {
441
516
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
442
517
  uploadType?: string;
443
518
  },
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
- */
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 t
606
+ * he 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 t
647
+ * he 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. */
449
659
  delete(request?: {
450
660
  /** V1 error format. */
451
661
  "$.xgafv"?: string;
@@ -459,7 +669,7 @@ declare namespace gapi.client {
459
669
  fields?: string;
460
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. */
461
671
  key?: string;
462
- /** The name of the operation resource to be deleted. */
672
+ /** Required. A name of the AddressGroup to delete. Must be in the format `projects/*‍/locations/{location}/addressGroups/*`. */
463
673
  name: string;
464
674
  /** OAuth 2.0 token for the current user. */
465
675
  oauth_token?: string;
@@ -467,12 +677,20 @@ declare namespace gapi.client {
467
677
  prettyPrint?: boolean;
468
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. */
469
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 t
683
+ * he 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;
470
688
  /** Upload protocol for media (e.g. "raw", "multipart"). */
471
689
  upload_protocol?: string;
472
690
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
473
691
  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. */
692
+ }): Request<Operation>;
693
+ /** Gets details of a single address group. */
476
694
  get(request?: {
477
695
  /** V1 error format. */
478
696
  "$.xgafv"?: string;
@@ -486,7 +704,7 @@ declare namespace gapi.client {
486
704
  fields?: string;
487
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. */
488
706
  key?: string;
489
- /** The name of the operation resource. */
707
+ /** Required. A name of the AddressGroup to get. Must be in the format `projects/*‍/locations/{location}/addressGroups/*`. */
490
708
  name: string;
491
709
  /** OAuth 2.0 token for the current user. */
492
710
  oauth_token?: string;
@@ -498,13 +716,8 @@ declare namespace gapi.client {
498
716
  upload_protocol?: string;
499
717
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
500
718
  uploadType?: string;
501
- }): 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
- */
719
+ }): Request<AddressGroup>;
720
+ /** Lists address groups in a given project and location. */
508
721
  list(request?: {
509
722
  /** V1 error format. */
510
723
  "$.xgafv"?: string;
@@ -516,18 +729,19 @@ declare namespace gapi.client {
516
729
  callback?: string;
517
730
  /** Selector specifying which fields to include in a partial response. */
518
731
  fields?: string;
519
- /** The standard list filter. */
520
- filter?: string;
521
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. */
522
733
  key?: string;
523
- /** The name of the operation's parent resource. */
524
- name: string;
525
734
  /** OAuth 2.0 token for the current user. */
526
735
  oauth_token?: string;
527
- /** The standard list page size. */
736
+ /** Maximum number of AddressGroups to return per call. */
528
737
  pageSize?: number;
529
- /** The standard list page token. */
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
+ */
530
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;
531
745
  /** Returns response with indentations and line breaks. */
532
746
  prettyPrint?: boolean;
533
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. */
@@ -536,21 +750,15 @@ declare namespace gapi.client {
536
750
  upload_protocol?: string;
537
751
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
538
752
  uploadType?: string;
539
- }): Request<ListOperationsResponse>;
540
- }
541
- interface LocationsResource {
542
- operations: OperationsResource;
543
- }
544
- interface OrganizationsResource {
545
- locations: LocationsResource;
546
- }
547
- interface AddressGroupsResource {
548
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
549
- getIamPolicy(request?: {
753
+ }): Request<ListAddressGroupsResponse>;
754
+ /** Lists references of an address group. */
755
+ listReferences(request?: {
550
756
  /** V1 error format. */
551
757
  "$.xgafv"?: string;
552
758
  /** OAuth access token. */
553
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;
554
762
  /** Data format for response. */
555
763
  alt?: string;
556
764
  /** JSONP */
@@ -562,27 +770,826 @@ declare namespace gapi.client {
562
770
  /** OAuth 2.0 token for the current user. */
563
771
  oauth_token?: string;
564
772
  /**
565
- * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
566
- * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
567
- * in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
568
- * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
569
- * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
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.
570
775
  */
571
- "options.requestedPolicyVersion"?: number;
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;
572
806
  /** Returns response with indentations and line breaks. */
573
807
  prettyPrint?: boolean;
574
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. */
575
809
  quotaUser?: string;
576
810
  /**
577
- * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
578
- * field.
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 t
813
+ * he 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).
579
816
  */
580
- resource: string;
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;
581
823
  /** Upload protocol for media (e.g. "raw", "multipart"). */
582
824
  upload_protocol?: string;
583
825
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
584
826
  uploadType?: string;
585
- }): Request<GoogleIamV1Policy>;
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 t
854
+ * he 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
+ /**
1047
+ * 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
1048
+ * 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
1049
+ * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
1050
+ * ensure the name binding is the parent resource, without the operations collection id.
1051
+ */
1052
+ list(request?: {
1053
+ /** V1 error format. */
1054
+ "$.xgafv"?: string;
1055
+ /** OAuth access token. */
1056
+ access_token?: string;
1057
+ /** Data format for response. */
1058
+ alt?: string;
1059
+ /** JSONP */
1060
+ callback?: string;
1061
+ /** Selector specifying which fields to include in a partial response. */
1062
+ fields?: string;
1063
+ /** The standard list filter. */
1064
+ filter?: string;
1065
+ /** 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. */
1066
+ key?: string;
1067
+ /** The name of the operation's parent resource. */
1068
+ name: string;
1069
+ /** OAuth 2.0 token for the current user. */
1070
+ oauth_token?: string;
1071
+ /** The standard list page size. */
1072
+ pageSize?: number;
1073
+ /** The standard list page token. */
1074
+ pageToken?: string;
1075
+ /** Returns response with indentations and line breaks. */
1076
+ prettyPrint?: boolean;
1077
+ /** 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. */
1078
+ quotaUser?: string;
1079
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1080
+ upload_protocol?: string;
1081
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1082
+ uploadType?: string;
1083
+ }): Request<ListOperationsResponse>;
1084
+ }
1085
+ interface LocationsResource {
1086
+ addressGroups: AddressGroupsResource;
1087
+ operations: OperationsResource;
1088
+ }
1089
+ interface OrganizationsResource {
1090
+ locations: LocationsResource;
1091
+ }
1092
+ interface AddressGroupsResource {
1093
+ /** Adds items to an address group. */
1094
+ addItems(request: {
1095
+ /** V1 error format. */
1096
+ "$.xgafv"?: string;
1097
+ /** OAuth access token. */
1098
+ access_token?: string;
1099
+ /** Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1100
+ addressGroup: string;
1101
+ /** Data format for response. */
1102
+ alt?: string;
1103
+ /** JSONP */
1104
+ callback?: string;
1105
+ /** Selector specifying which fields to include in a partial response. */
1106
+ fields?: string;
1107
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1108
+ key?: string;
1109
+ /** OAuth 2.0 token for the current user. */
1110
+ oauth_token?: string;
1111
+ /** Returns response with indentations and line breaks. */
1112
+ prettyPrint?: boolean;
1113
+ /** 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. */
1114
+ quotaUser?: string;
1115
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1116
+ upload_protocol?: string;
1117
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1118
+ uploadType?: string;
1119
+ /** Request body */
1120
+ resource: AddAddressGroupItemsRequest;
1121
+ }): Request<Operation>;
1122
+ addItems(request: {
1123
+ /** V1 error format. */
1124
+ "$.xgafv"?: string;
1125
+ /** OAuth access token. */
1126
+ access_token?: string;
1127
+ /** Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1128
+ addressGroup: string;
1129
+ /** Data format for response. */
1130
+ alt?: string;
1131
+ /** JSONP */
1132
+ callback?: string;
1133
+ /** Selector specifying which fields to include in a partial response. */
1134
+ fields?: string;
1135
+ /** 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. */
1136
+ key?: string;
1137
+ /** OAuth 2.0 token for the current user. */
1138
+ oauth_token?: string;
1139
+ /** Returns response with indentations and line breaks. */
1140
+ prettyPrint?: boolean;
1141
+ /** 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. */
1142
+ quotaUser?: string;
1143
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1144
+ upload_protocol?: string;
1145
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1146
+ uploadType?: string;
1147
+ },
1148
+ body: AddAddressGroupItemsRequest): Request<Operation>;
1149
+ /** Clones items from one address group to another. */
1150
+ cloneItems(request: {
1151
+ /** V1 error format. */
1152
+ "$.xgafv"?: string;
1153
+ /** OAuth access token. */
1154
+ access_token?: string;
1155
+ /** Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1156
+ addressGroup: string;
1157
+ /** Data format for response. */
1158
+ alt?: string;
1159
+ /** JSONP */
1160
+ callback?: string;
1161
+ /** Selector specifying which fields to include in a partial response. */
1162
+ fields?: string;
1163
+ /** 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. */
1164
+ key?: string;
1165
+ /** OAuth 2.0 token for the current user. */
1166
+ oauth_token?: string;
1167
+ /** Returns response with indentations and line breaks. */
1168
+ prettyPrint?: boolean;
1169
+ /** 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. */
1170
+ quotaUser?: string;
1171
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1172
+ upload_protocol?: string;
1173
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1174
+ uploadType?: string;
1175
+ /** Request body */
1176
+ resource: CloneAddressGroupItemsRequest;
1177
+ }): Request<Operation>;
1178
+ cloneItems(request: {
1179
+ /** V1 error format. */
1180
+ "$.xgafv"?: string;
1181
+ /** OAuth access token. */
1182
+ access_token?: string;
1183
+ /** Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1184
+ addressGroup: string;
1185
+ /** Data format for response. */
1186
+ alt?: string;
1187
+ /** JSONP */
1188
+ callback?: string;
1189
+ /** Selector specifying which fields to include in a partial response. */
1190
+ fields?: string;
1191
+ /** 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. */
1192
+ key?: string;
1193
+ /** OAuth 2.0 token for the current user. */
1194
+ oauth_token?: string;
1195
+ /** Returns response with indentations and line breaks. */
1196
+ prettyPrint?: boolean;
1197
+ /** 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. */
1198
+ quotaUser?: string;
1199
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1200
+ upload_protocol?: string;
1201
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1202
+ uploadType?: string;
1203
+ },
1204
+ body: CloneAddressGroupItemsRequest): Request<Operation>;
1205
+ /** Creates a new address group in a given project and location. */
1206
+ create(request: {
1207
+ /** V1 error format. */
1208
+ "$.xgafv"?: string;
1209
+ /** OAuth access token. */
1210
+ access_token?: string;
1211
+ /**
1212
+ * 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
1213
+ * should not start with a number. E.g. "authz_policy".
1214
+ */
1215
+ addressGroupId?: string;
1216
+ /** Data format for response. */
1217
+ alt?: string;
1218
+ /** JSONP */
1219
+ callback?: string;
1220
+ /** Selector specifying which fields to include in a partial response. */
1221
+ fields?: string;
1222
+ /** 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. */
1223
+ key?: string;
1224
+ /** OAuth 2.0 token for the current user. */
1225
+ oauth_token?: string;
1226
+ /** Required. The parent resource of the AddressGroup. Must be in the format `projects/*‍/locations/{location}`. */
1227
+ parent: string;
1228
+ /** Returns response with indentations and line breaks. */
1229
+ prettyPrint?: boolean;
1230
+ /** 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. */
1231
+ quotaUser?: string;
1232
+ /**
1233
+ * 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
1234
+ * 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 t
1235
+ * he 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
1236
+ * 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
1237
+ * supported (00000000-0000-0000-0000-000000000000).
1238
+ */
1239
+ requestId?: string;
1240
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1241
+ upload_protocol?: string;
1242
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1243
+ uploadType?: string;
1244
+ /** Request body */
1245
+ resource: AddressGroup;
1246
+ }): Request<Operation>;
1247
+ create(request: {
1248
+ /** V1 error format. */
1249
+ "$.xgafv"?: string;
1250
+ /** OAuth access token. */
1251
+ access_token?: string;
1252
+ /**
1253
+ * 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
1254
+ * should not start with a number. E.g. "authz_policy".
1255
+ */
1256
+ addressGroupId?: string;
1257
+ /** Data format for response. */
1258
+ alt?: string;
1259
+ /** JSONP */
1260
+ callback?: string;
1261
+ /** Selector specifying which fields to include in a partial response. */
1262
+ fields?: string;
1263
+ /** 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. */
1264
+ key?: string;
1265
+ /** OAuth 2.0 token for the current user. */
1266
+ oauth_token?: string;
1267
+ /** Required. The parent resource of the AddressGroup. Must be in the format `projects/*‍/locations/{location}`. */
1268
+ parent: string;
1269
+ /** Returns response with indentations and line breaks. */
1270
+ prettyPrint?: boolean;
1271
+ /** 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. */
1272
+ quotaUser?: string;
1273
+ /**
1274
+ * 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
1275
+ * 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 t
1276
+ * he 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
1277
+ * 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
1278
+ * supported (00000000-0000-0000-0000-000000000000).
1279
+ */
1280
+ requestId?: string;
1281
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1282
+ upload_protocol?: string;
1283
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1284
+ uploadType?: string;
1285
+ },
1286
+ body: AddressGroup): Request<Operation>;
1287
+ /** Deletes a single address group. */
1288
+ delete(request?: {
1289
+ /** V1 error format. */
1290
+ "$.xgafv"?: string;
1291
+ /** OAuth access token. */
1292
+ access_token?: string;
1293
+ /** Data format for response. */
1294
+ alt?: string;
1295
+ /** JSONP */
1296
+ callback?: string;
1297
+ /** Selector specifying which fields to include in a partial response. */
1298
+ fields?: string;
1299
+ /** 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. */
1300
+ key?: string;
1301
+ /** Required. A name of the AddressGroup to delete. Must be in the format `projects/*‍/locations/{location}/addressGroups/*`. */
1302
+ name: string;
1303
+ /** OAuth 2.0 token for the current user. */
1304
+ oauth_token?: string;
1305
+ /** Returns response with indentations and line breaks. */
1306
+ prettyPrint?: boolean;
1307
+ /** 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. */
1308
+ quotaUser?: string;
1309
+ /**
1310
+ * 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
1311
+ * 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 t
1312
+ * he 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
1313
+ * 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
1314
+ * supported (00000000-0000-0000-0000-000000000000).
1315
+ */
1316
+ requestId?: string;
1317
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1318
+ upload_protocol?: string;
1319
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1320
+ uploadType?: string;
1321
+ }): Request<Operation>;
1322
+ /** Gets details of a single address group. */
1323
+ get(request?: {
1324
+ /** V1 error format. */
1325
+ "$.xgafv"?: string;
1326
+ /** OAuth access token. */
1327
+ access_token?: string;
1328
+ /** Data format for response. */
1329
+ alt?: string;
1330
+ /** JSONP */
1331
+ callback?: string;
1332
+ /** Selector specifying which fields to include in a partial response. */
1333
+ fields?: string;
1334
+ /** 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. */
1335
+ key?: string;
1336
+ /** Required. A name of the AddressGroup to get. Must be in the format `projects/*‍/locations/{location}/addressGroups/*`. */
1337
+ name: string;
1338
+ /** OAuth 2.0 token for the current user. */
1339
+ oauth_token?: string;
1340
+ /** Returns response with indentations and line breaks. */
1341
+ prettyPrint?: boolean;
1342
+ /** 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. */
1343
+ quotaUser?: string;
1344
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1345
+ upload_protocol?: string;
1346
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1347
+ uploadType?: string;
1348
+ }): Request<AddressGroup>;
1349
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1350
+ getIamPolicy(request?: {
1351
+ /** V1 error format. */
1352
+ "$.xgafv"?: string;
1353
+ /** OAuth access token. */
1354
+ access_token?: string;
1355
+ /** Data format for response. */
1356
+ alt?: string;
1357
+ /** JSONP */
1358
+ callback?: string;
1359
+ /** Selector specifying which fields to include in a partial response. */
1360
+ fields?: string;
1361
+ /** 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. */
1362
+ key?: string;
1363
+ /** OAuth 2.0 token for the current user. */
1364
+ oauth_token?: string;
1365
+ /**
1366
+ * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
1367
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
1368
+ * in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
1369
+ * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
1370
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1371
+ */
1372
+ "options.requestedPolicyVersion"?: number;
1373
+ /** Returns response with indentations and line breaks. */
1374
+ prettyPrint?: boolean;
1375
+ /** 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. */
1376
+ quotaUser?: string;
1377
+ /**
1378
+ * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
1379
+ * field.
1380
+ */
1381
+ resource: string;
1382
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1383
+ upload_protocol?: string;
1384
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1385
+ uploadType?: string;
1386
+ }): Request<GoogleIamV1Policy>;
1387
+ /** Lists address groups in a given project and location. */
1388
+ list(request?: {
1389
+ /** V1 error format. */
1390
+ "$.xgafv"?: string;
1391
+ /** OAuth access token. */
1392
+ access_token?: string;
1393
+ /** Data format for response. */
1394
+ alt?: string;
1395
+ /** JSONP */
1396
+ callback?: string;
1397
+ /** Selector specifying which fields to include in a partial response. */
1398
+ fields?: string;
1399
+ /** 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. */
1400
+ key?: string;
1401
+ /** OAuth 2.0 token for the current user. */
1402
+ oauth_token?: string;
1403
+ /** Maximum number of AddressGroups to return per call. */
1404
+ pageSize?: number;
1405
+ /**
1406
+ * 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
1407
+ * page of data.
1408
+ */
1409
+ pageToken?: string;
1410
+ /** Required. The project and location from which the AddressGroups should be listed, specified in the format `projects/*‍/locations/{location}`. */
1411
+ parent: string;
1412
+ /** Returns response with indentations and line breaks. */
1413
+ prettyPrint?: boolean;
1414
+ /** 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. */
1415
+ quotaUser?: string;
1416
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1417
+ upload_protocol?: string;
1418
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1419
+ uploadType?: string;
1420
+ }): Request<ListAddressGroupsResponse>;
1421
+ /** Lists references of an address group. */
1422
+ listReferences(request?: {
1423
+ /** V1 error format. */
1424
+ "$.xgafv"?: string;
1425
+ /** OAuth access token. */
1426
+ access_token?: string;
1427
+ /** Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1428
+ addressGroup: string;
1429
+ /** Data format for response. */
1430
+ alt?: string;
1431
+ /** JSONP */
1432
+ callback?: string;
1433
+ /** Selector specifying which fields to include in a partial response. */
1434
+ fields?: string;
1435
+ /** 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. */
1436
+ key?: string;
1437
+ /** OAuth 2.0 token for the current user. */
1438
+ oauth_token?: string;
1439
+ /**
1440
+ * 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
1441
+ * response's next_page_token to determine if there are more AddressGroupUsers left to be queried.
1442
+ */
1443
+ pageSize?: number;
1444
+ /** The next_page_token value returned from a previous List request, if any. */
1445
+ pageToken?: string;
1446
+ /** Returns response with indentations and line breaks. */
1447
+ prettyPrint?: boolean;
1448
+ /** 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. */
1449
+ quotaUser?: string;
1450
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1451
+ upload_protocol?: string;
1452
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1453
+ uploadType?: string;
1454
+ }): Request<ListAddressGroupReferencesResponse>;
1455
+ /** Updates the parameters of a single address group. */
1456
+ patch(request: {
1457
+ /** V1 error format. */
1458
+ "$.xgafv"?: string;
1459
+ /** OAuth access token. */
1460
+ access_token?: string;
1461
+ /** Data format for response. */
1462
+ alt?: string;
1463
+ /** JSONP */
1464
+ callback?: string;
1465
+ /** Selector specifying which fields to include in a partial response. */
1466
+ fields?: string;
1467
+ /** 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. */
1468
+ key?: string;
1469
+ /** Required. Name of the AddressGroup resource. It matches pattern `projects/*‍/locations/{location}/addressGroups/`. */
1470
+ name: string;
1471
+ /** OAuth 2.0 token for the current user. */
1472
+ oauth_token?: string;
1473
+ /** Returns response with indentations and line breaks. */
1474
+ prettyPrint?: boolean;
1475
+ /** 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. */
1476
+ quotaUser?: string;
1477
+ /**
1478
+ * 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
1479
+ * 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 t
1480
+ * he 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
1481
+ * 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
1482
+ * supported (00000000-0000-0000-0000-000000000000).
1483
+ */
1484
+ requestId?: string;
1485
+ /**
1486
+ * 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
1487
+ * 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.
1488
+ */
1489
+ updateMask?: string;
1490
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1491
+ upload_protocol?: string;
1492
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1493
+ uploadType?: string;
1494
+ /** Request body */
1495
+ resource: AddressGroup;
1496
+ }): Request<Operation>;
1497
+ patch(request: {
1498
+ /** V1 error format. */
1499
+ "$.xgafv"?: string;
1500
+ /** OAuth access token. */
1501
+ access_token?: string;
1502
+ /** Data format for response. */
1503
+ alt?: string;
1504
+ /** JSONP */
1505
+ callback?: string;
1506
+ /** Selector specifying which fields to include in a partial response. */
1507
+ fields?: string;
1508
+ /** 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. */
1509
+ key?: string;
1510
+ /** Required. Name of the AddressGroup resource. It matches pattern `projects/*‍/locations/{location}/addressGroups/`. */
1511
+ name: string;
1512
+ /** OAuth 2.0 token for the current user. */
1513
+ oauth_token?: string;
1514
+ /** Returns response with indentations and line breaks. */
1515
+ prettyPrint?: boolean;
1516
+ /** 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. */
1517
+ quotaUser?: string;
1518
+ /**
1519
+ * 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
1520
+ * 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 t
1521
+ * he 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
1522
+ * 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
1523
+ * supported (00000000-0000-0000-0000-000000000000).
1524
+ */
1525
+ requestId?: string;
1526
+ /**
1527
+ * 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
1528
+ * 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.
1529
+ */
1530
+ updateMask?: string;
1531
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1532
+ upload_protocol?: string;
1533
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1534
+ uploadType?: string;
1535
+ },
1536
+ body: AddressGroup): Request<Operation>;
1537
+ /** Removes items from an address group. */
1538
+ removeItems(request: {
1539
+ /** V1 error format. */
1540
+ "$.xgafv"?: string;
1541
+ /** OAuth access token. */
1542
+ access_token?: string;
1543
+ /** Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1544
+ addressGroup: string;
1545
+ /** Data format for response. */
1546
+ alt?: string;
1547
+ /** JSONP */
1548
+ callback?: string;
1549
+ /** Selector specifying which fields to include in a partial response. */
1550
+ fields?: string;
1551
+ /** 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. */
1552
+ key?: string;
1553
+ /** OAuth 2.0 token for the current user. */
1554
+ oauth_token?: string;
1555
+ /** Returns response with indentations and line breaks. */
1556
+ prettyPrint?: boolean;
1557
+ /** 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. */
1558
+ quotaUser?: string;
1559
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1560
+ upload_protocol?: string;
1561
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1562
+ uploadType?: string;
1563
+ /** Request body */
1564
+ resource: RemoveAddressGroupItemsRequest;
1565
+ }): Request<Operation>;
1566
+ removeItems(request: {
1567
+ /** V1 error format. */
1568
+ "$.xgafv"?: string;
1569
+ /** OAuth access token. */
1570
+ access_token?: string;
1571
+ /** Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1572
+ addressGroup: string;
1573
+ /** Data format for response. */
1574
+ alt?: string;
1575
+ /** JSONP */
1576
+ callback?: string;
1577
+ /** Selector specifying which fields to include in a partial response. */
1578
+ fields?: string;
1579
+ /** 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. */
1580
+ key?: string;
1581
+ /** OAuth 2.0 token for the current user. */
1582
+ oauth_token?: string;
1583
+ /** Returns response with indentations and line breaks. */
1584
+ prettyPrint?: boolean;
1585
+ /** 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. */
1586
+ quotaUser?: string;
1587
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1588
+ upload_protocol?: string;
1589
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1590
+ uploadType?: string;
1591
+ },
1592
+ body: RemoveAddressGroupItemsRequest): Request<Operation>;
586
1593
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
587
1594
  setIamPolicy(request: {
588
1595
  /** V1 error format. */