@maxim_mazurok/gapi.client.accesscontextmanager-v1 0.0.20230226 → 0.0.20230319
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 +12 -12
- package/package.json +1 -1
- package/readme.md +1 -1
- package/tests.ts +8 -7
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://accesscontextmanager.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230319
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -250,10 +250,15 @@ declare namespace gapi.client {
|
|
|
250
250
|
}
|
|
251
251
|
interface GcpUserAccessBinding {
|
|
252
252
|
/**
|
|
253
|
-
*
|
|
253
|
+
* Optional. 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:
|
|
254
254
|
* "accessPolicies/9522/accessLevels/device_trusted"
|
|
255
255
|
*/
|
|
256
256
|
accessLevels?: string[];
|
|
257
|
+
/**
|
|
258
|
+
* Optional. Dry run access level that will be evaluated but will not be enforced. The access denial based on dry run policy will be logged. Only one access level is supported, not
|
|
259
|
+
* multiple. This list must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted"
|
|
260
|
+
*/
|
|
261
|
+
dryRunAccessLevels?: string[];
|
|
257
262
|
/**
|
|
258
263
|
* 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]
|
|
259
264
|
* (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
|
|
@@ -1901,12 +1906,7 @@ declare namespace gapi.client {
|
|
|
1901
1906
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1902
1907
|
uploadType?: string;
|
|
1903
1908
|
}): Request<Operation>;
|
|
1904
|
-
/**
|
|
1905
|
-
* 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
|
|
1906
|
-
* 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
|
|
1907
|
-
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
1908
|
-
* ensure the name binding is the parent resource, without the operations collection id.
|
|
1909
|
-
*/
|
|
1909
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1910
1910
|
list(request?: {
|
|
1911
1911
|
/** V1 error format. */
|
|
1912
1912
|
"$.xgafv"?: string;
|
|
@@ -2117,8 +2117,8 @@ declare namespace gapi.client {
|
|
|
2117
2117
|
/** 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. */
|
|
2118
2118
|
quotaUser?: string;
|
|
2119
2119
|
/**
|
|
2120
|
-
* Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and
|
|
2121
|
-
* "access_levels" }
|
|
2120
|
+
* Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and may only contain the following fields:
|
|
2121
|
+
* `access_levels`, `dry_run_access_levels`. update_mask { paths: "access_levels" }
|
|
2122
2122
|
*/
|
|
2123
2123
|
updateMask?: string;
|
|
2124
2124
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -2153,8 +2153,8 @@ declare namespace gapi.client {
|
|
|
2153
2153
|
/** 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. */
|
|
2154
2154
|
quotaUser?: string;
|
|
2155
2155
|
/**
|
|
2156
|
-
* Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and
|
|
2157
|
-
* "access_levels" }
|
|
2156
|
+
* Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and may only contain the following fields:
|
|
2157
|
+
* `access_levels`, `dry_run_access_levels`. update_mask { paths: "access_levels" }
|
|
2158
2158
|
*/
|
|
2159
2159
|
updateMask?: string;
|
|
2160
2160
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -122,7 +122,7 @@ Gets the latest state of a long-running operation. Clients can use this method t
|
|
|
122
122
|
await gapi.client.accesscontextmanager.operations.get({ name: "name", });
|
|
123
123
|
|
|
124
124
|
/*
|
|
125
|
-
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
125
|
+
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
126
126
|
*/
|
|
127
127
|
await gapi.client.accesscontextmanager.operations.list({ name: "name", });
|
|
128
128
|
```
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230319
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -959,12 +959,7 @@ gapi.load('client', async () => {
|
|
|
959
959
|
await gapi.client.accesscontextmanager.operations.get({
|
|
960
960
|
name: "Test string",
|
|
961
961
|
});
|
|
962
|
-
/**
|
|
963
|
-
* 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 to
|
|
964
|
-
* 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
|
|
965
|
-
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
966
|
-
* ensure the name binding is the parent resource, without the operations collection id.
|
|
967
|
-
*/
|
|
962
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
968
963
|
await gapi.client.accesscontextmanager.operations.list({
|
|
969
964
|
filter: "Test string",
|
|
970
965
|
name: "Test string",
|
|
@@ -981,6 +976,9 @@ gapi.load('client', async () => {
|
|
|
981
976
|
accessLevels: [
|
|
982
977
|
"Test string"
|
|
983
978
|
],
|
|
979
|
+
dryRunAccessLevels: [
|
|
980
|
+
"Test string"
|
|
981
|
+
],
|
|
984
982
|
groupKey: "Test string",
|
|
985
983
|
name: "Test string",
|
|
986
984
|
});
|
|
@@ -1012,6 +1010,9 @@ gapi.load('client', async () => {
|
|
|
1012
1010
|
accessLevels: [
|
|
1013
1011
|
"Test string"
|
|
1014
1012
|
],
|
|
1013
|
+
dryRunAccessLevels: [
|
|
1014
|
+
"Test string"
|
|
1015
|
+
],
|
|
1015
1016
|
groupKey: "Test string",
|
|
1016
1017
|
name: "Test string",
|
|
1017
1018
|
});
|