@maxim_mazurok/gapi.client.networksecurity-v1beta1 0.0.20240710 → 0.0.20240803
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.
- package/index.d.ts +430 -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=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240803
|
|
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. */
|
|
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 one or more sources of a request. */
|
|
97
|
+
from?: AuthzPolicyAuthzRuleFrom;
|
|
98
|
+
/** Optional. Describes properties of one or more targets 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 10 sources. 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 10 principals. */
|
|
111
|
+
principals?: AuthzPolicyAuthzRuleStringMatch[];
|
|
112
|
+
/** Optional. A list of resources to match against the resource of the source VM of a request. Limited to 10 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 10 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 10 operations. 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 10 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 10 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 10 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 [Choosing a load balancer](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. */
|
|
@@ -292,6 +397,14 @@ declare namespace gapi.client {
|
|
|
292
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 `next_page_token` as `page_token`. */
|
|
293
398
|
nextPageToken?: string;
|
|
294
399
|
}
|
|
400
|
+
interface ListAuthzPoliciesResponse {
|
|
401
|
+
/** The list of `AuthzPolicy` resources. */
|
|
402
|
+
authzPolicies?: AuthzPolicy[];
|
|
403
|
+
/** A token identifying a page of results that the server returns. */
|
|
404
|
+
nextPageToken?: string;
|
|
405
|
+
/** Locations that could not be reached. */
|
|
406
|
+
unreachable?: string[];
|
|
407
|
+
}
|
|
295
408
|
interface ListClientTlsPoliciesResponse {
|
|
296
409
|
/** List of ClientTlsPolicy resources. */
|
|
297
410
|
clientTlsPolicies?: ClientTlsPolicy[];
|
|
@@ -465,7 +578,7 @@ declare namespace gapi.client {
|
|
|
465
578
|
labels?: {[P in string]: string};
|
|
466
579
|
/** Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`. */
|
|
467
580
|
name?: string;
|
|
468
|
-
/** Optional. Reference to a SecurityProfile with the
|
|
581
|
+
/** Optional. Reference to a SecurityProfile with the ThreatPrevention configuration. */
|
|
469
582
|
threatPreventionProfile?: string;
|
|
470
583
|
/** Output only. Last resource update timestamp. */
|
|
471
584
|
updateTime?: string;
|
|
@@ -2611,6 +2724,320 @@ declare namespace gapi.client {
|
|
|
2611
2724
|
body: GoogleIamV1TestIamPermissionsRequest
|
|
2612
2725
|
): Request<GoogleIamV1TestIamPermissionsResponse>;
|
|
2613
2726
|
}
|
|
2727
|
+
interface AuthzPoliciesResource {
|
|
2728
|
+
/** Creates a new AuthzPolicy in a given project and location. */
|
|
2729
|
+
create(request: {
|
|
2730
|
+
/** V1 error format. */
|
|
2731
|
+
'$.xgafv'?: string;
|
|
2732
|
+
/** OAuth access token. */
|
|
2733
|
+
access_token?: string;
|
|
2734
|
+
/** Data format for response. */
|
|
2735
|
+
alt?: string;
|
|
2736
|
+
/** Required. User-provided ID of the `AuthzPolicy` resource to be created. */
|
|
2737
|
+
authzPolicyId?: string;
|
|
2738
|
+
/** JSONP */
|
|
2739
|
+
callback?: string;
|
|
2740
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2741
|
+
fields?: string;
|
|
2742
|
+
/** 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. */
|
|
2743
|
+
key?: string;
|
|
2744
|
+
/** OAuth 2.0 token for the current user. */
|
|
2745
|
+
oauth_token?: string;
|
|
2746
|
+
/** Required. The parent resource of the `AuthzPolicy` resource. Must be in the format `projects/{project}/locations/{location}`. */
|
|
2747
|
+
parent: string;
|
|
2748
|
+
/** Returns response with indentations and line breaks. */
|
|
2749
|
+
prettyPrint?: boolean;
|
|
2750
|
+
/** 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. */
|
|
2751
|
+
quotaUser?: string;
|
|
2752
|
+
/** 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). */
|
|
2753
|
+
requestId?: string;
|
|
2754
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2755
|
+
upload_protocol?: string;
|
|
2756
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2757
|
+
uploadType?: string;
|
|
2758
|
+
/** Request body */
|
|
2759
|
+
resource: AuthzPolicy;
|
|
2760
|
+
}): Request<Operation>;
|
|
2761
|
+
create(
|
|
2762
|
+
request: {
|
|
2763
|
+
/** V1 error format. */
|
|
2764
|
+
'$.xgafv'?: string;
|
|
2765
|
+
/** OAuth access token. */
|
|
2766
|
+
access_token?: string;
|
|
2767
|
+
/** Data format for response. */
|
|
2768
|
+
alt?: string;
|
|
2769
|
+
/** Required. User-provided ID of the `AuthzPolicy` resource to be created. */
|
|
2770
|
+
authzPolicyId?: string;
|
|
2771
|
+
/** JSONP */
|
|
2772
|
+
callback?: string;
|
|
2773
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2774
|
+
fields?: string;
|
|
2775
|
+
/** 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. */
|
|
2776
|
+
key?: string;
|
|
2777
|
+
/** OAuth 2.0 token for the current user. */
|
|
2778
|
+
oauth_token?: string;
|
|
2779
|
+
/** Required. The parent resource of the `AuthzPolicy` resource. Must be in the format `projects/{project}/locations/{location}`. */
|
|
2780
|
+
parent: string;
|
|
2781
|
+
/** Returns response with indentations and line breaks. */
|
|
2782
|
+
prettyPrint?: boolean;
|
|
2783
|
+
/** 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. */
|
|
2784
|
+
quotaUser?: string;
|
|
2785
|
+
/** 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). */
|
|
2786
|
+
requestId?: string;
|
|
2787
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2788
|
+
upload_protocol?: string;
|
|
2789
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2790
|
+
uploadType?: string;
|
|
2791
|
+
},
|
|
2792
|
+
body: AuthzPolicy
|
|
2793
|
+
): Request<Operation>;
|
|
2794
|
+
/** Deletes a single AuthzPolicy. */
|
|
2795
|
+
delete(request?: {
|
|
2796
|
+
/** V1 error format. */
|
|
2797
|
+
'$.xgafv'?: string;
|
|
2798
|
+
/** OAuth access token. */
|
|
2799
|
+
access_token?: string;
|
|
2800
|
+
/** Data format for response. */
|
|
2801
|
+
alt?: string;
|
|
2802
|
+
/** JSONP */
|
|
2803
|
+
callback?: string;
|
|
2804
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2805
|
+
fields?: string;
|
|
2806
|
+
/** 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. */
|
|
2807
|
+
key?: string;
|
|
2808
|
+
/** Required. The name of the `AuthzPolicy` resource to delete. Must be in the format `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`. */
|
|
2809
|
+
name: string;
|
|
2810
|
+
/** OAuth 2.0 token for the current user. */
|
|
2811
|
+
oauth_token?: string;
|
|
2812
|
+
/** Returns response with indentations and line breaks. */
|
|
2813
|
+
prettyPrint?: boolean;
|
|
2814
|
+
/** 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. */
|
|
2815
|
+
quotaUser?: string;
|
|
2816
|
+
/** 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). */
|
|
2817
|
+
requestId?: string;
|
|
2818
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2819
|
+
upload_protocol?: string;
|
|
2820
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2821
|
+
uploadType?: string;
|
|
2822
|
+
}): Request<Operation>;
|
|
2823
|
+
/** Gets details of a single AuthzPolicy. */
|
|
2824
|
+
get(request?: {
|
|
2825
|
+
/** V1 error format. */
|
|
2826
|
+
'$.xgafv'?: string;
|
|
2827
|
+
/** OAuth access token. */
|
|
2828
|
+
access_token?: string;
|
|
2829
|
+
/** Data format for response. */
|
|
2830
|
+
alt?: string;
|
|
2831
|
+
/** JSONP */
|
|
2832
|
+
callback?: string;
|
|
2833
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2834
|
+
fields?: string;
|
|
2835
|
+
/** 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. */
|
|
2836
|
+
key?: string;
|
|
2837
|
+
/** Required. A name of the `AuthzPolicy` resource to get. Must be in the format `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`. */
|
|
2838
|
+
name: string;
|
|
2839
|
+
/** OAuth 2.0 token for the current user. */
|
|
2840
|
+
oauth_token?: string;
|
|
2841
|
+
/** Returns response with indentations and line breaks. */
|
|
2842
|
+
prettyPrint?: boolean;
|
|
2843
|
+
/** 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. */
|
|
2844
|
+
quotaUser?: string;
|
|
2845
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2846
|
+
upload_protocol?: string;
|
|
2847
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2848
|
+
uploadType?: string;
|
|
2849
|
+
}): Request<AuthzPolicy>;
|
|
2850
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
2851
|
+
getIamPolicy(request?: {
|
|
2852
|
+
/** V1 error format. */
|
|
2853
|
+
'$.xgafv'?: string;
|
|
2854
|
+
/** OAuth access token. */
|
|
2855
|
+
access_token?: string;
|
|
2856
|
+
/** Data format for response. */
|
|
2857
|
+
alt?: string;
|
|
2858
|
+
/** JSONP */
|
|
2859
|
+
callback?: string;
|
|
2860
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2861
|
+
fields?: string;
|
|
2862
|
+
/** 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. */
|
|
2863
|
+
key?: string;
|
|
2864
|
+
/** OAuth 2.0 token for the current user. */
|
|
2865
|
+
oauth_token?: string;
|
|
2866
|
+
/** 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 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 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 role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
2867
|
+
'options.requestedPolicyVersion'?: number;
|
|
2868
|
+
/** Returns response with indentations and line breaks. */
|
|
2869
|
+
prettyPrint?: boolean;
|
|
2870
|
+
/** 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. */
|
|
2871
|
+
quotaUser?: string;
|
|
2872
|
+
/** 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 field. */
|
|
2873
|
+
resource: string;
|
|
2874
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2875
|
+
upload_protocol?: string;
|
|
2876
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2877
|
+
uploadType?: string;
|
|
2878
|
+
}): Request<GoogleIamV1Policy>;
|
|
2879
|
+
/** Lists AuthzPolicies in a given project and location. */
|
|
2880
|
+
list(request?: {
|
|
2881
|
+
/** V1 error format. */
|
|
2882
|
+
'$.xgafv'?: string;
|
|
2883
|
+
/** OAuth access token. */
|
|
2884
|
+
access_token?: string;
|
|
2885
|
+
/** Data format for response. */
|
|
2886
|
+
alt?: string;
|
|
2887
|
+
/** JSONP */
|
|
2888
|
+
callback?: string;
|
|
2889
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2890
|
+
fields?: string;
|
|
2891
|
+
/** Optional. Filtering results. */
|
|
2892
|
+
filter?: string;
|
|
2893
|
+
/** 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. */
|
|
2894
|
+
key?: string;
|
|
2895
|
+
/** OAuth 2.0 token for the current user. */
|
|
2896
|
+
oauth_token?: string;
|
|
2897
|
+
/** Optional. Hint for how to order the results. */
|
|
2898
|
+
orderBy?: string;
|
|
2899
|
+
/** Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */
|
|
2900
|
+
pageSize?: number;
|
|
2901
|
+
/** Optional. A token identifying a page of results that the server returns. */
|
|
2902
|
+
pageToken?: string;
|
|
2903
|
+
/** Required. The project and location from which the `AuthzPolicy` resources are listed, specified in the following format: `projects/{project}/locations/{location}`. */
|
|
2904
|
+
parent: string;
|
|
2905
|
+
/** Returns response with indentations and line breaks. */
|
|
2906
|
+
prettyPrint?: boolean;
|
|
2907
|
+
/** 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. */
|
|
2908
|
+
quotaUser?: string;
|
|
2909
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2910
|
+
upload_protocol?: string;
|
|
2911
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2912
|
+
uploadType?: string;
|
|
2913
|
+
}): Request<ListAuthzPoliciesResponse>;
|
|
2914
|
+
/** Updates the parameters of a single AuthzPolicy. */
|
|
2915
|
+
patch(request: {
|
|
2916
|
+
/** V1 error format. */
|
|
2917
|
+
'$.xgafv'?: string;
|
|
2918
|
+
/** OAuth access token. */
|
|
2919
|
+
access_token?: string;
|
|
2920
|
+
/** Data format for response. */
|
|
2921
|
+
alt?: string;
|
|
2922
|
+
/** JSONP */
|
|
2923
|
+
callback?: string;
|
|
2924
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2925
|
+
fields?: string;
|
|
2926
|
+
/** 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. */
|
|
2927
|
+
key?: string;
|
|
2928
|
+
/** Required. Identifier. Name of the `AuthzPolicy` resource in the following format: `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`. */
|
|
2929
|
+
name: string;
|
|
2930
|
+
/** OAuth 2.0 token for the current user. */
|
|
2931
|
+
oauth_token?: string;
|
|
2932
|
+
/** Returns response with indentations and line breaks. */
|
|
2933
|
+
prettyPrint?: boolean;
|
|
2934
|
+
/** 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. */
|
|
2935
|
+
quotaUser?: string;
|
|
2936
|
+
/** 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). */
|
|
2937
|
+
requestId?: string;
|
|
2938
|
+
/** 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. */
|
|
2939
|
+
updateMask?: string;
|
|
2940
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2941
|
+
upload_protocol?: string;
|
|
2942
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2943
|
+
uploadType?: string;
|
|
2944
|
+
/** Request body */
|
|
2945
|
+
resource: AuthzPolicy;
|
|
2946
|
+
}): Request<Operation>;
|
|
2947
|
+
patch(
|
|
2948
|
+
request: {
|
|
2949
|
+
/** V1 error format. */
|
|
2950
|
+
'$.xgafv'?: string;
|
|
2951
|
+
/** OAuth access token. */
|
|
2952
|
+
access_token?: string;
|
|
2953
|
+
/** Data format for response. */
|
|
2954
|
+
alt?: string;
|
|
2955
|
+
/** JSONP */
|
|
2956
|
+
callback?: string;
|
|
2957
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2958
|
+
fields?: string;
|
|
2959
|
+
/** 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. */
|
|
2960
|
+
key?: string;
|
|
2961
|
+
/** Required. Identifier. Name of the `AuthzPolicy` resource in the following format: `projects/{project}/locations/{location}/authzPolicies/{authz_policy}`. */
|
|
2962
|
+
name: string;
|
|
2963
|
+
/** OAuth 2.0 token for the current user. */
|
|
2964
|
+
oauth_token?: string;
|
|
2965
|
+
/** Returns response with indentations and line breaks. */
|
|
2966
|
+
prettyPrint?: boolean;
|
|
2967
|
+
/** 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. */
|
|
2968
|
+
quotaUser?: string;
|
|
2969
|
+
/** 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). */
|
|
2970
|
+
requestId?: string;
|
|
2971
|
+
/** 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. */
|
|
2972
|
+
updateMask?: string;
|
|
2973
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2974
|
+
upload_protocol?: string;
|
|
2975
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2976
|
+
uploadType?: string;
|
|
2977
|
+
},
|
|
2978
|
+
body: AuthzPolicy
|
|
2979
|
+
): Request<Operation>;
|
|
2980
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
2981
|
+
setIamPolicy(
|
|
2982
|
+
request: {
|
|
2983
|
+
/** V1 error format. */
|
|
2984
|
+
'$.xgafv'?: string;
|
|
2985
|
+
/** OAuth access token. */
|
|
2986
|
+
access_token?: string;
|
|
2987
|
+
/** Data format for response. */
|
|
2988
|
+
alt?: string;
|
|
2989
|
+
/** JSONP */
|
|
2990
|
+
callback?: string;
|
|
2991
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2992
|
+
fields?: string;
|
|
2993
|
+
/** 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. */
|
|
2994
|
+
key?: string;
|
|
2995
|
+
/** OAuth 2.0 token for the current user. */
|
|
2996
|
+
oauth_token?: string;
|
|
2997
|
+
/** Returns response with indentations and line breaks. */
|
|
2998
|
+
prettyPrint?: boolean;
|
|
2999
|
+
/** 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. */
|
|
3000
|
+
quotaUser?: string;
|
|
3001
|
+
/** 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 field. */
|
|
3002
|
+
resource: string;
|
|
3003
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3004
|
+
upload_protocol?: string;
|
|
3005
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3006
|
+
uploadType?: string;
|
|
3007
|
+
},
|
|
3008
|
+
body: GoogleIamV1SetIamPolicyRequest
|
|
3009
|
+
): Request<GoogleIamV1Policy>;
|
|
3010
|
+
/** 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 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. */
|
|
3011
|
+
testIamPermissions(
|
|
3012
|
+
request: {
|
|
3013
|
+
/** V1 error format. */
|
|
3014
|
+
'$.xgafv'?: string;
|
|
3015
|
+
/** OAuth access token. */
|
|
3016
|
+
access_token?: string;
|
|
3017
|
+
/** Data format for response. */
|
|
3018
|
+
alt?: string;
|
|
3019
|
+
/** JSONP */
|
|
3020
|
+
callback?: string;
|
|
3021
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3022
|
+
fields?: string;
|
|
3023
|
+
/** 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. */
|
|
3024
|
+
key?: string;
|
|
3025
|
+
/** OAuth 2.0 token for the current user. */
|
|
3026
|
+
oauth_token?: string;
|
|
3027
|
+
/** Returns response with indentations and line breaks. */
|
|
3028
|
+
prettyPrint?: boolean;
|
|
3029
|
+
/** 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. */
|
|
3030
|
+
quotaUser?: string;
|
|
3031
|
+
/** 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 this field. */
|
|
3032
|
+
resource: string;
|
|
3033
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3034
|
+
upload_protocol?: string;
|
|
3035
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3036
|
+
uploadType?: string;
|
|
3037
|
+
},
|
|
3038
|
+
body: GoogleIamV1TestIamPermissionsRequest
|
|
3039
|
+
): Request<GoogleIamV1TestIamPermissionsResponse>;
|
|
3040
|
+
}
|
|
2614
3041
|
interface ClientTlsPoliciesResource {
|
|
2615
3042
|
/** Creates a new ClientTlsPolicy in a given project and location. */
|
|
2616
3043
|
create(request: {
|
|
@@ -4493,6 +4920,7 @@ declare namespace gapi.client {
|
|
|
4493
4920
|
}): Request<ListLocationsResponse>;
|
|
4494
4921
|
addressGroups: AddressGroupsResource;
|
|
4495
4922
|
authorizationPolicies: AuthorizationPoliciesResource;
|
|
4923
|
+
authzPolicies: AuthzPoliciesResource;
|
|
4496
4924
|
clientTlsPolicies: ClientTlsPoliciesResource;
|
|
4497
4925
|
firewallEndpointAssociations: FirewallEndpointAssociationsResource;
|
|
4498
4926
|
gatewaySecurityPolicies: GatewaySecurityPoliciesResource;
|