google-apis-cloudtrace_v2 0.8.0 → 0.11.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: a03bca21e2290e96cf69ac1ff149bf1cd03bca6e3c47ce19a79b90bedca9d1d6
4
- data.tar.gz: deb9d488cd0ba4c532862cc6508d4019374cad89450b3463da3f26af183db10b
3
+ metadata.gz: 9089700ea4b7393e277785f49422da78d494cf5c7ff234aa5538dcddbe32dd32
4
+ data.tar.gz: ab0640bb113f55e8604e4ca16694dcbd42e5549611d48dc50c719869cc8902d2
5
5
  SHA512:
6
- metadata.gz: 21598238b8a256beb02577b23c2978a1b5929e7db100ed869c7b9171c1989d61a2b2f7023c9b84d64627ff2c50e6aa65ea1252525441d105c7b71ad959cee8be
7
- data.tar.gz: 4e16bf4b151d77f789b7f28f070b371d8af6618a2936a2162efa5364c23a4c2b3768c0bbb5d0019fe950b01462b3d289b3a9392c9b55622a2d58be7f859d5ba4
6
+ metadata.gz: de2b769354de08c90b82ef64892236f940738bb48cd88c3073fa4cc66ee8cdec3cc18065bc21a6038ffb03701d3c489d4f8eb5c5b51c3f18606ca04ba3c8206d
7
+ data.tar.gz: aeec07560fbaafe6e0a70a27a46361ebe5e234366efc96a144377a8a640bc03c1b4e9fd9abf450d90544d99a2b2da26e01ddc741695ea4d22d840f30a8f6a73d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-cloudtrace_v2
2
2
 
3
+ ### v0.11.0 (2022-04-09)
4
+
5
+ * Regenerated from discovery document revision 20220330
6
+
7
+ ### v0.10.0 (2022-03-05)
8
+
9
+ * Regenerated from discovery document revision 20220224
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.9.0 (2021-12-16)
13
+
14
+ * Unspecified changes
15
+
3
16
  ### v0.8.0 (2021-10-20)
4
17
 
5
18
  * Unspecified changes
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/cloudtrace_v2"
51
51
  client = Google::Apis::CloudtraceV2::CloudTraceService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -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
@@ -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); ` The JSON representation for
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, each in the format `[KEY]:[VALUE]`.
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 assumed to be the
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. It is recommended to be unique within a Span.
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 may be gaps or overlaps between spans in a trace.
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, each in the format `[KEY]:[VALUE]`.
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 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.
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.8.0"
19
+ GEM_VERSION = "0.11.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 = "20220330"
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.8.0
4
+ version: 0.11.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: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2022-04-11 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.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudtrace_v2/v0.11.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.2.17
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