google-shopping-merchant-notifications-v1beta 0.2.0 → 0.4.0

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: 3b5d3b4a938eca91788e42bce5879feebd917936c54ce9931602cd46fb2c9f2f
4
- data.tar.gz: 706fef0196cf4ced733a9bd276701b3f94a0e9553ec1040baf19685ef54e2e00
3
+ metadata.gz: f9c35bc517125c49cbb317968e9466c7d7155053080f42a1cddc537e08ba2c5b
4
+ data.tar.gz: 23d9d5dd8799f95e510cb13defe380c1bb208122043335f333a76cf444c41468
5
5
  SHA512:
6
- metadata.gz: 1518a1146edae6d8278954829c27a1e3ebd1391c8a19ed14e27a985690ab5d5c2e866d2586419ef3608003b5baf1943b15fcd618787e281b3fdc803b4832094e
7
- data.tar.gz: 3171881173e028aa6b47f9cba4e80868161a577c742f331db326024d837cd8a1de002c7ebbfd9e7d0cb065ea5c44cf25a157e1d5331fa031a6d970b00a895fac
6
+ metadata.gz: fb637e9eb7223d73e55dd33dd396e22d5c656eae00081338e13ebe2806af06956690362ae23c22dffd144e71dfbd411345ddf74ec03d3da8ccfdeddfcd89c154
7
+ data.tar.gz: 1324b673c3b806b8610771d4359c8ea589c517ccc8de3874a621dd5c60d2dc0d91e120f923a59168dc05057261d7133747b5781fc50481ca543633fa6b5eaa71
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
@@ -689,6 +689,13 @@ module Google
689
689
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
690
690
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
691
691
  # * (`nil`) indicating no credentials
692
+ #
693
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
694
+ # external source for authentication to Google Cloud, you must validate it before
695
+ # providing it to a Google API client library. Providing an unvalidated credential
696
+ # configuration to Google APIs can compromise the security of your systems and data.
697
+ # For more information, refer to [Validate credential configurations from external
698
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
692
699
  # @return [::Object]
693
700
  # @!attribute [rw] scope
694
701
  # The OAuth scopes
@@ -743,8 +750,8 @@ module Google
743
750
 
744
751
  config_attr :endpoint, nil, ::String, nil
745
752
  config_attr :credentials, nil do |value|
746
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
747
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
753
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
754
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
748
755
  allowed.any? { |klass| klass === value }
749
756
  end
750
757
  config_attr :scope, nil, ::String, ::Array, nil
@@ -645,6 +645,13 @@ module Google
645
645
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
646
646
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
647
647
  # * (`nil`) indicating no credentials
648
+ #
649
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
650
+ # external source for authentication to Google Cloud, you must validate it before
651
+ # providing it to a Google API client library. Providing an unvalidated credential
652
+ # configuration to Google APIs can compromise the security of your systems and data.
653
+ # For more information, refer to [Validate credential configurations from external
654
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
648
655
  # @return [::Object]
649
656
  # @!attribute [rw] scope
650
657
  # The OAuth scopes
@@ -692,7 +699,7 @@ module Google
692
699
 
693
700
  config_attr :endpoint, nil, ::String, nil
694
701
  config_attr :credentials, nil do |value|
695
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
702
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
696
703
  allowed.any? { |klass| klass === value }
697
704
  end
698
705
  config_attr :scope, nil, ::String, ::Array, nil
@@ -22,7 +22,7 @@ module Google
22
22
  module Merchant
23
23
  module Notifications
24
24
  module V1beta
25
- VERSION = "0.2.0"
25
+ VERSION = "0.4.0"
26
26
  end
27
27
  end
28
28
  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
@@ -104,10 +104,14 @@ module Google
104
104
  # If this value is true, the requesting account is notified of the
105
105
  # specified event for all managed accounts (can be subaccounts or other
106
106
  # linked accounts) including newly added accounts on a daily basis.
107
+ #
108
+ # Note: The following fields are mutually exclusive: `all_managed_accounts`, `target_account`. If a field in that set is populated, all other fields in the set will automatically be cleared.
107
109
  # @!attribute [rw] target_account
108
110
  # @return [::String]
109
111
  # The `name` of the account you want to receive notifications for.
110
112
  # Format: `accounts/{account}`
113
+ #
114
+ # Note: The following fields are mutually exclusive: `target_account`, `all_managed_accounts`. If a field in that set is populated, all other fields in the set will automatically be cleared.
111
115
  # @!attribute [r] name
112
116
  # @return [::String]
113
117
  # Output only. The `name` of the notification configuration. Generated by the
metadata CHANGED
@@ -1,35 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-notifications-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.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: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 0.24.0
20
- - - "<"
16
+ - - "~>"
21
17
  - !ruby/object:Gem::Version
22
- version: 2.a
18
+ version: '1.0'
23
19
  type: :runtime
24
20
  prerelease: false
25
21
  version_requirements: !ruby/object:Gem::Requirement
26
22
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 0.24.0
30
- - - "<"
23
+ - - "~>"
31
24
  - !ruby/object:Gem::Version
32
- version: 2.a
25
+ version: '1.0'
33
26
  - !ruby/object:Gem::Dependency
34
27
  name: google-cloud-errors
35
28
  requirement: !ruby/object:Gem::Requirement
@@ -104,7 +97,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
104
97
  licenses:
105
98
  - Apache-2.0
106
99
  metadata: {}
107
- post_install_message:
108
100
  rdoc_options: []
109
101
  require_paths:
110
102
  - lib
@@ -112,15 +104,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
104
  requirements:
113
105
  - - ">="
114
106
  - !ruby/object:Gem::Version
115
- version: '2.7'
107
+ version: '3.1'
116
108
  required_rubygems_version: !ruby/object:Gem::Requirement
117
109
  requirements:
118
110
  - - ">="
119
111
  - !ruby/object:Gem::Version
120
112
  version: '0'
121
113
  requirements: []
122
- rubygems_version: 3.5.23
123
- signing_key:
114
+ rubygems_version: 3.6.8
124
115
  specification_version: 4
125
116
  summary: Programmatically manage your Merchant Center accounts.
126
117
  test_files: []