google-apis-cloudtrace_v2 0.9.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f086e848a4d27b4de0b74c2accf783c78ce67655bf4130566c55038654c0a2d2
|
4
|
+
data.tar.gz: a1ff11da88babdb6d7e2a6b4fa9bac158bda25355c8b3a6e3aa300326a952fe0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3eeaeb7a7be90fe64398d1c05373e7aea6842923fa4a0c989ea108b72383c05b3250ccc95b066355838b9049b0674eb6adaaec3271453b7a07e3c18bb2cc3cfa
|
7
|
+
data.tar.gz: ac1dd2ea7f193db7b98d12272e95728d3b6164c4e8de3ca8751f1e1b29b7090e0cf477449cad1460c1a47b7f146fd54a5a853550dce46f663d8555645856e8ca
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-cloudtrace_v2
|
2
2
|
|
3
|
+
### v0.12.0 (2022-06-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220512
|
6
|
+
* Regenerated using generator version 0.5.0
|
7
|
+
|
8
|
+
### v0.11.0 (2022-04-09)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220330
|
11
|
+
|
12
|
+
### v0.10.0 (2022-03-05)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220224
|
15
|
+
* Regenerated using generator version 0.4.1
|
16
|
+
|
3
17
|
### v0.9.0 (2021-12-16)
|
4
18
|
|
5
19
|
* Unspecified changes
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
class Annotation
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# A set of attributes
|
29
|
+
# A set of attributes as key-value pairs.
|
30
30
|
# Corresponds to the JSON property `attributes`
|
31
31
|
# @return [Google::Apis::CloudtraceV2::Attributes]
|
32
32
|
attr_accessor :attributes
|
@@ -47,7 +47,7 @@ module Google
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
# The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.
|
50
|
+
# The allowed types for `[VALUE]` in a `[KEY]:[VALUE]` attribute.
|
51
51
|
class AttributeValue
|
52
52
|
include Google::Apis::Core::Hashable
|
53
53
|
|
@@ -79,13 +79,13 @@ module Google
|
|
79
79
|
end
|
80
80
|
end
|
81
81
|
|
82
|
-
# A set of attributes
|
82
|
+
# A set of attributes as key-value pairs.
|
83
83
|
class Attributes
|
84
84
|
include Google::Apis::Core::Hashable
|
85
85
|
|
86
|
-
#
|
87
|
-
# value can be a string up to 256 bytes, a signed 64-bit integer, or the
|
88
|
-
# values `true`
|
86
|
+
# A set of attributes. Each attribute's key can be up to 128 bytes long. The
|
87
|
+
# value can be a string up to 256 bytes, a signed 64-bit integer, or the boolean
|
88
|
+
# values `true` or `false`. For example: "/instance_id": ` "string_value": ` "
|
89
89
|
# value": "my-instance" ` ` "/http/request_bytes": ` "int_value": 300 ` "abc.com/
|
90
90
|
# myattribute": ` "bool_value": false `
|
91
91
|
# Corresponds to the JSON property `attributeMap`
|
@@ -115,7 +115,7 @@ module Google
|
|
115
115
|
include Google::Apis::Core::Hashable
|
116
116
|
|
117
117
|
# Required. A list of new spans. The span names must not match existing spans,
|
118
|
-
#
|
118
|
+
# otherwise the results are undefined.
|
119
119
|
# Corresponds to the JSON property `spans`
|
120
120
|
# @return [Array<Google::Apis::CloudtraceV2::Span>]
|
121
121
|
attr_accessor :spans
|
@@ -133,8 +133,7 @@ module Google
|
|
133
133
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
134
134
|
# messages in your APIs. A typical example is to use it as the request or the
|
135
135
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
136
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
137
|
-
# `Empty` is empty JSON object ````.
|
136
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
138
137
|
class Empty
|
139
138
|
include Google::Apis::Core::Hashable
|
140
139
|
|
@@ -154,17 +153,17 @@ module Google
|
|
154
153
|
class Link
|
155
154
|
include Google::Apis::Core::Hashable
|
156
155
|
|
157
|
-
# A set of attributes
|
156
|
+
# A set of attributes as key-value pairs.
|
158
157
|
# Corresponds to the JSON property `attributes`
|
159
158
|
# @return [Google::Apis::CloudtraceV2::Attributes]
|
160
159
|
attr_accessor :attributes
|
161
160
|
|
162
|
-
# The [SPAN_ID] for a span within a trace.
|
161
|
+
# The `[SPAN_ID]` for a span within a trace.
|
163
162
|
# Corresponds to the JSON property `spanId`
|
164
163
|
# @return [String]
|
165
164
|
attr_accessor :span_id
|
166
165
|
|
167
|
-
# The [TRACE_ID] for a trace within a project.
|
166
|
+
# The `[TRACE_ID]` for a trace within a project.
|
168
167
|
# Corresponds to the JSON property `traceId`
|
169
168
|
# @return [String]
|
170
169
|
attr_accessor :trace_id
|
@@ -218,14 +217,14 @@ module Google
|
|
218
217
|
class MessageEvent
|
219
218
|
include Google::Apis::Core::Hashable
|
220
219
|
|
221
|
-
# The number of compressed bytes sent or received. If missing
|
222
|
-
# same size as uncompressed.
|
220
|
+
# The number of compressed bytes sent or received. If missing, the compressed
|
221
|
+
# size is assumed to be the same size as the uncompressed size.
|
223
222
|
# Corresponds to the JSON property `compressedSizeBytes`
|
224
223
|
# @return [Fixnum]
|
225
224
|
attr_accessor :compressed_size_bytes
|
226
225
|
|
227
|
-
# An identifier for the MessageEvent's message that can be used to match SENT
|
228
|
-
# and RECEIVED MessageEvents.
|
226
|
+
# An identifier for the MessageEvent's message that can be used to match `SENT`
|
227
|
+
# and `RECEIVED` MessageEvents.
|
229
228
|
# Corresponds to the JSON property `id`
|
230
229
|
# @return [Fixnum]
|
231
230
|
attr_accessor :id
|
@@ -282,11 +281,11 @@ module Google
|
|
282
281
|
# form a trace tree. Often, a trace contains a root span that describes the end-
|
283
282
|
# to-end latency, and one or more subspans for its sub-operations. A trace can
|
284
283
|
# also contain multiple root spans, or none at all. Spans do not need to be
|
285
|
-
# contiguous—there
|
284
|
+
# contiguous—there might be gaps or overlaps between spans in a trace.
|
286
285
|
class Span
|
287
286
|
include Google::Apis::Core::Hashable
|
288
287
|
|
289
|
-
# A set of attributes
|
288
|
+
# A set of attributes as key-value pairs.
|
290
289
|
# Corresponds to the JSON property `attributes`
|
291
290
|
# @return [Google::Apis::CloudtraceV2::Attributes]
|
292
291
|
attr_accessor :attributes
|
@@ -315,16 +314,17 @@ module Google
|
|
315
314
|
# @return [Google::Apis::CloudtraceV2::Links]
|
316
315
|
attr_accessor :links
|
317
316
|
|
318
|
-
# Required. The resource name of the span in the following format: projects/[
|
319
|
-
# PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique
|
320
|
-
# within a project; it is a 32-character hexadecimal
|
321
|
-
#
|
322
|
-
#
|
317
|
+
# Required. The resource name of the span in the following format: * `projects/[
|
318
|
+
# PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]` `[TRACE_ID]` is a unique
|
319
|
+
# identifier for a trace within a project; it is a 32-character hexadecimal
|
320
|
+
# encoding of a 16-byte array. It should not be zero. `[SPAN_ID]` is a unique
|
321
|
+
# identifier for a span within a trace; it is a 16-character hexadecimal
|
322
|
+
# encoding of an 8-byte array. It should not be zero. .
|
323
323
|
# Corresponds to the JSON property `name`
|
324
324
|
# @return [String]
|
325
325
|
attr_accessor :name
|
326
326
|
|
327
|
-
# The [SPAN_ID] of this span's parent span. If this is a root span, then this
|
327
|
+
# The `[SPAN_ID]` of this span's parent span. If this is a root span, then this
|
328
328
|
# field must be empty.
|
329
329
|
# Corresponds to the JSON property `parentSpanId`
|
330
330
|
# @return [String]
|
@@ -338,7 +338,7 @@ module Google
|
|
338
338
|
attr_accessor :same_process_as_parent_span
|
339
339
|
alias_method :same_process_as_parent_span?, :same_process_as_parent_span
|
340
340
|
|
341
|
-
# Required. The [SPAN_ID] portion of the span's resource name.
|
341
|
+
# Required. The `[SPAN_ID]` portion of the span's resource name.
|
342
342
|
# Corresponds to the JSON property `spanId`
|
343
343
|
# @return [String]
|
344
344
|
attr_accessor :span_id
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudtraceV2
|
18
18
|
# Version of the google-apis-cloudtrace_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220512"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# collected for all App Engine applications by default. Trace data from other
|
27
27
|
# applications can be provided using this API. This library is used to interact
|
28
28
|
# with the Cloud Trace API directly. If you are looking to instrument your
|
29
|
-
# application for Cloud Trace, we recommend using
|
29
|
+
# application for Cloud Trace, we recommend using OpenTelemetry.
|
30
30
|
#
|
31
31
|
# @example
|
32
32
|
# require 'google/apis/cloudtrace_v2'
|
@@ -53,7 +53,8 @@ module Google
|
|
53
53
|
@batch_path = 'batch'
|
54
54
|
end
|
55
55
|
|
56
|
-
#
|
56
|
+
# Batch writes new spans to new or existing traces. You cannot update existing
|
57
|
+
# spans.
|
57
58
|
# @param [String] name
|
58
59
|
# Required. The name of the project where the spans belong. The format is `
|
59
60
|
# projects/[PROJECT_ID]`.
|
@@ -89,11 +90,12 @@ module Google
|
|
89
90
|
|
90
91
|
# Creates a new span.
|
91
92
|
# @param [String] name
|
92
|
-
# Required. The resource name of the span in the following format: projects/[
|
93
|
-
# PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique
|
94
|
-
# within a project; it is a 32-character hexadecimal
|
95
|
-
#
|
96
|
-
#
|
93
|
+
# Required. The resource name of the span in the following format: * `projects/[
|
94
|
+
# PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]` `[TRACE_ID]` is a unique
|
95
|
+
# identifier for a trace within a project; it is a 32-character hexadecimal
|
96
|
+
# encoding of a 16-byte array. It should not be zero. `[SPAN_ID]` is a unique
|
97
|
+
# identifier for a span within a trace; it is a 16-character hexadecimal
|
98
|
+
# encoding of an 8-byte array. It should not be zero. .
|
97
99
|
# @param [Google::Apis::CloudtraceV2::Span] span_object
|
98
100
|
# @param [String] fields
|
99
101
|
# Selector specifying which fields to include in a partial response.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# collected for all App Engine applications by default. Trace data from other
|
26
26
|
# applications can be provided using this API. This library is used to interact
|
27
27
|
# with the Cloud Trace API directly. If you are looking to instrument your
|
28
|
-
# application for Cloud Trace, we recommend using
|
28
|
+
# application for Cloud Trace, we recommend using OpenTelemetry.
|
29
29
|
#
|
30
30
|
# @see https://cloud.google.com/trace
|
31
31
|
module CloudtraceV2
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudtrace_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.5'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.5'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudtrace_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudtrace_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudtrace_v2/v0.12.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudtrace_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Trace API V2
|