@maxim_mazurok/gapi.client.serviceusage-v1 0.0.20250110 → 0.0.20250130

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 +9 -7
  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://serviceusage.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250110
12
+ // Revision: 20250130
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Service Usage API v1 */
18
18
  function load(
19
- urlOrObject: 'https://serviceusage.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://serviceusage.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'serviceusage', version: 'v1'): Promise<void>;
@@ -846,7 +846,7 @@ declare namespace gapi.client {
846
846
  value?: {[P in string]: any};
847
847
  }
848
848
  interface Page {
849
- /** 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. */
849
+ /** 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. */
850
850
  content?: string;
851
851
  /** 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`. */
852
852
  name?: string;
@@ -941,6 +941,8 @@ declare namespace gapi.client {
941
941
  common?: CommonLanguageSettings;
942
942
  }
943
943
  interface SelectiveGapicGeneration {
944
+ /** 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. */
945
+ generateOmittedAsInternal?: boolean;
944
946
  /** An allowlist of the fully qualified names of RPCs that should be included on public client surfaces. */
945
947
  methods?: string[];
946
948
  }
@@ -1075,7 +1077,7 @@ declare namespace gapi.client {
1075
1077
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1076
1078
  uploadType?: string;
1077
1079
  },
1078
- body: CancelOperationRequest
1080
+ body: CancelOperationRequest,
1079
1081
  ): Request<{}>;
1080
1082
  /** 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`. */
1081
1083
  delete(request?: {
@@ -1222,7 +1224,7 @@ declare namespace gapi.client {
1222
1224
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1223
1225
  uploadType?: string;
1224
1226
  },
1225
- body: BatchEnableServicesRequest
1227
+ body: BatchEnableServicesRequest,
1226
1228
  ): Request<Operation>;
1227
1229
  /** Returns the service configurations and enabled states for a given list of services. */
1228
1230
  batchGet(request?: {
@@ -1309,7 +1311,7 @@ declare namespace gapi.client {
1309
1311
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1310
1312
  uploadType?: string;
1311
1313
  },
1312
- body: DisableServiceRequest
1314
+ body: DisableServiceRequest,
1313
1315
  ): Request<Operation>;
1314
1316
  /** Enable a service so that it can be used with a project. */
1315
1317
  enable(request: {
@@ -1367,7 +1369,7 @@ declare namespace gapi.client {
1367
1369
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1368
1370
  uploadType?: string;
1369
1371
  },
1370
- body: EnableServiceRequest
1372
+ body: EnableServiceRequest,
1371
1373
  ): Request<Operation>;
1372
1374
  /** Returns the service configuration and enabled state for a given service. */
1373
1375
  get(request?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.serviceusage-v1",
3
- "version": "0.0.20250110",
3
+ "version": "0.0.20250130",
4
4
  "description": "TypeScript typings for Service Usage 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.serviceusage
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -68,7 +68,7 @@ gapi.auth.authorize(
68
68
  } else {
69
69
  /* handle authorization error */
70
70
  }
71
- }
71
+ },
72
72
  );
73
73
  ```
74
74