google-cloud-trace-v1 1.2.0 → 1.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 580dd97391902fb83d9a698a1c2b6e0285d713867ea0579f9a39ed6292c2ffe4
4
- data.tar.gz: e977268b4ed2bd134d2446b50716daa0fd93746952a7a42954f97b0ca96dd9c4
3
+ metadata.gz: 1708c6cbc471db71feca5809bcf3165dfcc865cc76c9849c28ee5bc92989b590
4
+ data.tar.gz: 8b266ecdee3fa3987a2fc46598e0076e5c26d6839642b0fa92ac108bea61ee93
5
5
  SHA512:
6
- metadata.gz: 7b47390a2c9c2579fe19c8d2cc8df4e57d48c707004085d57c2c0d81bdf1951c5d5c3a470b003ede012c7f9b2b1a0a1ed0dd31089867936012049b50123595ff
7
- data.tar.gz: 439d029c576f0d283a7df288505a84d7b5334f349f4fe1f7ea43e71fef564e87bec48386098632d0df3dbda41561014edaf3634b7b54f1e1e27379ca0ac14e2c
6
+ metadata.gz: cce9b04a8e9bb5cc251a4df07846915711f35b2eb862af28379dfd9e5adf256b1fed169b62a4904b7c9f59741a85baaf54d83fbfcbd78567cdc1d42263300f72
7
+ data.tar.gz: f22bc57592339b0cc6944ebc640da56a812f8eeb44e02aabd29623b83ac17a1343f93e5819e1609e4a864f17f250d09b1f3a47810dc3764fdeeff374ce5a78fd
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
@@ -577,6 +577,13 @@ module Google
577
577
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
578
578
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
579
579
  # * (`nil`) indicating no credentials
580
+ #
581
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
582
+ # external source for authentication to Google Cloud, you must validate it before
583
+ # providing it to a Google API client library. Providing an unvalidated credential
584
+ # configuration to Google APIs can compromise the security of your systems and data.
585
+ # For more information, refer to [Validate credential configurations from external
586
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
580
587
  # @return [::Object]
581
588
  # @!attribute [rw] scope
582
589
  # The OAuth scopes
@@ -631,8 +638,8 @@ module Google
631
638
 
632
639
  config_attr :endpoint, nil, ::String, nil
633
640
  config_attr :credentials, nil do |value|
634
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
635
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
641
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
642
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
636
643
  allowed.any? { |klass| klass === value }
637
644
  end
638
645
  config_attr :scope, nil, ::String, ::Array, nil
@@ -544,6 +544,13 @@ module Google
544
544
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
545
545
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
546
546
  # * (`nil`) indicating no credentials
547
+ #
548
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
549
+ # external source for authentication to Google Cloud, you must validate it before
550
+ # providing it to a Google API client library. Providing an unvalidated credential
551
+ # configuration to Google APIs can compromise the security of your systems and data.
552
+ # For more information, refer to [Validate credential configurations from external
553
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
547
554
  # @return [::Object]
548
555
  # @!attribute [rw] scope
549
556
  # The OAuth scopes
@@ -591,7 +598,7 @@ module Google
591
598
 
592
599
  config_attr :endpoint, nil, ::String, nil
593
600
  config_attr :credentials, nil do |value|
594
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
601
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
595
602
  allowed.any? { |klass| klass === value }
596
603
  end
597
604
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Trace
23
23
  module V1
24
- VERSION = "1.2.0"
24
+ VERSION = "1.3.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-trace-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.1
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-11 00:00:00.000000000 Z
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.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
@@ -85,7 +84,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
85
84
  licenses:
86
85
  - Apache-2.0
87
86
  metadata: {}
88
- post_install_message:
89
87
  rdoc_options: []
90
88
  require_paths:
91
89
  - lib
@@ -93,15 +91,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
93
91
  requirements:
94
92
  - - ">="
95
93
  - !ruby/object:Gem::Version
96
- version: '2.7'
94
+ version: '3.0'
97
95
  required_rubygems_version: !ruby/object:Gem::Requirement
98
96
  requirements:
99
97
  - - ">="
100
98
  - !ruby/object:Gem::Version
101
99
  version: '0'
102
100
  requirements: []
103
- rubygems_version: 3.5.23
104
- signing_key:
101
+ rubygems_version: 3.6.8
105
102
  specification_version: 4
106
103
  summary: Sends application trace data to Stackdriver Trace for viewing. Trace data
107
104
  is collected for all App Engine applications by default. Trace data from other applications