@maxim_mazurok/gapi.client.cloudtrace-v2 0.1.20260717 → 0.1.20260724

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 (2) hide show
  1. package/index.d.ts +45 -45
  2. package/package.json +1 -1
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=v2
12
- // Revision: 20260717
12
+ // Revision: 20260724
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -25,23 +25,23 @@ declare namespace gapi.client {
25
25
 
26
26
  namespace cloudtrace {
27
27
  interface Annotation {
28
- /** A set of attributes on the annotation. You can have up to 4 attributes per Annotation. */
28
+ /** Optional. A set of attributes on the annotation. You can have up to 4 attributes per Annotation. */
29
29
  attributes?: Attributes;
30
- /** A user-supplied message describing the event. The maximum length for the description is 256 bytes. */
30
+ /** Optional. A user-supplied message describing the event. The maximum length for the description is 256 bytes. */
31
31
  description?: TruncatableString;
32
32
  }
33
33
  interface Attributes {
34
- /** A set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the boolean values `true` or `false`. For example: "/instance_id": { "string_value": { "value": "my-instance" } } "/http/request_bytes": { "int_value": 300 } "example.com/myattribute": { "bool_value": false } */
34
+ /** Optional. A set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the boolean values `true` or `false`. For example: "/instance_id": { "string_value": { "value": "my-instance" } } "/http/request_bytes": { "int_value": 300 } "example.com/myattribute": { "bool_value": false } */
35
35
  attributeMap?: {[P in string]: AttributeValue};
36
- /** The number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0 then all attributes are valid. */
36
+ /** Optional. The number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0 then all attributes are valid. */
37
37
  droppedAttributesCount?: number;
38
38
  }
39
39
  interface AttributeValue {
40
- /** A Boolean value represented by `true` or `false`. */
40
+ /** Optional. A Boolean value represented by `true` or `false`. */
41
41
  boolValue?: boolean;
42
- /** A 64-bit signed integer. */
42
+ /** Optional. A 64-bit signed integer. */
43
43
  intValue?: string;
44
- /** A string up to 256 bytes long. */
44
+ /** Optional. A string up to 256 bytes long. */
45
45
  stringValue?: TruncatableString;
46
46
  }
47
47
  interface BatchWriteSpansRequest {
@@ -50,39 +50,39 @@ declare namespace gapi.client {
50
50
  }
51
51
  interface Empty {}
52
52
  interface Link {
53
- /** A set of attributes on the link. Up to 32 attributes can be specified per link. */
53
+ /** Optional. A set of attributes on the link. Up to 32 attributes can be specified per link. */
54
54
  attributes?: Attributes;
55
- /** The `[SPAN_ID]` for a span within a trace. */
55
+ /** Optional. The `[SPAN_ID]` for a span within a trace. */
56
56
  spanId?: string;
57
- /** The `[TRACE_ID]` for a trace within a project. */
57
+ /** Optional. The `[TRACE_ID]` for a trace within a project. */
58
58
  traceId?: string;
59
- /** The relationship of the current span relative to the linked span. */
59
+ /** Optional. The relationship of the current span relative to the linked span. */
60
60
  type?: 'TYPE_UNSPECIFIED' | 'CHILD_LINKED_SPAN' | 'PARENT_LINKED_SPAN';
61
61
  }
62
62
  interface Links {
63
- /** The number of dropped links after the maximum size was enforced. If this value is 0, then no links were dropped. */
63
+ /** Optional. The number of dropped links after the maximum size was enforced. If this value is 0, then no links were dropped. */
64
64
  droppedLinksCount?: number;
65
- /** A collection of links. */
65
+ /** Optional. A collection of links. */
66
66
  link?: Link[];
67
67
  }
68
68
  interface MessageEvent {
69
- /** The number of compressed bytes sent or received. If missing, the compressed size is assumed to be the same size as the uncompressed size. */
69
+ /** Optional. The number of compressed bytes sent or received. If missing, the compressed size is assumed to be the same size as the uncompressed size. */
70
70
  compressedSizeBytes?: string;
71
- /** An identifier for the MessageEvent's message that can be used to match `SENT` and `RECEIVED` MessageEvents. */
71
+ /** Optional. An identifier for the MessageEvent's message that can be used to match `SENT` and `RECEIVED` MessageEvents. */
72
72
  id?: string;
73
- /** Type of MessageEvent. Indicates whether the message was sent or received. */
73
+ /** Optional. Type of MessageEvent. Indicates whether the message was sent or received. */
74
74
  type?: 'TYPE_UNSPECIFIED' | 'SENT' | 'RECEIVED';
75
- /** The number of uncompressed bytes sent or received. */
75
+ /** Optional. The number of uncompressed bytes sent or received. */
76
76
  uncompressedSizeBytes?: string;
77
77
  }
78
78
  interface Module {
79
- /** A unique identifier for the module, usually a hash of its contents (up to 128 bytes). */
79
+ /** Optional. A unique identifier for the module, usually a hash of its contents (up to 128 bytes). */
80
80
  buildId?: TruncatableString;
81
- /** For example: main binary, kernel modules, and dynamic libraries such as libc.so, sharedlib.so (up to 256 bytes). */
81
+ /** Optional. For example: main binary, kernel modules, and dynamic libraries such as libc.so, sharedlib.so (up to 256 bytes). */
82
82
  module?: TruncatableString;
83
83
  }
84
84
  interface Span {
85
- /** A set of attributes on the span. You can have up to 32 attributes per span. */
85
+ /** Optional. A set of attributes on the span. You can have up to 32 attributes per span. */
86
86
  attributes?: Attributes;
87
87
  /** Optional. The number of child spans that were generated while this span was active. If set, allows implementation to detect missing child spans. */
88
88
  childSpanCount?: number;
@@ -90,11 +90,11 @@ declare namespace gapi.client {
90
90
  displayName?: TruncatableString;
91
91
  /** Required. The end time of the span. On the client side, this is the time kept by the local machine where the span execution ends. On the server side, this is the time when the server application handler stops running. */
92
92
  endTime?: string;
93
- /** Links associated with the span. You can have up to 128 links per Span. */
93
+ /** Optional. Links associated with the span. You can have up to 128 links per Span. */
94
94
  links?: Links;
95
- /** Required. The resource name of the span in the following format: * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]` `[TRACE_ID]` is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array. It should not be zero. `[SPAN_ID]` is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array. It should not be zero. . */
95
+ /** Identifier. The resource name of the span in the following format: * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]` `[TRACE_ID]` is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array. It should not be zero. `[SPAN_ID]` is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array. It should not be zero. . */
96
96
  name?: string;
97
- /** The `[SPAN_ID]` of this span's parent span. If this is a root span, then this field must be empty. */
97
+ /** Optional. The `[SPAN_ID]` of this span's parent span. If this is a root span, then this field must be empty. */
98
98
  parentSpanId?: string;
99
99
  /** Optional. Set this parameter to indicate whether this span is in the same process as its parent. If you do not set this parameter, Trace is unable to take advantage of this helpful information. */
100
100
  sameProcessAsParentSpan?: boolean;
@@ -108,41 +108,41 @@ declare namespace gapi.client {
108
108
  | 'CLIENT'
109
109
  | 'PRODUCER'
110
110
  | 'CONSUMER';
111
- /** Stack trace captured at the start of the span. */
111
+ /** Optional. Stack trace captured at the start of the span. */
112
112
  stackTrace?: StackTrace;
113
113
  /** Required. The start time of the span. On the client side, this is the time kept by the local machine where the span execution starts. On the server side, this is the time when the server's application handler starts running. */
114
114
  startTime?: string;
115
115
  /** Optional. The final status for this span. */
116
116
  status?: Status;
117
- /** A set of time events. You can have up to 32 annotations and 128 message events per span. */
117
+ /** Optional. A set of time events. You can have up to 32 annotations and 128 message events per span. */
118
118
  timeEvents?: TimeEvents;
119
119
  }
120
120
  interface StackFrame {
121
- /** The column number where the function call appears, if available. This is important in JavaScript because of its anonymous functions. */
121
+ /** Optional. The column number where the function call appears, if available. This is important in JavaScript because of its anonymous functions. */
122
122
  columnNumber?: string;
123
- /** The name of the source file where the function call appears (up to 256 bytes). */
123
+ /** Optional. The name of the source file where the function call appears (up to 256 bytes). */
124
124
  fileName?: TruncatableString;
125
- /** The fully-qualified name that uniquely identifies the function or method that is active in this frame (up to 1024 bytes). */
125
+ /** Optional. The fully-qualified name that uniquely identifies the function or method that is active in this frame (up to 1024 bytes). */
126
126
  functionName?: TruncatableString;
127
- /** The line number in `file_name` where the function call appears. */
127
+ /** Optional. The line number in `file_name` where the function call appears. */
128
128
  lineNumber?: string;
129
- /** The binary module from where the code was loaded. */
129
+ /** Optional. The binary module from where the code was loaded. */
130
130
  loadModule?: Module;
131
- /** An un-mangled function name, if `function_name` is mangled. To get information about name mangling, run [this search](https://www.google.com/search?q=cxx+name+mangling). The name can be fully-qualified (up to 1024 bytes). */
131
+ /** Optional. An un-mangled function name, if `function_name` is mangled. To get information about name mangling, run [this search](https://www.google.com/search?q=cxx+name+mangling). The name can be fully-qualified (up to 1024 bytes). */
132
132
  originalFunctionName?: TruncatableString;
133
- /** The version of the deployed source code (up to 128 bytes). */
133
+ /** Optional. The version of the deployed source code (up to 128 bytes). */
134
134
  sourceVersion?: TruncatableString;
135
135
  }
136
136
  interface StackFrames {
137
- /** The number of stack frames that were dropped because there were too many stack frames. If this value is 0, then no stack frames were dropped. */
137
+ /** Optional. The number of stack frames that were dropped because there were too many stack frames. If this value is 0, then no stack frames were dropped. */
138
138
  droppedFramesCount?: number;
139
- /** Stack frames in this call stack. */
139
+ /** Optional. Stack frames in this call stack. */
140
140
  frame?: StackFrame[];
141
141
  }
142
142
  interface StackTrace {
143
- /** Stack frames in this stack trace. A maximum of 128 frames are allowed. */
143
+ /** Optional. Stack frames in this stack trace. A maximum of 128 frames are allowed. */
144
144
  stackFrames?: StackFrames;
145
- /** The hash ID is used to conserve network bandwidth for duplicate stack traces within a single trace. Often multiple spans will have identical stack traces. The first occurrence of a stack trace should contain both the `stackFrame` content and a value in `stackTraceHashId`. Subsequent spans within the same request can refer to that stack trace by only setting `stackTraceHashId`. */
145
+ /** Optional. The hash ID is used to conserve network bandwidth for duplicate stack traces within a single trace. Often multiple spans will have identical stack traces. The first occurrence of a stack trace should contain both the `stackFrame` content and a value in `stackTraceHashId`. Subsequent spans within the same request can refer to that stack trace by only setting `stackTraceHashId`. */
146
146
  stackTraceHashId?: string;
147
147
  }
148
148
  interface Status {
@@ -158,21 +158,21 @@ declare namespace gapi.client {
158
158
  annotation?: Annotation;
159
159
  /** An event describing a message sent/received between Spans. */
160
160
  messageEvent?: MessageEvent;
161
- /** The timestamp indicating the time the event occurred. */
161
+ /** Optional. The timestamp indicating the time the event occurred. */
162
162
  time?: string;
163
163
  }
164
164
  interface TimeEvents {
165
- /** The number of dropped annotations in all the included time events. If the value is 0, then no annotations were dropped. */
165
+ /** Optional. The number of dropped annotations in all the included time events. If the value is 0, then no annotations were dropped. */
166
166
  droppedAnnotationsCount?: number;
167
- /** The number of dropped message events in all the included time events. If the value is 0, then no message events were dropped. */
167
+ /** Optional. The number of dropped message events in all the included time events. If the value is 0, then no message events were dropped. */
168
168
  droppedMessageEventsCount?: number;
169
- /** A collection of `TimeEvent`s. */
169
+ /** Optional. A collection of `TimeEvent`s. */
170
170
  timeEvent?: TimeEvent[];
171
171
  }
172
172
  interface TruncatableString {
173
- /** The number of bytes removed from the original string. If this value is 0, then the string was not shortened. */
173
+ /** Optional. The number of bytes removed from the original string. If this value is 0, then the string was not shortened. */
174
174
  truncatedByteCount?: number;
175
- /** The shortened string. For example, if the original string is 500 bytes long and the limit of the string is 128 bytes, then `value` contains the first 128 bytes of the 500-byte string. Truncation always happens on a UTF8 character boundary. If there are multi-byte characters in the string, then the length of the shortened string might be less than the size limit. */
175
+ /** Optional. The shortened string. For example, if the original string is 500 bytes long and the limit of the string is 128 bytes, then `value` contains the first 128 bytes of the 500-byte string. Truncation always happens on a UTF8 character boundary. If there are multi-byte characters in the string, then the length of the shortened string might be less than the size limit. */
176
176
  value?: string;
177
177
  }
178
178
  interface SpansResource {
@@ -190,7 +190,7 @@ declare namespace gapi.client {
190
190
  fields?: string;
191
191
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
192
192
  key?: string;
193
- /** Required. The resource name of the span in the following format: * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]` `[TRACE_ID]` is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array. It should not be zero. `[SPAN_ID]` is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array. It should not be zero. . */
193
+ /** Identifier. The resource name of the span in the following format: * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]` `[TRACE_ID]` is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array. It should not be zero. `[SPAN_ID]` is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array. It should not be zero. . */
194
194
  name: string;
195
195
  /** OAuth 2.0 token for the current user. */
196
196
  oauth_token?: string;
@@ -219,7 +219,7 @@ declare namespace gapi.client {
219
219
  fields?: string;
220
220
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
221
221
  key?: string;
222
- /** Required. The resource name of the span in the following format: * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]` `[TRACE_ID]` is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array. It should not be zero. `[SPAN_ID]` is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array. It should not be zero. . */
222
+ /** Identifier. The resource name of the span in the following format: * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]` `[TRACE_ID]` is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array. It should not be zero. `[SPAN_ID]` is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array. It should not be zero. . */
223
223
  name: string;
224
224
  /** OAuth 2.0 token for the current user. */
225
225
  oauth_token?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudtrace-v2",
3
- "version": "0.1.20260717",
3
+ "version": "0.1.20260724",
4
4
  "description": "TypeScript typings for Cloud Trace API v2",
5
5
  "repository": {
6
6
  "type": "git",