google-cloud-advisory_notifications-v1 0.11.0 → 0.12.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: 4ae90ab9c68533f6e2b8e0bd5bc2a3d45b5ad8146d22c3db4d0b0ce0a2c8692f
4
- data.tar.gz: e104ec520ee6a7fab76e67e16fe681539ad9f4b3a87803a9b679e8abd291e207
3
+ metadata.gz: 6d0cab5305ceee11e91d984d35c9966c6c0f36050a6c2feeedcd8948280a110e
4
+ data.tar.gz: 75828178a836338f046e81d272559aead7807ac3404a0c0ac9e0ece93582e920
5
5
  SHA512:
6
- metadata.gz: a238c945e418a844e8ff3f95f723603205e5df11a1e1435ba1231528101ff8acd02de770a542a525d282dbf7f9e2776be0143639e2fc18197bc6bb9be0c0b511
7
- data.tar.gz: ac2ca3afe6a893d4344bed42dc14b2931be0da3e70ac6b63385384b0883dd2c2fd37d105d464d2ab1d3914fed66f1ae85bff3c55fa6cbd173a47e447775a8ffb
6
+ metadata.gz: a5fcf488fd36e176f72edc0f61e455998c435eb65afe25e4a1952ac5c8a424f30577d3a3e1dbd11b471b336892e24c5e7722fb51407220547df5016ad08fc49a
7
+ data.tar.gz: 55f5e3fc5a4f08e8ef1352d04eb5a4d3ffa87f3e301112045c802e2c5a98c0a1803de2d08cdf32b635a2bdb1e10c82d38b5f50ae285351a36926899e3eaff6be
data/README.md CHANGED
@@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
85
85
 
86
86
  ## Supported Ruby Versions
87
87
 
88
- This library is supported on Ruby 2.7+.
88
+ This library is supported on Ruby 3.0+.
89
89
 
90
90
  Google provides official support for Ruby versions that are actively supported
91
91
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -615,6 +615,13 @@ module Google
615
615
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
616
616
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
617
617
  # * (`nil`) indicating no credentials
618
+ #
619
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
620
+ # external source for authentication to Google Cloud, you must validate it before
621
+ # providing it to a Google API client library. Providing an unvalidated credential
622
+ # configuration to Google APIs can compromise the security of your systems and data.
623
+ # For more information, refer to [Validate credential configurations from external
624
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
618
625
  # @return [::Object]
619
626
  # @!attribute [rw] scope
620
627
  # The OAuth scopes
@@ -669,8 +676,8 @@ module Google
669
676
 
670
677
  config_attr :endpoint, nil, ::String, nil
671
678
  config_attr :credentials, nil do |value|
672
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
673
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
679
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
680
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
674
681
  allowed.any? { |klass| klass === value }
675
682
  end
676
683
  config_attr :scope, nil, ::String, ::Array, nil
@@ -578,6 +578,13 @@ module Google
578
578
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
579
579
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
580
580
  # * (`nil`) indicating no credentials
581
+ #
582
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
583
+ # external source for authentication to Google Cloud, you must validate it before
584
+ # providing it to a Google API client library. Providing an unvalidated credential
585
+ # configuration to Google APIs can compromise the security of your systems and data.
586
+ # For more information, refer to [Validate credential configurations from external
587
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
581
588
  # @return [::Object]
582
589
  # @!attribute [rw] scope
583
590
  # The OAuth scopes
@@ -625,7 +632,7 @@ module Google
625
632
 
626
633
  config_attr :endpoint, nil, ::String, nil
627
634
  config_attr :credentials, nil do |value|
628
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
635
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
629
636
  allowed.any? { |klass| klass === value }
630
637
  end
631
638
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AdvisoryNotifications
23
23
  module V1
24
- VERSION = "0.11.0"
24
+ VERSION = "0.12.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-advisory_notifications-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.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
@@ -82,7 +81,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
82
81
  licenses:
83
82
  - Apache-2.0
84
83
  metadata: {}
85
- post_install_message:
86
84
  rdoc_options: []
87
85
  require_paths:
88
86
  - lib
@@ -90,15 +88,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
88
  requirements:
91
89
  - - ">="
92
90
  - !ruby/object:Gem::Version
93
- version: '2.7'
91
+ version: '3.0'
94
92
  required_rubygems_version: !ruby/object:Gem::Requirement
95
93
  requirements:
96
94
  - - ">="
97
95
  - !ruby/object:Gem::Version
98
96
  version: '0'
99
97
  requirements: []
100
- rubygems_version: 3.5.23
101
- signing_key:
98
+ rubygems_version: 3.6.8
102
99
  specification_version: 4
103
100
  summary: An API for accessing Advisory Notifications in Google Cloud.
104
101
  test_files: []