google-cloud-commerce-consumer-procurement-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: 58ed77380e4ea6b181eb3f519a17dac764cf7b03a965c42bea614f8dbcce7b95
4
- data.tar.gz: de5ea3ffe884c736113f78889ae9a748e6efe3a8b198e0b8c743cf9b15719e2b
3
+ metadata.gz: 405be81f3ec5b9a61960ce3da3dd8c15203723b4b72eb118c821455e80a5e892
4
+ data.tar.gz: 84a798075482371b8ea8abc0097d8ea66ba7cf861ebb2c264ba75c2b0b82f3ec
5
5
  SHA512:
6
- metadata.gz: d7a8222fc978ddbc4e28f6a2c4ff0210172b381cc12b64496e9201a1054906db24e353731cd9e37a233755cd582f8d9ffad832fc9b153486d8f8f6e03d78d5f4
7
- data.tar.gz: 793969b30df25433e2a6955b44ed6bc71e349c5f65f2731b6640f41542979b8829398709cc679fecc556f9cf023e203f1131258770157ad3f757b135e2c72fb8
6
+ metadata.gz: 321671cdc05e4d174204b4e626bf78fbcd1d9cb3d25b585b46c49824ee1e908da501ce55000bc4444a5d7ee834a25aa829f4f24fb84bd279e622554979f16883
7
+ data.tar.gz: 05d05fb62acf299ab8638e5697bdf2f221f258e9ac889c9c0d80d79a9c6b592655428069c83b85fe2d01522e10a622074d8e2728fbe93a8d339717924bd29a74
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
@@ -790,6 +790,13 @@ module Google
790
790
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
791
791
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
792
792
  # * (`nil`) indicating no credentials
793
+ #
794
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
795
+ # external source for authentication to Google Cloud, you must validate it before
796
+ # providing it to a Google API client library. Providing an unvalidated credential
797
+ # configuration to Google APIs can compromise the security of your systems and data.
798
+ # For more information, refer to [Validate credential configurations from external
799
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
793
800
  # @return [::Object]
794
801
  # @!attribute [rw] scope
795
802
  # The OAuth scopes
@@ -844,8 +851,8 @@ module Google
844
851
 
845
852
  config_attr :endpoint, nil, ::String, nil
846
853
  config_attr :credentials, nil do |value|
847
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
848
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
854
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
855
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
849
856
  allowed.any? { |klass| klass === value }
850
857
  end
851
858
  config_attr :scope, nil, ::String, ::Array, nil
@@ -642,6 +642,13 @@ module Google
642
642
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
643
643
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
644
644
  # * (`nil`) indicating no credentials
645
+ #
646
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
647
+ # external source for authentication to Google Cloud, you must validate it before
648
+ # providing it to a Google API client library. Providing an unvalidated credential
649
+ # configuration to Google APIs can compromise the security of your systems and data.
650
+ # For more information, refer to [Validate credential configurations from external
651
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
645
652
  # @return [::Object]
646
653
  # @!attribute [rw] scope
647
654
  # The OAuth scopes
@@ -696,8 +703,8 @@ module Google
696
703
 
697
704
  config_attr :endpoint, nil, ::String, nil
698
705
  config_attr :credentials, nil do |value|
699
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
700
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
706
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
707
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
701
708
  allowed.any? { |klass| klass === value }
702
709
  end
703
710
  config_attr :scope, nil, ::String, ::Array, nil
@@ -746,6 +746,13 @@ module Google
746
746
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
747
747
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
748
748
  # * (`nil`) indicating no credentials
749
+ #
750
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
751
+ # external source for authentication to Google Cloud, you must validate it before
752
+ # providing it to a Google API client library. Providing an unvalidated credential
753
+ # configuration to Google APIs can compromise the security of your systems and data.
754
+ # For more information, refer to [Validate credential configurations from external
755
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
749
756
  # @return [::Object]
750
757
  # @!attribute [rw] scope
751
758
  # The OAuth scopes
@@ -793,7 +800,7 @@ module Google
793
800
 
794
801
  config_attr :endpoint, nil, ::String, nil
795
802
  config_attr :credentials, nil do |value|
796
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
803
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
797
804
  allowed.any? { |klass| klass === value }
798
805
  end
799
806
  config_attr :scope, nil, ::String, ::Array, nil
@@ -504,6 +504,13 @@ module Google
504
504
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
505
505
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
506
506
  # * (`nil`) indicating no credentials
507
+ #
508
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
509
+ # external source for authentication to Google Cloud, you must validate it before
510
+ # providing it to a Google API client library. Providing an unvalidated credential
511
+ # configuration to Google APIs can compromise the security of your systems and data.
512
+ # For more information, refer to [Validate credential configurations from external
513
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
507
514
  # @return [::Object]
508
515
  # @!attribute [rw] scope
509
516
  # The OAuth scopes
@@ -551,7 +558,7 @@ module Google
551
558
 
