google-apis-cloudtrace_v2 0.9.0 → 0.10.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: 14ab88744612789faa690c911766f86bdbdc3ef061e31fd7cd06297f7aaf426d
|
4
|
+
data.tar.gz: 04c72f78bb852ac4d02d467bc465e7a49bc6dda42d6dfc993ade8fe530b3b706
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '078eda9c9f4a16abffe318307431a375ccb80296f0b38159609d66c7a202829d3ec0b4c1aba95246d23dded7ef8b75e432a818e7ea83bdcf994715de0a483e81'
|
7
|
+
data.tar.gz: 189c4b4b1e4189e71f47255e97c456466acd67c0e9883aa59b6ee8cc7e411f3105c33462d6e78c22047e8eb4d5e8e2588bf3dfe2f206e9554be6905da17c1ea6
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -154,17 +154,17 @@ module Google
|
|
154
154
|
class Link
|
155
155
|
include Google::Apis::Core::Hashable
|
156
156
|
|
157
|
-
# A set of attributes
|
157
|
+
# A set of attributes as key-value pairs.
|
158
158
|
# Corresponds to the JSON property `attributes`
|
159
159
|
# @return [Google::Apis::CloudtraceV2::Attributes]
|
160
160
|
attr_accessor :attributes
|
161
161
|
|
162
|
-
# The [SPAN_ID] for a span within a trace.
|
162
|
+
# The `[SPAN_ID]` for a span within a trace.
|
163
163
|
# Corresponds to the JSON property `spanId`
|
164
164
|
# @return [String]
|
165
165
|
attr_accessor :span_id
|
166
166
|
|
167
|
-
# The [TRACE_ID] for a trace within a project.
|
167
|
+
# The `[TRACE_ID]` for a trace within a project.
|
168
168
|
# Corresponds to the JSON property `traceId`
|
169
169
|
# @return [String]
|
170
170
|
attr_accessor :trace_id
|
@@ -218,14 +218,14 @@ module Google
|
|
218
218
|
class MessageEvent
|
219
219
|
include Google::Apis::Core::Hashable
|
220
220
|
|
221
|
-
# The number of compressed bytes sent or received. If missing
|
222
|
-
# same size as uncompressed.
|
221
|
+
# The number of compressed bytes sent or received. If missing, the compressed
|
222
|
+
# size is assumed to be the same size as the uncompressed size.
|
223
223
|
# Corresponds to the JSON property `compressedSizeBytes`
|
224
224
|
# @return [Fixnum]
|
225
225
|
attr_accessor :compressed_size_bytes
|
226
226
|
|
227
|
-
# An identifier for the MessageEvent's message that can be used to match SENT
|
228
|
-
# and RECEIVED MessageEvents.
|
227
|
+
# An identifier for the MessageEvent's message that can be used to match `SENT`
|
228
|
+
# and `RECEIVED` MessageEvents.
|
229
229
|
# Corresponds to the JSON property `id`
|
230
230
|
# @return [Fixnum]
|
231
231
|
attr_accessor :id
|
@@ -282,11 +282,11 @@ module Google
|
|
282
282
|
# form a trace tree. Often, a trace contains a root span that describes the end-
|
283
283
|
# to-end latency, and one or more subspans for its sub-operations. A trace can
|
284
284
|
# also contain multiple root spans, or none at all. Spans do not need to be
|
285
|
-
# contiguous—there
|
285
|
+
# contiguous—there might be gaps or overlaps between spans in a trace.
|
286
286
|
class Span
|
287
287
|
include Google::Apis::Core::Hashable
|
288
288
|
|
289
|
-
# A set of attributes
|
289
|
+
# A set of attributes as key-value pairs.
|
290
290
|
# Corresponds to the JSON property `attributes`
|
291
291
|
# @return [Google::Apis::CloudtraceV2::Attributes]
|
292
292
|
attr_accessor :attributes
|
@@ -315,16 +315,17 @@ module Google
|
|
315
315
|
# @return [Google::Apis::CloudtraceV2::Links]
|
316
316
|
attr_accessor :links
|
317
317
|
|
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
|
-
#
|
318
|
+
# Required. The resource name of the span in the following format: * `projects/[
|
319
|
+
# PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]` `[TRACE_ID]` is a unique
|
320
|
+
# identifier for a trace within a project; it is a 32-character hexadecimal
|
321
|
+
# encoding of a 16-byte array. It should not be zero. `[SPAN_ID]` is a unique
|
322
|
+
# identifier for a span within a trace; it is a 16-character hexadecimal
|
323
|
+
# encoding of an 8-byte array. It should not be zero. .
|
323
324
|
# Corresponds to the JSON property `name`
|
324
325
|
# @return [String]
|
325
326
|
attr_accessor :name
|
326
327
|
|
327
|
-
# The [SPAN_ID] of this span's parent span. If this is a root span, then this
|
328
|
+
# The `[SPAN_ID]` of this span's parent span. If this is a root span, then this
|
328
329
|
# field must be empty.
|
329
330
|
# Corresponds to the JSON property `parentSpanId`
|
330
331
|
# @return [String]
|
@@ -338,7 +339,7 @@ module Google
|
|
338
339
|
attr_accessor :same_process_as_parent_span
|
339
340
|
alias_method :same_process_as_parent_span?, :same_process_as_parent_span
|
340
341
|
|
341
|
-
# Required. The [SPAN_ID] portion of the span's resource name.
|
342
|
+
# Required. The `[SPAN_ID]` portion of the span's resource name.
|
342
343
|
# Corresponds to the JSON property `spanId`
|
343
344
|
# @return [String]
|
344
345
|
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.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220224"
|
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.10.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-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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.10.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.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Trace API V2
|