@maxim_mazurok/gapi.client.managedidentities-v1alpha1 0.0.20240912 → 0.1.20250116

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 +34 -34
  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://managedidentities.googleapis.com/$discovery/rest?version=v1alpha1
12
- // Revision: 20240912
12
+ // Revision: 20250116
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Managed Service for Microsoft Active Directory API v1alpha1 */
18
18
  function load(
19
- urlOrObject: 'https://managedidentities.googleapis.com/$discovery/rest?version=v1alpha1'
19
+ urlOrObject: 'https://managedidentities.googleapis.com/$discovery/rest?version=v1alpha1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'managedidentities', version: 'v1alpha1'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'managedidentities',
26
26
  version: 'v1alpha1',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace managedidentities {
@@ -429,7 +429,7 @@ declare namespace gapi.client {
429
429
  interface OperationMetadata {
430
430
  /** Output only. API version used to start the operation. */
431
431
  apiVersion?: string;
432
- /** Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
432
+ /** Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
433
433
  cancelRequested?: boolean;
434
434
  /** Output only. The time the operation was created. */
435
435
  createTime?: string;
@@ -522,13 +522,13 @@ declare namespace gapi.client {
522
522
  permissions?: string[];
523
523
  }
524
524
  interface TimeOfDay {
525
- /** Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. */
525
+ /** Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. */
526
526
  hours?: number;
527
- /** Minutes of hour of day. Must be from 0 to 59. */
527
+ /** Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. */
528
528
  minutes?: number;
529
- /** Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. */
529
+ /** Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. */
530
530
  nanos?: number;
531
- /** Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds. */
531
+ /** Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. */
532
532
  seconds?: number;
533
533
  }
534
534
  interface Trust {
@@ -632,7 +632,7 @@ declare namespace gapi.client {
632
632
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
633
633
  uploadType?: string;
634
634
  },
635
- body: Backup
635
+ body: Backup,
636
636
  ): Request<Operation>;
637
637
  /** Deletes identified Backup. */
638
638
  delete(request?: {
@@ -812,7 +812,7 @@ declare namespace gapi.client {
812
812
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
813
813
  uploadType?: string;
814
814
  },
815
- body: Backup
815
+ body: Backup,
816
816
  ): Request<Operation>;
817
817
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
818
818
  setIamPolicy(
@@ -842,7 +842,7 @@ declare namespace gapi.client {
842
842
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
843
843
  uploadType?: string;
844
844
  },
845
- body: SetIamPolicyRequest
845
+ body: SetIamPolicyRequest,
846
846
  ): Request<Policy>;
847
847
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
848
848
  testIamPermissions(
@@ -872,7 +872,7 @@ declare namespace gapi.client {
872
872
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
873
873
  uploadType?: string;
874
874
  },
875
- body: TestIamPermissionsRequest
875
+ body: TestIamPermissionsRequest,
876
876
  ): Request<TestIamPermissionsResponse>;
877
877
  }
878
878
  interface SqlIntegrationsResource {
@@ -996,7 +996,7 @@ declare namespace gapi.client {
996
996
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
997
997
  uploadType?: string;
998
998
  },
999
- body: AttachTrustRequest
999
+ body: AttachTrustRequest,
1000
1000
  ): Request<Operation>;
1001
1001
  /** AuditMigration API gets the current state of DomainMigration */
1002
1002
  checkMigrationPermission(request: {
@@ -1054,7 +1054,7 @@ declare namespace gapi.client {
1054
1054
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1055
1055
  uploadType?: string;
1056
1056
  },
1057
- body: CheckMigrationPermissionRequest
1057
+ body: CheckMigrationPermissionRequest,
1058
1058
  ): Request<CheckMigrationPermissionResponse>;
1059
1059
  /** Creates a Microsoft AD Domain in a given project. Operation */
1060
1060
  create(request: {
@@ -1116,7 +1116,7 @@ declare namespace gapi.client {
1116
1116
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1117
1117
  uploadType?: string;
1118
1118
  },
1119
- body: Domain
1119
+ body: Domain,
1120
1120
  ): Request<Operation>;
1121
1121
  /** Deletes identified domain. Operation */
1122
1122
  delete(request?: {
@@ -1201,7 +1201,7 @@ declare namespace gapi.client {
1201
1201
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1202
1202
  uploadType?: string;
1203
1203
  },
1204
- body: DetachTrustRequest
1204
+ body: DetachTrustRequest,
1205
1205
  ): Request<Operation>;
1206
1206
  /** Disable Domain Migration */
1207
1207
  disableMigration(request: {
@@ -1259,7 +1259,7 @@ declare namespace gapi.client {
1259
1259
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1260
1260
  uploadType?: string;
1261
1261
  },
1262
- body: DisableMigrationRequest
1262
+ body: DisableMigrationRequest,
1263
1263
  ): Request<Operation>;
1264
1264
  /** DomainJoinMachine API joins a Compute Engine VM to the domain */
1265
1265
  domainJoinMachine(request: {
@@ -1317,7 +1317,7 @@ declare namespace gapi.client {
1317
1317
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1318
1318
  uploadType?: string;
1319
1319
  },
1320
- body: DomainJoinMachineRequest
1320
+ body: DomainJoinMachineRequest,
1321
1321
  ): Request<DomainJoinMachineResponse>;
1322
1322
  /** Enable Domain Migration */
1323
1323
  enableMigration(request: {
@@ -1375,7 +1375,7 @@ declare namespace gapi.client {
1375
1375
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1376
1376
  uploadType?: string;
1377
1377
  },
1378
- body: EnableMigrationRequest
1378
+ body: EnableMigrationRequest,
1379
1379
  ): Request<Operation>;
1380
1380
  /** Extend Schema for Domain */
1381
1381
  extendSchema(request: {
@@ -1433,7 +1433,7 @@ declare namespace gapi.client {
1433
1433
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1434
1434
  uploadType?: string;
1435
1435
  },
1436
- body: ExtendSchemaRequest
1436
+ body: ExtendSchemaRequest,
1437
1437
  ): Request<Operation>;
1438
1438
  /** Gets details of a single Domain. */
1439
1439
  get(request?: {
@@ -1613,7 +1613,7 @@ declare namespace gapi.client {
1613
1613
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1614
1614
  uploadType?: string;
1615
1615
  },
1616
- body: Domain
1616
+ body: Domain,
1617
1617
  ): Request<Operation>;
1618
1618
  /** Updates the dns conditional forwarder. Operation */
1619
1619
  reconfigureTrust(request: {
@@ -1671,7 +1671,7 @@ declare namespace gapi.client {
1671
1671
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1672
1672
  uploadType?: string;
1673
1673
  },
1674
- body: ReconfigureTrustRequest
1674
+ body: ReconfigureTrustRequest,
1675
1675
  ): Request<Operation>;
1676
1676
  /** Resets managed identities admin password identified by managed_identities_admin_name */
1677
1677
  resetAdminPassword(request: {
@@ -1729,7 +1729,7 @@ declare namespace gapi.client {
1729
1729
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1730
1730
  uploadType?: string;
1731
1731
  },
1732
- body: ResetAdminPasswordRequest
1732
+ body: ResetAdminPasswordRequest,
1733
1733
  ): Request<ResetAdminPasswordResponse>;
1734
1734
  /** RestoreDomain restores domain backup mentioned in the RestoreDomainRequest */
1735
1735
  restore(request: {
@@ -1787,7 +1787,7 @@ declare namespace gapi.client {
1787
1787
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1788
1788
  uploadType?: string;
1789
1789
  },
1790
- body: RestoreDomainRequest
1790
+ body: RestoreDomainRequest,
1791
1791
  ): Request<Operation>;
1792
1792
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1793
1793
  setIamPolicy(
@@ -1817,7 +1817,7 @@ declare namespace gapi.client {
1817
1817
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1818
1818
  uploadType?: string;
1819
1819
  },
1820
- body: SetIamPolicyRequest
1820
+ body: SetIamPolicyRequest,
1821
1821
  ): Request<Policy>;
1822
1822
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
1823
1823
  testIamPermissions(
@@ -1847,7 +1847,7 @@ declare namespace gapi.client {
1847
1847
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1848
1848
  uploadType?: string;
1849
1849
  },
1850
- body: TestIamPermissionsRequest
1850
+ body: TestIamPermissionsRequest,
1851
1851
  ): Request<TestIamPermissionsResponse>;
1852
1852
  /** Patches a single ldaps settings. */
1853
1853
  updateLdapssettings(request: {
@@ -1909,7 +1909,7 @@ declare namespace gapi.client {
1909
1909
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1910
1910
  uploadType?: string;
1911
1911
  },
1912
- body: LDAPSSettings
1912
+ body: LDAPSSettings,
1913
1913
  ): Request<Operation>;
1914
1914
  /** Validate the trust state Operation */
1915
1915
  validateTrust(request: {
@@ -1967,13 +1967,13 @@ declare namespace gapi.client {
1967
1967
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1968
1968
  uploadType?: string;
1969
1969
  },
1970
- body: ValidateTrustRequest
1970
+ body: ValidateTrustRequest,
1971
1971
  ): Request<Operation>;
1972
1972
  backups: BackupsResource;
1973
1973
  sqlIntegrations: SqlIntegrationsResource;
1974
1974
  }
1975
1975
  interface OperationsResource {
1976
- /** 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 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 operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
1976
+ /** 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 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 operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
1977
1977
  cancel(request: {
1978
1978
  /** V1 error format. */
1979
1979
  '$.xgafv'?: string;
@@ -2029,7 +2029,7 @@ declare namespace gapi.client {
2029
2029
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2030
2030
  uploadType?: string;
2031
2031
  },
2032
- body: CancelOperationRequest
2032
+ body: CancelOperationRequest,
2033
2033
  ): Request<{}>;
2034
2034
  /** 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`. */
2035
2035
  delete(request?: {
@@ -2180,7 +2180,7 @@ declare namespace gapi.client {
2180
2180
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2181
2181
  uploadType?: string;
2182
2182
  },
2183
- body: Peering
2183
+ body: Peering,
2184
2184
  ): Request<Operation>;
2185
2185
  /** Deletes identified Peering. */
2186
2186
  delete(request?: {
@@ -2360,7 +2360,7 @@ declare namespace gapi.client {
2360
2360
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2361
2361
  uploadType?: string;
2362
2362
  },
2363
- body: Peering
2363
+ body: Peering,
2364
2364
  ): Request<Operation>;
2365
2365
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2366
2366
  setIamPolicy(
@@ -2390,7 +2390,7 @@ declare namespace gapi.client {
2390
2390
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2391
2391
  uploadType?: string;
2392
2392
  },
2393
- body: SetIamPolicyRequest
2393
+ body: SetIamPolicyRequest,
2394
2394
  ): Request<Policy>;
2395
2395
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
2396
2396
  testIamPermissions(
@@ -2420,7 +2420,7 @@ declare namespace gapi.client {
2420
2420
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2421
2421
  uploadType?: string;
2422
2422
  },
2423
- body: TestIamPermissionsRequest
2423
+ body: TestIamPermissionsRequest,
2424
2424
  ): Request<TestIamPermissionsResponse>;
2425
2425
  }
2426
2426
  interface GlobalResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.managedidentities-v1alpha1",
3
- "version": "0.0.20240912",
3
+ "version": "0.1.20250116",
4
4
  "description": "TypeScript typings for Managed Service for Microsoft Active Directory API v1alpha1",
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.managedidentities
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