@maxim_mazurok/gapi.client.cloudtrace-v2beta1 0.1.20260309 → 0.1.20260601
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 +15 -15
- package/package.json +1 -1
- package/readme.md +17 -0
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
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://cloudtrace.googleapis.com/$discovery/rest?version=v2beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260601
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -51,11 +51,11 @@ declare namespace gapi.client {
|
|
|
51
51
|
/** Creates a sink that exports trace spans to a destination. The export of newly-ingested traces begins immediately, unless the sink's `writer_identity` is not permitted to write to the destination. A sink can export traces only from the resource owning the sink (the 'parent'). */
|
|
52
52
|
create(request: {
|
|
53
53
|
/** V1 error format. */
|
|
54
|
-
'$.xgafv'?:
|
|
54
|
+
'$.xgafv'?: '1' | '2';
|
|
55
55
|
/** OAuth access token. */
|
|
56
56
|
access_token?: string;
|
|
57
57
|
/** Data format for response. */
|
|
58
|
-
alt?:
|
|
58
|
+
alt?: 'json' | 'media' | 'proto';
|
|
59
59
|
/** JSONP */
|
|
60
60
|
callback?: string;
|
|
61
61
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -80,11 +80,11 @@ declare namespace gapi.client {
|
|
|
80
80
|
create(
|
|
81
81
|
request: {
|
|
82
82
|
/** V1 error format. */
|
|
83
|
-
'$.xgafv'?:
|
|
83
|
+
'$.xgafv'?: '1' | '2';
|
|
84
84
|
/** OAuth access token. */
|
|
85
85
|
access_token?: string;
|
|
86
86
|
/** Data format for response. */
|
|
87
|
-
alt?:
|
|
87
|
+
alt?: 'json' | 'media' | 'proto';
|
|
88
88
|
/** JSONP */
|
|
89
89
|
callback?: string;
|
|
90
90
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -109,11 +109,11 @@ declare namespace gapi.client {
|
|
|
109
109
|
/** Deletes a sink. */
|
|
110
110
|
delete(request?: {
|
|
111
111
|
/** V1 error format. */
|
|
112
|
-
'$.xgafv'?:
|
|
112
|
+
'$.xgafv'?: '1' | '2';
|
|
113
113
|
/** OAuth access token. */
|
|
114
114
|
access_token?: string;
|
|
115
115
|
/** Data format for response. */
|
|
116
|
-
alt?:
|
|
116
|
+
alt?: 'json' | 'media' | 'proto';
|
|
117
117
|
/** JSONP */
|
|
118
118
|
callback?: string;
|
|
119
119
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -136,11 +136,11 @@ declare namespace gapi.client {
|
|
|
136
136
|
/** Get a trace sink by name under the parent resource (GCP project). */
|
|
137
137
|
get(request?: {
|
|
138
138
|
/** V1 error format. */
|
|
139
|
-
'$.xgafv'?:
|
|
139
|
+
'$.xgafv'?: '1' | '2';
|
|
140
140
|
/** OAuth access token. */
|
|
141
141
|
access_token?: string;
|
|
142
142
|
/** Data format for response. */
|
|
143
|
-
alt?:
|
|
143
|
+
alt?: 'json' | 'media' | 'proto';
|
|
144
144
|
/** JSONP */
|
|
145
145
|
callback?: string;
|
|
146
146
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -163,11 +163,11 @@ declare namespace gapi.client {
|
|
|
163
163
|
/** List all sinks for the parent resource (GCP project). */
|
|
164
164
|
list(request?: {
|
|
165
165
|
/** V1 error format. */
|
|
166
|
-
'$.xgafv'?:
|
|
166
|
+
'$.xgafv'?: '1' | '2';
|
|
167
167
|
/** OAuth access token. */
|
|
168
168
|
access_token?: string;
|
|
169
169
|
/** Data format for response. */
|
|
170
|
-
alt?:
|
|
170
|
+
alt?: 'json' | 'media' | 'proto';
|
|
171
171
|
/** JSONP */
|
|
172
172
|
callback?: string;
|
|
173
173
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -194,11 +194,11 @@ declare namespace gapi.client {
|
|
|
194
194
|
/** Updates a sink. This method updates fields in the existing sink according to the provided update mask. The sink's name cannot be changed nor any output-only fields (e.g. the writer_identity). */
|
|
195
195
|
patch(request: {
|
|
196
196
|
/** V1 error format. */
|
|
197
|
-
'$.xgafv'?:
|
|
197
|
+
'$.xgafv'?: '1' | '2';
|
|
198
198
|
/** OAuth access token. */
|
|
199
199
|
access_token?: string;
|
|
200
200
|
/** Data format for response. */
|
|
201
|
-
alt?:
|
|
201
|
+
alt?: 'json' | 'media' | 'proto';
|
|
202
202
|
/** JSONP */
|
|
203
203
|
callback?: string;
|
|
204
204
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -225,11 +225,11 @@ declare namespace gapi.client {
|
|
|
225
225
|
patch(
|
|
226
226
|
request: {
|
|
227
227
|
/** V1 error format. */
|
|
228
|
-
'$.xgafv'?:
|
|
228
|
+
'$.xgafv'?: '1' | '2';
|
|
229
229
|
/** OAuth access token. */
|
|
230
230
|
access_token?: string;
|
|
231
231
|
/** Data format for response. */
|
|
232
|
-
alt?:
|
|
232
|
+
alt?: 'json' | 'media' | 'proto';
|
|
233
233
|
/** JSONP */
|
|
234
234
|
callback?: string;
|
|
235
235
|
/** Selector specifying which fields to include in a partial response. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -11,6 +11,23 @@ Install typings for Cloud Trace API:
|
|
|
11
11
|
npm install @types/gapi.client.cloudtrace-v2beta1 --save-dev
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
+
## TypeScript 6.0+
|
|
15
|
+
|
|
16
|
+
TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
|
|
17
|
+
|
|
18
|
+
```json
|
|
19
|
+
{
|
|
20
|
+
"compilerOptions": {
|
|
21
|
+
"types": [
|
|
22
|
+
"gapi",
|
|
23
|
+
"gapi.auth2",
|
|
24
|
+
"gapi.client",
|
|
25
|
+
"gapi.client.cloudtrace-v2beta1"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
14
31
|
## Usage
|
|
15
32
|
|
|
16
33
|
You need to initialize Google API client in your code:
|