@maxim_mazurok/gapi.client.networksecurity-v1 0.0.20240919 → 0.0.20241202

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 (2) hide show
  1. package/index.d.ts +347 -3
  2. package/package.json +1 -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: 20240919
12
+ // Revision: 20241202
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -72,6 +72,111 @@ declare namespace gapi.client {
72
72
  /** Output only. The timestamp when the resource was updated. */
73
73
  updateTime?: string;
74
74
  }
75
+ interface AuthzPolicy {
76
+ /** Required. Can be one of `ALLOW`, `DENY`, `CUSTOM`. When the action is `CUSTOM`, `customProvider` must be specified. When the action is `ALLOW`, only requests matching the policy will be allowed. When the action is `DENY`, only requests matching the policy will be denied. When a request arrives, the policies are evaluated in the following order: 1. If there is a `CUSTOM` policy that matches the request, the `CUSTOM` policy is evaluated using the custom authorization providers and the request is denied if the provider rejects the request. 2. If there are any `DENY` policies that match the request, the request is denied. 3. If there are no `ALLOW` policies for the resource or if any of the `ALLOW` policies match the request, the request is allowed. 4. Else the request is denied by default if none of the configured AuthzPolicies with `ALLOW` action match the request. */
77
+ action?: string;
78
+ /** Output only. The timestamp when the resource was created. */
79
+ createTime?: string;
80
+ /** Optional. Required if the action is `CUSTOM`. Allows delegating authorization decisions to Cloud IAP or to Service Extensions. One of `cloudIap` or `authzExtension` must be specified. */
81
+ customProvider?: AuthzPolicyCustomProvider;
82
+ /** Optional. A human-readable description of the resource. */
83
+ description?: string;
84
+ /** Optional. A list of authorization HTTP rules to match against the incoming request. A policy match occurs when at least one HTTP rule matches the request or when no HTTP rules are specified in the policy. At least one HTTP Rule is required for Allow or Deny Action. Limited to 5 rules. */
85
+ httpRules?: AuthzPolicyAuthzRule[];
86
+ /** Optional. Set of labels associated with the `AuthzPolicy` resource. The format must comply with [the following requirements](/compute/docs/labeling-resources#requirements). */
87
+ labels?: {[P in string]: string};
88
+ /** Required. Identifier. Name of the `AuthzPolicy` resource in the following format: `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`. */
89
+ name?: string;
90
+ /** Required. Specifies the set of resources to which this policy should be applied to. */
91
+ target?: AuthzPolicyTarget;
92
+ /** Output only. The timestamp when the resource was updated. */
93
+ updateTime?: string;
94
+ }
95
+ interface AuthzPolicyAuthzRule {
96
+ /** Optional. Describes properties of a source of a request. */
97
+ from?: AuthzPolicyAuthzRuleFrom;
98
+ /** Optional. Describes properties of a target of a request. */
99
+ to?: AuthzPolicyAuthzRuleTo;
100
+ /** Optional. CEL expression that describes the conditions to be satisfied for the action. The result of the CEL expression is ANDed with the from and to. Refer to the CEL language reference for a list of available attributes. */
101
+ when?: string;
102
+ }
103
+ interface AuthzPolicyAuthzRuleFrom {
104
+ /** Optional. Describes the negated properties of request sources. Matches requests from sources that do not match the criteria specified in this field. At least one of sources or notSources must be specified. */
105
+ notSources?: AuthzPolicyAuthzRuleFromRequestSource[];
106
+ /** Optional. Describes the properties of a request's sources. At least one of sources or notSources must be specified. Limited to 1 source. A match occurs when ANY source (in sources or notSources) matches the request. Within a single source, the match follows AND semantics across fields and OR semantics within a single field, i.e. a match occurs when ANY principal matches AND ANY ipBlocks match. */
107
+ sources?: AuthzPolicyAuthzRuleFromRequestSource[];
108
+ }
109
+ interface AuthzPolicyAuthzRuleFromRequestSource {
110
+ /** Optional. A list of identities derived from the client's certificate. This field will not match on a request unless mutual TLS is enabled for the Forwarding rule or Gateway. Each identity is a string whose value is matched against the URI SAN, or DNS SAN or the subject field in the client's certificate. The match can be exact, prefix, suffix or a substring match. One of exact, prefix, suffix or contains must be specified. Limited to 5 principals. */
111
+ principals?: AuthzPolicyAuthzRuleStringMatch[];
112
+ /** Optional. A list of resources to match against the resource of the source VM of a request. Limited to 5 resources. */
113
+ resources?: AuthzPolicyAuthzRuleRequestResource[];
114
+ }
115
+ interface AuthzPolicyAuthzRuleHeaderMatch {
116
+ /** Optional. Specifies the name of the header in the request. */
117
+ name?: string;
118
+ /** Optional. Specifies how the header match will be performed. */
119
+ value?: AuthzPolicyAuthzRuleStringMatch;
120
+ }
121
+ interface AuthzPolicyAuthzRuleRequestResource {
122
+ /** Optional. An IAM service account to match against the source service account of the VM sending the request. */
123
+ iamServiceAccount?: AuthzPolicyAuthzRuleStringMatch;
124
+ /** Optional. A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request. */
125
+ tagValueIdSet?: AuthzPolicyAuthzRuleRequestResourceTagValueIdSet;
126
+ }
127
+ interface AuthzPolicyAuthzRuleRequestResourceTagValueIdSet {
128
+ /** Required. A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request. The match follows AND semantics which means all the ids must match. Limited to 5 matches. */
129
+ ids?: string[];
130
+ }
131
+ interface AuthzPolicyAuthzRuleStringMatch {
132
+ /** The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead. Examples: * ``abc`` matches the value ``xyz.abc.def`` */
133
+ contains?: string;
134
+ /** The input string must match exactly the string specified here. Examples: * ``abc`` only matches the value ``abc``. */
135
+ exact?: string;
136
+ /** If true, indicates the exact/prefix/suffix/contains matching should be case insensitive. For example, the matcher ``data`` will match both input string ``Data`` and ``data`` if set to true. */
137
+ ignoreCase?: boolean;
138
+ /** The input string must have the prefix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * ``abc`` matches the value ``abc.xyz`` */
139
+ prefix?: string;
140
+ /** The input string must have the suffix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * ``abc`` matches the value ``xyz.abc`` */
141
+ suffix?: string;
142
+ }
143
+ interface AuthzPolicyAuthzRuleTo {
144
+ /** Optional. Describes the negated properties of the targets of a request. Matches requests for operations that do not match the criteria specified in this field. At least one of operations or notOperations must be specified. */
145
+ notOperations?: AuthzPolicyAuthzRuleToRequestOperation[];
146
+ /** Optional. Describes properties of one or more targets of a request. At least one of operations or notOperations must be specified. Limited to 1 operation. A match occurs when ANY operation (in operations or notOperations) matches. Within an operation, the match follows AND semantics across fields and OR semantics within a field, i.e. a match occurs when ANY path matches AND ANY header matches and ANY method matches. */
147
+ operations?: AuthzPolicyAuthzRuleToRequestOperation[];
148
+ }
149
+ interface AuthzPolicyAuthzRuleToRequestOperation {
150
+ /** Optional. A list of headers to match against in http header. */
151
+ headerSet?: AuthzPolicyAuthzRuleToRequestOperationHeaderSet;
152
+ /** Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 5 matches. */
153
+ hosts?: AuthzPolicyAuthzRuleStringMatch[];
154
+ /** Optional. A list of HTTP methods to match against. Each entry must be a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case sensitive. */
155
+ methods?: string[];
156
+ /** Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 5 matches. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method. */
157
+ paths?: AuthzPolicyAuthzRuleStringMatch[];
158
+ }
159
+ interface AuthzPolicyAuthzRuleToRequestOperationHeaderSet {
160
+ /** Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 5 matches. */
161
+ headers?: AuthzPolicyAuthzRuleHeaderMatch[];
162
+ }
163
+ interface AuthzPolicyCustomProvider {
164
+ /** Optional. Delegate authorization decision to user authored Service Extension. Only one of cloudIap or authzExtension can be specified. */
165
+ authzExtension?: AuthzPolicyCustomProviderAuthzExtension;
166
+ /** Optional. Delegates authorization decisions to Cloud IAP. Applicable only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy level is not compatible with Cloud IAP settings in the BackendService. Enabling IAP in both places will result in request failure. Ensure that IAP is enabled in either the AuthzPolicy or the BackendService but not in both places. */
167
+ cloudIap?: any;
168
+ }
169
+ interface AuthzPolicyCustomProviderAuthzExtension {
170
+ /** Required. A list of references to authorization extensions that will be invoked for requests matching this policy. Limited to 1 custom provider. */
171
+ resources?: string[];
172
+ }
173
+ interface AuthzPolicyCustomProviderCloudIap {}
174
+ interface AuthzPolicyTarget {
175
+ /** Required. All gateways and forwarding rules referenced by this policy and extensions must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service). */
176
+ loadBalancingScheme?: string;
177
+ /** Required. A list of references to the Forwarding Rules on which this policy will be applied. */
178
+ resources?: string[];
179
+ }
75
180
  interface CancelOperationRequest {}
