google-cloud-commerce-consumer-procurement-v1 1.5.0 → 1.6.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: b83225030ee5948cd723c104786f42c454ad07fa18fd7fc636457db32392799d
4
- data.tar.gz: 23a1f4bdb5c578d3018db456f0a46fb9bd4511d49ab14d70ff4eaa27697fc027
3
+ metadata.gz: cbb84b1960b172f6980388c69ceee8e7ef2192e387978fe501c06025070986bc
4
+ data.tar.gz: 8f259691a7c9071a3fdc604d3c6f690e5443b7d8efd6220689d7b9f87800bd06
5
5
  SHA512:
6
- metadata.gz: fed6e606a7eeb725dea495a08b1e95b35b8fd5772b8e188680dc8adab8feb22dda3ffd4acf8b3293406fe33420db31b7bd81f30790a51f0cdf51a4bd68c93a1d
7
- data.tar.gz: 623b9dd86ae9cf81d60bf771bcca7fcfc7c89559fd067ffb4f800ba3fc92028987ffb96981aca822e7a77e81794cd909ca2eedf9fdce3a621e7093c269bed65b
6
+ metadata.gz: '0695c7c833ed915bb5c814f9e31db88d898408f12a9e65f71f5899c7fd8352e8bbe1e32b69a815278281a9af2f0eb437432f7ad7c5fcca8579c3bce86f3a5219'
7
+ data.tar.gz: 7a34f06cad8733f37f3ad761873338c2a0734cc9d1c83142e92f2267f1b893deaeca6dc2a547f73ba92e40dbbbfaaf0caa47dcb5759651f117b2df96dd492681
@@ -781,8 +781,6 @@ module Google
781
781
  # @return [::String,nil]
782
782
  # @!attribute [rw] credentials
783
783
  # Credentials to send with calls. You may provide any of the following types:
784
- # * (`String`) The path to a service account key file in JSON format
785
- # * (`Hash`) A service account key as a Hash
786
784
  # * (`Google::Auth::Credentials`) A googleauth credentials object
787
785
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
788
786
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -791,7 +789,26 @@ module Google
791
789
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
792
790
  # * (`nil`) indicating no credentials
793
791
  #
794
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
792
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
793
+ # is deprecated. Providing an unvalidated credential configuration to
794
+ # Google APIs can compromise the security of your systems and data.
795
+ #
796
+ # @example
797
+ #
798
+ # # The recommended way to provide credentials is to use the `make_creds` method
799
+ # # on the appropriate credentials class for your environment.
800
+ #
801
+ # require "googleauth"
802
+ #
803
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
804
+ # json_key_io: ::File.open("/path/to/keyfile.json")
805
+ # )
806
+ #
807
+ # client = ::Google::Cloud::Commerce::Consumer::Procurement::V1::ConsumerProcurementService::Client.new do |config|
808
+ # config.credentials = credentials
809
+ # end
810
+ #
811
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
795
812
  # external source for authentication to Google Cloud, you must validate it before
796
813
  # providing it to a Google API client library. Providing an unvalidated credential
797
814
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -136,7 +136,7 @@ module Google
136
136
  # @param options [::Gapic::CallOptions, ::Hash]
137
137
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
138
138
  #
139
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
139
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
140
140
  # Pass arguments to `list_operations` via keyword arguments. Note that at
141
141
  # least one keyword argument is required. To specify no parameters, or to keep all
142
142
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -149,6 +149,17 @@ module Google
149
149
  # The standard list page size.
150
150
  # @param page_token [::String]
151
151
  # The standard list page token.
152
+ # @param return_partial_success [::Boolean]
153
+ # When set to `true`, operations that are reachable are returned as normal,
154
+ # and those that are unreachable are returned in the
155
+ # [ListOperationsResponse.unreachable] field.
156
+ #
157
+ # This can only be `true` when reading across collections e.g. when `parent`
158
+ # is set to `"projects/example/locations/-"`.
159
+ #
160
+ # This field is not by default supported and will result in an
161
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
162
+ # service or product specific documentation.
152
163
  #
153
164
  # @yield [response, operation] Access the result along with the RPC operation
154
165
  # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
@@ -633,8 +644,6 @@ module Google
633
644
  # @return [::String,nil]
634
645
  # @!attribute [rw] credentials
635
646
  # Credentials to send with calls. You may provide any of the following types:
636
- # * (`String`) The path to a service account key file in JSON format
637
- # * (`Hash`) A service account key as a Hash
638
647
  # * (`Google::Auth::Credentials`) A googleauth credentials object
639
648
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
640
649
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -643,7 +652,26 @@ module Google
643
652
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
644
653
  # * (`nil`) indicating no credentials
645
654
  #
