google-iam-v1 0.3.beta.2 → 0.3.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: 82b5591af8a5a0b9428f2c8f136d10418e7434659fdb4ec4f852699c889aecc8
4
- data.tar.gz: ee7035a864f0282f43c73aa41bd5779840d433a35826e05e979c2b941ff55be1
3
+ metadata.gz: 045dfc18d78541730d61042e6f15fca38f75a4473151d6e3339e439d226e6c5d
4
+ data.tar.gz: 411d1388ed6a54d7c9fc26d08f90799258522c1f7eea3a500f724205e64647c8
5
5
  SHA512:
6
- metadata.gz: d11b4cc09c09dcf20d1ee2e605adec53cc6c2af97a1f6e66548af69a5436b0f197bccbe4635c0cfbf6f9e40c93d7a86e469159f5f9f1bb340e3c09ac8c012d63
7
- data.tar.gz: aab1c24a1c3dc8df6f0e3109a2bb17403eb2a41bb23be83efb23885f0ea0e5cef3461d2ed8d26c6244b53f836a935685e4d5cd0204742962cb118fe35352c95b
6
+ metadata.gz: f10247b482c8a29b7d2154db8552ae6af3fe8ae0477997f7940418ce1677c55ec5e7d5ad4a690baa1cdc9dc32e31bdc6c283d0256429ce1730cce8d86df527e9
7
+ data.tar.gz: 8e94329d89e53b14f3e8f1b3ad683c1f09a70d1d4ef1943a53b2542cda7def2922be9c2352fa6865532274d65a6dbf7da5465ba347c6ed698675f210b11ad378
@@ -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.
@@ -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
  ##
@@ -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.
@@ -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
  ##
@@ -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.
@@ -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
@@ -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.2"
23
+ VERSION = "0.3.0"
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.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-09 00:00:00.000000000 Z
11
+ date: 2023-01-17 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
@@ -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: []