google-iam-v1 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 045dfc18d78541730d61042e6f15fca38f75a4473151d6e3339e439d226e6c5d
4
- data.tar.gz: 411d1388ed6a54d7c9fc26d08f90799258522c1f7eea3a500f724205e64647c8
3
+ metadata.gz: 6b5872254fd58ec34e5cf366e8ca3b49f841d4c2e1eed1a80151dec7724b90e9
4
+ data.tar.gz: 565347b3be0f00846970212f10f0bbb9e8d066b3750250aef88256e526e6712e
5
5
  SHA512:
6
- metadata.gz: f10247b482c8a29b7d2154db8552ae6af3fe8ae0477997f7940418ce1677c55ec5e7d5ad4a690baa1cdc9dc32e31bdc6c283d0256429ce1730cce8d86df527e9
7
- data.tar.gz: 8e94329d89e53b14f3e8f1b3ad683c1f09a70d1d4ef1943a53b2542cda7def2922be9c2352fa6865532274d65a6dbf7da5465ba347c6ed698675f210b11ad378
6
+ metadata.gz: 37696385d9febdc19df724b482dcbb66a85089486062a487946eb635217a47f2f9acb12063ee7401e7c715f14465db8784c7948dc21d972e63af0ec1fce4521c
7
+ data.tar.gz: 7dfdba285b06ada68fae0a23221524dc3a16e2719f5eeb2589a797beedb5e4cc055a1ec7c2e32dc4f71d889495deda3783483e18f93f513533132c0d5c870cc9
@@ -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
@@ -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
 
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Iam
22
22
  module V1
23
- VERSION = "0.3.0"
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.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-17 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