google-cloud-profiler-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a1fe8e8d65ddd5e0a8021236ed11165a628802103cb8dcb6bfefcb298b026fd
4
- data.tar.gz: 41a894ba330802b6847d95b83b6e88ca2585b119f1d895db48bd74a653642a67
3
+ metadata.gz: ff36d326da2f61b2e639a88c2785f6ba6663557cf5465228deb6a09bee97cb66
4
+ data.tar.gz: 4a7c9b2daec1e8d5c17cee0acc4f5b5ced96888a28a947096d90b49e7a5713bb
5
5
  SHA512:
6
- metadata.gz: 9025b63429e26ab3ea6158e0d84d5191cd2aeca54e46a895774e7a7e6a61532ac6d0777ea2958e86d4caf67a982cc913577db1a8b68845839c8fca2a558598a8
7
- data.tar.gz: 1334a4602b29844aef212aa91793140b5cae195d7279f581a7609c47af7c627d4c6c9a983c6266832b59a2748d5a7cdba38a95c310eebaf1427b5acede2ab3e2
6
+ metadata.gz: f02e9d420a758de5c67a2d25594f45dafd87d9cfc79b7f2f75e3f80aaadda08a862af7017adc289ee43f9325b6415a2cae32601ec6f17776bdad67123914e2b2
7
+ data.tar.gz: 78fde76151ea9dfb0500a4d07684eb351a7687ea18d0594b339a5e2dd15fe90a8d09e0a2be1a0bb39d49c5f978892f9d50a1834011c463d0d086c2b40f2a1b8f
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
@@ -334,6 +334,13 @@ module Google
334
334
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
335
335
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
336
336
  # * (`nil`) indicating no credentials
337
+ #
338
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
339
+ # external source for authentication to Google Cloud, you must validate it before
340
+ # providing it to a Google API client library. Providing an unvalidated credential
341
+ # configuration to Google APIs can compromise the security of your systems and data.
342
+ # For more information, refer to [Validate credential configurations from external
343
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
337
344
  # @return [::Object]
338
345
  # @!attribute [rw] scope
339
346
  # The OAuth scopes
@@ -388,8 +395,8 @@ module Google
388
395
 
389
396
  config_attr :endpoint, nil, ::String, nil
390
397
  config_attr :credentials, nil do |value|
391
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
392
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
398
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
399
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
393
400
  allowed.any? { |klass| klass === value }
394
401
  end
395
402
  config_attr :scope, nil, ::String, ::Array, nil
@@ -318,6 +318,13 @@ module Google
318
318
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
319
319
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
320
320
  # * (`nil`) indicating no credentials
321
+ #
322
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
323
+ # external source for authentication to Google Cloud, you must validate it before
324
+ # providing it to a Google API client library. Providing an unvalidated credential
325
+ # configuration to Google APIs can compromise the security of your systems and data.
326
+ # For more information, refer to [Validate credential configurations from external
327
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
321
328
  # @return [::Object]
322
329
  # @!attribute [rw] scope
323
330
  # The OAuth scopes
@@ -365,7 +372,7 @@ module Google
365
372
 
366
373
  config_attr :endpoint, nil, ::String, nil
367
374
  config_attr :credentials, nil do |value|
368
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
375
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
369
376
  allowed.any? { |klass| klass === value }
370
377
  end
371
378
  config_attr :scope, nil, ::String, ::Array, nil
@@ -540,6 +540,13 @@ module Google
540
540
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
541
541
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
542
542
  # * (`nil`) indicating no credentials
543
+ #
544
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
545
+ # external source for authentication to Google Cloud, you must validate it before
546
+ # providing it to a Google API client library. Providing an unvalidated credential
547
+ # configuration to Google APIs can compromise the security of your systems and data.
548
+ # For more information, refer to [Validate credential configurations from external
549
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
543
550
  # @return [::Object]
544
551
  # @!attribute [rw] scope
545
552
  # The OAuth scopes
@@ -594,8 +601,8 @@ module Google
594
601
 
595
602
  config_attr :endpoint, nil, ::String, nil
596
603
  config_attr :credentials, nil do |value|
597
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
598
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
604
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
605
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
599
606
  allowed.any? { |klass| klass === value }
600
607
  end
601
608
  config_attr :scope, nil, ::String, ::Array, nil
@@ -510,6 +510,13 @@ module Google
510
510
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
511
511
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
512
512
  # * (`nil`) indicating no credentials
513
+ #
514
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
515
+ # external source for authentication to Google Cloud, you must validate it before
516
+ # providing it to a Google API client library. Providing an unvalidated credential
517
+ # configuration to Google APIs can compromise the security of your systems and data.
518
+ # For more information, refer to [Validate credential configurations from external
519
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
513
520
  # @return [::Object]
514
521
  # @!attribute [rw] scope
515
522
  # The OAuth scopes
@@ -557,7 +564,7 @@ module Google
557
564
 
558
565
  config_attr :endpoint, nil, ::String, nil
559
566
  config_attr :credentials, nil do |value|
560
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
567
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
561
568
  allowed.any? { |klass| klass === value }
562
569
  end
563
570
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Profiler
23
23
  module V2
24
- VERSION = "1.1.0"
24
+ VERSION = "1.2.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-profiler-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
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: 2024-12-10 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
@@ -93,7 +92,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
93
92
  licenses:
94
93
  - Apache-2.0
95
94
  metadata: {}
96
- post_install_message:
97
95
  rdoc_options: []
98
96
  require_paths:
99
97
  - lib
@@ -101,15 +99,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
101
99
  requirements:
102
100
  - - ">="
103
101
  - !ruby/object:Gem::Version
104
- version: '2.7'
102
+ version: '3.0'
105
103
  required_rubygems_version: !ruby/object:Gem::Requirement
106
104
  requirements:
107
105
  - - ">="
108
106
  - !ruby/object:Gem::Version
109
107
  version: '0'
110
108
  requirements: []
111
- rubygems_version: 3.5.23
112
- signing_key:
109
+ rubygems_version: 3.6.8
113
110
  specification_version: 4
114
111
  summary: Manages continuous profiling information.
115
112
  test_files: []