google-iam-v1 0.3.beta.3 → 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: a3b5442316ad0d97c6e4ea7fc9e0599e4a3782b91fec0c0da55e9fb7ea0ea86a
4
- data.tar.gz: 123d76256489bf1522530d1c22f5a1784e1ffb53fc5d4d89304ee49b77fad463
3
+ metadata.gz: 6b5872254fd58ec34e5cf366e8ca3b49f841d4c2e1eed1a80151dec7724b90e9
4
+ data.tar.gz: 565347b3be0f00846970212f10f0bbb9e8d066b3750250aef88256e526e6712e
5
5
  SHA512:
6
- metadata.gz: 0e8c655e87db2835cfc942b64258a2cdfdd3ebdf4514b764e4cd7ad15f2dacb2fee1586504c443ed7fe9686416580a3b08b469074ec93a59a44f06c311771ebd
7
- data.tar.gz: b42f06925d6b80cbe11fb5637cb007e273a245bae7cffdc1db9e3ff0f9891c516da92487e65c7eda010463a95722c5cf3bc38cd0093127df91020ac58e9fad78
6
+ metadata.gz: 37696385d9febdc19df724b482dcbb66a85089486062a487946eb635217a47f2f9acb12063ee7401e7c715f14465db8784c7948dc21d972e63af0ec1fce4521c
7
+ data.tar.gz: 7dfdba285b06ada68fae0a23221524dc3a16e2719f5eeb2589a797beedb5e4cc055a1ec7c2e32dc4f71d889495deda3783483e18f93f513533132c0d5c870cc9
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2023 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -192,9 +192,9 @@ module Google
192
192
  # following default mask is used:
193
193
  #
194
194
  # `paths: "bindings, etag"`
195
- # @yield [result, response] Access the result along with the Faraday response object
195
+ # @yield [result, operation] Access the result along with the TransportOperation object
196
196
  # @yieldparam result [::Google::Iam::V1::Policy]
197
- # @yieldparam response [::Faraday::Response]
197
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
198
198
  #
199
199
  # @return [::Google::Iam::V1::Policy]
200
200
  #
@@ -228,8 +228,8 @@ module Google
228
228
 
229
229
  bindings_override = @config.bindings_override["google.iam.v1.IAMPolicy.SetIamPolicy"]
230
230
 
231
- @iam_policy_stub.set_iam_policy request, options, bindings_override: bindings_override do |result, response|
232
- yield result, response if block_given?
231
+ @iam_policy_stub.set_iam_policy request, options, bindings_override: bindings_override do |result, operation|
232
+ yield result, operation if block_given?
233
233
  return result
234
234
  end
235
235
  rescue ::Gapic::Rest::Error => e
@@ -262,9 +262,9 @@ module Google
262
262
  # @param options [::Google::Iam::V1::GetPolicyOptions, ::Hash]
263
263
  # OPTIONAL: A `GetPolicyOptions` object for specifying options to
264
264
  # `GetIamPolicy`.
265
- # @yield [result, response] Access the result along with the Faraday response object
265
+ # @yield [result, operation] Access the result along with the TransportOperation object
266
266
  # @yieldparam result [::Google::Iam::V1::Policy]
267
- # @yieldparam response [::Faraday::Response]
267
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
268
268
  #
269
269
  # @return [::Google::Iam::V1::Policy]
270
270
  #
@@ -298,8 +298,8 @@ module Google
298
298
 
299
299
  bindings_override = @config.bindings_override["google.iam.v1.IAMPolicy.GetIamPolicy"]
300
300
 
301
- @iam_policy_stub.get_iam_policy request, options, bindings_override: bindings_override do |result, response|
302
- yield result, response if block_given?
301
+ @iam_policy_stub.get_iam_policy request, options, bindings_override: bindings_override do |result, operation|
302
+ yield result, operation if block_given?
303
303
  return result
304
304
  end
305
305
  rescue ::Gapic::Rest::Error => e
@@ -338,9 +338,9 @@ module Google
338
338
  # wildcards (such as '*' or 'storage.*') are not allowed. For more
339
339
  # information see
340
340
  # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
341
- # @yield [result, response] Access the result along with the Faraday response object
341
+ # @yield [result, operation] Access the result along with the TransportOperation object
342
342
  # @yieldparam result [::Google::Iam::V1::TestIamPermissionsResponse]
343
- # @yieldparam response [::Faraday::Response]
343
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
344
344
  #
345
345
  # @return [::Google::Iam::V1::TestIamPermissionsResponse]
346
346
  #
@@ -374,8 +374,8 @@ module Google
374
374
 
375
375
  bindings_override = @config.bindings_override["google.iam.v1.IAMPolicy.TestIamPermissions"]
376
376
 
