@maxim_mazurok/gapi.client.accesscontextmanager-v1 0.0.20230223 → 0.0.20230312
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 +7 -7
- 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: 20230312
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -254,6 +254,11 @@ declare namespace gapi.client {
|
|
|
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;
|
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: 20230312
|
|
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
|
});
|