552
559
  config_attr :endpoint, nil, ::String, nil
553
560
  config_attr :credentials, nil do |value|
554
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
561
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
555
562
  allowed.any? { |klass| klass === value }
556
563
  end
557
564
  config_attr :scope, nil, ::String, ::Array, nil
@@ -679,6 +679,13 @@ module Google
679
679
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
680
680
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
681
681
  # * (`nil`) indicating no credentials
682
+ #
683
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
684
+ # external source for authentication to Google Cloud, you must validate it before
685
+ # providing it to a Google API client library. Providing an unvalidated credential
686
+ # configuration to Google APIs can compromise the security of your systems and data.
687
+ # For more information, refer to [Validate credential configurations from external
688
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
682
689
  # @return [::Object]
683
690
  # @!attribute [rw] scope
684
691
  # The OAuth scopes
@@ -733,8 +740,8 @@ module Google
733
740
 
734
741
  config_attr :endpoint, nil, ::String, nil
735
742
  config_attr :credentials, nil do |value|
736
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
737
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
743
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
744
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
738
745
  allowed.any? { |klass| klass === value }
739
746
  end
740
747
  config_attr :scope, nil, ::String, ::Array, nil
@@ -635,6 +635,13 @@ module Google
635
635
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
636
636
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
637
637
  # * (`nil`) indicating no credentials
638
+ #
639
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
640
+ # external source for authentication to Google Cloud, you must validate it before
641
+ # providing it to a Google API client library. Providing an unvalidated credential
642
+ # configuration to Google APIs can compromise the security of your systems and data.
643
+ # For more information, refer to [Validate credential configurations from external
644
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
638
645
  # @return [::Object]
639
646
  # @!attribute [rw] scope
640
647
  # The OAuth scopes
@@ -682,7 +689,7 @@ module Google
682
689
 
683
690
  config_attr :endpoint, nil, ::String, nil
684
691
  config_attr :credentials, nil do |value|
685
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
692
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
686
693
  allowed.any? { |klass| klass === value }
687
694
  end
688
695
  config_attr :scope, nil, ::String, ::Array, nil
@@ -23,7 +23,7 @@ module Google
23
23
  module Consumer
24
24
  module Procurement
25
25
  module V1
26
- VERSION = "1.2.0"
26
+ VERSION = "1.3.1"
27
27
  end
28
28
  end
29
29
  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
@@ -27,9 +27,13 @@ module Google
27
27
  # @!attribute [rw] manual_assignment_type
28
28
  # @return [::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol::ManualAssignmentType]
29
29
  # Allow manual assignments triggered by administrative operations only.
30
+ #
31
+ # Note: The following fields are mutually exclusive: `manual_assignment_type`, `auto_assignment_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
30
32
  # @!attribute [rw] auto_assignment_type
31
33
  # @return [::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol::AutoAssignmentType]
32
34
  # Allow automatic assignments triggered by data plane operations.
35
+ #
36
+ # Note: The following fields are mutually exclusive: `auto_assignment_type`, `manual_assignment_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
33
37
  class AssignmentProtocol
34
38
  include ::Google::Protobuf::MessageExts
35
39
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -162,12 +162,18 @@ module Google
162
162
  # @!attribute [rw] int64_value
163
163
  # @return [::Integer]
164
164
  # Represents an int64 value.
165
+ #
166
+ # Note: The following fields are mutually exclusive: `int64_value`, `string_value`, `double_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
165
167
  # @!attribute [rw] string_value
166
168
  # @return [::String]
167
169
  # Represents a string value.
170
+ #
171
+ # Note: The following fields are mutually exclusive: `string_value`, `int64_value`, `double_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
168
172
  # @!attribute [rw] double_value
169
173
  # @return [::Float]
170
174
  # Represents a double value.
175
+ #
176
+ # Note: The following fields are mutually exclusive: `double_value`, `int64_value`, `string_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
171
177
  class Value
172
178
  include ::Google::Protobuf::MessageExts
173
179
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-commerce-consumer-procurement-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-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
@@ -101,7 +100,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
101
100
  licenses:
102
101
  - Apache-2.0
103
102
  metadata: {}
104
- post_install_message:
105
103
  rdoc_options: []
106
104
  require_paths:
107
105
  - lib
@@ -109,15 +107,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
107
  requirements:
110
108
  - - ">="
111
109
  - !ruby/object:Gem::Version
112
- version: '2.7'
110
+ version: '3.0'
113
111
  required_rubygems_version: !ruby/object:Gem::Requirement
114
112
  requirements:
115
113
  - - ">="
116
114
  - !ruby/object:Gem::Version
117
115
  version: '0'
118
116
  requirements: []
119
- rubygems_version: 3.5.23
120
- signing_key:
117
+ rubygems_version: 3.6.8
121
118
  specification_version: 4
122
119
  summary: Enables consumers to procure products served by Cloud Marketplace platform.
123
120
  test_files: []