@maxim_mazurok/gapi.client.servicemanagement-v1 0.0.20250114 → 0.0.20250127

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 +14 -14
  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://servicemanagement.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250114
12
+ // Revision: 20250127
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Service Management API v1 */
18
18
  function load(
19
- urlOrObject: 'https://servicemanagement.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://servicemanagement.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'servicemanagement', version: 'v1'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'servicemanagement',
26
26
  version: 'v1',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace servicemanagement {
@@ -1066,7 +1066,7 @@ declare namespace gapi.client {
1066
1066
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1067
1067
  uploadType?: string;
1068
1068
  },
1069
- body: Service
1069
+ body: Service,
1070
1070
  ): Request<Service>;
1071
1071
  /** Gets a service configuration (version) for a managed service. */
1072
1072
  get(request?: {
@@ -1186,7 +1186,7 @@ declare namespace gapi.client {
1186
1186
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1187
1187
  uploadType?: string;
1188
1188
  },
1189
- body: SubmitConfigSourceRequest
1189
+ body: SubmitConfigSourceRequest,
1190
1190
  ): Request<Operation>;
1191
1191
  }
1192
1192
  interface ConsumersResource {
@@ -1218,7 +1218,7 @@ declare namespace gapi.client {
1218
1218
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1219
1219
  uploadType?: string;
1220
1220
  },
1221
- body: GetIamPolicyRequest
1221
+ body: GetIamPolicyRequest,
1222
1222
  ): Request<Policy>;
1223
1223
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1224
1224
  setIamPolicy(
@@ -1248,7 +1248,7 @@ declare namespace gapi.client {
1248
1248
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1249
1249
  uploadType?: string;
1250
1250
  },
1251
- body: SetIamPolicyRequest
1251
+ body: SetIamPolicyRequest,
1252
1252
  ): Request<Policy>;
1253
1253
  /** 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. */
1254
1254
  testIamPermissions(
@@ -1278,7 +1278,7 @@ declare namespace gapi.client {
1278
1278
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1279
1279
  uploadType?: string;
1280
1280
  },
1281
- body: TestIamPermissionsRequest
1281
+ body: TestIamPermissionsRequest,
1282
1282
  ): Request<TestIamPermissionsResponse>;
1283
1283
  }
1284
1284
  interface RolloutsResource {
@@ -1338,7 +1338,7 @@ declare namespace gapi.client {
1338
1338
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1339
1339
  uploadType?: string;
1340
1340
  },
1341
- body: Rollout
1341
+ body: Rollout,
1342
1342
  ): Request<Operation>;
1343
1343
  /** Gets a service configuration rollout. */
1344
1344
  get(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: ManagedService
1459
+ body: ManagedService,
1460
1460
  ): Request<Operation>;
1461
1461
  /** Deletes a managed service. This method will change the service to the `Soft-Delete` state for 30 days. Within this period, service producers may call UndeleteService to restore the service. After 30 days, the service will be permanently deleted. Operation */
1462
1462
  delete(request?: {
@@ -1537,7 +1537,7 @@ declare namespace gapi.client {
1537
1537
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1538
1538
  uploadType?: string;
1539
1539
  },
1540
- body: GenerateConfigReportRequest
1540
+ body: GenerateConfigReportRequest,
1541
1541
  ): Request<GenerateConfigReportResponse>;
1542
1542
  /** Gets a managed service. Authentication is required unless the service is public. */
1543
1543
  get(request?: {
@@ -1625,7 +1625,7 @@ declare namespace gapi.client {
1625
1625
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1626
1626
  uploadType?: string;
1627
1627
  },
1628
- body: GetIamPolicyRequest
1628
+ body: GetIamPolicyRequest,
1629
1629
  ): Request<Policy>;
1630
1630
  /** Lists managed services. Returns all public services. For authenticated users, also returns all services the calling user has "servicemanagement.services.get" permission for. */
1631
1631
  list(request?: {
@@ -1688,7 +1688,7 @@ declare namespace gapi.client {
1688
1688
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1689
1689
  uploadType?: string;
1690
1690
  },
1691
- body: SetIamPolicyRequest
1691
+ body: SetIamPolicyRequest,
1692
1692
  ): Request<Policy>;
1693
1693
  /** 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. */
1694
1694
  testIamPermissions(
@@ -1718,7 +1718,7 @@ declare namespace gapi.client {
1718
1718
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1719
1719
  uploadType?: string;
1720
1720
  },
1721
- body: TestIamPermissionsRequest
1721
+ body: TestIamPermissionsRequest,
1722
1722
  ): Request<TestIamPermissionsResponse>;
1723
1723
  /** Revives a previously deleted managed service. The method restores the service using the configuration at the time the service was deleted. The target service must exist and must have been deleted within the last 30 days. Operation */
1724
1724
  undelete(request?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.servicemanagement-v1",
3
- "version": "0.0.20250114",
3
+ "version": "0.0.20250127",
4
4
  "description": "TypeScript typings for Service Management 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.servicemanagement
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -71,7 +71,7 @@ gapi.auth.authorize(
71
71
  } else {
72
72
  /* handle authorization error */
73
73
  }
74
- }
74
+ },
75
75
  );
76
76
  ```
77
77