google-cloud-trace-v2 1.1.0 → 1.2.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: 3c48f454a3b5d87cb1bd7328d1e1fc95a25a713fcef53e1c3a2f86ad89bc7df7
4
- data.tar.gz: 24742c490d42abb23bb4b6830f2b9fda276cacccfc23519c21dfee01af344fd8
3
+ metadata.gz: e2c34daf0a28094b3628ec5c2ec41556b99f965f244c42dfc398b231ada5530e
4
+ data.tar.gz: aa80338b4218686687a38a5b52a45e6456554f72233e932b5f7fe4a9ee76cc32
5
5
  SHA512:
6
- metadata.gz: f8e7cf3b92c02c5e5fdff3aa81277d9fa2683ed250c214020adf1c1e038d35b1fccc8274a4f77dfa21e5aad2d145bea49ea8a5c5f1be7d3898347d5f14cbc7c5
7
- data.tar.gz: 114832ce5ddaafde7435b1c52ac9063fe70a3452f606f0976747e956c3da4857e7cbfd9c8fcf46ac540b9cc644b8a8acb7a6c22319fff42fae3e6028b8df4fac
6
+ metadata.gz: edb9dd099870e8673a1196da5fb438e8456dba5306a8e6f4ad2e4eed894a3fa485c26b263ac008d3ab69659bcf58c4267c4c4fec2c86a3250b4f0e9e4716bb76
7
+ data.tar.gz: 7fe265c708d27c5f6800aa67371343c0186dc23886b62a0d01e309bcc44943c69a931b55abbdf402732de1785aaf40b0fb00a18fcdc7792d1c5452d812723b8e
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -474,6 +474,13 @@ module Google
474
474
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
475
475
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
476
476
  # * (`nil`) indicating no credentials
477
+ #
478
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
479
+ # external source for authentication to Google Cloud, you must validate it before
480
+ # providing it to a Google API client library. Providing an unvalidated credential
481
+ # configuration to Google APIs can compromise the security of your systems and data.
482
+ # For more information, refer to [Validate credential configurations from external
483
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
477
484
  # @return [::Object]
478
485
  # @!attribute [rw] scope
479
486
  # The OAuth scopes
@@ -451,6 +451,13 @@ module Google
451
451
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
452
452
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
453
453
  # * (`nil`) indicating no credentials
454
+ #
455
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
456
+ # external source for authentication to Google Cloud, you must validate it before
457
+ # providing it to a Google API client library. Providing an unvalidated credential
458
+ # configuration to Google APIs can compromise the security of your systems and data.
459
+ # For more information, refer to [Validate credential configurations from external
460
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
454
461
  # @return [::Object]
455
462
  # @!attribute [rw] scope
456
463
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Trace
23
23
  module V2
24
- VERSION = "1.1.0"
24
+ VERSION = "1.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -141,9 +141,13 @@ module Google
141
141
  # @!attribute [rw] annotation
142
142
  # @return [::Google::Cloud::Trace::V2::Span::TimeEvent::Annotation]
143
143
  # Text annotation with a set of attributes.
144
+ #
145
+ # Note: The following fields are mutually exclusive: `annotation`, `message_event`. If a field in that set is populated, all other fields in the set will automatically be cleared.
144
146
  # @!attribute [rw] message_event
145
147
  # @return [::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent]
146
148
  # An event describing a message sent/received between Spans.
149
+ #
150
+ # Note: The following fields are mutually exclusive: `message_event`, `annotation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
147
151
  class TimeEvent
148
152
  include ::Google::Protobuf::MessageExts
149
153
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -301,12 +305,18 @@ module Google
301
305
  # @!attribute [rw] string_value
302
306
  # @return [::Google::Cloud::Trace::V2::TruncatableString]
303
307
  # A string up to 256 bytes long.
308
+ #
309
+ # Note: The following fields are mutually exclusive: `string_value`, `int_value`, `bool_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
304
310
  # @!attribute [rw] int_value
305
311
  # @return [::Integer]
306
312
  # A 64-bit signed integer.
313
+ #
314
+ # Note: The following fields are mutually exclusive: `int_value`, `string_value`, `bool_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
307
315
  # @!attribute [rw] bool_value
308
316
  # @return [::Boolean]
309
317
  # A Boolean value represented by `true` or `false`.
318
+ #
319
+ # Note: The following fields are mutually exclusive: `bool_value`, `string_value`, `int_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
310
320
  class AttributeValue
311
321
  include ::Google::Protobuf::MessageExts
312
322
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-trace-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -91,7 +90,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
91
90
  licenses:
92
91
  - Apache-2.0
93
92
  metadata: {}
94
- post_install_message:
95
93
  rdoc_options: []
96
94
  require_paths:
97
95
  - lib
@@ -99,15 +97,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
97
  requirements:
100
98
  - - ">="
101
99
  - !ruby/object:Gem::Version
102
- version: '2.7'
100
+ version: '3.0'
103
101
  required_rubygems_version: !ruby/object:Gem::Requirement
104
102
  requirements:
105
103
  - - ">="
106
104
  - !ruby/object:Gem::Version
107
105
  version: '0'
108
106
  requirements: []
109
- rubygems_version: 3.5.23
110
- signing_key:
107
+ rubygems_version: 3.6.2
111
108
  specification_version: 4
112
109
  summary: Sends application trace data to Stackdriver Trace for viewing. Trace data
113
110
  is collected for all App Engine applications by default. Trace data from other applications