google-cloud-trace-v2 1.1.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/trace/v2/trace_service/client.rb +9 -2
- data/lib/google/cloud/trace/v2/trace_service/rest/client.rb +8 -1
- data/lib/google/cloud/trace/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/devtools/cloudtrace/v2/trace.rb +10 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8d37cf3a806579725756cf145e69b1ce411f168fcb287897f419c4402176474
|
4
|
+
data.tar.gz: 91c850c303c5137aa15f1661014f61049684a5f074cd42b2bb197a12487a5c6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15a8934493f9ae5818a42b5f178a3a546a6df8a4cd9d5400066f133a0b42636248a7ee87afad27e2abd9557ed9cac24a9ae21b11c692da7631359e5c2a143196
|
7
|
+
data.tar.gz: 061ff7658a23565b6364f7b827b1cf2ab346303994429d9ef94dbfd1ed4dec09e9f221473e1dcc187799cb1feb19fc32f5deb8ccd87ef836e22a25330c4d39cc
|
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
|
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
|
@@ -528,8 +535,8 @@ module Google
|
|
528
535
|
|
529
536
|
config_attr :endpoint, nil, ::String, nil
|
530
537
|
config_attr :credentials, nil do |value|
|
531
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
532
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
538
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
539
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
533
540
|
allowed.any? { |klass| klass === value }
|
534
541
|
end
|
535
542
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -498,7 +505,7 @@ module Google
|
|
498
505
|
|
499
506
|
config_attr :endpoint, nil, ::String, nil
|
500
507
|
config_attr :credentials, nil do |value|
|
501
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
508
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
502
509
|
allowed.any? { |klass| klass === value }
|
503
510
|
end
|
504
511
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 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.
|
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.
|
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: '
|
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.
|
110
|
-
signing_key:
|
107
|
+
rubygems_version: 3.6.8
|
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
|