377
- @iam_policy_stub.test_iam_permissions request, options, bindings_override: bindings_override do |result, response|
378
- yield result, response if block_given?
377
+ @iam_policy_stub.test_iam_permissions request, options, bindings_override: bindings_override do |result, operation|
378
+ yield result, operation if block_given?
379
379
  return result
380
380
  end
381
381
  rescue ::Gapic::Rest::Error => e
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2023 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -49,9 +49,9 @@ module Google
49
49
  # @param bindings_override [::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>, nil]
50
50
  # Binding overrides for the transcoding. Only used internally.
51
51
  #
52
- # @yield [result, response] Access the result along with the Faraday response object
52
+ # @yield [result, operation] Access the result along with the TransportOperation object
53
53
  # @yieldparam result [::Google::Iam::V1::Policy]
54
- # @yieldparam response [::Faraday::Response]
54
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
55
55
  #
56
56
  # @return [::Google::Iam::V1::Policy]
57
57
  # A result object deserialized from the server's reply
@@ -72,9 +72,10 @@ module Google
72
72
  params: query_string_params,
73
73
  options: options
74
74
  )
75
+ operation = ::Gapic::Rest::TransportOperation.new response
75
76
  result = ::Google::Iam::V1::Policy.decode_json response.body, ignore_unknown_fields: true
76
77
 
77
- yield result, response if block_given?
78
+ yield result, operation if block_given?
78
79
  result
79
80
  end
80
81
 
@@ -88,9 +89,9 @@ module Google
88
89
  # @param bindings_override [::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>, nil]
89
90
  # Binding overrides for the transcoding. Only used internally.
90
91
  #
91
- # @yield [result, response] Access the result along with the Faraday response object
92
+ # @yield [result, operation] Access the result along with the TransportOperation object
92
93
  # @yieldparam result [::Google::Iam::V1::Policy]
93
- # @yieldparam response [::Faraday::Response]
94
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
94
95
  #
95
96
  # @return [::Google::Iam::V1::Policy]
96
97
  # A result object deserialized from the server's reply
@@ -111,9 +112,10 @@ module Google
111
112
  params: query_string_params,
112
113
  options: options
113
114
  )
115
+ operation = ::Gapic::Rest::TransportOperation.new response
114
116
  result = ::Google::Iam::V1::Policy.decode_json response.body, ignore_unknown_fields: true
115
117
 
116
- yield result, response if block_given?
118
+ yield result, operation if block_given?
117
119
  result
118
120
  end
119
121
 
@@ -127,9 +129,9 @@ module Google
127
129
  # @param bindings_override [::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>, nil]
128
130
  # Binding overrides for the transcoding. Only used internally.
129
131
  #
130
- # @yield [result, response] Access the result along with the Faraday response object
132
+ # @yield [result, operation] Access the result along with the TransportOperation object
131
133
  # @yieldparam result [::Google::Iam::V1::TestIamPermissionsResponse]
132
- # @yieldparam response [::Faraday::Response]
134
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
133
135
  #
134
136
  # @return [::Google::Iam::V1::TestIamPermissionsResponse]
135
137
  # A result object deserialized from the server's reply
@@ -150,9 +152,10 @@ module Google
150
152
  params: query_string_params,
151
153
  options: options
152
154
  )
155
+ operation = ::Gapic::Rest::TransportOperation.new response
153
156
  result = ::Google::Iam::V1::TestIamPermissionsResponse.decode_json response.body, ignore_unknown_fields: true
154
157
 
155
- yield result, response if block_given?
158
+ yield result, operation if block_given?
156
159
  result
157
160
  end
158
161
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2023 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2023 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Iam
22
22
  module V1
23
- VERSION = "0.3.beta.3"
23
+ VERSION = "0.4.0"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-iam-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.beta.3
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-14 00:00:00.000000000 Z
11
+ date: 2023-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.16.0
19
+ version: 0.17.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.16.0
29
+ version: 0.17.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -212,7 +212,7 @@ homepage: https://github.com/googleapis/google-cloud-ruby
212
212
  licenses:
213
213
  - Apache-2.0
214
214
  metadata: {}
215
- post_install_message:
215
+ post_install_message:
216
216
  rdoc_options: []
217
217
  require_paths:
218
218
  - lib
@@ -223,12 +223,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
223
223
  version: '2.6'
224
224
  required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  requirements:
226
- - - ">"
226
+ - - ">="
227
227
  - !ruby/object:Gem::Version
228
- version: 1.3.1
228
+ version: '0'
229
229
  requirements: []
230
- rubygems_version: 3.3.7
231
- signing_key:
230
+ rubygems_version: 3.4.2
231
+ signing_key:
232
232
  specification_version: 4
233
233
  summary: API Client library for the IAM API
234
234
  test_files: []