google-shopping-merchant-promotions-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: 8b4c5e1aac856db45adde140b88445dcddd9e5c50fe2bd3758f2b7298c37287f
4
- data.tar.gz: 0dfc936bd08c6415dce2b457d0794661bfedb02a3594c5863324771eba27b545
3
+ metadata.gz: 7aa8212785ea54a0f7fe1ca0908761143142f2cfdf5e290945b68dcc1bc4e1c8
4
+ data.tar.gz: 9b654082b20ff2619c4853f0747d37c017e105ef8c3c6216a4bc129248214c82
5
5
  SHA512:
6
- metadata.gz: c1240219b1585b7727e2aef45cc7e54924f2cf4e92da2a36cbddbdb2be1ec5fd32e19aaa0822eca0910e2d45b3d6ab889d9d6a8b62eb0abd44a4b69d34861cb1
7
- data.tar.gz: be21f896c7aa4ab8b349a879faedfdcd22588b90a7dd592992dd53a15f7e6bbb4fa64e7ec67a0e6dc94358d5b1ebc19ed02b6d8b26bfc45edba408f5bb1c78d1
6
+ metadata.gz: a729cd9cbea6be7545459b711ee722abc03adef80c58858f9bd660b972769ed80a5f3375f4b5a8b4f03c7c36cd32c93827e27bb822e0e8f83b3a0d2f38652382
7
+ data.tar.gz: 46377ec86d124dbf5150fff73b9ead88e4d1bdde59daa5d12be803246958e0f11b6f49e964342d57ddf1a76dedcd6bbd7365255def6d71c68db9ebe3e3c99d77
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
@@ -513,6 +513,13 @@ module Google
513
513
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
514
514
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
515
515
  # * (`nil`) indicating no credentials
516
+ #
517
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
518
+ # external source for authentication to Google Cloud, you must validate it before
519
+ # providing it to a Google API client library. Providing an unvalidated credential
520
+ # configuration to Google APIs can compromise the security of your systems and data.
521
+ # For more information, refer to [Validate credential configurations from external
522
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
516
523
  # @return [::Object]
517
524
  # @!attribute [rw] scope
518
525
  # The OAuth scopes
@@ -567,8 +574,8 @@ module Google
567
574
 
568
575
  config_attr :endpoint, nil, ::String, nil
569
576
  config_attr :credentials, nil do |value|
570
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
571
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
577
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
578
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
572
579
  allowed.any? { |klass| klass === value }
573
580
  end
574
581
  config_attr :scope, nil, ::String, ::Array, nil
@@ -483,6 +483,13 @@ module Google
483
483
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
484
484
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
485
485
  # * (`nil`) indicating no credentials
486
+ #
487
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
488
+ # external source for authentication to Google Cloud, you must validate it before
489
+ # providing it to a Google API client library. Providing an unvalidated credential
490
+ # configuration to Google APIs can compromise the security of your systems and data.
491
+ # For more information, refer to [Validate credential configurations from external
492
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
486
493
  # @return [::Object]
487
494
  # @!attribute [rw] scope
488
495
  # The OAuth scopes
@@ -530,7 +537,7 @@ module Google
530
537
 
531
538
  config_attr :endpoint, nil, ::String, nil
532
539
  config_attr :credentials, nil do |value|
533
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
540
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
534
541
  allowed.any? { |klass| klass === value }
535
542
  end
536
543
  config_attr :scope, nil, ::String, ::Array, nil
@@ -22,7 +22,7 @@ module Google
22
22
  module Merchant
23
23
  module Promotions
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
metadata CHANGED
@@ -1,35 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-promotions-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
@@ -106,7 +99,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
106
99
  licenses:
107
100
  - Apache-2.0
108
101
  metadata: {}
109
- post_install_message:
110
102
  rdoc_options: []
111
103
  require_paths:
112
104
  - lib
@@ -114,15 +106,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
106
  requirements:
115
107
  - - ">="
116
108
  - !ruby/object:Gem::Version
117
- version: '2.7'
109
+ version: '3.1'
118
110
  required_rubygems_version: !ruby/object:Gem::Requirement
119
111
  requirements:
120
112
  - - ">="
121
113
  - !ruby/object:Gem::Version
122
114
  version: '0'
123
115
  requirements: []
124
- rubygems_version: 3.5.23
125
- signing_key:
116
+ rubygems_version: 3.6.8
126
117
  specification_version: 4
127
118
  summary: Programmatically manage your Merchant Center accounts.
128
119
  test_files: []