google-iam-v1 0.3.beta.2 → 0.3.beta.3

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: 82b5591af8a5a0b9428f2c8f136d10418e7434659fdb4ec4f852699c889aecc8
4
- data.tar.gz: ee7035a864f0282f43c73aa41bd5779840d433a35826e05e979c2b941ff55be1
3
+ metadata.gz: a3b5442316ad0d97c6e4ea7fc9e0599e4a3782b91fec0c0da55e9fb7ea0ea86a
4
+ data.tar.gz: 123d76256489bf1522530d1c22f5a1784e1ffb53fc5d4d89304ee49b77fad463
5
5
  SHA512:
6
- metadata.gz: d11b4cc09c09dcf20d1ee2e605adec53cc6c2af97a1f6e66548af69a5436b0f197bccbe4635c0cfbf6f9e40c93d7a86e469159f5f9f1bb340e3c09ac8c012d63
7
- data.tar.gz: aab1c24a1c3dc8df6f0e3109a2bb17403eb2a41bb23be83efb23885f0ea0e5cef3461d2ed8d26c6244b53f836a935685e4d5cd0204742962cb118fe35352c95b
6
+ metadata.gz: 0e8c655e87db2835cfc942b64258a2cdfdd3ebdf4514b764e4cd7ad15f2dacb2fee1586504c443ed7fe9686416580a3b08b469074ec93a59a44f06c311771ebd
7
+ data.tar.gz: b42f06925d6b80cbe11fb5637cb007e273a245bae7cffdc1db9e3ff0f9891c516da92487e65c7eda010463a95722c5cf3bc38cd0093127df91020ac58e9fad78
@@ -232,12 +232,8 @@ module Google
232
232
  yield result, response if block_given?
233
233
  return result
234
234
  end
235
- rescue ::Faraday::Error => e
236
- begin
237
- raise ::Gapic::Rest::Error.wrap_faraday_error e
238
- rescue ::Gapic::Rest::Error => gapic_error
239
- raise ::Google::Cloud::Error.from_error gapic_error
240
- end
235
+ rescue ::Gapic::Rest::Error => e
236
+ raise ::Google::Cloud::Error.from_error(e)
241
237
  end
242
238
 
243
239
  ##
@@ -306,12 +302,8 @@ module Google
306
302
  yield result, response if block_given?
307
303
  return result
308
304
  end
309
- rescue ::Faraday::Error => e
310
- begin
311
- raise ::Gapic::Rest::Error.wrap_faraday_error e
312
- rescue ::Gapic::Rest::Error => gapic_error
313
- raise ::Google::Cloud::Error.from_error gapic_error
314
- end
305
+ rescue ::Gapic::Rest::Error => e
306
+ raise ::Google::Cloud::Error.from_error(e)
315
307
  end
316
308
 
317
309
  ##
@@ -386,12 +378,8 @@ module Google
386
378
  yield result, response if block_given?
387
379
  return result
388
380
  end
389
- rescue ::Faraday::Error => e
390
- begin
391
- raise ::Gapic::Rest::Error.wrap_faraday_error e
392
- rescue ::Gapic::Rest::Error => gapic_error
393
- raise ::Google::Cloud::Error.from_error gapic_error
394
- end
381
+ rescue ::Gapic::Rest::Error => e
382
+ raise ::Google::Cloud::Error.from_error(e)
395
383
  end
396
384
 
397
385
  ##
@@ -34,7 +34,9 @@ module Google
34
34
  # the REST modules only when it's required.
35
35
  require "gapic/rest"
36
36
 
37
- @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials, numeric_enums: false
37
+ @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials,
38
+ numeric_enums: false,
39
+ raise_faraday_errors: false
38
40
  end
39
41
 
40
42
  ##
@@ -57,12 +57,12 @@ module Google
57
57
  # are created and deleted implicitly with the resources to which they are
58
58
  # attached.
59
59
  #
60
- # To load this service and instantiate a GRPC client:
60
+ # @example Load this service and instantiate a gRPC client
61
61
  #
62
62
  # require "google/iam/v1/iam_policy"
63
63
  # client = ::Google::Iam::V1::IAMPolicy::Client.new
64
64
  #
65
- # To load this service and instantiate a REST client:
65
+ # @example Load this service and instantiate a REST client
66
66
  #
67
67
  # require "google/iam/v1/iam_policy/rest"
68
68
  # client = ::Google::Iam::V1::IAMPolicy::Rest::Client.new
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Iam
22
22
  module V1
23
- VERSION = "0.3.beta.2"
23
+ VERSION = "0.3.beta.3"
24
24
  end
25
25
  end
26
26
  end
data/lib/google/iam/v1.rb CHANGED
@@ -22,17 +22,14 @@ require "google/iam/v1/version"
22
22
  module Google
23
23
  module Iam
24
24
  ##
25
- # To load this package, including all its services, and instantiate a GRPC client:
25
+ # API client module.
26
26
  #
27
- # @example
27
+ # @example Load this package, including all its services, and instantiate a gRPC client
28
28
  #
29
29
  # require "google/iam/v1"
30
30
  # client = ::Google::Iam::V1::IAMPolicy::Client.new
31
31
  #
32
- ##
33
- # To load this package, including all its services, and instantiate a REST client:
34
- #
35
- # @example
32
+ # @example Load this package, including all its services, and instantiate a REST client
36
33
  #
37
34
  # require "google/iam/v1"
38
35
  # client = ::Google::Iam::V1::IAMPolicy::Rest::Client.new
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.2
4
+ version: 0.3.beta.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-09 00:00:00.000000000 Z
11
+ date: 2022-12-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.12'
19
+ version: 0.16.0
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.12'
29
+ version: 0.16.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a