646
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
655
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
656
+ # is deprecated. Providing an unvalidated credential configuration to
657
+ # Google APIs can compromise the security of your systems and data.
658
+ #
659
+ # @example
660
+ #
661
+ # # The recommended way to provide credentials is to use the `make_creds` method
662
+ # # on the appropriate credentials class for your environment.
663
+ #
664
+ # require "googleauth"
665
+ #
666
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
667
+ # json_key_io: ::File.open("/path/to/keyfile.json")
668
+ # )
669
+ #
670
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
671
+ # config.credentials = credentials
672
+ # end
673
+ #
674
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
647
675
  # external source for authentication to Google Cloud, you must validate it before
648
676
  # providing it to a Google API client library. Providing an unvalidated credential
649
677
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -127,7 +127,7 @@ module Google
127
127
  # @param options [::Gapic::CallOptions, ::Hash]
128
128
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
129
129
  #
130
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
130
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
131
131
  # Pass arguments to `list_operations` via keyword arguments. Note that at
132
132
  # least one keyword argument is required. To specify no parameters, or to keep all
133
133
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -140,6 +140,17 @@ module Google
140
140
  # The standard list page size.
141
141
  # @param page_token [::String]
142
142
  # The standard list page token.
143
+ # @param return_partial_success [::Boolean]
144
+ # When set to `true`, operations that are reachable are returned as normal,
145
+ # and those that are unreachable are returned in the
146
+ # [ListOperationsResponse.unreachable] field.
147
+ #
148
+ # This can only be `true` when reading across collections e.g. when `parent`
149
+ # is set to `"projects/example/locations/-"`.
150
+ #
151
+ # This field is not by default supported and will result in an
152
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
153
+ # service or product specific documentation.
143
154
  # @yield [result, operation] Access the result along with the TransportOperation object
144
155
  # @yieldparam result [::Gapic::Operation]
145
156
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -670,8 +670,6 @@ module Google
670
670
  # @return [::String,nil]
671
671
  # @!attribute [rw] credentials
672
672
  # Credentials to send with calls. You may provide any of the following types:
673
- # * (`String`) The path to a service account key file in JSON format
674
- # * (`Hash`) A service account key as a Hash
675
673
  # * (`Google::Auth::Credentials`) A googleauth credentials object
676
674
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
677
675
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -680,7 +678,26 @@ module Google
680
678
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
681
679
  # * (`nil`) indicating no credentials
682
680
  #
683
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
681
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
682
+ # is deprecated. Providing an unvalidated credential configuration to
683
+ # Google APIs can compromise the security of your systems and data.
684
+ #
685
+ # @example
686
+ #
687
+ # # The recommended way to provide credentials is to use the `make_creds` method
688
+ # # on the appropriate credentials class for your environment.
689
+ #
690
+ # require "googleauth"
691
+ #
692
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
693
+ # json_key_io: ::File.open("/path/to/keyfile.json")
694
+ # )
695
+ #
696
+ # client = ::Google::Cloud::Commerce::Consumer::Procurement::V1::LicenseManagementService::Client.new do |config|
697
+ # config.credentials = credentials
698
+ # end
699
+ #
700
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
684
701
  # external source for authentication to Google Cloud, you must validate it before
685
702
  # providing it to a Google API client library. Providing an unvalidated credential
686
703
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -23,7 +23,7 @@ module Google
23
23
  module Consumer
24
24
  module Procurement
25
25
  module V1
26
- VERSION = "1.5.0"
26
+ VERSION = "1.6.1"
27
27
  end
28
28
  end
29
29
  end
@@ -83,6 +83,18 @@ module Google
83
83
  # @!attribute [rw] page_token
84
84
  # @return [::String]
85
85
  # The standard list page token.
86
+ # @!attribute [rw] return_partial_success
87
+ # @return [::Boolean]
88
+ # When set to `true`, operations that are reachable are returned as normal,
89
+ # and those that are unreachable are returned in the
90
+ # [ListOperationsResponse.unreachable] field.
91
+ #
92
+ # This can only be `true` when reading across collections e.g. when `parent`
93
+ # is set to `"projects/example/locations/-"`.
94
+ #
95
+ # This field is not by default supported and will result in an
96
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
97
+ # service or product specific documentation.
86
98
  class ListOperationsRequest
87
99
  include ::Google::Protobuf::MessageExts
88
100
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -96,6 +108,12 @@ module Google
96
108
  # @!attribute [rw] next_page_token
97
109
  # @return [::String]
98
110
  # The standard List next-page token.
111
+ # @!attribute [rw] unreachable
112
+ # @return [::Array<::String>]
113
+ # Unordered list. Unreachable resources. Populated when the request sets
114
+ # `ListOperationsRequest.return_partial_success` and reads across
115
+ # collections e.g. when attempting to list all resources across all supported
116
+ # locations.
99
117
  class ListOperationsResponse
100
118
  include ::Google::Protobuf::MessageExts
101
119
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
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.5.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC