@maxim_mazurok/gapi.client.accesscontextmanager-v1 0.0.20250115 → 0.0.20250129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +22 -22
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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: 20250115
12
+ // Revision: 20250129
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Access Context Manager API v1 */
18
18
  function load(
19
- urlOrObject: 'https://accesscontextmanager.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://accesscontextmanager.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'accesscontextmanager', version: 'v1'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'accesscontextmanager',
26
26
  version: 'v1',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace accesscontextmanager {
@@ -517,7 +517,7 @@ declare namespace gapi.client {
517
517
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
518
518
  uploadType?: string;
519
519
  },
520
- body: AccessLevel
520
+ body: AccessLevel,
521
521
  ): Request<Operation>;
522
522
  /** 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 storage. */
523
523
  delete(request?: {
@@ -668,7 +668,7 @@ declare namespace gapi.client {
668
668
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
669
669
  uploadType?: string;
670
670
  },
671
- body: AccessLevel
671
+ body: AccessLevel,
672
672
  ): Request<Operation>;
673
673
  /** 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 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 replacement is cancelled, and existing access levels are not affected. The Operation.response field contains ReplaceAccessLevelsResponse. Removing access levels contained in existing service perimeters result in an error. */
674
674
  replaceAll(request: {
@@ -726,7 +726,7 @@ declare namespace gapi.client {
726
726
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
727
727
  uploadType?: string;
728
728
  },
729
- body: ReplaceAccessLevelsRequest
729
+ body: ReplaceAccessLevelsRequest,
730
730
  ): Request<Operation>;
731
731
  /** 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 does not support other resources. */
732
732
  testIamPermissions(
@@ -756,7 +756,7 @@ declare namespace gapi.client {
756
756
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
757
757
  uploadType?: string;
758
758
  },
759
- body: TestIamPermissionsRequest
759
+ body: TestIamPermissionsRequest,
760
760
  ): Request<TestIamPermissionsResponse>;
761
761
  }
762
762
  interface AuthorizedOrgsDescsResource {
@@ -816,7 +816,7 @@ declare namespace gapi.client {
816
816
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
817
817
  uploadType?: string;
818
818
  },
819
- body: AuthorizedOrgsDesc
819
+ body: AuthorizedOrgsDesc,
820
820
  ): Request<Operation>;
821
821
  /** Deletes an authorized orgs desc based on the resource name. The long-running operation from this RPC has a successful status after the authorized orgs desc is removed from long-lasting storage. */
822
822
  delete(request?: {
@@ -963,7 +963,7 @@ declare namespace gapi.client {
963
963
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
964
964
  uploadType?: string;
965
965
  },
966
- body: AuthorizedOrgsDesc
966
+ body: AuthorizedOrgsDesc,
967
967
  ): Request<Operation>;
968
968
  }
969
969
  interface ServicePerimetersResource {
@@ -1023,7 +1023,7 @@ declare namespace gapi.client {
1023
1023
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1024
1024
  uploadType?: string;
1025
1025
  },
1026
- body: CommitServicePerimetersRequest
1026
+ body: CommitServicePerimetersRequest,
1027
1027
  ): Request<Operation>;
1028
1028
  /** 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 contains errors, an error response is returned for the first error encountered. */
1029
1029
  create(request: {
@@ -1081,7 +1081,7 @@ declare namespace gapi.client {
1081
1081
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1082
1082
  uploadType?: string;
1083
1083
  },
1084
- body: ServicePerimeter
1084
+ body: ServicePerimeter,
1085
1085
  ): Request<Operation>;
1086
1086
  /** 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 storage. */
1087
1087
  delete(request?: {
@@ -1228,7 +1228,7 @@ declare namespace gapi.client {
1228
1228
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1229
1229
  uploadType?: string;
1230
1230
  },
1231
- body: ServicePerimeter
1231
+ body: ServicePerimeter,
1232
1232
  ): Request<Operation>;
1233
1233
  /** 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 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, replacement are cancelled and existing service perimeters are not affected. The Operation.response field contains ReplaceServicePerimetersResponse. */
1234
1234
  replaceAll(request: {
@@ -1286,7 +1286,7 @@ declare namespace gapi.client {
1286
1286
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1287
1287
  uploadType?: string;
1288
1288
  },
1289
- body: ReplaceServicePerimetersRequest
1289
+ body: ReplaceServicePerimetersRequest,
1290
1290
  ): Request<Operation>;
1291
1291
  /** 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 does not support other resources. */
1292
1292
  testIamPermissions(
@@ -1316,7 +1316,7 @@ declare namespace gapi.client {
1316
1316
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1317
1317
  uploadType?: string;
1318
1318
  },
1319
- body: TestIamPermissionsRequest
1319
+ body: TestIamPermissionsRequest,
1320
1320
  ): Request<TestIamPermissionsResponse>;
1321
1321
  }
1322
1322
  interface AccessPoliciesResource {
@@ -1372,7 +1372,7 @@ declare namespace gapi.client {
1372
1372
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1373
1373
  uploadType?: string;
1374
1374
  },
1375
- body: AccessPolicy
1375
+ body: AccessPolicy,
1376
1376
  ): Request<Operation>;
1377
1377
  /** 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. */
1378
1378
  delete(request?: {
@@ -1456,7 +1456,7 @@ declare namespace gapi.client {
1456
1456
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1457
1457
  uploadType?: string;
1458
1458
  },
1459
- body: GetIamPolicyRequest
1459
+ body: GetIamPolicyRequest,
1460
1460
  ): Request<Policy>;
1461
1461
  /** Lists all access policies in an organization. */
1462
1462
  list(request?: {
@@ -1549,7 +1549,7 @@ declare namespace gapi.client {
1549
1549
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1550
1550
  uploadType?: string;
1551
1551
  },
1552
- body: AccessPolicy
1552
+ body: AccessPolicy,
1553
1553
  ): Request<Operation>;
1554
1554
  /** 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 users who can perform specific operations on the Access Context Manager access policy. */
1555
1555
  setIamPolicy(
@@ -1579,7 +1579,7 @@ declare namespace gapi.client {
1579
1579
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1580
1580
  uploadType?: string;
1581
1581
  },
1582
- body: SetIamPolicyRequest
1582
+ body: SetIamPolicyRequest,
1583
1583
  ): Request<Policy>;
1584
1584
  /** 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 does not support other resources. */
1585
1585
  testIamPermissions(
@@ -1609,7 +1609,7 @@ declare namespace gapi.client {
1609
1609
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1610
1610
  uploadType?: string;
1611
1611
  },
1612
- body: TestIamPermissionsRequest
1612
+ body: TestIamPermissionsRequest,
1613
1613
  ): Request<TestIamPermissionsResponse>;
1614
1614
  accessLevels: AccessLevelsResource;
1615
1615
  authorizedOrgsDescs: AuthorizedOrgsDescsResource;
@@ -1672,7 +1672,7 @@ declare namespace gapi.client {
1672
1672
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1673
1673
  uploadType?: string;
1674
1674
  },
1675
- body: CancelOperationRequest
1675
+ body: CancelOperationRequest,
1676
1676
  ): Request<{}>;
1677
1677
  /** 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 support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
1678
1678
  delete(request?: {
@@ -1819,7 +1819,7 @@ declare namespace gapi.client {
1819
1819
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1820
1820
  uploadType?: string;
1821
1821
  },
1822
- body: GcpUserAccessBinding
1822
+ body: GcpUserAccessBinding,
1823
1823
  ): Request<Operation>;
1824
1824
  /** 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 more time. */
1825
1825
  delete(request?: {
@@ -1970,7 +1970,7 @@ declare namespace gapi.client {
1970
1970
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1971
1971
  uploadType?: string;
1972
1972
  },
1973
- body: GcpUserAccessBinding
1973
+ body: GcpUserAccessBinding,
1974
1974
  ): Request<Operation>;
1975
1975
  }
1976
1976
  interface OrganizationsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.accesscontextmanager-v1",
3
- "version": "0.0.20250115",
3
+ "version": "0.0.20250129",
4
4
  "description": "TypeScript typings for Access Context Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.accesscontextmanager
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  } else {
63
63
  /* handle authorization error */
64
64
  }
65
- }
65
+ },
66
66
  );
67
67
  ```
68
68