google-cloud-private_catalog-v1beta1 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: 72721c55f9d438582623d826e33d2693d54eda037967fafbdc2c44327d6a20b7
4
- data.tar.gz: 4449acc53f6a94e375a7b8dce9393c94e564c129e2038232ba1442146f86b42f
3
+ metadata.gz: eacff26dd3127ef7e601a302f1c338e60fe0fbf836f379c3adb74c906e457b57
4
+ data.tar.gz: 1f5e3d7ca92525d59e7f221904f2b7ddbcb3bc4ea8ca27ccb375fc53f4850739
5
5
  SHA512:
6
- metadata.gz: 2cf2ca1f3f551cf7d8cddd5daa50163239e516b7722d7ef83b1cbf0e238524813f56e3e8b29ed7d8aefd5c1f8d24511a756539378926c555fd08f880b0daacd8
7
- data.tar.gz: 0cfccde5698cea4eae14d161131028742c0c5e36c02e3c651c56d2f1a5133597f8319501dafe513b7636ad60b95d7913631522d6a09eb80fdaffa6e58776bcf9
6
+ metadata.gz: da10cdf25b291ae7a0f4e7a5697f12e4bf31387e00f4ddd99a42bff732061220e35f000575123180039dae2cea7092330962998aece5f444f73ce4ceb82e997a
7
+ data.tar.gz: 29ab60da4fcdfd1605de96cc062d57c522d80cd9b1ab698f62c79df18879da8a4afb7c0d732a3b7d413d2360077d04d4d86ab7dd52c0fffcebdce7353b129eaa
@@ -553,8 +553,6 @@ module Google
553
553
  # @return [::String,nil]
554
554
  # @!attribute [rw] credentials
555
555
  # Credentials to send with calls. You may provide any of the following types:
556
- # * (`String`) The path to a service account key file in JSON format
557
- # * (`Hash`) A service account key as a Hash
558
556
  # * (`Google::Auth::Credentials`) A googleauth credentials object
559
557
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
560
558
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -563,7 +561,26 @@ module Google
563
561
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
564
562
  # * (`nil`) indicating no credentials
565
563
  #
566
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
564
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
565
+ # is deprecated. Providing an unvalidated credential configuration to
566
+ # Google APIs can compromise the security of your systems and data.
567
+ #
568
+ # @example
569
+ #
570
+ # # The recommended way to provide credentials is to use the `make_creds` method
571
+ # # on the appropriate credentials class for your environment.
572
+ #
573
+ # require "googleauth"
574
+ #
575
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
576
+ # json_key_io: ::File.open("/path/to/keyfile.json")
577
+ # )
578
+ #
579
+ # client = ::Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Client.new do |config|
580
+ # config.credentials = credentials
581
+ # end
582
+ #
583
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
567
584
  # external source for authentication to Google Cloud, you must validate it before
568
585
  # providing it to a Google API client library. Providing an unvalidated credential
569
586
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PrivateCatalog
23
23
  module V1beta1
24
- VERSION = "0.11.0"
24
+ VERSION = "0.12.1"
25
25
  end
26
26
  end
27
27
  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-private_catalog-v1beta1
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