@maxim_mazurok/gapi.client.networksecurity-v1 0.0.20230420 → 0.0.20230511

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 +1791 -19
  2. package/package.json +1 -1
  3. package/tests.ts +254 -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=v1
12
- // Revision: 20230420
12
+ // Revision: 20230511
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -22,6 +22,49 @@ declare namespace gapi.client {
22
22
  function load(name: "networksecurity", version: "v1", callback: () => any): void;
23
23
 
24
24
  namespace networksecurity {
25
+ interface AddAddressGroupItemsRequest {
26
+ /** Required. List of items to add. */
27
+ items?:
28
+ string[];
29
+ /**
30
+ * 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
31
+ * 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
32
+ * 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
33
+ * 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
34
+ * (00000000-0000-0000-0000-000000000000).
35
+ */
36
+ requestId?:
37
+ string;
38
+ }
39
+ interface AddressGroup {
40
+ /** Required. Capacity of the Address Group */
41
+ capacity?:
42
+ number;
43
+ /** Output only. The timestamp when the resource was created. */
44
+ createTime?:
45
+ string;
46
+ /** Optional. Free-text description of the resource. */
47
+ description?:
48
+ string;
49
+ /** Optional. List of items. */
50
+ items?:
51
+ string[];
52
+ /** Optional. Set of label tags associated with the AddressGroup resource. */
53
+ labels?:
54
+ { [P in string]: string };
55
+ /** Required. Name of the AddressGroup resource. It matches pattern `projects/*‍/locations/{location}/addressGroups/`. */
56
+ name?:
57
+ string;
58
+ /** Output only. Server-defined fully-qualified URL for this resource. */
59
+ selfLink?:
60
+ string;
61
+ /** Required. The type of the Address Group. Possible values are "IPv4" or "IPV6". */
62
+ type?:
63
+ string;
64
+ /** Output only. The timestamp when the resource was updated. */
65
+ updateTime?:
66
+ string;
67
+ }
25
68
  interface AuthorizationPolicy {
26
69
  /** Required. The action to take when a rule match is found. Possible values are "ALLOW" or "DENY". */
27
70
  action?:
@@ -85,6 +128,20 @@ declare namespace gapi.client {
85
128
  updateTime?:
86
129
  string;
87
130
  }
131
+ interface CloneAddressGroupItemsRequest {
132
+ /**
133
+ * 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
134
+ * 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
135
+ * 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
136
+ * 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
137
+ * (00000000-0000-0000-0000-000000000000).
138
+ */
139
+ requestId?:
140
+ string;
141
+ /** Required. Source address group to clone items from. */
142
+ sourceAddressGroup?:
143
+ string;
144
+ }
88
145
  interface Destination {
89
146
  /**
90
147
  * 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
@@ -313,6 +370,36 @@ declare namespace gapi.client {
313
370
  regexMatch?:
314
371
  string;
315
372
  }
373
+ interface ListAddressGroupReferencesResponse {
374
+ /** A list of references that matches the specified filter in the request. */
375
+ addressGroupReferences?:
376
+ ListAddressGroupReferencesResponseAddressGroupReference[];
377
+ /**
378
+ * 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
379
+ * `next_page_token` as `page_token`.
380
+ */
381
+ nextPageToken?:
382
+ string;
383
+ }
384
+ interface ListAddressGroupReferencesResponseAddressGroupReference {
385
+ /** FirewallPolicy that is using the Address Group. */
386
+ firewallPolicy?:
387
+ string;
388
+ /** Rule priority of the FirewallPolicy that is using the Address Group. */
389
+ rulePriority?:
390
+ number;
391
+ }
392
+ interface ListAddressGroupsResponse {
393
+ /** List of AddressGroups resources. */
394
+ addressGroups?:
395
+ AddressGroup[];
396
+ /**
397
+ * 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
398
+ * `next_page_token` as `page_token`.
399
+ */
400
+ nextPageToken?:
401
+ string;
402
+ }
316
403
  interface ListAuthorizationPoliciesResponse {
317
404
  /** List of AuthorizationPolicies resources. */
318
405
  authorizationPolicies?:
@@ -508,6 +595,20 @@ declare namespace gapi.client {
508
595
  verb?:
509
596
  string;
510
597
  }
598
+ interface RemoveAddressGroupItemsRequest {
599
+ /** Required. List of items to remove. */
600
+ items?:
601
+ string[];
602
+ /**
603
+ * 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
604
+ * 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
605
+ * 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
606
+ * 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
607
+ * (00000000-0000-0000-0000-000000000000).
608
+ */
609
+ requestId?:
610
+ string;
611
+ }
511
612
  interface Rule {
512
613
  /**
513
614
  * 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
@@ -620,25 +721,1692 @@ declare namespace gapi.client {
620
721
  description?:
621
722
  string;
622
723
  /**
623
- * Required. Name of the resource provided by the user. Name is of the form projects/{project}/locations/{location}/urlLists/{url_list} url_list should match the
624
- * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
724
+ * Required. Name of the resource provided by the user. Name is of the form projects/{project}/locations/{location}/urlLists/{url_list} url_list should match the
725
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
726
+ */
727
+ name?:
728
+ string;
729
+ /** Output only. Time when the security policy was updated. */
730
+ updateTime?:
731
+ string;
732
+ /** Required. FQDNs and URLs. */
733
+ values?:
734
+ string[];
735
+ }
736
+ interface ValidationCA {
737
+ /** The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. */
738
+ certificateProviderInstance?:
739
+ CertificateProviderInstance;
740
+ /** gRPC specific configuration to access the gRPC server to obtain the CA certificate. */
741
+ grpcEndpoint?:
742
+ GoogleCloudNetworksecurityV1GrpcEndpoint;
743
+ }
744
+ interface AddressGroupsResource {
745
+ /** Adds items to an address group. */
746
+ addItems(request: {
747
+ /** V1 error format. */
748
+ "$.xgafv"?:
749
+ string;
750
+ /** OAuth access token. */
751
+ access_token?:
752
+ string;
753
+ /** Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
754
+ addressGroup:
755
+ string;
756
+ /** Data format for response. */
757
+ alt?:
758
+ string;
759
+ /** JSONP */
760
+ callback?:
761
+ string;
762
+ /** Selector specifying which fields to include in a partial response. */
763
+ fields?:
764
+ string;
765
+ /** 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. */
766
+ key?:
767
+ string;
768
+ /** OAuth 2.0 token for the current user. */
769
+ oauth_token?:
770
+ string;
771
+ /** Returns response with indentations and line breaks. */
772
+ prettyPrint?:
773
+ boolean;
774
+ /** 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. */
775
+ quotaUser?:
776
+ string;
777
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
778
+ upload_protocol?:
779
+ string;
780
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
781
+ uploadType?:
782
+ string;
783
+ /** Request body */
784
+ resource:
785
+ AddAddressGroupItemsRequest;
786
+ }): Request<Operation>;
787
+ addItems(request: {
788
+ /** V1 error format. */
789
+ "$.xgafv"?:
790
+ string;
791
+ /** OAuth access token. */
792
+ access_token?:
793
+ string;
794
+ /** Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
795
+ addressGroup:
796
+ string;
797
+ /** Data format for response. */
798
+ alt?:
799
+ string;
800
+ /** JSONP */
801
+ callback?:
802
+ string;
803
+ /** Selector specifying which fields to include in a partial response. */
804
+ fields?:
805
+ string;
806
+ /** 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. */
807
+ key?:
808
+ string;
809
+ /** OAuth 2.0 token for the current user. */
810
+ oauth_token?:
811
+ string;
812
+ /** Returns response with indentations and line breaks. */
813
+ prettyPrint?:
814
+ boolean;
815
+ /** 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. */
816
+ quotaUser?:
817
+ string;
818
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
819
+ upload_protocol?:
820
+ string;
821
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
822
+ uploadType?:
823
+ string;
824
+ },
825
+ body: AddAddressGroupItemsRequest): Request<Operation>;
826
+ /** Clones items from one address group to another. */
827
+ cloneItems(request: {
828
+ /** V1 error format. */
829
+ "$.xgafv"?:
830
+ string;
831
+ /** OAuth access token. */
832
+ access_token?:
833
+ string;
834
+ /** Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
835
+ addressGroup:
836
+ string;
837
+ /** Data format for response. */
838
+ alt?:
839
+ string;
840
+ /** JSONP */
841
+ callback?:
842
+ string;
843
+ /** Selector specifying which fields to include in a partial response. */
844
+ fields?:
845
+ string;
846
+ /** 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. */
847
+ key?:
848
+ string;
849
+ /** OAuth 2.0 token for the current user. */
850
+ oauth_token?:
851
+ string;
852
+ /** Returns response with indentations and line breaks. */
853
+ prettyPrint?:
854
+ boolean;
855
+ /** 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. */
856
+ quotaUser?:
857
+ string;
858
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
859
+ upload_protocol?:
860
+ string;
861
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
862
+ uploadType?:
863
+ string;
864
+ /** Request body */
865
+ resource:
866
+ CloneAddressGroupItemsRequest;
867
+ }): Request<Operation>;
868
+ cloneItems(request: {
869
+ /** V1 error format. */
870
+ "$.xgafv"?:
871
+ string;
872
+ /** OAuth access token. */
873
+ access_token?:
874
+ string;
875
+ /** Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
876
+ addressGroup:
877
+ string;
878
+ /** Data format for response. */
879
+ alt?:
880
+ string;
881
+ /** JSONP */
882
+ callback?:
883
+ string;
884
+ /** Selector specifying which fields to include in a partial response. */
885
+ fields?:
886
+ string;
887
+ /** 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. */
888
+ key?:
889
+ string;
890
+ /** OAuth 2.0 token for the current user. */
891
+ oauth_token?:
892
+ string;
893
+ /** Returns response with indentations and line breaks. */
894
+ prettyPrint?:
895
+ boolean;
896
+ /** 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. */
897
+ quotaUser?:
898
+ string;
899
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
900
+ upload_protocol?:
901
+ string;
902
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
903
+ uploadType?:
904
+ string;
905
+ },
906
+ body: CloneAddressGroupItemsRequest): Request<Operation>;
907
+ /** Creates a new address group in a given project and location. */
908
+ create(request: {
909
+ /** V1 error format. */
910
+ "$.xgafv"?:
911
+ string;
912
+ /** OAuth access token. */
913
+ access_token?:
914
+ string;
915
+ /**
916
+ * 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
917
+ * should not start with a number. E.g. "authz_policy".
918
+ */
919
+ addressGroupId?:
920
+ string;
921
+ /** Data format for response. */
922
+ alt?:
923
+ string;
924
+ /** JSONP */
925
+ callback?:
926
+ string;
927
+ /** Selector specifying which fields to include in a partial response. */
928
+ fields?:
929
+ string;
930
+ /** 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. */
931
+ key?:
932
+ string;
933
+ /** OAuth 2.0 token for the current user. */
934
+ oauth_token?:
935
+ string;
936
+ /** Required. The parent resource of the AddressGroup. Must be in the format `projects/*‍/locations/{location}`. */
937
+ parent:
938
+ string;
939
+ /** Returns response with indentations and line breaks. */
940
+ prettyPrint?:
941
+ boolean;
942
+ /** 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. */
943
+ quotaUser?:
944
+ string;
945
+ /**
946
+ * 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
947
+ * 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
948
+ * 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
949
+ * 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
950
+ * supported (00000000-0000-0000-0000-000000000000).
951
+ */
952
+ requestId?:
953
+ string;
954
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
955
+ upload_protocol?:
956
+ string;
957
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
958
+ uploadType?:
959
+ string;
960
+ /** Request body */
961
+ resource:
962
+ AddressGroup;
963
+ }): Request<Operation>;
964
+ create(request: {
965
+ /** V1 error format. */
966
+ "$.xgafv"?:
967
+ string;
968
+ /** OAuth access token. */
969
+ access_token?:
970
+ string;
971
+ /**
972
+ * 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
973
+ * should not start with a number. E.g. "authz_policy".
974
+ */
975
+ addressGroupId?:
976
+ string;
977
+ /** Data format for response. */
978
+ alt?:
979
+ string;
980
+ /** JSONP */
981
+ callback?:
982
+ string;
983
+ /** Selector specifying which fields to include in a partial response. */
984
+ fields?:
985
+ string;
986
+ /** 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. */
987
+ key?:
988
+ string;
989
+ /** OAuth 2.0 token for the current user. */
990
+ oauth_token?:
991
+ string;
992
+ /** Required. The parent resource of the AddressGroup. Must be in the format `projects/*‍/locations/{location}`. */
993
+ parent:
994
+ string;
995
+ /** Returns response with indentations and line breaks. */
996
+ prettyPrint?:
997
+ boolean;
998
+ /** 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. */
999
+ quotaUser?:
1000
+ string;
1001
+ /**
1002
+ * 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
1003
+ * 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
1004
+ * 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
1005
+ * 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
1006
+ * supported (00000000-0000-0000-0000-000000000000).
1007
+ */
1008
+ requestId?:
1009
+ string;
1010
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1011
+ upload_protocol?:
1012
+ string;
1013
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1014
+ uploadType?:
1015
+ string;
1016
+ },
1017
+ body: AddressGroup): Request<Operation>;
1018
+ /** Deletes an address group. */
1019
+ delete(request?: {
1020
+ /** V1 error format. */
1021
+ "$.xgafv"?:
1022
+ string;
1023
+ /** OAuth access token. */
1024
+ access_token?:
1025
+ string;
1026
+ /** Data format for response. */
1027
+ alt?:
1028
+ string;
1029
+ /** JSONP */
1030
+ callback?:
1031
+ string;
1032
+ /** Selector specifying which fields to include in a partial response. */
1033
+ fields?:
1034
+ string;
1035
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1036
+ key?:
1037
+ string;
1038
+ /** Required. A name of the AddressGroup to delete. Must be in the format `projects/*‍/locations/{location}/addressGroups/*`. */
1039
+ name:
1040
+ string;
1041
+ /** OAuth 2.0 token for the current user. */
1042
+ oauth_token?:
1043
+ string;
1044
+ /** Returns response with indentations and line breaks. */
1045
+ prettyPrint?:
1046
+ boolean;
1047
+ /** 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. */
1048
+ quotaUser?:
1049
+ string;
1050
+ /**
1051
+ * 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
1052
+ * 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
1053
+ * 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
1054
+ * 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
1055
+ * supported (00000000-0000-0000-0000-000000000000).
1056
+ */
1057
+ requestId?:
1058
+ string;
1059
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1060
+ upload_protocol?:
1061
+ string;
1062
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1063
+ uploadType?:
1064
+ string;
1065
+ }): Request<Operation>;
1066
+ /** Gets details of a single address group. */
1067
+ get(request?: {
1068
+ /** V1 error format. */
1069
+ "$.xgafv"?:
1070
+ string;
1071
+ /** OAuth access token. */
1072
+ access_token?:
1073
+ string;
1074
+ /** Data format for response. */
1075
+ alt?:
1076
+ string;
1077
+ /** JSONP */
1078
+ callback?:
1079
+ string;
1080
+ /** Selector specifying which fields to include in a partial response. */
1081
+ fields?:
1082
+ string;
1083
+ /** 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. */
1084
+ key?:
1085
+ string;
1086
+ /** Required. A name of the AddressGroup to get. Must be in the format `projects/*‍/locations/{location}/addressGroups/*`. */
1087
+ name:
1088
+ string;
1089
+ /** OAuth 2.0 token for the current user. */
1090
+ oauth_token?:
1091
+ string;
1092
+ /** Returns response with indentations and line breaks. */
1093
+ prettyPrint?:
1094
+ boolean;
1095
+ /** 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. */
1096
+ quotaUser?:
1097
+ string;
1098
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1099
+ upload_protocol?:
1100
+ string;
1101
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1102
+ uploadType?:
1103
+ string;
1104
+ }): Request<AddressGroup>;
1105
+ /** Lists address groups in a given project and location. */
1106
+ list(request?: {
1107
+ /** V1 error format. */
1108
+ "$.xgafv"?:
1109
+ string;
1110
+ /** OAuth access token. */
1111
+ access_token?:
1112
+ string;
1113
+ /** Data format for response. */
1114
+ alt?:
1115
+ string;
1116
+ /** JSONP */
1117
+ callback?:
1118
+ string;
1119
+ /** Selector specifying which fields to include in a partial response. */
1120
+ fields?:
1121
+ string;
1122
+ /** 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. */
1123
+ key?:
1124
+ string;
1125
+ /** OAuth 2.0 token for the current user. */
1126
+ oauth_token?:
1127
+ string;
1128
+ /** Maximum number of AddressGroups to return per call. */
1129
+ pageSize?:
1130
+ number;
1131
+ /**
1132
+ * 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
1133
+ * page of data.
1134
+ */
1135
+ pageToken?:
1136
+ string;
1137
+ /** Required. The project and location from which the AddressGroups should be listed, specified in the format `projects/*‍/locations/{location}`. */
1138
+ parent:
1139
+ string;
1140
+ /** Returns response with indentations and line breaks. */
1141
+ prettyPrint?:
1142
+ boolean;
1143
+ /** 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. */
1144
+ quotaUser?:
1145
+ string;
1146
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1147
+ upload_protocol?:
1148
+ string;
1149
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1150
+ uploadType?:
1151
+ string;
1152
+ }): Request<ListAddressGroupsResponse>;
1153
+ /** Lists references of an address group. */
1154
+ listReferences(request?: {
1155
+ /** V1 error format. */
1156
+ "$.xgafv"?:
1157
+ string;
1158
+ /** OAuth access token. */
1159
+ access_token?:
1160
+ string;
1161
+ /** Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1162
+ addressGroup:
1163
+ string;
1164
+ /** Data format for response. */
1165
+ alt?:
1166
+ string;
1167
+ /** JSONP */
1168
+ callback?:
1169
+ string;
1170
+ /** Selector specifying which fields to include in a partial response. */
1171
+ fields?:
1172
+ string;
1173
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1174
+ key?:
1175
+ string;
1176
+ /** OAuth 2.0 token for the current user. */
1177
+ oauth_token?:
1178
+ string;
1179
+ /**
1180
+ * 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
1181
+ * response's next_page_token to determine if there are more AddressGroupUsers left to be queried.
1182
+ */
1183
+ pageSize?:
1184
+ number;
1185
+ /** The next_page_token value returned from a previous List request, if any. */
1186
+ pageToken?:
1187
+ string;
1188
+ /** Returns response with indentations and line breaks. */
1189
+ prettyPrint?:
1190
+ boolean;
1191
+ /** 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. */
1192
+ quotaUser?:
1193
+ string;
1194
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1195
+ upload_protocol?:
1196
+ string;
1197
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1198
+ uploadType?:
1199
+ string;
1200
+ }): Request<ListAddressGroupReferencesResponse>;
1201
+ /** Updates parameters of an address group. */
1202
+ patch(request: {
1203
+ /** V1 error format. */
1204
+ "$.xgafv"?:
1205
+ string;
1206
+ /** OAuth access token. */
1207
+ access_token?:
1208
+ string;
1209
+ /** Data format for response. */
1210
+ alt?:
1211
+ string;
1212
+ /** JSONP */
1213
+ callback?:
1214
+ string;
1215
+ /** Selector specifying which fields to include in a partial response. */
1216
+ fields?:
1217
+ string;
1218
+ /** 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. */
1219
+ key?:
1220
+ string;
1221
+ /** Required. Name of the AddressGroup resource. It matches pattern `projects/*‍/locations/{location}/addressGroups/`. */
1222
+ name:
1223
+ string;
1224
+ /** OAuth 2.0 token for the current user. */
1225
+ oauth_token?:
1226
+ string;
1227
+ /** Returns response with indentations and line breaks. */
1228
+ prettyPrint?:
1229
+ 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?:
1232
+ string;
1233
+ /**
1234
+ * 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
1235
+ * 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
1236
+ * 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
1237
+ * 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
1238
+ * supported (00000000-0000-0000-0000-000000000000).
1239
+ */
1240
+ requestId?:
1241
+ string;
1242
+ /**
1243
+ * 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
1244
+ * 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.
1245
+ */
1246
+ updateMask?:
1247
+ string;
1248
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1249
+ upload_protocol?:
1250
+ string;
1251
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1252
+ uploadType?:
1253
+ string;
1254
+ /** Request body */
1255
+ resource:
1256
+ AddressGroup;
1257
+ }): Request<Operation>;
1258
+ patch(request: {
1259
+ /** V1 error format. */
1260
+ "$.xgafv"?:
1261
+ string;
1262
+ /** OAuth access token. */
1263
+ access_token?:
1264
+ string;
1265
+ /** Data format for response. */
1266
+ alt?:
1267
+ string;
1268
+ /** JSONP */
1269
+ callback?:
1270
+ string;
1271
+ /** Selector specifying which fields to include in a partial response. */
1272
+ fields?:
1273
+ string;
1274
+ /** 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. */
1275
+ key?:
1276
+ string;
1277
+ /** Required. Name of the AddressGroup resource. It matches pattern `projects/*‍/locations/{location}/addressGroups/`. */
1278
+ name:
1279
+ string;
1280
+ /** OAuth 2.0 token for the current user. */
1281
+ oauth_token?:
1282
+ string;
1283
+ /** Returns response with indentations and line breaks. */
1284
+ prettyPrint?:
1285
+ boolean;
1286
+ /** 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. */
1287
+ quotaUser?:
1288
+ string;
1289
+ /**
1290
+ * 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
1291
+ * 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
1292
+ * 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
1293
+ * 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
1294
+ * supported (00000000-0000-0000-0000-000000000000).
1295
+ */
1296
+ requestId?:
1297
+ string;
1298
+ /**
1299
+ * 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
1300
+ * 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.
1301
+ */
1302
+ updateMask?:
1303
+ string;
1304
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1305
+ upload_protocol?:
1306
+ string;
1307
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1308
+ uploadType?:
1309
+ string;
1310
+ },
1311
+ body: AddressGroup): Request<Operation>;
1312
+ /** Removes items from an address group. */
1313
+ removeItems(request: {
1314
+ /** V1 error format. */
1315
+ "$.xgafv"?:
1316
+ string;
1317
+ /** OAuth access token. */
1318
+ access_token?:
1319
+ string;
1320
+ /** Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1321
+ addressGroup:
1322
+ string;
1323
+ /** Data format for response. */
1324
+ alt?:
1325
+ string;
1326
+ /** JSONP */
1327
+ callback?:
1328
+ string;
1329
+ /** Selector specifying which fields to include in a partial response. */
1330
+ fields?:
1331
+ string;
1332
+ /** 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. */
1333
+ key?:
1334
+ string;
1335
+ /** OAuth 2.0 token for the current user. */
1336
+ oauth_token?:
1337
+ string;
1338
+ /** Returns response with indentations and line breaks. */
1339
+ prettyPrint?:
1340
+ boolean;
1341
+ /** 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. */
1342
+ quotaUser?:
1343
+ string;
1344
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1345
+ upload_protocol?:
1346
+ string;
1347
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1348
+ uploadType?:
1349
+ string;
1350
+ /** Request body */
1351
+ resource:
1352
+ RemoveAddressGroupItemsRequest;
1353
+ }): Request<Operation>;
1354
+ removeItems(request: {
1355
+ /** V1 error format. */
1356
+ "$.xgafv"?:
1357
+ string;
1358
+ /** OAuth access token. */
1359
+ access_token?:
1360
+ string;
1361
+ /** Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1362
+ addressGroup:
1363
+ string;
1364
+ /** Data format for response. */
1365
+ alt?:
1366
+ string;
1367
+ /** JSONP */
1368
+ callback?:
1369
+ string;
1370
+ /** Selector specifying which fields to include in a partial response. */
1371
+ fields?:
1372
+ string;
1373
+ /** 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. */
1374
+ key?:
1375
+ string;
1376
+ /** OAuth 2.0 token for the current user. */
1377
+ oauth_token?:
1378
+ string;
1379
+ /** Returns response with indentations and line breaks. */
1380
+ prettyPrint?:
1381
+ boolean;
1382
+ /** 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. */
1383
+ quotaUser?:
1384
+ string;
1385
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1386
+ upload_protocol?:
1387
+ string;
1388
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1389
+ uploadType?:
1390
+ string;
1391
+ },
1392
+ body: RemoveAddressGroupItemsRequest): Request<Operation>;
1393
+ }
1394
+ interface OperationsResource {
1395
+ /**
1396
+ * 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
1397
+ * 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
1398
+ * operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
1399
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
1400
+ */
1401
+ cancel(request: {
1402
+ /** V1 error format. */
1403
+ "$.xgafv"?:
1404
+ string;
1405
+ /** OAuth access token. */
1406
+ access_token?:
1407
+ string;
1408
+ /** Data format for response. */
1409
+ alt?:
1410
+ string;
1411
+ /** JSONP */
1412
+ callback?:
1413
+ string;
1414
+ /** Selector specifying which fields to include in a partial response. */
1415
+ fields?:
1416
+ string;
1417
+ /** 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. */
1418
+ key?:
1419
+ string;
1420
+ /** The name of the operation resource to be cancelled. */
1421
+ name:
1422
+ string;
1423
+ /** OAuth 2.0 token for the current user. */
1424
+ oauth_token?:
1425
+ string;
1426
+ /** Returns response with indentations and line breaks. */
1427
+ prettyPrint?:
1428
+ boolean;
1429
+ /** 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. */
1430
+ quotaUser?:
1431
+ string;
1432
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1433
+ upload_protocol?:
1434
+ string;
1435
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1436
+ uploadType?:
1437
+ string;
1438
+ /** Request body */
1439
+ resource:
1440
+ CancelOperationRequest;
1441
+ }): Request<{}>;
1442
+ cancel(request: {
1443
+ /** V1 error format. */
1444
+ "$.xgafv"?:
1445
+ string;
1446
+ /** OAuth access token. */
1447
+ access_token?:
1448
+ string;
1449
+ /** Data format for response. */
1450
+ alt?:
1451
+ string;
1452
+ /** JSONP */
1453
+ callback?:
1454
+ string;
1455
+ /** Selector specifying which fields to include in a partial response. */
1456
+ fields?:
1457
+ string;
1458
+ /** 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. */
1459
+ key?:
1460
+ string;
1461
+ /** The name of the operation resource to be cancelled. */
1462
+ name:
1463
+ string;
1464
+ /** OAuth 2.0 token for the current user. */
1465
+ oauth_token?:
1466
+ string;
1467
+ /** Returns response with indentations and line breaks. */
1468
+ prettyPrint?:
1469
+ 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?:
1472
+ string;
1473
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1474
+ upload_protocol?:
1475
+ string;
1476
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1477
+ uploadType?:
1478
+ string;
1479
+ },
1480
+ body: CancelOperationRequest): Request<{}>;
1481
+ /**
1482
+ * 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
1483
+ * support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
1484
+ */
1485
+ delete(request?: {
1486
+ /** V1 error format. */
1487
+ "$.xgafv"?:
1488
+ string;
1489
+ /** OAuth access token. */
1490
+ access_token?:
1491
+ string;
1492
+ /** Data format for response. */
1493
+ alt?:
1494
+ string;
1495
+ /** JSONP */
1496
+ callback?:
1497
+ string;
1498
+ /** Selector specifying which fields to include in a partial response. */
1499
+ fields?:
1500
+ string;
1501
+ /** 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. */
1502
+ key?:
1503
+ string;
1504
+ /** The name of the operation resource to be deleted. */
1505
+ name:
1506
+ string;
1507
+ /** OAuth 2.0 token for the current user. */
1508
+ oauth_token?:
1509
+ string;
1510
+ /** Returns response with indentations and line breaks. */
1511
+ prettyPrint?:
1512
+ boolean;
1513
+ /** 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. */
1514
+ quotaUser?:
1515
+ string;
1516
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1517
+ upload_protocol?:
1518
+ string;
1519
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1520
+ uploadType?:
1521
+ string;
1522
+ }): Request<{}>;
1523
+ /** 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. */
1524
+ get(request?: {
1525
+ /** V1 error format. */
1526
+ "$.xgafv"?:
1527
+ string;
1528
+ /** OAuth access token. */
1529
+ access_token?:
1530
+ string;
1531
+ /** Data format for response. */
1532
+ alt?:
1533
+ string;
1534
+ /** JSONP */
1535
+ callback?:
1536
+ string;
1537
+ /** Selector specifying which fields to include in a partial response. */
1538
+ fields?:
1539
+ string;
1540
+ /** 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. */
1541
+ key?:
1542
+ string;
1543
+ /** The name of the operation resource. */
1544
+ name:
1545
+ string;
1546
+ /** OAuth 2.0 token for the current user. */
1547
+ oauth_token?:
1548
+ string;
1549
+ /** Returns response with indentations and line breaks. */
1550
+ prettyPrint?:
1551
+ 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?:
1554
+ string;
1555
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1556
+ upload_protocol?:
1557
+ string;
1558
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1559
+ uploadType?:
1560
+ string;
1561
+ }): Request<Operation>;
1562
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1563
+ list(request?: {
1564
+ /** V1 error format. */
1565
+ "$.xgafv"?:
1566
+ string;
1567
+ /** OAuth access token. */
1568
+ access_token?:
1569
+ string;
1570
+ /** Data format for response. */
1571
+ alt?:
1572
+ string;
1573
+ /** JSONP */
1574
+ callback?:
1575
+ string;
1576
+ /** Selector specifying which fields to include in a partial response. */
1577
+ fields?:
1578
+ string;
1579
+ /** The standard list filter. */
1580
+ filter?:
1581
+ string;
1582
+ /** 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. */
1583
+ key?:
1584
+ string;
1585
+ /** The name of the operation's parent resource. */
1586
+ name:
1587
+ string;
1588
+ /** OAuth 2.0 token for the current user. */
1589
+ oauth_token?:
1590
+ string;
1591
+ /** The standard list page size. */
1592
+ pageSize?:
1593
+ number;
1594
+ /** The standard list page token. */
1595
+ pageToken?:
1596
+ string;
1597
+ /** Returns response with indentations and line breaks. */
1598
+ prettyPrint?:
1599
+ boolean;
1600
+ /** 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. */
1601
+ quotaUser?:
1602
+ string;
1603
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1604
+ upload_protocol?:
1605
+ string;
1606
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1607
+ uploadType?:
1608
+ string;
1609
+ }): Request<ListOperationsResponse>;
1610
+ }
1611
+ interface LocationsResource {
1612
+ addressGroups:
1613
+ AddressGroupsResource;
1614
+ operations:
1615
+ OperationsResource;
1616
+ }
1617
+ interface OrganizationsResource {
1618
+ locations:
1619
+ LocationsResource;
1620
+ }
1621
+ interface AddressGroupsResource {
1622
+ /** Adds items to an address group. */
1623
+ addItems(request: {
1624
+ /** V1 error format. */
1625
+ "$.xgafv"?:
1626
+ string;
1627
+ /** OAuth access token. */
1628
+ access_token?:
1629
+ string;
1630
+ /** Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1631
+ addressGroup:
1632
+ string;
1633
+ /** Data format for response. */
1634
+ alt?:
1635
+ string;
1636
+ /** JSONP */
1637
+ callback?:
1638
+ string;
1639
+ /** Selector specifying which fields to include in a partial response. */
1640
+ fields?:
1641
+ string;
1642
+ /** 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. */
1643
+ key?:
1644
+ string;
1645
+ /** OAuth 2.0 token for the current user. */
1646
+ oauth_token?:
1647
+ string;
1648
+ /** Returns response with indentations and line breaks. */
1649
+ prettyPrint?:
1650
+ boolean;
1651
+ /** 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. */
1652
+ quotaUser?:
1653
+ string;
1654
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1655
+ upload_protocol?:
1656
+ string;
1657
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1658
+ uploadType?:
1659
+ string;
1660
+ /** Request body */
1661
+ resource:
1662
+ AddAddressGroupItemsRequest;
1663
+ }): Request<Operation>;
1664
+ addItems(request: {
1665
+ /** V1 error format. */
1666
+ "$.xgafv"?:
1667
+ string;
1668
+ /** OAuth access token. */
1669
+ access_token?:
1670
+ string;
1671
+ /** Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1672
+ addressGroup:
1673
+ string;
1674
+ /** Data format for response. */
1675
+ alt?:
1676
+ string;
1677
+ /** JSONP */
1678
+ callback?:
1679
+ string;
1680
+ /** Selector specifying which fields to include in a partial response. */
1681
+ fields?:
1682
+ string;
1683
+ /** 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. */
1684
+ key?:
1685
+ string;
1686
+ /** OAuth 2.0 token for the current user. */
1687
+ oauth_token?:
1688
+ string;
1689
+ /** Returns response with indentations and line breaks. */
1690
+ prettyPrint?:
1691
+ boolean;
1692
+ /** 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. */
1693
+ quotaUser?:
1694
+ string;
1695
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1696
+ upload_protocol?:
1697
+ string;
1698
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1699
+ uploadType?:
1700
+ string;
1701
+ },
1702
+ body: AddAddressGroupItemsRequest): Request<Operation>;
1703
+ /** Clones items from one address group to another. */
1704
+ cloneItems(request: {
1705
+ /** V1 error format. */
1706
+ "$.xgafv"?:
1707
+ string;
1708
+ /** OAuth access token. */
1709
+ access_token?:
1710
+ string;
1711
+ /** Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1712
+ addressGroup:
1713
+ string;
1714
+ /** Data format for response. */
1715
+ alt?:
1716
+ string;
1717
+ /** JSONP */
1718
+ callback?:
1719
+ string;
1720
+ /** Selector specifying which fields to include in a partial response. */
1721
+ fields?:
1722
+ string;
1723
+ /** 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. */
1724
+ key?:
1725
+ string;
1726
+ /** OAuth 2.0 token for the current user. */
1727
+ oauth_token?:
1728
+ string;
1729
+ /** Returns response with indentations and line breaks. */
1730
+ prettyPrint?:
1731
+ boolean;
1732
+ /** 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. */
1733
+ quotaUser?:
1734
+ string;
1735
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1736
+ upload_protocol?:
1737
+ string;
1738
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1739
+ uploadType?:
1740
+ string;
1741
+ /** Request body */
1742
+ resource:
1743
+ CloneAddressGroupItemsRequest;
1744
+ }): Request<Operation>;
1745
+ cloneItems(request: {
1746
+ /** V1 error format. */
1747
+ "$.xgafv"?:
1748
+ string;
1749
+ /** OAuth access token. */
1750
+ access_token?:
1751
+ string;
1752
+ /** Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
1753
+ addressGroup:
1754
+ string;
1755
+ /** Data format for response. */
1756
+ alt?:
1757
+ string;
1758
+ /** JSONP */
1759
+ callback?:
1760
+ string;
1761
+ /** Selector specifying which fields to include in a partial response. */
1762
+ fields?:
1763
+ string;
1764
+ /** 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. */
1765
+ key?:
1766
+ string;
1767
+ /** OAuth 2.0 token for the current user. */
1768
+ oauth_token?:
1769
+ string;
1770
+ /** Returns response with indentations and line breaks. */
1771
+ prettyPrint?:
1772
+ boolean;
1773
+ /** 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. */
1774
+ quotaUser?:
1775
+ string;
1776
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1777
+ upload_protocol?:
1778
+ string;
1779
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1780
+ uploadType?:
1781
+ string;
1782
+ },
1783
+ body: CloneAddressGroupItemsRequest): Request<Operation>;
1784
+ /** Creates a new address group in a given project and location. */
1785
+ create(request: {
1786
+ /** V1 error format. */
1787
+ "$.xgafv"?:
1788
+ string;
1789
+ /** OAuth access token. */
1790
+ access_token?:
1791
+ string;
1792
+ /**
1793
+ * 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
1794
+ * should not start with a number. E.g. "authz_policy".
1795
+ */
1796
+ addressGroupId?:
1797
+ string;
1798
+ /** Data format for response. */
1799
+ alt?:
1800
+ string;
1801
+ /** JSONP */
1802
+ callback?:
1803
+ string;
1804
+ /** Selector specifying which fields to include in a partial response. */
1805
+ fields?:
1806
+ string;
1807
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1808
+ key?:
1809
+ string;
1810
+ /** OAuth 2.0 token for the current user. */
1811
+ oauth_token?:
1812
+ string;
1813
+ /** Required. The parent resource of the AddressGroup. Must be in the format `projects/*‍/locations/{location}`. */
1814
+ parent:
1815
+ string;
1816
+ /** Returns response with indentations and line breaks. */
1817
+ prettyPrint?:
1818
+ boolean;
1819
+ /** 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. */
1820
+ quotaUser?:
1821
+ string;
1822
+ /**
1823
+ * 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
1824
+ * 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
1825
+ * 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
1826
+ * 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
1827
+ * supported (00000000-0000-0000-0000-000000000000).
1828
+ */
1829
+ requestId?:
1830
+ string;
1831
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1832
+ upload_protocol?:
1833
+ string;
1834
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1835
+ uploadType?:
1836
+ string;
1837
+ /** Request body */
1838
+ resource:
1839
+ AddressGroup;
1840
+ }): Request<Operation>;
1841
+ create(request: {
1842
+ /** V1 error format. */
1843
+ "$.xgafv"?:
1844
+ string;
1845
+ /** OAuth access token. */
1846
+ access_token?:
1847
+ string;
1848
+ /**
1849
+ * 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
1850
+ * should not start with a number. E.g. "authz_policy".
1851
+ */
1852
+ addressGroupId?:
1853
+ string;
1854
+ /** Data format for response. */
1855
+ alt?:
1856
+ string;
1857
+ /** JSONP */
1858
+ callback?:
1859
+ string;
1860
+ /** Selector specifying which fields to include in a partial response. */
1861
+ fields?:
1862
+ string;
1863
+ /** 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. */
1864
+ key?:
1865
+ string;
1866
+ /** OAuth 2.0 token for the current user. */
1867
+ oauth_token?:
1868
+ string;
1869
+ /** Required. The parent resource of the AddressGroup. Must be in the format `projects/*‍/locations/{location}`. */
1870
+ parent:
1871
+ string;
1872
+ /** Returns response with indentations and line breaks. */
1873
+ prettyPrint?:
1874
+ boolean;
1875
+ /** 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. */
1876
+ quotaUser?:
1877
+ string;
1878
+ /**
1879
+ * 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
1880
+ * 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
1881
+ * 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
1882
+ * 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
1883
+ * supported (00000000-0000-0000-0000-000000000000).
1884
+ */
1885
+ requestId?:
1886
+ string;
1887
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1888
+ upload_protocol?:
1889
+ string;
1890
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1891
+ uploadType?:
1892
+ string;
1893
+ },
1894
+ body: AddressGroup): Request<Operation>;
1895
+ /** Deletes a single address group. */
1896
+ delete(request?: {
1897
+ /** V1 error format. */
1898
+ "$.xgafv"?:
1899
+ string;
1900
+ /** OAuth access token. */
1901
+ access_token?:
1902
+ string;
1903
+ /** Data format for response. */
1904
+ alt?:
1905
+ string;
1906
+ /** JSONP */
1907
+ callback?:
1908
+ string;
1909
+ /** Selector specifying which fields to include in a partial response. */
1910
+ fields?:
1911
+ string;
1912
+ /** 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. */
1913
+ key?:
1914
+ string;
1915
+ /** Required. A name of the AddressGroup to delete. Must be in the format `projects/*‍/locations/{location}/addressGroups/*`. */
1916
+ name:
1917
+ string;
1918
+ /** OAuth 2.0 token for the current user. */
1919
+ oauth_token?:
1920
+ string;
1921
+ /** Returns response with indentations and line breaks. */
1922
+ prettyPrint?:
1923
+ boolean;
1924
+ /** 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. */
1925
+ quotaUser?:
1926
+ string;
1927
+ /**
1928
+ * 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
1929
+ * 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
1930
+ * 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
1931
+ * 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
1932
+ * supported (00000000-0000-0000-0000-000000000000).
1933
+ */
1934
+ requestId?:
1935
+ string;
1936
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1937
+ upload_protocol?:
1938
+ string;
1939
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1940
+ uploadType?:
1941
+ string;
1942
+ }): Request<Operation>;
1943
+ /** Gets details of a single address group. */
1944
+ get(request?: {
1945
+ /** V1 error format. */
1946
+ "$.xgafv"?:
1947
+ string;
1948
+ /** OAuth access token. */
1949
+ access_token?:
1950
+ string;
1951
+ /** Data format for response. */
1952
+ alt?:
1953
+ string;
1954
+ /** JSONP */
1955
+ callback?:
1956
+ string;
1957
+ /** Selector specifying which fields to include in a partial response. */
1958
+ fields?:
1959
+ string;
1960
+ /** 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. */
1961
+ key?:
1962
+ string;
1963
+ /** Required. A name of the AddressGroup to get. Must be in the format `projects/*‍/locations/{location}/addressGroups/*`. */
1964
+ name:
1965
+ string;
1966
+ /** OAuth 2.0 token for the current user. */
1967
+ oauth_token?:
1968
+ string;
1969
+ /** Returns response with indentations and line breaks. */
1970
+ prettyPrint?:
1971
+ boolean;
1972
+ /** 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. */
1973
+ quotaUser?:
1974
+ string;
1975
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1976
+ upload_protocol?:
1977
+ string;
1978
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1979
+ uploadType?:
1980
+ string;
1981
+ }): Request<AddressGroup>;
1982
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1983
+ getIamPolicy(request?: {
1984
+ /** V1 error format. */
1985
+ "$.xgafv"?:
1986
+ string;
1987
+ /** OAuth access token. */
1988
+ access_token?:
1989
+ string;
1990
+ /** Data format for response. */
1991
+ alt?:
1992
+ string;
1993
+ /** JSONP */
1994
+ callback?:
1995
+ string;
1996
+ /** Selector specifying which fields to include in a partial response. */
1997
+ fields?:
1998
+ string;
1999
+ /** 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. */
2000
+ key?:
2001
+ string;
2002
+ /** OAuth 2.0 token for the current user. */
2003
+ oauth_token?:
2004
+ string;
2005
+ /**
2006
+ * 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
2007
+ * 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
2008
+ * 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
2009
+ * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
2010
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
2011
+ */
2012
+ "options.requestedPolicyVersion"?:
2013
+ number;
2014
+ /** Returns response with indentations and line breaks. */
2015
+ prettyPrint?:
2016
+ boolean;
2017
+ /** 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. */
2018
+ quotaUser?:
2019
+ string;
2020
+ /**
2021
+ * 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
2022
+ * field.
2023
+ */
2024
+ resource:
2025
+ string;
2026
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2027
+ upload_protocol?:
2028
+ string;
2029
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2030
+ uploadType?:
2031
+ string;
2032
+ }): Request<GoogleIamV1Policy>;
2033
+ /** Lists address groups in a given project and location. */
2034
+ list(request?: {
2035
+ /** V1 error format. */
2036
+ "$.xgafv"?:
2037
+ string;
2038
+ /** OAuth access token. */
2039
+ access_token?:
2040
+ string;
2041
+ /** Data format for response. */
2042
+ alt?:
2043
+ string;
2044
+ /** JSONP */
2045
+ callback?:
2046
+ string;
2047
+ /** Selector specifying which fields to include in a partial response. */
2048
+ fields?:
2049
+ string;
2050
+ /** 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. */
2051
+ key?:
2052
+ string;
2053
+ /** OAuth 2.0 token for the current user. */
2054
+ oauth_token?:
2055
+ string;
2056
+ /** Maximum number of AddressGroups to return per call. */
2057
+ pageSize?:
2058
+ number;
2059
+ /**
2060
+ * 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
2061
+ * page of data.
2062
+ */
2063
+ pageToken?:
2064
+ string;
2065
+ /** Required. The project and location from which the AddressGroups should be listed, specified in the format `projects/*‍/locations/{location}`. */
2066
+ parent:
2067
+ string;
2068
+ /** Returns response with indentations and line breaks. */
2069
+ prettyPrint?:
2070
+ boolean;
2071
+ /** 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. */
2072
+ quotaUser?:
2073
+ string;
2074
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2075
+ upload_protocol?:
2076
+ string;
2077
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2078
+ uploadType?:
2079
+ string;
2080
+ }): Request<ListAddressGroupsResponse>;
2081
+ /** Lists references of an address group. */
2082
+ listReferences(request?: {
2083
+ /** V1 error format. */
2084
+ "$.xgafv"?:
2085
+ string;
2086
+ /** OAuth access token. */
2087
+ access_token?:
2088
+ string;
2089
+ /** Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
2090
+ addressGroup:
2091
+ string;
2092
+ /** Data format for response. */
2093
+ alt?:
2094
+ string;
2095
+ /** JSONP */
2096
+ callback?:
2097
+ string;
2098
+ /** Selector specifying which fields to include in a partial response. */
2099
+ fields?:
2100
+ string;
2101
+ /** 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. */
2102
+ key?:
2103
+ string;
2104
+ /** OAuth 2.0 token for the current user. */
2105
+ oauth_token?:
2106
+ string;
2107
+ /**
2108
+ * 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
2109
+ * response's next_page_token to determine if there are more AddressGroupUsers left to be queried.
2110
+ */
2111
+ pageSize?:
2112
+ number;
2113
+ /** The next_page_token value returned from a previous List request, if any. */
2114
+ pageToken?:
2115
+ string;
2116
+ /** Returns response with indentations and line breaks. */
2117
+ prettyPrint?:
2118
+ boolean;
2119
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2120
+ quotaUser?:
2121
+ string;
2122
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2123
+ upload_protocol?:
2124
+ string;
2125
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2126
+ uploadType?:
2127
+ string;
2128
+ }): Request<ListAddressGroupReferencesResponse>;
2129
+ /** Updates the parameters of a single address group. */
2130
+ patch(request: {
2131
+ /** V1 error format. */
2132
+ "$.xgafv"?:
2133
+ string;
2134
+ /** OAuth access token. */
2135
+ access_token?:
2136
+ string;
2137
+ /** Data format for response. */
2138
+ alt?:
2139
+ string;
2140
+ /** JSONP */
2141
+ callback?:
2142
+ string;
2143
+ /** Selector specifying which fields to include in a partial response. */
2144
+ fields?:
2145
+ string;
2146
+ /** 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. */
2147
+ key?:
2148
+ string;
2149
+ /** Required. Name of the AddressGroup resource. It matches pattern `projects/*‍/locations/{location}/addressGroups/`. */
2150
+ name:
2151
+ string;
2152
+ /** OAuth 2.0 token for the current user. */
2153
+ oauth_token?:
2154
+ string;
2155
+ /** Returns response with indentations and line breaks. */
2156
+ prettyPrint?:
2157
+ boolean;
2158
+ /** 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. */
2159
+ quotaUser?:
2160
+ string;
2161
+ /**
2162
+ * 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
2163
+ * 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
2164
+ * 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
2165
+ * 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
2166
+ * supported (00000000-0000-0000-0000-000000000000).
2167
+ */
2168
+ requestId?:
2169
+ string;
2170
+ /**
2171
+ * 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
2172
+ * 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.
2173
+ */
2174
+ updateMask?:
2175
+ string;
2176
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2177
+ upload_protocol?:
2178
+ string;
2179
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2180
+ uploadType?:
2181
+ string;
2182
+ /** Request body */
2183
+ resource:
2184
+ AddressGroup;
2185
+ }): Request<Operation>;
2186
+ patch(request: {
2187
+ /** V1 error format. */
2188
+ "$.xgafv"?:
2189
+ string;
2190
+ /** OAuth access token. */
2191
+ access_token?:
2192
+ string;
2193
+ /** Data format for response. */
2194
+ alt?:
2195
+ string;
2196
+ /** JSONP */
2197
+ callback?:
2198
+ string;
2199
+ /** Selector specifying which fields to include in a partial response. */
2200
+ fields?:
2201
+ string;
2202
+ /** 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. */
2203
+ key?:
2204
+ string;
2205
+ /** Required. Name of the AddressGroup resource. It matches pattern `projects/*‍/locations/{location}/addressGroups/`. */
2206
+ name:
2207
+ string;
2208
+ /** OAuth 2.0 token for the current user. */
2209
+ oauth_token?:
2210
+ string;
2211
+ /** Returns response with indentations and line breaks. */
2212
+ prettyPrint?:
2213
+ boolean;
2214
+ /** 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. */
2215
+ quotaUser?:
2216
+ string;
2217
+ /**
2218
+ * 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
2219
+ * 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
2220
+ * 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
2221
+ * 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
2222
+ * supported (00000000-0000-0000-0000-000000000000).
2223
+ */
2224
+ requestId?:
2225
+ string;
2226
+ /**
2227
+ * 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
2228
+ * 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.
2229
+ */
2230
+ updateMask?:
2231
+ string;
2232
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2233
+ upload_protocol?:
2234
+ string;
2235
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2236
+ uploadType?:
2237
+ string;
2238
+ },
2239
+ body: AddressGroup): Request<Operation>;
2240
+ /** Removes items from an address group. */
2241
+ removeItems(request: {
2242
+ /** V1 error format. */
2243
+ "$.xgafv"?:
2244
+ string;
2245
+ /** OAuth access token. */
2246
+ access_token?:
2247
+ string;
2248
+ /** Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
2249
+ addressGroup:
2250
+ string;
2251
+ /** Data format for response. */
2252
+ alt?:
2253
+ string;
2254
+ /** JSONP */
2255
+ callback?:
2256
+ string;
2257
+ /** Selector specifying which fields to include in a partial response. */
2258
+ fields?:
2259
+ string;
2260
+ /** 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. */
2261
+ key?:
2262
+ string;
2263
+ /** OAuth 2.0 token for the current user. */
2264
+ oauth_token?:
2265
+ string;
2266
+ /** Returns response with indentations and line breaks. */
2267
+ prettyPrint?:
2268
+ boolean;
2269
+ /** 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. */
2270
+ quotaUser?:
2271
+ string;
2272
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2273
+ upload_protocol?:
2274
+ string;
2275
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2276
+ uploadType?:
2277
+ string;
2278
+ /** Request body */
2279
+ resource:
2280
+ RemoveAddressGroupItemsRequest;
2281
+ }): Request<Operation>;
2282
+ removeItems(request: {
2283
+ /** V1 error format. */
2284
+ "$.xgafv"?:
2285
+ string;
2286
+ /** OAuth access token. */
2287
+ access_token?:
2288
+ string;
2289
+ /** Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/*‍/locations/{location}/addressGroups/*`. */
2290
+ addressGroup:
2291
+ string;
2292
+ /** Data format for response. */
2293
+ alt?:
2294
+ string;
2295
+ /** JSONP */
2296
+ callback?:
2297
+ string;
2298
+ /** Selector specifying which fields to include in a partial response. */
2299
+ fields?:
2300
+ string;
2301
+ /** 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. */
2302
+ key?:
2303
+ string;
2304
+ /** OAuth 2.0 token for the current user. */
2305
+ oauth_token?:
2306
+ string;
2307
+ /** Returns response with indentations and line breaks. */
2308
+ prettyPrint?:
2309
+ boolean;
2310
+ /** 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. */
2311
+ quotaUser?:
2312
+ string;
2313
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2314
+ upload_protocol?:
2315
+ string;
2316
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2317
+ uploadType?:
2318
+ string;
2319
+ },
2320
+ body: RemoveAddressGroupItemsRequest): Request<Operation>;
2321
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2322
+ setIamPolicy(request: {
2323
+ /** V1 error format. */
2324
+ "$.xgafv"?:
2325
+ string;
2326
+ /** OAuth access token. */
2327
+ access_token?:
2328
+ string;
2329
+ /** Data format for response. */
2330
+ alt?:
2331
+ string;
2332
+ /** JSONP */
2333
+ callback?:
2334
+ string;
2335
+ /** Selector specifying which fields to include in a partial response. */
2336
+ fields?:
2337
+ string;
2338
+ /** 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. */
2339
+ key?:
2340
+ string;
2341
+ /** OAuth 2.0 token for the current user. */
2342
+ oauth_token?:
2343
+ string;
2344
+ /** Returns response with indentations and line breaks. */
2345
+ prettyPrint?:
2346
+ boolean;
2347
+ /** 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. */
2348
+ quotaUser?:
2349
+ string;
2350
+ /**
2351
+ * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
2352
+ * field.
2353
+ */
2354
+ resource:
2355
+ string;
2356
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2357
+ upload_protocol?:
2358
+ string;
2359
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2360
+ uploadType?:
2361
+ string;
2362
+ },
2363
+ body: GoogleIamV1SetIamPolicyRequest): Request<GoogleIamV1Policy>;
2364
+ /**
2365
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
2366
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
625
2367
  */
626
- name?:
627
- string;
628
- /** Output only. Time when the security policy was updated. */
629
- updateTime?:
630
- string;
631
- /** Required. FQDNs and URLs. */
632
- values?:
633
- string[];
634
- }
635
- interface ValidationCA {
636
- /** The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. */
637
- certificateProviderInstance?:
638
- CertificateProviderInstance;
639
- /** gRPC specific configuration to access the gRPC server to obtain the CA certificate. */
640
- grpcEndpoint?:
641
- GoogleCloudNetworksecurityV1GrpcEndpoint;
2368
+ testIamPermissions(request: {
2369
+ /** V1 error format. */
2370
+ "$.xgafv"?:
2371
+ string;
2372
+ /** OAuth access token. */
2373
+ access_token?:
2374
+ string;
2375
+ /** Data format for response. */
2376
+ alt?:
2377
+ string;
2378
+ /** JSONP */
2379
+ callback?:
2380
+ string;
2381
+ /** Selector specifying which fields to include in a partial response. */
2382
+ fields?:
2383
+ string;
2384
+ /** 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. */
2385
+ key?:
2386
+ string;
2387
+ /** OAuth 2.0 token for the current user. */
2388
+ oauth_token?:
2389
+ string;
2390
+ /** Returns response with indentations and line breaks. */
2391
+ prettyPrint?:
2392
+ boolean;
2393
+ /** 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. */
2394
+ quotaUser?:
2395
+ string;
2396
+ /**
2397
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
2398
+ * this field.
2399
+ */
2400
+ resource:
2401
+ string;
2402
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2403
+ upload_protocol?:
2404
+ string;
2405
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2406
+ uploadType?:
2407
+ string;
2408
+ },
2409
+ body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
642
2410
  }
643
2411
  interface AuthorizationPoliciesResource {
644
2412
  /** Creates a new AuthorizationPolicy in a given project and location. */
@@ -3595,6 +5363,8 @@ declare namespace gapi.client {
3595
5363
  uploadType?:
3596
5364
  string;
3597
5365
  }): Request<ListLocationsResponse>;
5366
+ addressGroups:
5367
+ AddressGroupsResource;
3598
5368
  authorizationPolicies:
3599
5369
  AuthorizationPoliciesResource;
3600
5370
  clientTlsPolicies:
@@ -3615,6 +5385,8 @@ declare namespace gapi.client {
3615
5385
  LocationsResource;
3616
5386
  }
3617
5387
 
5388
+ const organizations: OrganizationsResource;
5389
+
3618
5390
  const projects: ProjectsResource;
3619
5391
  }
3620
5392
  }