google-cloud-service_directory-v1beta1 0.4.0 → 0.4.5

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: 37f6620800f84756c9457e60a02fac1343ed345d126ef13ce0fc4ce3f39d7baf
4
- data.tar.gz: 4a44070a4a52a3ea379d2245d69e78ef41d7e3ce7a9962600c1cb7617742efe2
3
+ metadata.gz: b8e99fd3717840ace35767a1d8714c5f0f4baf021c224b84b134e8a382b327de
4
+ data.tar.gz: 77fdfdbd4a9c480201a6d8539a39c77c74a6bf57ab3ab1026a1c4502b6f07cbb
5
5
  SHA512:
6
- metadata.gz: 10e437ea9b9fa1373433b45c33ad5db9cf9f5aa5bf0fabd46d46a1182708beabedbcb0431fc45c7992773ff73ab1f0e77fc0ddbfb83a6bfbb01a465f63b36364
7
- data.tar.gz: 7d76ccd8d90e0b7bb8ab3639b00feacf170571825c1d0cd19e9541b38354712b2f7a9e441fc402126a99af5792d73b1aca0bfc11025e91b14f366099e2796372
6
+ metadata.gz: c93f688aea5cdb8795c4151ff3493a9f0530d93634de194655c19e15f66b9c09bc380fce7efce47792e6c24ca7d2119b9f2ca5a666dfb2879df56da761d8e121
7
+ data.tar.gz: ba1c4a15a981f7cb66cfa48ce08b5032f041786370084dead80b22aa18238f8a1b49c41c724d9f4a09951357d3adf2173b52dac4468ef64d6b6afef0c029de45
data/README.md CHANGED
@@ -18,6 +18,7 @@ In order to use this library, you first need to go through the following steps:
18
18
 
19
19
  1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
20
20
  1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
21
+ 1. [Enable the API.](https://console.cloud.google.com/apis/library/servicedirectory.googleapis.com)
21
22
  1. {file:AUTHENTICATION.md Set up authentication.}
22
23
 
23
24
  ## Quick Start
@@ -33,6 +34,9 @@ response = client.resolve_service request
33
34
  View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-service_directory-v1beta1/latest)
34
35
  for class and method documentation.
35
36
 
37
+ See also the [Product Documentation](https://cloud.google.com/service-directory)
38
+ for general usage information.
39
+
36
40
  ## Enabling Logging
37
41
 
38
42
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
@@ -70,7 +70,7 @@ module Google
70
70
  initial_delay: 1.0,
71
71
  max_delay: 60.0,
72
72
  multiplier: 1.3,
73
- retry_codes: ["UNAVAILABLE", "UNKNOWN"]
73
+ retry_codes: [14, 2]
74
74
  }
75
75
 
76
76
  default_config
@@ -328,7 +328,7 @@ module Google
328
328
 
329
329
  config_attr :endpoint, "servicedirectory.googleapis.com", ::String
330
330
  config_attr :credentials, nil do |value|
331
- allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
331
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
332
332
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
333
333
  allowed.any? { |klass| klass === value }
334
334
  end
@@ -356,7 +356,7 @@ module Google
356
356
  def rpcs
357
357
  @rpcs ||= begin
358
358
  parent_rpcs = nil
359
- parent_rpcs = @parent_config.rpcs if @parent_config&.respond_to? :rpcs
359
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
360
360
  Rpcs.new parent_rpcs
361
361
  end
362
362
  end
@@ -84,7 +84,7 @@ module Google
84
84
  initial_delay: 1.0,
85
85
  max_delay: 60.0,
86
86
  multiplier: 1.3,
87
- retry_codes: ["UNAVAILABLE", "UNKNOWN"]
87
+ retry_codes: [14, 2]
88
88
  }
89
89
 
90
90
  default_config
@@ -1602,7 +1602,7 @@ module Google
1602
1602
 
1603
1603
  config_attr :endpoint, "servicedirectory.googleapis.com", ::String
1604
1604
  config_attr :credentials, nil do |value|
1605
- allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1605
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1606
1606
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1607
1607
  allowed.any? { |klass| klass === value }
1608
1608
  end
@@ -1630,7 +1630,7 @@ module Google
1630
1630
  def rpcs
1631
1631
  @rpcs ||= begin
1632
1632
  parent_rpcs = nil
1633
- parent_rpcs = @parent_config.rpcs if @parent_config&.respond_to? :rpcs
1633
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
1634
1634
  Rpcs.new parent_rpcs
1635
1635
  end
1636
1636
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ServiceDirectory
23
23
  module V1beta1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.4.5"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-service_directory-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-20 00:00:00.000000000 Z
11
+ date: 2020-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.2'
19
+ version: '0.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.2'
26
+ version: '0.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-errors
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -182,7 +182,6 @@ files:
182
182
  - LICENSE.md
183
183
  - README.md
184
184
  - lib/google-cloud-service_directory-v1beta1.rb
185
- - lib/google/cloud/common_resources_pb.rb
186
185
  - lib/google/cloud/service_directory/v1beta1.rb
187
186
  - lib/google/cloud/service_directory/v1beta1/lookup_service.rb
188
187
  - lib/google/cloud/service_directory/v1beta1/lookup_service/client.rb
@@ -233,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
232
  - !ruby/object:Gem::Version
234
233
  version: '0'
235
234
  requirements: []
236
- rubygems_version: 3.0.6
235
+ rubygems_version: 3.1.3
237
236
  signing_key:
238
237
  specification_version: 4
239
238
  summary: API Client library for the Service Directory V1beta1 API
@@ -1,15 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/cloud/common_resources.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/api/resource_pb'
7
- Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_file("google/cloud/common_resources.proto", :syntax => :proto3) do
9
- end
10
- end
11
-
12
- module Google
13
- module Cloud
14
- end
15
- end