@maxim_mazurok/gapi.client.servicemanagement-v1 0.0.20250117 → 0.0.20250202

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 +19 -15
  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: 20250117
12
+ // Revision: 20250202
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 {
@@ -338,6 +338,8 @@ declare namespace gapi.client {
338
338
  protobufPythonicTypesEnabled?: boolean;
339
339
  /** Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous REST clients will not be generated. This feature will be enabled by default 1 month after launching the feature in preview packages. */
340
340
  restAsyncIoEnabled?: boolean;
341
+ /** Disables generation of an unversioned Python package for this client library. This means that the module names will need to be versioned in import statements. For example `import google.cloud.library_v2` instead of `import google.cloud.library`. */
342
+ unversionedPackageDisabled?: boolean;
341
343
  }
342
344
  interface Expr {
343
345
  /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
@@ -676,7 +678,7 @@ declare namespace gapi.client {
676
678
  value?: {[P in string]: any};
677
679
  }
678
680
  interface Page {
679
- /** The Markdown content of the page. You can use (== include {path} ==) to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page. */
681
+ /** The Markdown content of the page. You can use ```(== include {path} ==)``` to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page. */
680
682
  content?: string;
681
683
  /** The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example: pages: - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java content: (== include tutorial_java.md ==) You can reference `Java` page using Markdown reference link syntax: `Java`. */
682
684
  name?: string;
@@ -782,6 +784,8 @@ declare namespace gapi.client {
782
784
  common?: CommonLanguageSettings;
783
785
  }
784
786
  interface SelectiveGapicGeneration {
787
+ /** Setting this to true indicates to the client generators that methods that would be excluded from the generation should instead be generated in a way that indicates these methods should not be consumed by end users. How this is expressed is up to individual language implementations to decide. Some examples may be: added annotations, obfuscated identifiers, or other language idiomatic patterns. */
788
+ generateOmittedAsInternal?: boolean;
785
789
  /** An allowlist of the fully qualified names of RPCs that should be included on public client surfaces. */
786
790
  methods?: string[];
787
791
  }
@@ -1066,7 +1070,7 @@ declare namespace gapi.client {
1066
1070
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1067
1071
  uploadType?: string;
1068
1072
  },
1069
- body: Service
1073
+ body: Service,
1070
1074
  ): Request<Service>;
1071
1075
  /** Gets a service configuration (version) for a managed service. */
1072
1076
  get(request?: {
@@ -1186,7 +1190,7 @@ declare namespace gapi.client {
1186
1190
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1187
1191
  uploadType?: string;
1188
1192
  },
1189
- body: SubmitConfigSourceRequest
1193
+ body: SubmitConfigSourceRequest,
1190
1194
  ): Request<Operation>;
1191
1195
  }
1192
1196
  interface ConsumersResource {
@@ -1218,7 +1222,7 @@ declare namespace gapi.client {
1218
1222
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1219
1223
  uploadType?: string;
1220
1224
  },
1221
- body: GetIamPolicyRequest
1225
+ body: GetIamPolicyRequest,
1222
1226
  ): Request<Policy>;
1223
1227
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1224
1228
  setIamPolicy(
@@ -1248,7 +1252,7 @@ declare namespace gapi.client {
1248
1252
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1249
1253
  uploadType?: string;
1250
1254
  },
1251
- body: SetIamPolicyRequest
1255
+ body: SetIamPolicyRequest,
1252
1256
  ): Request<Policy>;
1253
1257
  /** 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
1258
  testIamPermissions(
@@ -1278,7 +1282,7 @@ declare namespace gapi.client {
1278
1282
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1279
1283
  uploadType?: string;
1280
1284
  },
1281
- body: TestIamPermissionsRequest
1285
+ body: TestIamPermissionsRequest,
1282
1286
  ): Request<TestIamPermissionsResponse>;
1283
1287
  }
1284
1288
  interface RolloutsResource {
@@ -1338,7 +1342,7 @@ declare namespace gapi.client {
1338
1342
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1339
1343
  uploadType?: string;
1340
1344
  },
1341
- body: Rollout
1345
+ body: Rollout,
1342
1346
  ): Request<Operation>;
1343
1347
  /** Gets a service configuration rollout. */
1344
1348
  get(request?: {
@@ -1456,7 +1460,7 @@ declare namespace gapi.client {
1456
1460
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1457
1461
  uploadType?: string;
1458
1462
  },
1459
- body: ManagedService
1463
+ body: ManagedService,
1460
1464
  ): Request<Operation>;
1461
1465
  /** 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
1466
  delete(request?: {
@@ -1537,7 +1541,7 @@ declare namespace gapi.client {
1537
1541
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1538
1542
  uploadType?: string;
1539
1543
  },
1540
- body: GenerateConfigReportRequest
1544
+ body: GenerateConfigReportRequest,
1541
1545
  ): Request<GenerateConfigReportResponse>;
1542
1546
  /** Gets a managed service. Authentication is required unless the service is public. */
1543
1547
  get(request?: {
@@ -1625,7 +1629,7 @@ declare namespace gapi.client {
1625
1629
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1626
1630
  uploadType?: string;
1627
1631
  },
1628
- body: GetIamPolicyRequest
1632
+ body: GetIamPolicyRequest,
1629
1633
  ): Request<Policy>;
1630
1634
  /** Lists managed services. Returns all public services. For authenticated users, also returns all services the calling user has "servicemanagement.services.get" permission for. */
1631
1635
  list(request?: {
@@ -1688,7 +1692,7 @@ declare namespace gapi.client {
1688
1692
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1689
1693
  uploadType?: string;
1690
1694
  },
1691
- body: SetIamPolicyRequest
1695
+ body: SetIamPolicyRequest,
1692
1696
  ): Request<Policy>;
1693
1697
  /** 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
1698
  testIamPermissions(
@@ -1718,7 +1722,7 @@ declare namespace gapi.client {
1718
1722
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1719
1723
  uploadType?: string;
1720
1724
  },
1721
- body: TestIamPermissionsRequest
1725
+ body: TestIamPermissionsRequest,
1722
1726
  ): Request<TestIamPermissionsResponse>;
1723
1727
  /** 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
1728
  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.20250117",
3
+ "version": "0.0.20250202",
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