@maxim_mazurok/gapi.client.accesscontextmanager-v1 0.0.20220806
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 +1927 -0
- package/package.json +20 -0
- package/readme.md +128 -0
- package/tests.ts +970 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,1927 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Access Context Manager API v1 0.0 */
|
|
2
|
+
// Project: https://cloud.google.com/access-context-manager/docs/reference/rest/
|
|
3
|
+
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
|
+
// Nick Amoscato <https://github.com/namoscato>
|
|
5
|
+
// Declan Vong <https://github.com/declanvong>
|
|
6
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
+
// TypeScript Version: 2.8
|
|
8
|
+
|
|
9
|
+
// IMPORTANT
|
|
10
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
|
+
// Generated from: https://accesscontextmanager.googleapis.com/$discovery/rest?version=v1
|
|
13
|
+
// Revision: 20220806
|
|
14
|
+
|
|
15
|
+
/// <reference types="gapi.client" />
|
|
16
|
+
|
|
17
|
+
declare namespace gapi.client {
|
|
18
|
+
/** Load Access Context Manager API v1 */
|
|
19
|
+
function load(urlOrObject: "https://accesscontextmanager.googleapis.com/$discovery/rest?version=v1"): Promise<void>;
|
|
20
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
21
|
+
function load(name: "accesscontextmanager", version: "v1"): Promise<void>;
|
|
22
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
23
|
+
function load(name: "accesscontextmanager", version: "v1", callback: () => any): void;
|
|
24
|
+
|
|
25
|
+
namespace accesscontextmanager {
|
|
26
|
+
// tslint:disable-next-line:no-empty-interface
|
|
27
|
+
interface AccessContextManagerOperationMetadata {
|
|
28
|
+
}
|
|
29
|
+
interface AccessLevel {
|
|
30
|
+
/** A `BasicLevel` composed of `Conditions`. */
|
|
31
|
+
basic?: BasicLevel;
|
|
32
|
+
/** A `CustomLevel` written in the Common Expression Language. */
|
|
33
|
+
custom?: CustomLevel;
|
|
34
|
+
/** Description of the `AccessLevel` and its use. Does not affect behavior. */
|
|
35
|
+
description?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format:
|
|
38
|
+
* `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum length of the `access_level` component is 50 characters.
|
|
39
|
+
*/
|
|
40
|
+
name?: string;
|
|
41
|
+
/** Human readable title. Must be unique within the Policy. */
|
|
42
|
+
title?: string;
|
|
43
|
+
}
|
|
44
|
+
interface AccessPolicy {
|
|
45
|
+
/**
|
|
46
|
+
* Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Polices will be identical if
|
|
47
|
+
* and only if their etags are identical. Clients should not expect this to be in any specific format.
|
|
48
|
+
*/
|
|
49
|
+
etag?: string;
|
|
50
|
+
/** Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}` */
|
|
51
|
+
name?: string;
|
|
52
|
+
/** Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. Currently immutable once created. Format: `organizations/{organization_id}` */
|
|
53
|
+
parent?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The scopes of a policy define which resources an ACM policy can restrict, and where ACM resources can be referenced. For example, a policy with scopes=["folders/123"] has the
|
|
56
|
+
* following behavior: - vpcsc perimeters can only restrict projects within folders/123 - access levels can only be referenced by resources within folders/123. If empty, there are no
|
|
57
|
+
* limitations on which resources can be restricted by an ACM policy, and there are no limitations on where ACM resources can be referenced. Only one policy can include a given scope
|
|
58
|
+
* (attempting to create a second policy which includes "folders/123" will result in an error). Currently, scopes cannot be modified after a policy is created. Currently, policies can
|
|
59
|
+
* only have a single scope. Format: list of `folders/{folder_number}` or `projects/{project_number}`
|
|
60
|
+
*/
|
|
61
|
+
scopes?: string[];
|
|
62
|
+
/** Required. Human readable title. Does not affect behavior. */
|
|
63
|
+
title?: string;
|
|
64
|
+
}
|
|
65
|
+
interface ApiOperation {
|
|
66
|
+
/**
|
|
67
|
+
* API methods or permissions to allow. Method or permission must belong to the service specified by `service_name` field. A single MethodSelector entry with `*` specified for the
|
|
68
|
+
* `method` field will allow all methods AND permissions for the service specified in `service_name`.
|
|
69
|
+
*/
|
|
70
|
+
methodSelectors?: MethodSelector[];
|
|
71
|
+
/**
|
|
72
|
+
* The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with `service_name` field set to `*` will allow all methods
|
|
73
|
+
* AND permissions for all services.
|
|
74
|
+
*/
|
|
75
|
+
serviceName?: string;
|
|
76
|
+
}
|
|
77
|
+
interface AuditConfig {
|
|
78
|
+
/** The configuration for logging of each type of permission. */
|
|
79
|
+
auditLogConfigs?: AuditLogConfig[];
|
|
80
|
+
/**
|
|
81
|
+
* Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all
|
|
82
|
+
* services.
|
|
83
|
+
*/
|
|
84
|
+
service?: string;
|
|
85
|
+
}
|
|
86
|
+
interface AuditLogConfig {
|
|
87
|
+
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
88
|
+
exemptedMembers?: string[];
|
|
89
|
+
/** The log type that this config enables. */
|
|
90
|
+
logType?: string;
|
|
91
|
+
}
|
|
92
|
+
interface BasicLevel {
|
|
93
|
+
/**
|
|
94
|
+
* How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the
|
|
95
|
+
* `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND.
|
|
96
|
+
*/
|
|
97
|
+
combiningFunction?: string;
|
|
98
|
+
/** Required. A list of requirements for the `AccessLevel` to be granted. */
|
|
99
|
+
conditions?: Condition[];
|
|
100
|
+
}
|
|
101
|
+
interface Binding {
|
|
102
|
+
/**
|
|
103
|
+
* The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`,
|
|
104
|
+
* then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which
|
|
105
|
+
* resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
106
|
+
*/
|
|
107
|
+
condition?: Expr;
|
|
108
|
+
/**
|
|
109
|
+
* Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on
|
|
110
|
+
* the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service
|
|
111
|
+
* account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that
|
|
112
|
+
* represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier
|
|
113
|
+
* for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example,
|
|
114
|
+
* `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. *
|
|
115
|
+
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example,
|
|
116
|
+
* `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. *
|
|
117
|
+
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example,
|
|
118
|
+
* `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service
|
|
119
|
+
* account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently
|
|
120
|
+
* deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in
|
|
121
|
+
* the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
|
|
122
|
+
*/
|
|
123
|
+
members?: string[];
|
|
124
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
125
|
+
role?: string;
|
|
126
|
+
}
|
|
127
|
+
// tslint:disable-next-line:no-empty-interface
|
|
128
|
+
interface CancelOperationRequest {
|
|
129
|
+
}
|
|
130
|
+
interface CommitServicePerimetersRequest {
|
|
131
|
+
/**
|
|
132
|
+
* Optional. The etag for the version of the Access Policy that this commit operation is to be performed on. If, at the time of commit, the etag for the Access Policy stored in Access
|
|
133
|
+
* Context Manager is different from the specified etag, then the commit operation will not be performed and the call will fail. This field is not required. If etag is not provided,
|
|
134
|
+
* the operation will be performed as if a valid etag is provided.
|
|
135
|
+
*/
|
|
136
|
+
etag?: string;
|
|
137
|
+
}
|
|
138
|
+
interface CommitServicePerimetersResponse {
|
|
139
|
+
/** List of all the Service Perimeter instances in the Access Policy. */
|
|
140
|
+
servicePerimeters?: ServicePerimeter[];
|
|
141
|
+
}
|
|
142
|
+
interface Condition {
|
|
143
|
+
/** Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed. */
|
|
144
|
+
devicePolicy?: DevicePolicy;
|
|
145
|
+
/**
|
|
146
|
+
* CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host
|
|
147
|
+
* bits must be zero) or the input is considered malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas
|
|
148
|
+
* "2001:db8::1/32" is not. The originating IP of a request must be in one of the listed subnets in order for this Condition to be true. If empty, all IP addresses are allowed.
|
|
149
|
+
*/
|
|
150
|
+
ipSubnetworks?: string[];
|
|
151
|
+
/**
|
|
152
|
+
* The request must be made by one of the provided user or service accounts. Groups are not supported. Syntax: `user:{emailid}` `serviceAccount:{emailid}` If not specified, a request
|
|
153
|
+
* may come from any user.
|
|
154
|
+
*/
|
|
155
|
+
members?: string[];
|
|
156
|
+
/**
|
|
157
|
+
* Whether to negate the Condition. If true, the Condition becomes a NAND over its non-empty fields, each field must be false for the Condition overall to be satisfied. Defaults to
|
|
158
|
+
* false.
|
|
159
|
+
*/
|
|
160
|
+
negate?: boolean;
|
|
161
|
+
/** The request must originate from one of the provided countries/regions. Must be valid ISO 3166-1 alpha-2 codes. */
|
|
162
|
+
regions?: string[];
|
|
163
|
+
/**
|
|
164
|
+
* A list of other access levels defined in the same `Policy`, referenced by resource name. Referencing an `AccessLevel` which does not exist is an error. All access levels listed must
|
|
165
|
+
* be granted for the Condition to be true. Example: "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"`
|
|
166
|
+
*/
|
|
167
|
+
requiredAccessLevels?: string[];
|
|
168
|
+
}
|
|
169
|
+
interface CustomLevel {
|
|
170
|
+
/** Required. A Cloud CEL expression evaluating to a boolean. */
|
|
171
|
+
expr?: Expr;
|
|
172
|
+
}
|
|
173
|
+
interface DevicePolicy {
|
|
174
|
+
/** Allowed device management levels, an empty list allows all management levels. */
|
|
175
|
+
allowedDeviceManagementLevels?: string[];
|
|
176
|
+
/** Allowed encryptions statuses, an empty list allows all statuses. */
|
|
177
|
+
allowedEncryptionStatuses?: string[];
|
|
178
|
+
/** Allowed OS versions, an empty list allows all types and all versions. */
|
|
179
|
+
osConstraints?: OsConstraint[];
|
|
180
|
+
/** Whether the device needs to be approved by the customer admin. */
|
|
181
|
+
requireAdminApproval?: boolean;
|
|
182
|
+
/** Whether the device needs to be corp owned. */
|
|
183
|
+
requireCorpOwned?: boolean;
|
|
184
|
+
/** Whether or not screenlock is required for the DevicePolicy to be true. Defaults to `false`. */
|
|
185
|
+
requireScreenlock?: boolean;
|
|
186
|
+
}
|
|
187
|
+
interface EgressFrom {
|
|
188
|
+
/**
|
|
189
|
+
* A list of identities that are allowed access through this [EgressPolicy]. Should be in the format of email address. The email address should represent individual user or service
|
|
190
|
+
* account only.
|
|
191
|
+
*/
|
|
192
|
+
identities?: string[];
|
|
193
|
+
/** Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. */
|
|
194
|
+
identityType?: string;
|
|
195
|
+
}
|
|
196
|
+
interface EgressPolicy {
|
|
197
|
+
/** Defines conditions on the source of a request causing this EgressPolicy to apply. */
|
|
198
|
+
egressFrom?: EgressFrom;
|
|
199
|
+
/** Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. */
|
|
200
|
+
egressTo?: EgressTo;
|
|
201
|
+
}
|
|
202
|
+
interface EgressTo {
|
|
203
|
+
/**
|
|
204
|
+
* A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported format is s3://BUCKET_NAME. For Azure Storage,
|
|
205
|
+
* the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path).
|
|
206
|
+
* Currently '*' is not allowed.
|
|
207
|
+
*/
|
|
208
|
+
externalResources?: string[];
|
|
209
|
+
/** A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list. */
|
|
210
|
+
operations?: ApiOperation[];
|
|
211
|
+
/**
|
|
212
|
+
* A list of resources, currently only projects in the form `projects/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it
|
|
213
|
+
* contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter.
|
|
214
|
+
*/
|
|
215
|
+
resources?: string[];
|
|
216
|
+
}
|
|
217
|
+
// tslint:disable-next-line:no-empty-interface
|
|
218
|
+
interface Empty {
|
|
219
|
+
}
|
|
220
|
+
interface Expr {
|
|
221
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
222
|
+
description?: string;
|
|
223
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
224
|
+
expression?: string;
|
|
225
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
226
|
+
location?: string;
|
|
227
|
+
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
228
|
+
title?: string;
|
|
229
|
+
}
|
|
230
|
+
interface GcpUserAccessBinding {
|
|
231
|
+
/**
|
|
232
|
+
* Required. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example:
|
|
233
|
+
* "accessPolicies/9522/accessLevels/device_trusted"
|
|
234
|
+
*/
|
|
235
|
+
accessLevels?: string[];
|
|
236
|
+
/**
|
|
237
|
+
* Required. Immutable. Google Group id whose members are subject to this binding's restrictions. See "id" in the [G Suite Directory API's Groups resource]
|
|
238
|
+
* (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource). If a group's email address/alias is changed, this resource will continue to point at the changed
|
|
239
|
+
* group. This field does not accept group email addresses or aliases. Example: "01d520gv4vjcrht"
|
|
240
|
+
*/
|
|
241
|
+
groupKey?: string;
|
|
242
|
+
/**
|
|
243
|
+
* Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section
|
|
244
|
+
* 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
|
|
245
|
+
*/
|
|
246
|
+
name?: string;
|
|
247
|
+
}
|
|
248
|
+
// tslint:disable-next-line:no-empty-interface
|
|
249
|
+
interface GcpUserAccessBindingOperationMetadata {
|
|
250
|
+
}
|
|
251
|
+
interface GetIamPolicyRequest {
|
|
252
|
+
/** OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`. */
|
|
253
|
+
options?: GetPolicyOptions;
|
|
254
|
+
}
|
|
255
|
+
interface GetPolicyOptions {
|
|
256
|
+
/**
|
|
257
|
+
* 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
|
|
258
|
+
* 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
|
|
259
|
+
* 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
|
|
260
|
+
* bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
261
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
262
|
+
*/
|
|
263
|
+
requestedPolicyVersion?: number;
|
|
264
|
+
}
|
|
265
|
+
interface IngressFrom {
|
|
266
|
+
/**
|
|
267
|
+
* A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service
|
|
268
|
+
* account only.
|
|
269
|
+
*/
|
|
270
|
+
identities?: string[];
|
|
271
|
+
/** Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. */
|
|
272
|
+
identityType?: string;
|
|
273
|
+
/** Sources that this IngressPolicy authorizes access from. */
|
|
274
|
+
sources?: IngressSource[];
|
|
275
|
+
}
|
|
276
|
+
interface IngressPolicy {
|
|
277
|
+
/** Defines the conditions on the source of a request causing this IngressPolicy to apply. */
|
|
278
|
+
ingressFrom?: IngressFrom;
|
|
279
|
+
/** Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply. */
|
|
280
|
+
ingressTo?: IngressTo;
|
|
281
|
+
}
|
|
282
|
+
interface IngressSource {
|
|
283
|
+
/**
|
|
284
|
+
* An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this
|
|
285
|
+
* ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud
|
|
286
|
+
* calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources
|
|
287
|
+
* will be allowed.
|
|
288
|
+
*/
|
|
289
|
+
accessLevel?: string;
|
|
290
|
+
/**
|
|
291
|
+
* A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed.
|
|
292
|
+
* Format: `projects/{project_number}` The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of
|
|
293
|
+
* allowing all Google Cloud resources only is not supported.
|
|
294
|
+
*/
|
|
295
|
+
resource?: string;
|
|
296
|
+
}
|
|
297
|
+
interface IngressTo {
|
|
298
|
+
/** A list of ApiOperations allowed to be performed by the sources specified in corresponding IngressFrom in this ServicePerimeter. */
|
|
299
|
+
operations?: ApiOperation[];
|
|
300
|
+
/**
|
|
301
|
+
* A list of resources, currently only projects in the form `projects/`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding
|
|
302
|
+
* IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed.
|
|
303
|
+
*/
|
|
304
|
+
resources?: string[];
|
|
305
|
+
}
|
|
306
|
+
interface ListAccessLevelsResponse {
|
|
307
|
+
/** List of the Access Level instances. */
|
|
308
|
+
accessLevels?: AccessLevel[];
|
|
309
|
+
/** The pagination token to retrieve the next page of results. If the value is empty, no further results remain. */
|
|
310
|
+
nextPageToken?: string;
|
|
311
|
+
}
|
|
312
|
+
interface ListAccessPoliciesResponse {
|
|
313
|
+
/** List of the AccessPolicy instances. */
|
|
314
|
+
accessPolicies?: AccessPolicy[];
|
|
315
|
+
/** The pagination token to retrieve the next page of results. If the value is empty, no further results remain. */
|
|
316
|
+
nextPageToken?: string;
|
|
317
|
+
}
|
|
318
|
+
interface ListGcpUserAccessBindingsResponse {
|
|
319
|
+
/** GcpUserAccessBinding */
|
|
320
|
+
gcpUserAccessBindings?: GcpUserAccessBinding[];
|
|
321
|
+
/** Token to get the next page of items. If blank, there are no more items. */
|
|
322
|
+
nextPageToken?: string;
|
|
323
|
+
}
|
|
324
|
+
interface ListOperationsResponse {
|
|
325
|
+
/** The standard List next-page token. */
|
|
326
|
+
nextPageToken?: string;
|
|
327
|
+
/** A list of operations that matches the specified filter in the request. */
|
|
328
|
+
operations?: Operation[];
|
|
329
|
+
}
|
|
330
|
+
interface ListServicePerimetersResponse {
|
|
331
|
+
/** The pagination token to retrieve the next page of results. If the value is empty, no further results remain. */
|
|
332
|
+
nextPageToken?: string;
|
|
333
|
+
/** List of the Service Perimeter instances. */
|
|
334
|
+
servicePerimeters?: ServicePerimeter[];
|
|
335
|
+
}
|
|
336
|
+
interface MethodSelector {
|
|
337
|
+
/**
|
|
338
|
+
* Value for `method` should be a valid method name for the corresponding `service_name` in ApiOperation. If `*` used as value for `method`, then ALL methods and permissions are
|
|
339
|
+
* allowed.
|
|
340
|
+
*/
|
|
341
|
+
method?: string;
|
|
342
|
+
/** Value for `permission` should be a valid Cloud IAM permission for the corresponding `service_name` in ApiOperation. */
|
|
343
|
+
permission?: string;
|
|
344
|
+
}
|
|
345
|
+
interface Operation {
|
|
346
|
+
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
347
|
+
done?: boolean;
|
|
348
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
349
|
+
error?: Status;
|
|
350
|
+
/**
|
|
351
|
+
* Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
|
|
352
|
+
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
353
|
+
*/
|
|
354
|
+
metadata?: { [P in string]: any };
|
|
355
|
+
/**
|
|
356
|
+
* The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
|
|
357
|
+
* with `operations/{unique_id}`.
|
|
358
|
+
*/
|
|
359
|
+
name?: string;
|
|
360
|
+
/**
|
|
361
|
+
* The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
|
|
362
|
+
* original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
|
|
363
|
+
* original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
364
|
+
*/
|
|
365
|
+
response?: { [P in string]: any };
|
|
366
|
+
}
|
|
367
|
+
interface OsConstraint {
|
|
368
|
+
/** The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`. */
|
|
369
|
+
minimumVersion?: string;
|
|
370
|
+
/** Required. The allowed OS type. */
|
|
371
|
+
osType?: string;
|
|
372
|
+
/**
|
|
373
|
+
* Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller
|
|
374
|
+
* has permission to call the API targeted by the request.
|
|
375
|
+
*/
|
|
376
|
+
requireVerifiedChromeOs?: boolean;
|
|
377
|
+
}
|
|
378
|
+
interface Policy {
|
|
379
|
+
/** Specifies cloud audit logging configuration for this policy. */
|
|
380
|
+
auditConfigs?: AuditConfig[];
|
|
381
|
+
/**
|
|
382
|
+
* Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings`
|
|
383
|
+
* must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a
|
|
384
|
+
* principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another
|
|
385
|
+
* 1,450 principals to the `bindings` in the `Policy`.
|
|
386
|
+
*/
|
|
387
|
+
bindings?: Binding[];
|
|
388
|
+
/**
|
|
389
|
+
* `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make
|
|
390
|
+
* use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems
|
|
391
|
+
* are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM
|
|
392
|
+
* Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1`
|
|
393
|
+
* policy, and all of the conditions in the version `3` policy are lost.
|
|
394
|
+
*/
|
|
395
|
+
etag?: string;
|
|
396
|
+
/**
|
|
397
|
+
* Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings
|
|
398
|
+
* must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a
|
|
399
|
+
* policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use
|
|
400
|
+
* IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1`
|
|
401
|
+
* policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave
|
|
402
|
+
* the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
403
|
+
*/
|
|
404
|
+
version?: number;
|
|
405
|
+
}
|
|
406
|
+
interface ReplaceAccessLevelsRequest {
|
|
407
|
+
/** Required. The desired Access Levels that should replace all existing Access Levels in the Access Policy. */
|
|
408
|
+
accessLevels?: AccessLevel[];
|
|
409
|
+
/**
|
|
410
|
+
* Optional. The etag for the version of the Access Policy that this replace operation is to be performed on. If, at the time of replace, the etag for the Access Policy stored in
|
|
411
|
+
* Access Context Manager is different from the specified etag, then the replace operation will not be performed and the call will fail. This field is not required. If etag is not
|
|
412
|
+
* provided, the operation will be performed as if a valid etag is provided.
|
|
413
|
+
*/
|
|
414
|
+
etag?: string;
|
|
415
|
+
}
|
|
416
|
+
interface ReplaceAccessLevelsResponse {
|
|
417
|
+
/** List of the Access Level instances. */
|
|
418
|
+
accessLevels?: AccessLevel[];
|
|
419
|
+
}
|
|
420
|
+
interface ReplaceServicePerimetersRequest {
|
|
421
|
+
/**
|
|
422
|
+
* Optional. The etag for the version of the Access Policy that this replace operation is to be performed on. If, at the time of replace, the etag for the Access Policy stored in
|
|
423
|
+
* Access Context Manager is different from the specified etag, then the replace operation will not be performed and the call will fail. This field is not required. If etag is not
|
|
424
|
+
* provided, the operation will be performed as if a valid etag is provided.
|
|
425
|
+
*/
|
|
426
|
+
etag?: string;
|
|
427
|
+
/** Required. The desired Service Perimeters that should replace all existing Service Perimeters in the Access Policy. */
|
|
428
|
+
servicePerimeters?: ServicePerimeter[];
|
|
429
|
+
}
|
|
430
|
+
interface ReplaceServicePerimetersResponse {
|
|
431
|
+
/** List of the Service Perimeter instances. */
|
|
432
|
+
servicePerimeters?: ServicePerimeter[];
|
|
433
|
+
}
|
|
434
|
+
interface ServicePerimeter {
|
|
435
|
+
/** Description of the `ServicePerimeter` and its use. Does not affect behavior. */
|
|
436
|
+
description?: string;
|
|
437
|
+
/**
|
|
438
|
+
* Required. Resource name for the ServicePerimeter. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format:
|
|
439
|
+
* `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`
|
|
440
|
+
*/
|
|
441
|
+
name?: string;
|
|
442
|
+
/**
|
|
443
|
+
* Perimeter type indicator. A single project is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a
|
|
444
|
+
* perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty.
|
|
445
|
+
*/
|
|
446
|
+
perimeterType?: string;
|
|
447
|
+
/**
|
|
448
|
+
* Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only
|
|
449
|
+
* allowed to be set when the "use_explicit_dry_run_spec" flag is set.
|
|
450
|
+
*/
|
|
451
|
+
spec?: ServicePerimeterConfig;
|
|
452
|
+
/** Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. */
|
|
453
|
+
status?: ServicePerimeterConfig;
|
|
454
|
+
/** Human readable title. Must be unique within the Policy. */
|
|
455
|
+
title?: string;
|
|
456
|
+
/**
|
|
457
|
+
* Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When
|
|
458
|
+
* this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the
|
|
459
|
+
* Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences
|
|
460
|
+
* between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values.
|
|
461
|
+
*/
|
|
462
|
+
useExplicitDryRunSpec?: boolean;
|
|
463
|
+
}
|
|
464
|
+
interface ServicePerimeterConfig {
|
|
465
|
+
/**
|
|
466
|
+
* A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this
|
|
467
|
+
* `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google
|
|
468
|
+
* Cloud calls with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty.
|
|
469
|
+
*/
|
|
470
|
+
accessLevels?: string[];
|
|
471
|
+
/**
|
|
472
|
+
* List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants
|
|
473
|
+
* it. Must be empty for a perimeter bridge.
|
|
474
|
+
*/
|
|
475
|
+
egressPolicies?: EgressPolicy[];
|
|
476
|
+
/**
|
|
477
|
+
* List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy
|
|
478
|
+
* grants it. Must be empty for a perimeter bridge.
|
|
479
|
+
*/
|
|
480
|
+
ingressPolicies?: IngressPolicy[];
|
|
481
|
+
/** A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: `projects/{project_number}` */
|
|
482
|
+
resources?: string[];
|
|
483
|
+
/**
|
|
484
|
+
* Google Cloud services that are subject to the Service Perimeter restrictions. For example, if `storage.googleapis.com` is specified, access to the storage buckets inside the
|
|
485
|
+
* perimeter must meet the perimeter's access restrictions.
|
|
486
|
+
*/
|
|
487
|
+
restrictedServices?: string[];
|
|
488
|
+
/** Configuration for APIs allowed within Perimeter. */
|
|
489
|
+
vpcAccessibleServices?: VpcAccessibleServices;
|
|
490
|
+
}
|
|
491
|
+
interface SetIamPolicyRequest {
|
|
492
|
+
/**
|
|
493
|
+
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud
|
|
494
|
+
* services (such as Projects) might reject them.
|
|
495
|
+
*/
|
|
496
|
+
policy?: Policy;
|
|
497
|
+
/**
|
|
498
|
+
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used:
|
|
499
|
+
* `paths: "bindings, etag"`
|
|
500
|
+
*/
|
|
501
|
+
updateMask?: string;
|
|
502
|
+
}
|
|
503
|
+
interface Status {
|
|
504
|
+
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
505
|
+
code?: number;
|
|
506
|
+
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
507
|
+
details?: Array<{ [P in string]: any }>;
|
|
508
|
+
/**
|
|
509
|
+
* A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
|
|
510
|
+
* client.
|
|
511
|
+
*/
|
|
512
|
+
message?: string;
|
|
513
|
+
}
|
|
514
|
+
interface TestIamPermissionsRequest {
|
|
515
|
+
/**
|
|
516
|
+
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
517
|
+
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
518
|
+
*/
|
|
519
|
+
permissions?: string[];
|
|
520
|
+
}
|
|
521
|
+
interface TestIamPermissionsResponse {
|
|
522
|
+
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
523
|
+
permissions?: string[];
|
|
524
|
+
}
|
|
525
|
+
interface VpcAccessibleServices {
|
|
526
|
+
/**
|
|
527
|
+
* The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the
|
|
528
|
+
* 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.
|
|
529
|
+
*/
|
|
530
|
+
allowedServices?: string[];
|
|
531
|
+
/** Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'. */
|
|
532
|
+
enableRestriction?: boolean;
|
|
533
|
+
}
|
|
534
|
+
interface AccessLevelsResource {
|
|
535
|
+
/**
|
|
536
|
+
* Creates an access level. The long-running operation from this RPC has a successful status after the access level propagates to long-lasting storage. If access levels contain errors,
|
|
537
|
+
* an error response is returned for the first error encountered.
|
|
538
|
+
*/
|
|
539
|
+
create(request: {
|
|
540
|
+
/** V1 error format. */
|
|
541
|
+
"$.xgafv"?: string;
|
|
542
|
+
/** OAuth access token. */
|
|
543
|
+
access_token?: string;
|
|
544
|
+
/** Data format for response. */
|
|
545
|
+
alt?: string;
|
|
546
|
+
/** JSONP */
|
|
547
|
+
callback?: string;
|
|
548
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
549
|
+
fields?: string;
|
|
550
|
+
/** 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. */
|
|
551
|
+
key?: string;
|
|
552
|
+
/** OAuth 2.0 token for the current user. */
|
|
553
|
+
oauth_token?: string;
|
|
554
|
+
/** Required. Resource name for the access policy which owns this Access Level. Format: `accessPolicies/{policy_id}` */
|
|
555
|
+
parent: string;
|
|
556
|
+
/** Returns response with indentations and line breaks. */
|
|
557
|
+
prettyPrint?: boolean;
|
|
558
|
+
/** 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. */
|
|
559
|
+
quotaUser?: string;
|
|
560
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
561
|
+
upload_protocol?: string;
|
|
562
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
563
|
+
uploadType?: string;
|
|
564
|
+
/** Request body */
|
|
565
|
+
resource: AccessLevel;
|
|
566
|
+
}): Request<Operation>;
|
|
567
|
+
create(request: {
|
|
568
|
+
/** V1 error format. */
|
|
569
|
+
"$.xgafv"?: string;
|
|
570
|
+
/** OAuth access token. */
|
|
571
|
+
access_token?: string;
|
|
572
|
+
/** Data format for response. */
|
|
573
|
+
alt?: string;
|
|
574
|
+
/** JSONP */
|
|
575
|
+
callback?: string;
|
|
576
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
577
|
+
fields?: string;
|
|
578
|
+
/** 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. */
|
|
579
|
+
key?: string;
|
|
580
|
+
/** OAuth 2.0 token for the current user. */
|
|
581
|
+
oauth_token?: string;
|
|
582
|
+
/** Required. Resource name for the access policy which owns this Access Level. Format: `accessPolicies/{policy_id}` */
|
|
583
|
+
parent: string;
|
|
584
|
+
/** Returns response with indentations and line breaks. */
|
|
585
|
+
prettyPrint?: boolean;
|
|
586
|
+
/** 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. */
|
|
587
|
+
quotaUser?: string;
|
|
588
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
589
|
+
upload_protocol?: string;
|
|
590
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
591
|
+
uploadType?: string;
|
|
592
|
+
},
|
|
593
|
+
body: AccessLevel): Request<Operation>;
|
|
594
|
+
/**
|
|
595
|
+
* Deletes an access level based on the resource name. The long-running operation from this RPC has a successful status after the access level has been removed from long-lasting
|
|
596
|
+
* storage.
|
|
597
|
+
*/
|
|
598
|
+
delete(request?: {
|
|
599
|
+
/** V1 error format. */
|
|
600
|
+
"$.xgafv"?: string;
|
|
601
|
+
/** OAuth access token. */
|
|
602
|
+
access_token?: string;
|
|
603
|
+
/** Data format for response. */
|
|
604
|
+
alt?: string;
|
|
605
|
+
/** JSONP */
|
|
606
|
+
callback?: string;
|
|
607
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
608
|
+
fields?: string;
|
|
609
|
+
/** 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. */
|
|
610
|
+
key?: string;
|
|
611
|
+
/** Required. Resource name for the Access Level. Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}` */
|
|
612
|
+
name: string;
|
|
613
|
+
/** OAuth 2.0 token for the current user. */
|
|
614
|
+
oauth_token?: string;
|
|
615
|
+
/** Returns response with indentations and line breaks. */
|
|
616
|
+
prettyPrint?: boolean;
|
|
617
|
+
/** 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. */
|
|
618
|
+
quotaUser?: string;
|
|
619
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
620
|
+
upload_protocol?: string;
|
|
621
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
622
|
+
uploadType?: string;
|
|
623
|
+
}): Request<Operation>;
|
|
624
|
+
/** Gets an access level based on the resource name. */
|
|
625
|
+
get(request?: {
|
|
626
|
+
/** V1 error format. */
|
|
627
|
+
"$.xgafv"?: string;
|
|
628
|
+
/** OAuth access token. */
|
|
629
|
+
access_token?: string;
|
|
630
|
+
/**
|
|
631
|
+
* Whether to return `BasicLevels` in the Cloud Common Expression Language rather than as `BasicLevels`. Defaults to AS_DEFINED, where Access Levels are returned as `BasicLevels`
|
|
632
|
+
* or `CustomLevels` based on how they were created. If set to CEL, all Access Levels are returned as `CustomLevels`. In the CEL case, `BasicLevels` are translated to equivalent
|
|
633
|
+
* `CustomLevels`.
|
|
634
|
+
*/
|
|
635
|
+
accessLevelFormat?: string;
|
|
636
|
+
/** Data format for response. */
|
|
637
|
+
alt?: string;
|
|
638
|
+
/** JSONP */
|
|
639
|
+
callback?: string;
|
|
640
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
641
|
+
fields?: string;
|
|
642
|
+
/** 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. */
|
|
643
|
+
key?: string;
|
|
644
|
+
/** Required. Resource name for the Access Level. Format: `accessPolicies/{policy_id}/accessLevels/{access_level_id}` */
|
|
645
|
+
name: string;
|
|
646
|
+
/** OAuth 2.0 token for the current user. */
|
|
647
|
+
oauth_token?: string;
|
|
648
|
+
/** Returns response with indentations and line breaks. */
|
|
649
|
+
prettyPrint?: boolean;
|
|
650
|
+
/** 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. */
|
|
651
|
+
quotaUser?: string;
|
|
652
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
653
|
+
upload_protocol?: string;
|
|
654
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
655
|
+
uploadType?: string;
|
|
656
|
+
}): Request<AccessLevel>;
|
|
657
|
+
/** Lists all access levels for an access policy. */
|
|
658
|
+
list(request?: {
|
|
659
|
+
/** V1 error format. */
|
|
660
|
+
"$.xgafv"?: string;
|
|
661
|
+
/** OAuth access token. */
|
|
662
|
+
access_token?: string;
|
|
663
|
+
/**
|
|
664
|
+
* Whether to return `BasicLevels` in the Cloud Common Expression language, as `CustomLevels`, rather than as `BasicLevels`. Defaults to returning `AccessLevels` in the format they
|
|
665
|
+
* were defined.
|
|
666
|
+
*/
|
|
667
|
+
accessLevelFormat?: string;
|
|
668
|
+
/** Data format for response. */
|
|
669
|
+
alt?: string;
|
|
670
|
+
/** JSONP */
|
|
671
|
+
callback?: string;
|
|
672
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
673
|
+
fields?: string;
|
|
674
|
+
/** 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. */
|
|
675
|
+
key?: string;
|
|
676
|
+
/** OAuth 2.0 token for the current user. */
|
|
677
|
+
oauth_token?: string;
|
|
678
|
+
/** Number of Access Levels to include in the list. Default 100. */
|
|
679
|
+
pageSize?: number;
|
|
680
|
+
/** Next page token for the next batch of Access Level instances. Defaults to the first page of results. */
|
|
681
|
+
pageToken?: string;
|
|
682
|
+
/** Required. Resource name for the access policy to list Access Levels from. Format: `accessPolicies/{policy_id}` */
|
|
683
|
+
parent: string;
|
|
684
|
+
/** Returns response with indentations and line breaks. */
|
|
685
|
+
prettyPrint?: boolean;
|
|
686
|
+
/** 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. */
|
|
687
|
+
quotaUser?: string;
|
|
688
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
689
|
+
upload_protocol?: string;
|
|
690
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
691
|
+
uploadType?: string;
|
|
692
|
+
}): Request<ListAccessLevelsResponse>;
|
|
693
|
+
/**
|
|
694
|
+
* Updates an access level. The long-running operation from this RPC has a successful status after the changes to the access level propagate to long-lasting storage. If access levels
|
|
695
|
+
* contain errors, an error response is returned for the first error encountered.
|
|
696
|
+
*/
|
|
697
|
+
patch(request: {
|
|
698
|
+
/** V1 error format. */
|
|
699
|
+
"$.xgafv"?: string;
|
|
700
|
+
/** OAuth access token. */
|
|
701
|
+
access_token?: string;
|
|
702
|
+
/** Data format for response. */
|
|
703
|
+
alt?: string;
|
|
704
|
+
/** JSONP */
|
|
705
|
+
callback?: string;
|
|
706
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
707
|
+
fields?: string;
|
|
708
|
+
/** 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. */
|
|
709
|
+
key?: string;
|
|
710
|
+
/**
|
|
711
|
+
* Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format:
|
|
712
|
+
* `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum length of the `access_level` component is 50 characters.
|
|
713
|
+
*/
|
|
714
|
+
name: string;
|
|
715
|
+
/** OAuth 2.0 token for the current user. */
|
|
716
|
+
oauth_token?: string;
|
|
717
|
+
/** Returns response with indentations and line breaks. */
|
|
718
|
+
prettyPrint?: boolean;
|
|
719
|
+
/** 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. */
|
|
720
|
+
quotaUser?: string;
|
|
721
|
+
/** Required. Mask to control which fields get updated. Must be non-empty. */
|
|
722
|
+
updateMask?: string;
|
|
723
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
724
|
+
upload_protocol?: string;
|
|
725
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
726
|
+
uploadType?: string;
|
|
727
|
+
/** Request body */
|
|
728
|
+
resource: AccessLevel;
|
|
729
|
+
}): Request<Operation>;
|
|
730
|
+
patch(request: {
|
|
731
|
+
/** V1 error format. */
|
|
732
|
+
"$.xgafv"?: string;
|
|
733
|
+
/** OAuth access token. */
|
|
734
|
+
access_token?: string;
|
|
735
|
+
/** Data format for response. */
|
|
736
|
+
alt?: string;
|
|
737
|
+
/** JSONP */
|
|
738
|
+
callback?: string;
|
|
739
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
740
|
+
fields?: string;
|
|
741
|
+
/** 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. */
|
|
742
|
+
key?: string;
|
|
743
|
+
/**
|
|
744
|
+
* Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format:
|
|
745
|
+
* `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum length of the `access_level` component is 50 characters.
|
|
746
|
+
*/
|
|
747
|
+
name: string;
|
|
748
|
+
/** OAuth 2.0 token for the current user. */
|
|
749
|
+
oauth_token?: string;
|
|
750
|
+
/** Returns response with indentations and line breaks. */
|
|
751
|
+
prettyPrint?: boolean;
|
|
752
|
+
/** 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. */
|
|
753
|
+
quotaUser?: string;
|
|
754
|
+
/** Required. Mask to control which fields get updated. Must be non-empty. */
|
|
755
|
+
updateMask?: string;
|
|
756
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
757
|
+
upload_protocol?: string;
|
|
758
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
759
|
+
uploadType?: string;
|
|
760
|
+
},
|
|
761
|
+
body: AccessLevel): Request<Operation>;
|
|
762
|
+
/**
|
|
763
|
+
* Replaces all existing access levels in an access policy with the access levels provided. This is done atomically. The long-running operation from this RPC has a successful status
|
|
764
|
+
* after all replacements propagate to long-lasting storage. If the replacement contains errors, an error response is returned for the first error encountered. Upon error, the
|
|
765
|
+
* replacement is cancelled, and existing access levels are not affected. The Operation.response field contains ReplaceAccessLevelsResponse. Removing access levels contained in
|
|
766
|
+
* existing service perimeters result in an error.
|
|
767
|
+
*/
|
|
768
|
+
replaceAll(request: {
|
|
769
|
+
/** V1 error format. */
|
|
770
|
+
"$.xgafv"?: string;
|
|
771
|
+
/** OAuth access token. */
|
|
772
|
+
access_token?: string;
|
|
773
|
+
/** Data format for response. */
|
|
774
|
+
alt?: string;
|
|
775
|
+
/** JSONP */
|
|
776
|
+
callback?: string;
|
|
777
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
778
|
+
fields?: string;
|
|
779
|
+
/** 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. */
|
|
780
|
+
key?: string;
|
|
781
|
+
/** OAuth 2.0 token for the current user. */
|
|
782
|
+
oauth_token?: string;
|
|
783
|
+
/** Required. Resource name for the access policy which owns these Access Levels. Format: `accessPolicies/{policy_id}` */
|
|
784
|
+
parent: string;
|
|
785
|
+
/** Returns response with indentations and line breaks. */
|
|
786
|
+
prettyPrint?: boolean;
|
|
787
|
+
/** 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. */
|
|
788
|
+
quotaUser?: string;
|
|
789
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
790
|
+
upload_protocol?: string;
|
|
791
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
792
|
+
uploadType?: string;
|
|
793
|
+
/** Request body */
|
|
794
|
+
resource: ReplaceAccessLevelsRequest;
|
|
795
|
+
}): Request<Operation>;
|
|
796
|
+
replaceAll(request: {
|
|
797
|
+
/** V1 error format. */
|
|
798
|
+
"$.xgafv"?: string;
|
|
799
|
+
/** OAuth access token. */
|
|
800
|
+
access_token?: string;
|
|
801
|
+
/** Data format for response. */
|
|
802
|
+
alt?: string;
|
|
803
|
+
/** JSONP */
|
|
804
|
+
callback?: string;
|
|
805
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
806
|
+
fields?: string;
|
|
807
|
+
/** 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. */
|
|
808
|
+
key?: string;
|
|
809
|
+
/** OAuth 2.0 token for the current user. */
|
|
810
|
+
oauth_token?: string;
|
|
811
|
+
/** Required. Resource name for the access policy which owns these Access Levels. Format: `accessPolicies/{policy_id}` */
|
|
812
|
+
parent: string;
|
|
813
|
+
/** Returns response with indentations and line breaks. */
|
|
814
|
+
prettyPrint?: 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?: string;
|
|
817
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
818
|
+
upload_protocol?: string;
|
|
819
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
820
|
+
uploadType?: string;
|
|
821
|
+
},
|
|
822
|
+
body: ReplaceAccessLevelsRequest): Request<Operation>;
|
|
823
|
+
/**
|
|
824
|
+
* Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an AccessPolicy, AccessLevel, or ServicePerimeter. This method
|
|
825
|
+
* does not support other resources.
|
|
826
|
+
*/
|
|
827
|
+
testIamPermissions(request: {
|
|
828
|
+
/** V1 error format. */
|
|
829
|
+
"$.xgafv"?: string;
|
|
830
|
+
/** OAuth access token. */
|
|
831
|
+
access_token?: string;
|
|
832
|
+
/** Data format for response. */
|
|
833
|
+
alt?: string;
|
|
834
|
+
/** JSONP */
|
|
835
|
+
callback?: string;
|
|
836
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
837
|
+
fields?: string;
|
|
838
|
+
/** 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. */
|
|
839
|
+
key?: string;
|
|
840
|
+
/** OAuth 2.0 token for the current user. */
|
|
841
|
+
oauth_token?: string;
|
|
842
|
+
/** Returns response with indentations and line breaks. */
|
|
843
|
+
prettyPrint?: boolean;
|
|
844
|
+
/** 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. */
|
|
845
|
+
quotaUser?: string;
|
|
846
|
+
/**
|
|
847
|
+
* 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
|
|
848
|
+
* this field.
|
|
849
|
+
*/
|
|
850
|
+
resource: string;
|
|
851
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
852
|
+
upload_protocol?: string;
|
|
853
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
854
|
+
uploadType?: string;
|
|
855
|
+
},
|
|
856
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
857
|
+
}
|
|
858
|
+
interface ServicePerimetersResource {
|
|
859
|
+
/**
|
|
860
|
+
* Commits the dry-run specification for all the service perimeters in an access policy. A commit operation on a service perimeter involves copying its `spec` field to the `status`
|
|
861
|
+
* field of the service perimeter. Only service perimeters with `use_explicit_dry_run_spec` field set to true are affected by a commit operation. The long-running operation from this
|
|
862
|
+
* RPC has a successful status after the dry-run specifications for all the service perimeters have been committed. If a commit fails, it causes the long-running operation to return an
|
|
863
|
+
* error response and the entire commit operation is cancelled. When successful, the Operation.response field contains CommitServicePerimetersResponse. The `dry_run` and the `spec`
|
|
864
|
+
* fields are cleared after a successful commit operation.
|
|
865
|
+
*/
|
|
866
|
+
commit(request: {
|
|
867
|
+
/** V1 error format. */
|
|
868
|
+
"$.xgafv"?: string;
|
|
869
|
+
/** OAuth access token. */
|
|
870
|
+
access_token?: string;
|
|
871
|
+
/** Data format for response. */
|
|
872
|
+
alt?: string;
|
|
873
|
+
/** JSONP */
|
|
874
|
+
callback?: string;
|
|
875
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
876
|
+
fields?: string;
|
|
877
|
+
/** 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. */
|
|
878
|
+
key?: string;
|
|
879
|
+
/** OAuth 2.0 token for the current user. */
|
|
880
|
+
oauth_token?: string;
|
|
881
|
+
/** Required. Resource name for the parent Access Policy which owns all Service Perimeters in scope for the commit operation. Format: `accessPolicies/{policy_id}` */
|
|
882
|
+
parent: string;
|
|
883
|
+
/** Returns response with indentations and line breaks. */
|
|
884
|
+
prettyPrint?: boolean;
|
|
885
|
+
/** 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. */
|
|
886
|
+
quotaUser?: string;
|
|
887
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
888
|
+
upload_protocol?: string;
|
|
889
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
890
|
+
uploadType?: string;
|
|
891
|
+
/** Request body */
|
|
892
|
+
resource: CommitServicePerimetersRequest;
|
|
893
|
+
}): Request<Operation>;
|
|
894
|
+
commit(request: {
|
|
895
|
+
/** V1 error format. */
|
|
896
|
+
"$.xgafv"?: string;
|
|
897
|
+
/** OAuth access token. */
|
|
898
|
+
access_token?: string;
|
|
899
|
+
/** Data format for response. */
|
|
900
|
+
alt?: string;
|
|
901
|
+
/** JSONP */
|
|
902
|
+
callback?: string;
|
|
903
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
904
|
+
fields?: string;
|
|
905
|
+
/** 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. */
|
|
906
|
+
key?: string;
|
|
907
|
+
/** OAuth 2.0 token for the current user. */
|
|
908
|
+
oauth_token?: string;
|
|
909
|
+
/** Required. Resource name for the parent Access Policy which owns all Service Perimeters in scope for the commit operation. Format: `accessPolicies/{policy_id}` */
|
|
910
|
+
parent: string;
|
|
911
|
+
/** Returns response with indentations and line breaks. */
|
|
912
|
+
prettyPrint?: boolean;
|
|
913
|
+
/** 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. */
|
|
914
|
+
quotaUser?: string;
|
|
915
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
916
|
+
upload_protocol?: string;
|
|
917
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
918
|
+
uploadType?: string;
|
|
919
|
+
},
|
|
920
|
+
body: CommitServicePerimetersRequest): Request<Operation>;
|
|
921
|
+
/**
|
|
922
|
+
* Creates a service perimeter. The long-running operation from this RPC has a successful status after the service perimeter propagates to long-lasting storage. If a service perimeter
|
|
923
|
+
* contains errors, an error response is returned for the first error encountered.
|
|
924
|
+
*/
|
|
925
|
+
create(request: {
|
|
926
|
+
/** V1 error format. */
|
|
927
|
+
"$.xgafv"?: string;
|
|
928
|
+
/** OAuth access token. */
|
|
929
|
+
access_token?: string;
|
|
930
|
+
/** Data format for response. */
|
|
931
|
+
alt?: string;
|
|
932
|
+
/** JSONP */
|
|
933
|
+
callback?: string;
|
|
934
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
935
|
+
fields?: string;
|
|
936
|
+
/** 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. */
|
|
937
|
+
key?: string;
|
|
938
|
+
/** OAuth 2.0 token for the current user. */
|
|
939
|
+
oauth_token?: string;
|
|
940
|
+
/** Required. Resource name for the access policy which owns this Service Perimeter. Format: `accessPolicies/{policy_id}` */
|
|
941
|
+
parent: string;
|
|
942
|
+
/** Returns response with indentations and line breaks. */
|
|
943
|
+
prettyPrint?: boolean;
|
|
944
|
+
/** 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. */
|
|
945
|
+
quotaUser?: string;
|
|
946
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
947
|
+
upload_protocol?: string;
|
|
948
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
949
|
+
uploadType?: string;
|
|
950
|
+
/** Request body */
|
|
951
|
+
resource: ServicePerimeter;
|
|
952
|
+
}): Request<Operation>;
|
|
953
|
+
create(request: {
|
|
954
|
+
/** V1 error format. */
|
|
955
|
+
"$.xgafv"?: string;
|
|
956
|
+
/** OAuth access token. */
|
|
957
|
+
access_token?: string;
|
|
958
|
+
/** Data format for response. */
|
|
959
|
+
alt?: string;
|
|
960
|
+
/** JSONP */
|
|
961
|
+
callback?: string;
|
|
962
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
963
|
+
fields?: string;
|
|
964
|
+
/** 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. */
|
|
965
|
+
key?: string;
|
|
966
|
+
/** OAuth 2.0 token for the current user. */
|
|
967
|
+
oauth_token?: string;
|
|
968
|
+
/** Required. Resource name for the access policy which owns this Service Perimeter. Format: `accessPolicies/{policy_id}` */
|
|
969
|
+
parent: string;
|
|
970
|
+
/** Returns response with indentations and line breaks. */
|
|
971
|
+
prettyPrint?: boolean;
|
|
972
|
+
/** 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. */
|
|
973
|
+
quotaUser?: string;
|
|
974
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
975
|
+
upload_protocol?: string;
|
|
976
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
977
|
+
uploadType?: string;
|
|
978
|
+
},
|
|
979
|
+
body: ServicePerimeter): Request<Operation>;
|
|
980
|
+
/**
|
|
981
|
+
* Deletes a service perimeter based on the resource name. The long-running operation from this RPC has a successful status after the service perimeter is removed from long-lasting
|
|
982
|
+
* storage.
|
|
983
|
+
*/
|
|
984
|
+
delete(request?: {
|
|
985
|
+
/** V1 error format. */
|
|
986
|
+
"$.xgafv"?: string;
|
|
987
|
+
/** OAuth access token. */
|
|
988
|
+
access_token?: string;
|
|
989
|
+
/** Data format for response. */
|
|
990
|
+
alt?: string;
|
|
991
|
+
/** JSONP */
|
|
992
|
+
callback?: string;
|
|
993
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
994
|
+
fields?: string;
|
|
995
|
+
/** 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. */
|
|
996
|
+
key?: string;
|
|
997
|
+
/** Required. Resource name for the Service Perimeter. Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}` */
|
|
998
|
+
name: string;
|
|
999
|
+
/** OAuth 2.0 token for the current user. */
|
|
1000
|
+
oauth_token?: string;
|
|
1001
|
+
/** Returns response with indentations and line breaks. */
|
|
1002
|
+
prettyPrint?: boolean;
|
|
1003
|
+
/** 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. */
|
|
1004
|
+
quotaUser?: string;
|
|
1005
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1006
|
+
upload_protocol?: string;
|
|
1007
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1008
|
+
uploadType?: string;
|
|
1009
|
+
}): Request<Operation>;
|
|
1010
|
+
/** Gets a service perimeter based on the resource name. */
|
|
1011
|
+
get(request?: {
|
|
1012
|
+
/** V1 error format. */
|
|
1013
|
+
"$.xgafv"?: string;
|
|
1014
|
+
/** OAuth access token. */
|
|
1015
|
+
access_token?: string;
|
|
1016
|
+
/** Data format for response. */
|
|
1017
|
+
alt?: string;
|
|
1018
|
+
/** JSONP */
|
|
1019
|
+
callback?: string;
|
|
1020
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1021
|
+
fields?: string;
|
|
1022
|
+
/** 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. */
|
|
1023
|
+
key?: string;
|
|
1024
|
+
/** Required. Resource name for the Service Perimeter. Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id}` */
|
|
1025
|
+
name: string;
|
|
1026
|
+
/** OAuth 2.0 token for the current user. */
|
|
1027
|
+
oauth_token?: string;
|
|
1028
|
+
/** Returns response with indentations and line breaks. */
|
|
1029
|
+
prettyPrint?: boolean;
|
|
1030
|
+
/** 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. */
|
|
1031
|
+
quotaUser?: string;
|
|
1032
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1033
|
+
upload_protocol?: string;
|
|
1034
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1035
|
+
uploadType?: string;
|
|
1036
|
+
}): Request<ServicePerimeter>;
|
|
1037
|
+
/** Lists all service perimeters for an access policy. */
|
|
1038
|
+
list(request?: {
|
|
1039
|
+
/** V1 error format. */
|
|
1040
|
+
"$.xgafv"?: string;
|
|
1041
|
+
/** OAuth access token. */
|
|
1042
|
+
access_token?: string;
|
|
1043
|
+
/** Data format for response. */
|
|
1044
|
+
alt?: string;
|
|
1045
|
+
/** JSONP */
|
|
1046
|
+
callback?: string;
|
|
1047
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1048
|
+
fields?: string;
|
|
1049
|
+
/** 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. */
|
|
1050
|
+
key?: string;
|
|
1051
|
+
/** OAuth 2.0 token for the current user. */
|
|
1052
|
+
oauth_token?: string;
|
|
1053
|
+
/** Number of Service Perimeters to include in the list. Default 100. */
|
|
1054
|
+
pageSize?: number;
|
|
1055
|
+
/** Next page token for the next batch of Service Perimeter instances. Defaults to the first page of results. */
|
|
1056
|
+
pageToken?: string;
|
|
1057
|
+
/** Required. Resource name for the access policy to list Service Perimeters from. Format: `accessPolicies/{policy_id}` */
|
|
1058
|
+
parent: string;
|
|
1059
|
+
/** Returns response with indentations and line breaks. */
|
|
1060
|
+
prettyPrint?: boolean;
|
|
1061
|
+
/** 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. */
|
|
1062
|
+
quotaUser?: string;
|
|
1063
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1064
|
+
upload_protocol?: string;
|
|
1065
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1066
|
+
uploadType?: string;
|
|
1067
|
+
}): Request<ListServicePerimetersResponse>;
|
|
1068
|
+
/**
|
|
1069
|
+
* Updates a service perimeter. The long-running operation from this RPC has a successful status after the service perimeter propagates to long-lasting storage. If a service perimeter
|
|
1070
|
+
* contains errors, an error response is returned for the first error encountered.
|
|
1071
|
+
*/
|
|
1072
|
+
patch(request: {
|
|
1073
|
+
/** V1 error format. */
|
|
1074
|
+
"$.xgafv"?: string;
|
|
1075
|
+
/** OAuth access token. */
|
|
1076
|
+
access_token?: string;
|
|
1077
|
+
/** Data format for response. */
|
|
1078
|
+
alt?: string;
|
|
1079
|
+
/** JSONP */
|
|
1080
|
+
callback?: string;
|
|
1081
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1082
|
+
fields?: 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?: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* Required. Resource name for the ServicePerimeter. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format:
|
|
1087
|
+
* `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`
|
|
1088
|
+
*/
|
|
1089
|
+
name: string;
|
|
1090
|
+
/** OAuth 2.0 token for the current user. */
|
|
1091
|
+
oauth_token?: string;
|
|
1092
|
+
/** Returns response with indentations and line breaks. */
|
|
1093
|
+
prettyPrint?: boolean;
|
|
1094
|
+
/** 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. */
|
|
1095
|
+
quotaUser?: string;
|
|
1096
|
+
/** Required. Mask to control which fields get updated. Must be non-empty. */
|
|
1097
|
+
updateMask?: string;
|
|
1098
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1099
|
+
upload_protocol?: string;
|
|
1100
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1101
|
+
uploadType?: string;
|
|
1102
|
+
/** Request body */
|
|
1103
|
+
resource: ServicePerimeter;
|
|
1104
|
+
}): Request<Operation>;
|
|
1105
|
+
patch(request: {
|
|
1106
|
+
/** V1 error format. */
|
|
1107
|
+
"$.xgafv"?: string;
|
|
1108
|
+
/** OAuth access token. */
|
|
1109
|
+
access_token?: string;
|
|
1110
|
+
/** Data format for response. */
|
|
1111
|
+
alt?: string;
|
|
1112
|
+
/** JSONP */
|
|
1113
|
+
callback?: string;
|
|
1114
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1115
|
+
fields?: string;
|
|
1116
|
+
/** 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. */
|
|
1117
|
+
key?: string;
|
|
1118
|
+
/**
|
|
1119
|
+
* Required. Resource name for the ServicePerimeter. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format:
|
|
1120
|
+
* `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`
|
|
1121
|
+
*/
|
|
1122
|
+
name: string;
|
|
1123
|
+
/** OAuth 2.0 token for the current user. */
|
|
1124
|
+
oauth_token?: string;
|
|
1125
|
+
/** Returns response with indentations and line breaks. */
|
|
1126
|
+
prettyPrint?: boolean;
|
|
1127
|
+
/** 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. */
|
|
1128
|
+
quotaUser?: string;
|
|
1129
|
+
/** Required. Mask to control which fields get updated. Must be non-empty. */
|
|
1130
|
+
updateMask?: string;
|
|
1131
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1132
|
+
upload_protocol?: string;
|
|
1133
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1134
|
+
uploadType?: string;
|
|
1135
|
+
},
|
|
1136
|
+
body: ServicePerimeter): Request<Operation>;
|
|
1137
|
+
/**
|
|
1138
|
+
* Replace all existing service perimeters in an access policy with the service perimeters provided. This is done atomically. The long-running operation from this RPC has a successful
|
|
1139
|
+
* status after all replacements propagate to long-lasting storage. Replacements containing errors result in an error response for the first error encountered. Upon an error,
|
|
1140
|
+
* replacement are cancelled and existing service perimeters are not affected. The Operation.response field contains ReplaceServicePerimetersResponse.
|
|
1141
|
+
*/
|
|
1142
|
+
replaceAll(request: {
|
|
1143
|
+
/** V1 error format. */
|
|
1144
|
+
"$.xgafv"?: string;
|
|
1145
|
+
/** OAuth access token. */
|
|
1146
|
+
access_token?: string;
|
|
1147
|
+
/** Data format for response. */
|
|
1148
|
+
alt?: string;
|
|
1149
|
+
/** JSONP */
|
|
1150
|
+
callback?: string;
|
|
1151
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1152
|
+
fields?: string;
|
|
1153
|
+
/** 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. */
|
|
1154
|
+
key?: string;
|
|
1155
|
+
/** OAuth 2.0 token for the current user. */
|
|
1156
|
+
oauth_token?: string;
|
|
1157
|
+
/** Required. Resource name for the access policy which owns these Service Perimeters. Format: `accessPolicies/{policy_id}` */
|
|
1158
|
+
parent: string;
|
|
1159
|
+
/** Returns response with indentations and line breaks. */
|
|
1160
|
+
prettyPrint?: boolean;
|
|
1161
|
+
/** 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. */
|
|
1162
|
+
quotaUser?: string;
|
|
1163
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1164
|
+
upload_protocol?: string;
|
|
1165
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1166
|
+
uploadType?: string;
|
|
1167
|
+
/** Request body */
|
|
1168
|
+
resource: ReplaceServicePerimetersRequest;
|
|
1169
|
+
}): Request<Operation>;
|
|
1170
|
+
replaceAll(request: {
|
|
1171
|
+
/** V1 error format. */
|
|
1172
|
+
"$.xgafv"?: string;
|
|
1173
|
+
/** OAuth access token. */
|
|
1174
|
+
access_token?: string;
|
|
1175
|
+
/** Data format for response. */
|
|
1176
|
+
alt?: string;
|
|
1177
|
+
/** JSONP */
|
|
1178
|
+
callback?: string;
|
|
1179
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1180
|
+
fields?: string;
|
|
1181
|
+
/** 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. */
|
|
1182
|
+
key?: string;
|
|
1183
|
+
/** OAuth 2.0 token for the current user. */
|
|
1184
|
+
oauth_token?: string;
|
|
1185
|
+
/** Required. Resource name for the access policy which owns these Service Perimeters. Format: `accessPolicies/{policy_id}` */
|
|
1186
|
+
parent: string;
|
|
1187
|
+
/** Returns response with indentations and line breaks. */
|
|
1188
|
+
prettyPrint?: boolean;
|
|
1189
|
+
/** 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. */
|
|
1190
|
+
quotaUser?: string;
|
|
1191
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1192
|
+
upload_protocol?: string;
|
|
1193
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1194
|
+
uploadType?: string;
|
|
1195
|
+
},
|
|
1196
|
+
body: ReplaceServicePerimetersRequest): Request<Operation>;
|
|
1197
|
+
/**
|
|
1198
|
+
* Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an AccessPolicy, AccessLevel, or ServicePerimeter. This method
|
|
1199
|
+
* does not support other resources.
|
|
1200
|
+
*/
|
|
1201
|
+
testIamPermissions(request: {
|
|
1202
|
+
/** V1 error format. */
|
|
1203
|
+
"$.xgafv"?: string;
|
|
1204
|
+
/** OAuth access token. */
|
|
1205
|
+
access_token?: string;
|
|
1206
|
+
/** Data format for response. */
|
|
1207
|
+
alt?: string;
|
|
1208
|
+
/** JSONP */
|
|
1209
|
+
callback?: string;
|
|
1210
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1211
|
+
fields?: string;
|
|
1212
|
+
/** 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. */
|
|
1213
|
+
key?: string;
|
|
1214
|
+
/** OAuth 2.0 token for the current user. */
|
|
1215
|
+
oauth_token?: string;
|
|
1216
|
+
/** Returns response with indentations and line breaks. */
|
|
1217
|
+
prettyPrint?: boolean;
|
|
1218
|
+
/** 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. */
|
|
1219
|
+
quotaUser?: string;
|
|
1220
|
+
/**
|
|
1221
|
+
* 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
|
|
1222
|
+
* this field.
|
|
1223
|
+
*/
|
|
1224
|
+
resource: string;
|
|
1225
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1226
|
+
upload_protocol?: string;
|
|
1227
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1228
|
+
uploadType?: string;
|
|
1229
|
+
},
|
|
1230
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1231
|
+
}
|
|
1232
|
+
interface AccessPoliciesResource {
|
|
1233
|
+
/**
|
|
1234
|
+
* Creates an access policy. This method fails if the organization already has an access policy. The long-running operation has a successful status after the access policy propagates
|
|
1235
|
+
* to long-lasting storage. Syntactic and basic semantic errors are returned in `metadata` as a BadRequest proto.
|
|
1236
|
+
*/
|
|
1237
|
+
create(request: {
|
|
1238
|
+
/** V1 error format. */
|
|
1239
|
+
"$.xgafv"?: string;
|
|
1240
|
+
/** OAuth access token. */
|
|
1241
|
+
access_token?: string;
|
|
1242
|
+
/** Data format for response. */
|
|
1243
|
+
alt?: string;
|
|
1244
|
+
/** JSONP */
|
|
1245
|
+
callback?: string;
|
|
1246
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1247
|
+
fields?: string;
|
|
1248
|
+
/** 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. */
|
|
1249
|
+
key?: string;
|
|
1250
|
+
/** OAuth 2.0 token for the current user. */
|
|
1251
|
+
oauth_token?: string;
|
|
1252
|
+
/** Returns response with indentations and line breaks. */
|
|
1253
|
+
prettyPrint?: boolean;
|
|
1254
|
+
/** 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. */
|
|
1255
|
+
quotaUser?: string;
|
|
1256
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1257
|
+
upload_protocol?: string;
|
|
1258
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1259
|
+
uploadType?: string;
|
|
1260
|
+
/** Request body */
|
|
1261
|
+
resource: AccessPolicy;
|
|
1262
|
+
}): Request<Operation>;
|
|
1263
|
+
create(request: {
|
|
1264
|
+
/** V1 error format. */
|
|
1265
|
+
"$.xgafv"?: string;
|
|
1266
|
+
/** OAuth access token. */
|
|
1267
|
+
access_token?: string;
|
|
1268
|
+
/** Data format for response. */
|
|
1269
|
+
alt?: string;
|
|
1270
|
+
/** JSONP */
|
|
1271
|
+
callback?: string;
|
|
1272
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1273
|
+
fields?: 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?: string;
|
|
1276
|
+
/** OAuth 2.0 token for the current user. */
|
|
1277
|
+
oauth_token?: string;
|
|
1278
|
+
/** Returns response with indentations and line breaks. */
|
|
1279
|
+
prettyPrint?: boolean;
|
|
1280
|
+
/** 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. */
|
|
1281
|
+
quotaUser?: string;
|
|
1282
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1283
|
+
upload_protocol?: string;
|
|
1284
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1285
|
+
uploadType?: string;
|
|
1286
|
+
},
|
|
1287
|
+
body: AccessPolicy): Request<Operation>;
|
|
1288
|
+
/** Deletes an access policy based on the resource name. The long-running operation has a successful status after the access policy is removed from long-lasting storage. */
|
|
1289
|
+
delete(request?: {
|
|
1290
|
+
/** V1 error format. */
|
|
1291
|
+
"$.xgafv"?: string;
|
|
1292
|
+
/** OAuth access token. */
|
|
1293
|
+
access_token?: string;
|
|
1294
|
+
/** Data format for response. */
|
|
1295
|
+
alt?: string;
|
|
1296
|
+
/** JSONP */
|
|
1297
|
+
callback?: string;
|
|
1298
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1299
|
+
fields?: string;
|
|
1300
|
+
/** 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. */
|
|
1301
|
+
key?: string;
|
|
1302
|
+
/** Required. Resource name for the access policy to delete. Format `accessPolicies/{policy_id}` */
|
|
1303
|
+
name: string;
|
|
1304
|
+
/** OAuth 2.0 token for the current user. */
|
|
1305
|
+
oauth_token?: string;
|
|
1306
|
+
/** Returns response with indentations and line breaks. */
|
|
1307
|
+
prettyPrint?: boolean;
|
|
1308
|
+
/** 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. */
|
|
1309
|
+
quotaUser?: string;
|
|
1310
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1311
|
+
upload_protocol?: string;
|
|
1312
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1313
|
+
uploadType?: string;
|
|
1314
|
+
}): Request<Operation>;
|
|
1315
|
+
/** Returns an access policy based on the name. */
|
|
1316
|
+
get(request?: {
|
|
1317
|
+
/** V1 error format. */
|
|
1318
|
+
"$.xgafv"?: string;
|
|
1319
|
+
/** OAuth access token. */
|
|
1320
|
+
access_token?: string;
|
|
1321
|
+
/** Data format for response. */
|
|
1322
|
+
alt?: string;
|
|
1323
|
+
/** JSONP */
|
|
1324
|
+
callback?: string;
|
|
1325
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1326
|
+
fields?: string;
|
|
1327
|
+
/** 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. */
|
|
1328
|
+
key?: string;
|
|
1329
|
+
/** Required. Resource name for the access policy to get. Format `accessPolicies/{policy_id}` */
|
|
1330
|
+
name: string;
|
|
1331
|
+
/** OAuth 2.0 token for the current user. */
|
|
1332
|
+
oauth_token?: string;
|
|
1333
|
+
/** Returns response with indentations and line breaks. */
|
|
1334
|
+
prettyPrint?: boolean;
|
|
1335
|
+
/** 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. */
|
|
1336
|
+
quotaUser?: string;
|
|
1337
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1338
|
+
upload_protocol?: string;
|
|
1339
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1340
|
+
uploadType?: string;
|
|
1341
|
+
}): Request<AccessPolicy>;
|
|
1342
|
+
/** Gets the IAM policy for the specified Access Context Manager access policy. */
|
|
1343
|
+
getIamPolicy(request: {
|
|
1344
|
+
/** V1 error format. */
|
|
1345
|
+
"$.xgafv"?: string;
|
|
1346
|
+
/** OAuth access token. */
|
|
1347
|
+
access_token?: string;
|
|
1348
|
+
/** Data format for response. */
|
|
1349
|
+
alt?: string;
|
|
1350
|
+
/** JSONP */
|
|
1351
|
+
callback?: string;
|
|
1352
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1353
|
+
fields?: string;
|
|
1354
|
+
/** 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. */
|
|
1355
|
+
key?: string;
|
|
1356
|
+
/** OAuth 2.0 token for the current user. */
|
|
1357
|
+
oauth_token?: string;
|
|
1358
|
+
/** Returns response with indentations and line breaks. */
|
|
1359
|
+
prettyPrint?: boolean;
|
|
1360
|
+
/** 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. */
|
|
1361
|
+
quotaUser?: string;
|
|
1362
|
+
/**
|
|
1363
|
+
* 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
|
|
1364
|
+
* field.
|
|
1365
|
+
*/
|
|
1366
|
+
resource: string;
|
|
1367
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1368
|
+
upload_protocol?: string;
|
|
1369
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1370
|
+
uploadType?: string;
|
|
1371
|
+
},
|
|
1372
|
+
body: GetIamPolicyRequest): Request<Policy>;
|
|
1373
|
+
/** Lists all access policies in an organization. */
|
|
1374
|
+
list(request?: {
|
|
1375
|
+
/** V1 error format. */
|
|
1376
|
+
"$.xgafv"?: string;
|
|
1377
|
+
/** OAuth access token. */
|
|
1378
|
+
access_token?: string;
|
|
1379
|
+
/** Data format for response. */
|
|
1380
|
+
alt?: string;
|
|
1381
|
+
/** JSONP */
|
|
1382
|
+
callback?: string;
|
|
1383
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1384
|
+
fields?: string;
|
|
1385
|
+
/** 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. */
|
|
1386
|
+
key?: string;
|
|
1387
|
+
/** OAuth 2.0 token for the current user. */
|
|
1388
|
+
oauth_token?: string;
|
|
1389
|
+
/** Number of AccessPolicy instances to include in the list. Default 100. */
|
|
1390
|
+
pageSize?: number;
|
|
1391
|
+
/** Next page token for the next batch of AccessPolicy instances. Defaults to the first page of results. */
|
|
1392
|
+
pageToken?: string;
|
|
1393
|
+
/** Required. Resource name for the container to list AccessPolicy instances from. Format: `organizations/{org_id}` */
|
|
1394
|
+
parent?: string;
|
|
1395
|
+
/** Returns response with indentations and line breaks. */
|
|
1396
|
+
prettyPrint?: boolean;
|
|
1397
|
+
/** 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. */
|
|
1398
|
+
quotaUser?: string;
|
|
1399
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1400
|
+
upload_protocol?: string;
|
|
1401
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1402
|
+
uploadType?: string;
|
|
1403
|
+
}): Request<ListAccessPoliciesResponse>;
|
|
1404
|
+
/** Updates an access policy. The long-running operation from this RPC has a successful status after the changes to the access policy propagate to long-lasting storage. */
|
|
1405
|
+
patch(request: {
|
|
1406
|
+
/** V1 error format. */
|
|
1407
|
+
"$.xgafv"?: string;
|
|
1408
|
+
/** OAuth access token. */
|
|
1409
|
+
access_token?: string;
|
|
1410
|
+
/** Data format for response. */
|
|
1411
|
+
alt?: string;
|
|
1412
|
+
/** JSONP */
|
|
1413
|
+
callback?: string;
|
|
1414
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1415
|
+
fields?: string;
|
|
1416
|
+
/** 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. */
|
|
1417
|
+
key?: string;
|
|
1418
|
+
/** Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}` */
|
|
1419
|
+
name: string;
|
|
1420
|
+
/** OAuth 2.0 token for the current user. */
|
|
1421
|
+
oauth_token?: string;
|
|
1422
|
+
/** Returns response with indentations and line breaks. */
|
|
1423
|
+
prettyPrint?: boolean;
|
|
1424
|
+
/** 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. */
|
|
1425
|
+
quotaUser?: string;
|
|
1426
|
+
/** Required. Mask to control which fields get updated. Must be non-empty. */
|
|
1427
|
+
updateMask?: string;
|
|
1428
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1429
|
+
upload_protocol?: string;
|
|
1430
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1431
|
+
uploadType?: string;
|
|
1432
|
+
/** Request body */
|
|
1433
|
+
resource: AccessPolicy;
|
|
1434
|
+
}): Request<Operation>;
|
|
1435
|
+
patch(request: {
|
|
1436
|
+
/** V1 error format. */
|
|
1437
|
+
"$.xgafv"?: string;
|
|
1438
|
+
/** OAuth access token. */
|
|
1439
|
+
access_token?: string;
|
|
1440
|
+
/** Data format for response. */
|
|
1441
|
+
alt?: string;
|
|
1442
|
+
/** JSONP */
|
|
1443
|
+
callback?: string;
|
|
1444
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1445
|
+
fields?: string;
|
|
1446
|
+
/** 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. */
|
|
1447
|
+
key?: string;
|
|
1448
|
+
/** Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}` */
|
|
1449
|
+
name: string;
|
|
1450
|
+
/** OAuth 2.0 token for the current user. */
|
|
1451
|
+
oauth_token?: string;
|
|
1452
|
+
/** Returns response with indentations and line breaks. */
|
|
1453
|
+
prettyPrint?: boolean;
|
|
1454
|
+
/** 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. */
|
|
1455
|
+
quotaUser?: string;
|
|
1456
|
+
/** Required. Mask to control which fields get updated. Must be non-empty. */
|
|
1457
|
+
updateMask?: string;
|
|
1458
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1459
|
+
upload_protocol?: string;
|
|
1460
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1461
|
+
uploadType?: string;
|
|
1462
|
+
},
|
|
1463
|
+
body: AccessPolicy): Request<Operation>;
|
|
1464
|
+
/**
|
|
1465
|
+
* Sets the IAM policy for the specified Access Context Manager access policy. This method replaces the existing IAM policy on the access policy. The IAM policy controls the set of
|
|
1466
|
+
* users who can perform specific operations on the Access Context Manager access policy.
|
|
1467
|
+
*/
|
|
1468
|
+
setIamPolicy(request: {
|
|
1469
|
+
/** V1 error format. */
|
|
1470
|
+
"$.xgafv"?: string;
|
|
1471
|
+
/** OAuth access token. */
|
|
1472
|
+
access_token?: string;
|
|
1473
|
+
/** Data format for response. */
|
|
1474
|
+
alt?: string;
|
|
1475
|
+
/** JSONP */
|
|
1476
|
+
callback?: string;
|
|
1477
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1478
|
+
fields?: string;
|
|
1479
|
+
/** 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. */
|
|
1480
|
+
key?: string;
|
|
1481
|
+
/** OAuth 2.0 token for the current user. */
|
|
1482
|
+
oauth_token?: string;
|
|
1483
|
+
/** Returns response with indentations and line breaks. */
|
|
1484
|
+
prettyPrint?: boolean;
|
|
1485
|
+
/** 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. */
|
|
1486
|
+
quotaUser?: string;
|
|
1487
|
+
/**
|
|
1488
|
+
* 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
|
|
1489
|
+
* field.
|
|
1490
|
+
*/
|
|
1491
|
+
resource: string;
|
|
1492
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1493
|
+
upload_protocol?: string;
|
|
1494
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1495
|
+
uploadType?: string;
|
|
1496
|
+
},
|
|
1497
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
1498
|
+
/**
|
|
1499
|
+
* Returns the IAM permissions that the caller has on the specified Access Context Manager resource. The resource can be an AccessPolicy, AccessLevel, or ServicePerimeter. This method
|
|
1500
|
+
* does not support other resources.
|
|
1501
|
+
*/
|
|
1502
|
+
testIamPermissions(request: {
|
|
1503
|
+
/** V1 error format. */
|
|
1504
|
+
"$.xgafv"?: string;
|
|
1505
|
+
/** OAuth access token. */
|
|
1506
|
+
access_token?: string;
|
|
1507
|
+
/** Data format for response. */
|
|
1508
|
+
alt?: string;
|
|
1509
|
+
/** JSONP */
|
|
1510
|
+
callback?: string;
|
|
1511
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1512
|
+
fields?: string;
|
|
1513
|
+
/** 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. */
|
|
1514
|
+
key?: string;
|
|
1515
|
+
/** OAuth 2.0 token for the current user. */
|
|
1516
|
+
oauth_token?: string;
|
|
1517
|
+
/** Returns response with indentations and line breaks. */
|
|
1518
|
+
prettyPrint?: boolean;
|
|
1519
|
+
/** 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. */
|
|
1520
|
+
quotaUser?: string;
|
|
1521
|
+
/**
|
|
1522
|
+
* 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
|
|
1523
|
+
* this field.
|
|
1524
|
+
*/
|
|
1525
|
+
resource: string;
|
|
1526
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1527
|
+
upload_protocol?: string;
|
|
1528
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1529
|
+
uploadType?: string;
|
|
1530
|
+
},
|
|
1531
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1532
|
+
accessLevels: AccessLevelsResource;
|
|
1533
|
+
servicePerimeters: ServicePerimetersResource;
|
|
1534
|
+
}
|
|
1535
|
+
interface OperationsResource {
|
|
1536
|
+
/**
|
|
1537
|
+
* 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
|
|
1538
|
+
* 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
|
|
1539
|
+
* operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
|
|
1540
|
+
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
1541
|
+
*/
|
|
1542
|
+
cancel(request: {
|
|
1543
|
+
/** V1 error format. */
|
|
1544
|
+
"$.xgafv"?: string;
|
|
1545
|
+
/** OAuth access token. */
|
|
1546
|
+
access_token?: string;
|
|
1547
|
+
/** Data format for response. */
|
|
1548
|
+
alt?: string;
|
|
1549
|
+
/** JSONP */
|
|
1550
|
+
callback?: string;
|
|
1551
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1552
|
+
fields?: string;
|
|
1553
|
+
/** 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. */
|
|
1554
|
+
key?: string;
|
|
1555
|
+
/** The name of the operation resource to be cancelled. */
|
|
1556
|
+
name: string;
|
|
1557
|
+
/** OAuth 2.0 token for the current user. */
|
|
1558
|
+
oauth_token?: string;
|
|
1559
|
+
/** Returns response with indentations and line breaks. */
|
|
1560
|
+
prettyPrint?: boolean;
|
|
1561
|
+
/** 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. */
|
|
1562
|
+
quotaUser?: string;
|
|
1563
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1564
|
+
upload_protocol?: string;
|
|
1565
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1566
|
+
uploadType?: string;
|
|
1567
|
+
/** Request body */
|
|
1568
|
+
resource: CancelOperationRequest;
|
|
1569
|
+
}): Request<{}>;
|
|
1570
|
+
cancel(request: {
|
|
1571
|
+
/** V1 error format. */
|
|
1572
|
+
"$.xgafv"?: string;
|
|
1573
|
+
/** OAuth access token. */
|
|
1574
|
+
access_token?: string;
|
|
1575
|
+
/** Data format for response. */
|
|
1576
|
+
alt?: string;
|
|
1577
|
+
/** JSONP */
|
|
1578
|
+
callback?: string;
|
|
1579
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1580
|
+
fields?: string;
|
|
1581
|
+
/** 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. */
|
|
1582
|
+
key?: string;
|
|
1583
|
+
/** The name of the operation resource to be cancelled. */
|
|
1584
|
+
name: string;
|
|
1585
|
+
/** OAuth 2.0 token for the current user. */
|
|
1586
|
+
oauth_token?: string;
|
|
1587
|
+
/** Returns response with indentations and line breaks. */
|
|
1588
|
+
prettyPrint?: boolean;
|
|
1589
|
+
/** 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. */
|
|
1590
|
+
quotaUser?: string;
|
|
1591
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1592
|
+
upload_protocol?: string;
|
|
1593
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1594
|
+
uploadType?: string;
|
|
1595
|
+
},
|
|
1596
|
+
body: CancelOperationRequest): Request<{}>;
|
|
1597
|
+
/**
|
|
1598
|
+
* 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
|
|
1599
|
+
* support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
1600
|
+
*/
|
|
1601
|
+
delete(request?: {
|
|
1602
|
+
/** V1 error format. */
|
|
1603
|
+
"$.xgafv"?: string;
|
|
1604
|
+
/** OAuth access token. */
|
|
1605
|
+
access_token?: string;
|
|
1606
|
+
/** Data format for response. */
|
|
1607
|
+
alt?: string;
|
|
1608
|
+
/** JSONP */
|
|
1609
|
+
callback?: string;
|
|
1610
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1611
|
+
fields?: string;
|
|
1612
|
+
/** 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. */
|
|
1613
|
+
key?: string;
|
|
1614
|
+
/** The name of the operation resource to be deleted. */
|
|
1615
|
+
name: string;
|
|
1616
|
+
/** OAuth 2.0 token for the current user. */
|
|
1617
|
+
oauth_token?: string;
|
|
1618
|
+
/** Returns response with indentations and line breaks. */
|
|
1619
|
+
prettyPrint?: boolean;
|
|
1620
|
+
/** 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. */
|
|
1621
|
+
quotaUser?: string;
|
|
1622
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1623
|
+
upload_protocol?: string;
|
|
1624
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1625
|
+
uploadType?: string;
|
|
1626
|
+
}): Request<{}>;
|
|
1627
|
+
/** 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. */
|
|
1628
|
+
get(request?: {
|
|
1629
|
+
/** V1 error format. */
|
|
1630
|
+
"$.xgafv"?: string;
|
|
1631
|
+
/** OAuth access token. */
|
|
1632
|
+
access_token?: string;
|
|
1633
|
+
/** Data format for response. */
|
|
1634
|
+
alt?: string;
|
|
1635
|
+
/** JSONP */
|
|
1636
|
+
callback?: string;
|
|
1637
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1638
|
+
fields?: string;
|
|
1639
|
+
/** 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. */
|
|
1640
|
+
key?: string;
|
|
1641
|
+
/** The name of the operation resource. */
|
|
1642
|
+
name: string;
|
|
1643
|
+
/** OAuth 2.0 token for the current user. */
|
|
1644
|
+
oauth_token?: string;
|
|
1645
|
+
/** Returns response with indentations and line breaks. */
|
|
1646
|
+
prettyPrint?: boolean;
|
|
1647
|
+
/** 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. */
|
|
1648
|
+
quotaUser?: string;
|
|
1649
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1650
|
+
upload_protocol?: string;
|
|
1651
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1652
|
+
uploadType?: string;
|
|
1653
|
+
}): Request<Operation>;
|
|
1654
|
+
/**
|
|
1655
|
+
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
|
|
1656
|
+
* to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as
|
|
1657
|
+
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
1658
|
+
* ensure the name binding is the parent resource, without the operations collection id.
|
|
1659
|
+
*/
|
|
1660
|
+
list(request?: {
|
|
1661
|
+
/** V1 error format. */
|
|
1662
|
+
"$.xgafv"?: string;
|
|
1663
|
+
/** OAuth access token. */
|
|
1664
|
+
access_token?: string;
|
|
1665
|
+
/** Data format for response. */
|
|
1666
|
+
alt?: string;
|
|
1667
|
+
/** JSONP */
|
|
1668
|
+
callback?: string;
|
|
1669
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1670
|
+
fields?: string;
|
|
1671
|
+
/** The standard list filter. */
|
|
1672
|
+
filter?: string;
|
|
1673
|
+
/** 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. */
|
|
1674
|
+
key?: string;
|
|
1675
|
+
/** The name of the operation's parent resource. */
|
|
1676
|
+
name: string;
|
|
1677
|
+
/** OAuth 2.0 token for the current user. */
|
|
1678
|
+
oauth_token?: string;
|
|
1679
|
+
/** The standard list page size. */
|
|
1680
|
+
pageSize?: number;
|
|
1681
|
+
/** The standard list page token. */
|
|
1682
|
+
pageToken?: string;
|
|
1683
|
+
/** Returns response with indentations and line breaks. */
|
|
1684
|
+
prettyPrint?: boolean;
|
|
1685
|
+
/** 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. */
|
|
1686
|
+
quotaUser?: string;
|
|
1687
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1688
|
+
upload_protocol?: string;
|
|
1689
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1690
|
+
uploadType?: string;
|
|
1691
|
+
}): Request<ListOperationsResponse>;
|
|
1692
|
+
}
|
|
1693
|
+
interface GcpUserAccessBindingsResource {
|
|
1694
|
+
/**
|
|
1695
|
+
* Creates a GcpUserAccessBinding. If the client specifies a name, the server ignores it. Fails if a resource already exists with the same group_key. Completion of this long-running
|
|
1696
|
+
* operation does not necessarily signify that the new binding is deployed onto all affected users, which may take more time.
|
|
1697
|
+
*/
|
|
1698
|
+
create(request: {
|
|
1699
|
+
/** V1 error format. */
|
|
1700
|
+
"$.xgafv"?: string;
|
|
1701
|
+
/** OAuth access token. */
|
|
1702
|
+
access_token?: string;
|
|
1703
|
+
/** Data format for response. */
|
|
1704
|
+
alt?: string;
|
|
1705
|
+
/** JSONP */
|
|
1706
|
+
callback?: string;
|
|
1707
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1708
|
+
fields?: string;
|
|
1709
|
+
/** 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. */
|
|
1710
|
+
key?: string;
|
|
1711
|
+
/** OAuth 2.0 token for the current user. */
|
|
1712
|
+
oauth_token?: string;
|
|
1713
|
+
/** Required. Example: "organizations/256" */
|
|
1714
|
+
parent: string;
|
|
1715
|
+
/** Returns response with indentations and line breaks. */
|
|
1716
|
+
prettyPrint?: boolean;
|
|
1717
|
+
/** 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. */
|
|
1718
|
+
quotaUser?: string;
|
|
1719
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1720
|
+
upload_protocol?: string;
|
|
1721
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1722
|
+
uploadType?: string;
|
|
1723
|
+
/** Request body */
|
|
1724
|
+
resource: GcpUserAccessBinding;
|
|
1725
|
+
}): Request<Operation>;
|
|
1726
|
+
create(request: {
|
|
1727
|
+
/** V1 error format. */
|
|
1728
|
+
"$.xgafv"?: string;
|
|
1729
|
+
/** OAuth access token. */
|
|
1730
|
+
access_token?: string;
|
|
1731
|
+
/** Data format for response. */
|
|
1732
|
+
alt?: string;
|
|
1733
|
+
/** JSONP */
|
|
1734
|
+
callback?: string;
|
|
1735
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1736
|
+
fields?: string;
|
|
1737
|
+
/** 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. */
|
|
1738
|
+
key?: string;
|
|
1739
|
+
/** OAuth 2.0 token for the current user. */
|
|
1740
|
+
oauth_token?: string;
|
|
1741
|
+
/** Required. Example: "organizations/256" */
|
|
1742
|
+
parent: string;
|
|
1743
|
+
/** Returns response with indentations and line breaks. */
|
|
1744
|
+
prettyPrint?: boolean;
|
|
1745
|
+
/** 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. */
|
|
1746
|
+
quotaUser?: string;
|
|
1747
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1748
|
+
upload_protocol?: string;
|
|
1749
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1750
|
+
uploadType?: string;
|
|
1751
|
+
},
|
|
1752
|
+
body: GcpUserAccessBinding): Request<Operation>;
|
|
1753
|
+
/**
|
|
1754
|
+
* Deletes a GcpUserAccessBinding. Completion of this long-running operation does not necessarily signify that the binding deletion is deployed onto all affected users, which may take
|
|
1755
|
+
* more time.
|
|
1756
|
+
*/
|
|
1757
|
+
delete(request?: {
|
|
1758
|
+
/** V1 error format. */
|
|
1759
|
+
"$.xgafv"?: string;
|
|
1760
|
+
/** OAuth access token. */
|
|
1761
|
+
access_token?: string;
|
|
1762
|
+
/** Data format for response. */
|
|
1763
|
+
alt?: string;
|
|
1764
|
+
/** JSONP */
|
|
1765
|
+
callback?: string;
|
|
1766
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1767
|
+
fields?: string;
|
|
1768
|
+
/** 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. */
|
|
1769
|
+
key?: string;
|
|
1770
|
+
/** Required. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N" */
|
|
1771
|
+
name: string;
|
|
1772
|
+
/** OAuth 2.0 token for the current user. */
|
|
1773
|
+
oauth_token?: string;
|
|
1774
|
+
/** Returns response with indentations and line breaks. */
|
|
1775
|
+
prettyPrint?: boolean;
|
|
1776
|
+
/** 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. */
|
|
1777
|
+
quotaUser?: string;
|
|
1778
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1779
|
+
upload_protocol?: string;
|
|
1780
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1781
|
+
uploadType?: string;
|
|
1782
|
+
}): Request<Operation>;
|
|
1783
|
+
/** Gets the GcpUserAccessBinding with the given name. */
|
|
1784
|
+
get(request?: {
|
|
1785
|
+
/** V1 error format. */
|
|
1786
|
+
"$.xgafv"?: string;
|
|
1787
|
+
/** OAuth access token. */
|
|
1788
|
+
access_token?: string;
|
|
1789
|
+
/** Data format for response. */
|
|
1790
|
+
alt?: string;
|
|
1791
|
+
/** JSONP */
|
|
1792
|
+
callback?: string;
|
|
1793
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1794
|
+
fields?: string;
|
|
1795
|
+
/** 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. */
|
|
1796
|
+
key?: string;
|
|
1797
|
+
/** Required. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N" */
|
|
1798
|
+
name: string;
|
|
1799
|
+
/** OAuth 2.0 token for the current user. */
|
|
1800
|
+
oauth_token?: string;
|
|
1801
|
+
/** Returns response with indentations and line breaks. */
|
|
1802
|
+
prettyPrint?: boolean;
|
|
1803
|
+
/** 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. */
|
|
1804
|
+
quotaUser?: string;
|
|
1805
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1806
|
+
upload_protocol?: string;
|
|
1807
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1808
|
+
uploadType?: string;
|
|
1809
|
+
}): Request<GcpUserAccessBinding>;
|
|
1810
|
+
/** Lists all GcpUserAccessBindings for a Google Cloud organization. */
|
|
1811
|
+
list(request?: {
|
|
1812
|
+
/** V1 error format. */
|
|
1813
|
+
"$.xgafv"?: string;
|
|
1814
|
+
/** OAuth access token. */
|
|
1815
|
+
access_token?: string;
|
|
1816
|
+
/** Data format for response. */
|
|
1817
|
+
alt?: string;
|
|
1818
|
+
/** JSONP */
|
|
1819
|
+
callback?: string;
|
|
1820
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1821
|
+
fields?: string;
|
|
1822
|
+
/** 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. */
|
|
1823
|
+
key?: string;
|
|
1824
|
+
/** OAuth 2.0 token for the current user. */
|
|
1825
|
+
oauth_token?: string;
|
|
1826
|
+
/** Optional. Maximum number of items to return. The server may return fewer items. If left blank, the server may return any number of items. */
|
|
1827
|
+
pageSize?: number;
|
|
1828
|
+
/** Optional. If left blank, returns the first page. To enumerate all items, use the next_page_token from your previous list operation. */
|
|
1829
|
+
pageToken?: string;
|
|
1830
|
+
/** Required. Example: "organizations/256" */
|
|
1831
|
+
parent: string;
|
|
1832
|
+
/** Returns response with indentations and line breaks. */
|
|
1833
|
+
prettyPrint?: boolean;
|
|
1834
|
+
/** 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. */
|
|
1835
|
+
quotaUser?: string;
|
|
1836
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1837
|
+
upload_protocol?: string;
|
|
1838
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1839
|
+
uploadType?: string;
|
|
1840
|
+
}): Request<ListGcpUserAccessBindingsResponse>;
|
|
1841
|
+
/**
|
|
1842
|
+
* Updates a GcpUserAccessBinding. Completion of this long-running operation does not necessarily signify that the changed binding is deployed onto all affected users, which may take
|
|
1843
|
+
* more time.
|
|
1844
|
+
*/
|
|
1845
|
+
patch(request: {
|
|
1846
|
+
/** V1 error format. */
|
|
1847
|
+
"$.xgafv"?: string;
|
|
1848
|
+
/** OAuth access token. */
|
|
1849
|
+
access_token?: string;
|
|
1850
|
+
/** Data format for response. */
|
|
1851
|
+
alt?: string;
|
|
1852
|
+
/** JSONP */
|
|
1853
|
+
callback?: string;
|
|
1854
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1855
|
+
fields?: string;
|
|
1856
|
+
/** 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. */
|
|
1857
|
+
key?: string;
|
|
1858
|
+
/**
|
|
1859
|
+
* Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section
|
|
1860
|
+
* 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
|
|
1861
|
+
*/
|
|
1862
|
+
name: string;
|
|
1863
|
+
/** OAuth 2.0 token for the current user. */
|
|
1864
|
+
oauth_token?: string;
|
|
1865
|
+
/** Returns response with indentations and line breaks. */
|
|
1866
|
+
prettyPrint?: boolean;
|
|
1867
|
+
/** 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. */
|
|
1868
|
+
quotaUser?: string;
|
|
1869
|
+
/**
|
|
1870
|
+
* Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and must always be: update_mask { paths:
|
|
1871
|
+
* "access_levels" }
|
|
1872
|
+
*/
|
|
1873
|
+
updateMask?: string;
|
|
1874
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1875
|
+
upload_protocol?: string;
|
|
1876
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1877
|
+
uploadType?: string;
|
|
1878
|
+
/** Request body */
|
|
1879
|
+
resource: GcpUserAccessBinding;
|
|
1880
|
+
}): Request<Operation>;
|
|
1881
|
+
patch(request: {
|
|
1882
|
+
/** V1 error format. */
|
|
1883
|
+
"$.xgafv"?: string;
|
|
1884
|
+
/** OAuth access token. */
|
|
1885
|
+
access_token?: string;
|
|
1886
|
+
/** Data format for response. */
|
|
1887
|
+
alt?: string;
|
|
1888
|
+
/** JSONP */
|
|
1889
|
+
callback?: string;
|
|
1890
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1891
|
+
fields?: string;
|
|
1892
|
+
/** 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. */
|
|
1893
|
+
key?: string;
|
|
1894
|
+
/**
|
|
1895
|
+
* Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section
|
|
1896
|
+
* 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
|
|
1897
|
+
*/
|
|
1898
|
+
name: string;
|
|
1899
|
+
/** OAuth 2.0 token for the current user. */
|
|
1900
|
+
oauth_token?: string;
|
|
1901
|
+
/** Returns response with indentations and line breaks. */
|
|
1902
|
+
prettyPrint?: boolean;
|
|
1903
|
+
/** 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. */
|
|
1904
|
+
quotaUser?: string;
|
|
1905
|
+
/**
|
|
1906
|
+
* Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and must always be: update_mask { paths:
|
|
1907
|
+
* "access_levels" }
|
|
1908
|
+
*/
|
|
1909
|
+
updateMask?: string;
|
|
1910
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1911
|
+
upload_protocol?: string;
|
|
1912
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1913
|
+
uploadType?: string;
|
|
1914
|
+
},
|
|
1915
|
+
body: GcpUserAccessBinding): Request<Operation>;
|
|
1916
|
+
}
|
|
1917
|
+
interface OrganizationsResource {
|
|
1918
|
+
gcpUserAccessBindings: GcpUserAccessBindingsResource;
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
const accessPolicies: AccessPoliciesResource;
|
|
1922
|
+
|
|
1923
|
+
const operations: OperationsResource;
|
|
1924
|
+
|
|
1925
|
+
const organizations: OrganizationsResource;
|
|
1926
|
+
}
|
|
1927
|
+
}
|