76
181
  interface CertificateProviderInstance {
77
182
  /** Required. Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance. */
@@ -101,6 +206,10 @@ declare namespace gapi.client {
101
206
  /** Required. Source address group to clone items from. */
102
207
  sourceAddressGroup?: string;
103
208
  }
209
+ interface CustomInterceptProfile {
210
+ /** Required. The InterceptEndpointGroup to which traffic associated with the SP should be mirrored. */
211
+ interceptEndpointGroup?: string;
212
+ }
104
213
  interface CustomMirroringProfile {
105
214
  /** Required. The MirroringEndpointGroup to which traffic associated with the SP should be mirrored. */
106
215
  mirroringEndpointGroup?: string;
@@ -296,6 +405,14 @@ declare namespace gapi.client {
296
405
  /** If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`. */
297
406
  nextPageToken?: string;
298
407
  }
408
+ interface ListAuthzPoliciesResponse {
409
+ /** The list of `AuthzPolicy` resources. */
410
+ authzPolicies?: AuthzPolicy[];
411
+ /** A token identifying a page of results that the server returns. */
412
+ nextPageToken?: string;
413
+ /** Locations that could not be reached. */
414
+ unreachable?: string[];
415
+ }
299
416
  interface ListClientTlsPoliciesResponse {
300
417
  /** List of ClientTlsPolicy resources. */
301
418
  clientTlsPolicies?: ClientTlsPolicy[];
@@ -443,6 +560,8 @@ declare namespace gapi.client {
443
560
  interface SecurityProfile {
444
561
  /** Output only. Resource creation timestamp. */
445
562
  createTime?: string;
563
+ /** The custom TPPI configuration for the SecurityProfile. */
564
+ customInterceptProfile?: CustomInterceptProfile;
446
565
  /** The custom Packet Mirroring v2 configuration for the SecurityProfile. */
447
566
  customMirroringProfile?: CustomMirroringProfile;
448
567
  /** Optional. An optional description of the profile. Max length 512 characters. */
@@ -463,6 +582,8 @@ declare namespace gapi.client {
463
582
  interface SecurityProfileGroup {
464
583
  /** Output only. Resource creation timestamp. */
465
584
  createTime?: string;
585
+ /** Optional. Reference to a SecurityProfile with the CustomIntercept configuration. */
586
+ customInterceptProfile?: string;
466
587
  /** Optional. Reference to a SecurityProfile with the CustomMirroring configuration. */
467
588
  customMirroringProfile?: string;
468
589
  /** Optional. An optional description of the profile group. Max length 2048 characters. */
@@ -1222,7 +1343,7 @@ declare namespace gapi.client {
1222
1343
  ): Request<Operation>;
1223
1344
  }
1224
1345
  interface OperationsResource {
1225
- /** 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 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 operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
1346
+ /** 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 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 operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
1226
1347
  cancel(request: {
1227
1348
  /** V1 error format. */
1228
1349
  '$.xgafv'?: string;
@@ -2620,6 +2741,128 @@ declare namespace gapi.client {
2620
2741
  ): Request<GoogleIamV1TestIamPermissionsResponse>;
2621
2742
  }
2622
2743
  interface AuthzPoliciesResource {
2744
+ /** Creates a new AuthzPolicy in a given project and location. */
2745
+ create(request: {
2746
+ /** V1 error format. */
2747
+ '$.xgafv'?: string;
2748
+ /** OAuth access token. */
2749
+ access_token?: string;
2750
+ /** Data format for response. */
2751
+ alt?: string;
2752
+ /** Required. User-provided ID of the `AuthzPolicy` resource to be created. */
2753
+ authzPolicyId?: string;
2754
+ /** JSONP */
2755
+ callback?: string;
2756
+ /** Selector specifying which fields to include in a partial response. */
2757
+ fields?: string;
2758
+ /** 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. */
2759
+ key?: string;
2760
+ /** OAuth 2.0 token for the current user. */
2761
+ oauth_token?: string;
2762
+ /** Required. The parent resource of the `AuthzPolicy` resource. Must be in the format `projects/{project}/locations/{location}`. */
2763
+ parent: string;
2764
+ /** Returns response with indentations and line breaks. */
2765
+ prettyPrint?: boolean;
2766
+ /** 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. */
2767
+ quotaUser?: string;
2768
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
2769
+ requestId?: string;
2770
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2771
+ upload_protocol?: string;
2772
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2773
+ uploadType?: string;
2774
+ /** Request body */
2775
+ resource: AuthzPolicy;
2776
+ }): Request<Operation>;
2777
+ create(
2778
+ request: {
2779
+ /** V1 error format. */
2780
+ '$.xgafv'?: string;
2781
+ /** OAuth access token. */
2782
+ access_token?: string;
2783
+ /** Data format for response. */
2784
+ alt?: string;
2785
+ /** Required. User-provided ID of the `AuthzPolicy` resource to be created. */
2786
+ authzPolicyId?: string;
2787
+ /** JSONP */
2788
+ callback?: string;
2789
+ /** Selector specifying which fields to include in a partial response. */
2790
+ fields?: string;
2791
+ /** 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. */
2792
+ key?: string;
2793
+ /** OAuth 2.0 token for the current user. */
2794
+ oauth_token?: string;
2795
+ /** Required. The parent resource of the `AuthzPolicy` resource. Must be in the format `projects/{project}/locations/{location}`. */
2796
+ parent: string;
2797
+ /** Returns response with indentations and line breaks. */
2798
+ prettyPrint?: boolean;
2799
+ /** 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. */
2800
+ quotaUser?: string;
2801
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
2802
+ requestId?: string;
2803
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2804
+ upload_protocol?: string;
2805
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2806
+ uploadType?: string;
2807
+ },
2808
+ body: AuthzPolicy
2809
+ ): Request<Operation>;
2810
+ /** Deletes a single AuthzPolicy. */
2811
+ delete(request?: {
2812
+ /** V1 error format. */
2813
+ '$.xgafv'?: string;
2814
+ /** OAuth access token. */
2815
+ access_token?: string;
2816
+ /** Data format for response. */
2817
+ alt?: string;
2818
+ /** JSONP */
2819
+ callback?: string;
2820
+ /** Selector specifying which fields to include in a partial response. */
2821
+ fields?: string;
2822
+ /** 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. */
2823
+ key?: string;
2824
+ /** Required. The name of the `AuthzPolicy` resource to delete. Must be in the format `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`. */
2825
+ name: string;
2826
+ /** OAuth 2.0 token for the current user. */
2827
+ oauth_token?: string;
2828
+ /** Returns response with indentations and line breaks. */
2829
+ prettyPrint?: boolean;
2830
+ /** 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. */
2831
+ quotaUser?: string;
2832
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
2833
+ requestId?: string;
2834
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2835
+ upload_protocol?: string;
2836
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2837
+ uploadType?: string;
2838
+ }): Request<Operation>;
2839
+ /** Gets details of a single AuthzPolicy. */
2840
+ get(request?: {
2841
+ /** V1 error format. */
2842
+ '$.xgafv'?: string;
2843
+ /** OAuth access token. */
2844
+ access_token?: string;
2845
+ /** Data format for response. */
2846
+ alt?: string;
2847
+ /** JSONP */
2848
+ callback?: string;
2849
+ /** Selector specifying which fields to include in a partial response. */
2850
+ fields?: string;
2851
+ /** 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. */
2852
+ key?: string;
2853
+ /** Required. A name of the `AuthzPolicy` resource to get. Must be in the format `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`. */
2854
+ name: string;
2855
+ /** OAuth 2.0 token for the current user. */
2856
+ oauth_token?: string;
2857
+ /** Returns response with indentations and line breaks. */
2858
+ prettyPrint?: boolean;
2859
+ /** 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. */
2860
+ quotaUser?: string;
2861
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2862
+ upload_protocol?: string;
2863
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2864
+ uploadType?: string;
2865
+ }): Request<AuthzPolicy>;
2623
2866
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2624
2867
  getIamPolicy(request?: {
2625
2868
  /** V1 error format. */
@@ -2649,6 +2892,107 @@ declare namespace gapi.client {
2649
2892
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2650
2893
  uploadType?: string;
2651
2894
  }): Request<GoogleIamV1Policy>;
2895
+ /** Lists AuthzPolicies in a given project and location. */
2896
+ list(request?: {
2897
+ /** V1 error format. */
2898
+ '$.xgafv'?: string;
2899
+ /** OAuth access token. */
2900
+ access_token?: string;
2901
+ /** Data format for response. */
2902
+ alt?: string;
2903
+ /** JSONP */
2904
+ callback?: string;
2905
+ /** Selector specifying which fields to include in a partial response. */
2906
+ fields?: string;
2907
+ /** Optional. Filtering results. */
2908
+ filter?: string;
2909
+ /** 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. */
2910
+ key?: string;
2911
+ /** OAuth 2.0 token for the current user. */
2912
+ oauth_token?: string;
2913
+ /** Optional. Hint for how to order the results. */
2914
+ orderBy?: string;
2915
+ /** Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */
2916
+ pageSize?: number;
2917
+ /** Optional. A token identifying a page of results that the server returns. */
2918
+ pageToken?: string;
2919
+ /** Required. The project and location from which the `AuthzPolicy` resources are listed, specified in the following format: `projects/{project}/locations/{location}`. */
2920
+ parent: string;
2921
+ /** Returns response with indentations and line breaks. */
2922
+ prettyPrint?: boolean;
2923
+ /** 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. */
2924
+ quotaUser?: string;
2925
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2926
+ upload_protocol?: string;
2927
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2928
+ uploadType?: string;
2929
+ }): Request<ListAuthzPoliciesResponse>;
2930
+ /** Updates the parameters of a single AuthzPolicy. */
2931
+ patch(request: {
2932
+ /** V1 error format. */
2933
+ '$.xgafv'?: string;
2934
+ /** OAuth access token. */
2935
+ access_token?: string;
2936
+ /** Data format for response. */
2937
+ alt?: string;
2938
+ /** JSONP */
2939
+ callback?: string;
2940
+ /** Selector specifying which fields to include in a partial response. */
2941
+ fields?: string;
2942
+ /** 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. */
2943
+ key?: string;
2944
+ /** Required. Identifier. Name of the `AuthzPolicy` resource in the following format: `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`. */
2945
+ name: string;
2946
+ /** OAuth 2.0 token for the current user. */
2947
+ oauth_token?: string;
2948
+ /** Returns response with indentations and line breaks. */
2949
+ prettyPrint?: boolean;
2950
+ /** 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. */
2951
+ quotaUser?: string;
2952
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
2953
+ requestId?: string;
2954
+ /** Required. Used to specify the fields to be overwritten in the `AuthzPolicy` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. */
2955
+ updateMask?: string;
2956
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2957
+ upload_protocol?: string;
2958
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2959
+ uploadType?: string;
2960
+ /** Request body */
2961
+ resource: AuthzPolicy;
2962
+ }): Request<Operation>;
2963
+ patch(
2964
+ request: {
2965
+ /** V1 error format. */
2966
+ '$.xgafv'?: string;
2967
+ /** OAuth access token. */
2968
+ access_token?: string;
2969
+ /** Data format for response. */
2970
+ alt?: string;
2971
+ /** JSONP */
2972
+ callback?: string;
2973
+ /** Selector specifying which fields to include in a partial response. */
2974
+ fields?: string;
2975
+ /** 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. */
2976
+ key?: string;
2977
+ /** Required. Identifier. Name of the `AuthzPolicy` resource in the following format: `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`. */
2978
+ name: string;
2979
+ /** OAuth 2.0 token for the current user. */
2980
+ oauth_token?: string;
2981
+ /** Returns response with indentations and line breaks. */
2982
+ prettyPrint?: boolean;
2983
+ /** 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. */
2984
+ quotaUser?: string;
2985
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
2986
+ requestId?: string;
2987
+ /** Required. Used to specify the fields to be overwritten in the `AuthzPolicy` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. */
2988
+ updateMask?: string;
2989
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2990
+ upload_protocol?: string;
2991
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2992
+ uploadType?: string;
2993
+ },
2994
+ body: AuthzPolicy
2995
+ ): Request<Operation>;
2652
2996
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2653
2997
  setIamPolicy(
2654
2998
  request: {
@@ -3659,7 +4003,7 @@ declare namespace gapi.client {
3659
4003
  rules: RulesResource;
3660
4004
  }
3661
4005
  interface OperationsResource {
3662
- /** 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 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 operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
4006
+ /** 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 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 operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
3663
4007
  cancel(request: {
3664
4008
  /** V1 error format. */
3665
4009
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networksecurity-v1",
3
- "version": "0.0.20240919",
3
+ "version": "0.0.20241202",
4
4
  "description": "TypeScript typings for Network Security API v1",
5
5
  "repository": {
6
6
  "type": "git",