google-iam-v1beta 0.12.0 → 0.13.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: f83cc9d61e8bf9f4cd2364d6c6a3df4992765259f73b6bec78bccf345787fc31
4
- data.tar.gz: 6bd0f0a177e6ac3412cb043628156e1d97fde23afd1eafb6f5cc9be5535fa1ba
3
+ metadata.gz: baff88397211b2fb7d8324ded82bf0c80e7147bde9934d2069ab517b993dc581
4
+ data.tar.gz: 2bacc0640b31a3d1a9734e48511d983440b641ebd337fbc4fa540a109a7110d4
5
5
  SHA512:
6
- metadata.gz: 547bd676cff3650a91874041fce830d7f12db38c70e6b173fc79d1cd0e7e85f47a23813b42b5e55cf4061088277f955d174a8d16745311cf0f993cd1b47d8718
7
- data.tar.gz: 9e3169cb36f31d4991a9d60d87b019ced1ff7547e37ae2a29519e457b2af1e7f7d4588846ea0a6e12bd86f6133e0c2290391a3b350f148d653e5bc57bc343a3c
6
+ metadata.gz: cc9378e1506e1fb915bf43dfb0633bcf6a8b0350be577da3355792d838dbffab764a869c81f9a126d2e38bebe4c8e676e7ae566ff2d7f1b4c910a3d2e5ddf2a6
7
+ data.tar.gz: b91e2e845419c4e5b1d06e419b844dbffb043fa69f1db7360053039d47437d02f65c97b8af9d37eb74e2b41b004dc53723b67bfeb30bb3a3bcf4a929d4a9dc56
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Iam
22
22
  module V1beta
23
- VERSION = "0.12.0"
23
+ VERSION = "0.13.1"
24
24
  end
25
25
  end
26
26
  end
@@ -1471,8 +1471,6 @@ module Google
1471
1471
  # @return [::String,nil]
1472
1472
  # @!attribute [rw] credentials
1473
1473
  # Credentials to send with calls. You may provide any of the following types:
1474
- # * (`String`) The path to a service account key file in JSON format
1475
- # * (`Hash`) A service account key as a Hash
1476
1474
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1477
1475
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1478
1476
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1481,7 +1479,26 @@ module Google
1481
1479
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1482
1480
  # * (`nil`) indicating no credentials
1483
1481
  #
1484
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1482
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1483
+ # is deprecated. Providing an unvalidated credential configuration to
1484
+ # Google APIs can compromise the security of your systems and data.
1485
+ #
1486
+ # @example
1487
+ #
1488
+ # # The recommended way to provide credentials is to use the `make_creds` method
1489
+ # # on the appropriate credentials class for your environment.
1490
+ #
1491
+ # require "googleauth"
1492
+ #
1493
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1494
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1495
+ # )
1496
+ #
1497
+ # client = ::Google::Iam::V1beta::WorkloadIdentityPools::Client.new do |config|
1498
+ # config.credentials = credentials
1499
+ # end
1500
+ #
1501
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1485
1502
  # external source for authentication to Google Cloud, you must validate it before
1486
1503
  # providing it to a Google API client library. Providing an unvalidated credential
1487
1504
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -133,7 +133,7 @@ module Google
133
133
  # @param options [::Gapic::CallOptions, ::Hash]
134
134
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
135
135
  #
136
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
136
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
137
137
  # Pass arguments to `list_operations` via keyword arguments. Note that at
138
138
  # least one keyword argument is required. To specify no parameters, or to keep all
139
139
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -146,6 +146,17 @@ module Google
146
146
  # The standard list page size.
147
147
  # @param page_token [::String]
148
148
  # The standard list page token.
149
+ # @param return_partial_success [::Boolean]
150
+ # When set to `true`, operations that are reachable are returned as normal,
151
+ # and those that are unreachable are returned in the
152
+ # [ListOperationsResponse.unreachable] field.
153
+ #
154
+ # This can only be `true` when reading across collections e.g. when `parent`
155
+ # is set to `"projects/example/locations/-"`.
156
+ #
157
+ # This field is not by default supported and will result in an
158
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
159
+ # service or product specific documentation.
149
160
  #
150
161
  # @yield [response, operation] Access the result along with the RPC operation
151
162
  # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
@@ -630,8 +641,6 @@ module Google
630
641
  # @return [::String,nil]
631
642
  # @!attribute [rw] credentials
632
643
  # Credentials to send with calls. You may provide any of the following types:
633
- # * (`String`) The path to a service account key file in JSON format
634
- # * (`Hash`) A service account key as a Hash
635
644
  # * (`Google::Auth::Credentials`) A googleauth credentials object
636
645
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
637
646
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -640,7 +649,26 @@ module Google
640
649
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
641
650
  # * (`nil`) indicating no credentials
642
651
  #
643
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
652
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
653
+ # is deprecated. Providing an unvalidated credential configuration to
654
+ # Google APIs can compromise the security of your systems and data.
655
+ #
656
+ # @example
657
+ #
658
+ # # The recommended way to provide credentials is to use the `make_creds` method
659
+ # # on the appropriate credentials class for your environment.
660
+ #
661
+ # require "googleauth"
662
+ #
663
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
664
+ # json_key_io: ::File.open("/path/to/keyfile.json")
665
+ # )
666
+ #
667
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
668
+ # config.credentials = credentials
669
+ # end
670
+ #
671
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
644
672
  # external source for authentication to Google Cloud, you must validate it before
645
673
  # providing it to a Google API client library. Providing an unvalidated credential
646
674
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -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-iam-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC