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: b20d957aeb2197ec68ff98787a6265c4494be217c8734e48d462c24062551819
4
- data.tar.gz: 6c637cf8178b14caf70428b227d8d0f7d0f958a004d38b65060efa53cb825119
3
+ metadata.gz: 14ab88744612789faa690c911766f86bdbdc3ef061e31fd7cd06297f7aaf426d
4
+ data.tar.gz: 04c72f78bb852ac4d02d467bc465e7a49bc6dda42d6dfc993ade8fe530b3b706
5
5
  SHA512:
6
- metadata.gz: 219f51fb8636d85f2479182b085fcfd09569c81ce0330cbab2e4875536ab25ad780c8e9fac732de3988810271ee6278da1a45977a2789cf49aa4997056fbf84b
7
- data.tar.gz: 98361dde420231f382c3715dbea3a54e1b60096116a5f553f51c90c80e0a60b2eadb5c859d649f1a0f7c506e18e7531477a39f966341cde03cb98c5cafc8ef56
6
+ metadata.gz: '078eda9c9f4a16abffe318307431a375ccb80296f0b38159609d66c7a202829d3ec0b4c1aba95246d23dded7ef8b75e432a818e7ea83bdcf994715de0a483e81'
7
+ data.tar.gz: 189c4b4b1e4189e71f47255e97c456466acd67c0e9883aa59b6ee8cc7e411f3105c33462d6e78c22047e8eb4d5e8e2588bf3dfe2f206e9554be6905da17c1ea6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudtrace_v2
2
2
 
3
+ ### v0.10.0 (2022-03-05)
4
+
5
+ * Regenerated from discovery document revision 20220224
6
+ * Regenerated using generator version 0.4.1
7
+
3
8
  ### v0.9.0 (2021-12-16)
4
9
 
5
10
  * 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, each in the format `[KEY]:[VALUE]`.
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, each in the format `[KEY]:[VALUE]`.
82
+ # A set of attributes as key-value pairs.
83
83
  class Attributes
84
84
  include Google::Apis::Core::Hashable
85
85
 
86
- # The 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` and `false`. For example: "/instance_id": ` "string_value": ` "
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
- # or the results are undefined.
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, each in the format `[KEY]:[VALUE]`.
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 assumed to be the
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. It is recommended to be unique within a Span.
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 may be gaps or overlaps between spans in a trace.
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, each in the format `[KEY]:[VALUE]`.
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 identifier for a trace
320
- # within a project; it is a 32-character hexadecimal encoding of a 16-byte array.
321
- # [SPAN_ID] is a unique identifier for a span within a trace; it is a 16-
322
- # character hexadecimal encoding of an 8-byte array. It should not be zero.
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.9.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.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210812"
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 OpenCensus.
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
- # Sends new spans to new or existing traces. You cannot update existing spans.
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 identifier for a trace
94
- # within a project; it is a 32-character hexadecimal encoding of a 16-byte array.
95
- # [SPAN_ID] is a unique identifier for a span within a trace; it is a 16-
96
- # character hexadecimal encoding of an 8-byte array. It should not be zero.
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 OpenCensus.
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.9.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-01-10 00:00:00.000000000 Z
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.9.0
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.4
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