@maxim_mazurok/gapi.client.cloudprofiler-v2 0.0.20230213 → 0.0.20230306
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.
- package/index.d.ts +3 -3
- package/package.json +2 -2
- package/readme.md +3 -3
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Type definitions for non-npm package
|
|
1
|
+
/* Type definitions for non-npm package Cloud Profiler API v2 0.0 */
|
|
2
2
|
// Project: https://cloud.google.com/profiler/
|
|
3
3
|
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
4
|
// Nick Amoscato <https://github.com/namoscato>
|
|
@@ -9,12 +9,12 @@
|
|
|
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://cloudprofiler.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230306
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
|
-
/** Load
|
|
17
|
+
/** Load Cloud Profiler API v2 */
|
|
18
18
|
function load(urlOrObject: "https://cloudprofiler.googleapis.com/$discovery/rest?version=v2"): Promise<void>;
|
|
19
19
|
/** @deprecated Please load APIs with discovery documents. */
|
|
20
20
|
function load(name: "cloudprofiler", version: "v2"): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxim_mazurok/gapi.client.cloudprofiler-v2",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "TypeScript typings for
|
|
3
|
+
"version": "0.0.20230306",
|
|
4
|
+
"description": "TypeScript typings for Cloud Profiler API v2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"email": "maxim@mazurok.com",
|
package/readme.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# TypeScript typings for
|
|
1
|
+
# TypeScript typings for Cloud Profiler API v2
|
|
2
2
|
|
|
3
3
|
Manages continuous profiling information.
|
|
4
4
|
For detailed description please check [documentation](https://cloud.google.com/profiler/).
|
|
5
5
|
|
|
6
6
|
## Installing
|
|
7
7
|
|
|
8
|
-
Install typings for
|
|
8
|
+
Install typings for Cloud Profiler API:
|
|
9
9
|
|
|
10
10
|
```
|
|
11
11
|
npm install @types/gapi.client.cloudprofiler-v2 --save-dev
|
|
@@ -68,7 +68,7 @@ gapi.auth.authorize(
|
|
|
68
68
|
});
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
After that you can use
|
|
71
|
+
After that you can use Cloud Profiler API resources: <!-- TODO: make this work for multiple namespaces -->
|
|
72
72
|
|
|
73
73
|
```typescript
|
|
74
74
|
```
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230306
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|