google-cloud-essential_contacts-v1 0.1.1 → 0.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e055e225c35ebb515a17d6e81decb830f77265c61ccf38b7583bfdb3294b0a64
|
4
|
+
data.tar.gz: dbcdaf2ad49769659b1a53d902307bd67c6699855d078bd2da5e763b7902e1af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 494470453ddc4690a02c99aa2afb6b17edc394a50f7fdf55870f566dd25e262c222a5fbb271a276c7aa4f1003b8f4a7b4098e3629c2ca8e79ba9fb1780004d41
|
7
|
+
data.tar.gz: 063c1c02104e37c2feb45a28d955367708114f733efe3414964679ce2f85f8edbcbc458d09747972b9e815aebb05280fb44daeb68c85a2937bacb5d4458d84d5
|
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Cloud::EssentialContacts::V1::EssentialContactsService::Client::Configuration}
|
42
42
|
# for a description of the configuration fields.
|
43
43
|
#
|
44
|
-
#
|
44
|
+
# @example
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# end
|
46
|
+
# # Modify the configuration for all EssentialContactsService clients
|
47
|
+
# ::Google::Cloud::EssentialContacts::V1::EssentialContactsService::Client.configure do |config|
|
48
|
+
# config.timeout = 10.0
|
49
|
+
# end
|
51
50
|
#
|
52
51
|
# @yield [config] Configure the Client client.
|
53
52
|
# @yieldparam config [Client::Configuration]
|
@@ -114,19 +113,15 @@ module Google
|
|
114
113
|
##
|
115
114
|
# Create a new EssentialContactsService client object.
|
116
115
|
#
|
117
|
-
#
|
118
|
-
#
|
119
|
-
# To create a new EssentialContactsService client with the default
|
120
|
-
# configuration:
|
116
|
+
# @example
|
121
117
|
#
|
122
|
-
#
|
118
|
+
# # Create a client using the default configuration
|
119
|
+
# client = ::Google::Cloud::EssentialContacts::V1::EssentialContactsService::Client.new
|
123
120
|
#
|
124
|
-
#
|
125
|
-
#
|
126
|
-
#
|
127
|
-
#
|
128
|
-
# config.timeout = 10.0
|
129
|
-
# end
|
121
|
+
# # Create a client using a custom configuration
|
122
|
+
# client = ::Google::Cloud::EssentialContacts::V1::EssentialContactsService::Client.new do |config|
|
123
|
+
# config.timeout = 10.0
|
124
|
+
# end
|
130
125
|
#
|
131
126
|
# @yield [config] Configure the EssentialContactsService client.
|
132
127
|
# @yieldparam config [Client::Configuration]
|
@@ -146,10 +141,9 @@ module Google
|
|
146
141
|
|
147
142
|
# Create credentials
|
148
143
|
credentials = @config.credentials
|
149
|
-
# Use self-signed JWT if the
|
144
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
150
145
|
# but only if the default endpoint does not have a region prefix.
|
151
|
-
enable_self_signed_jwt = @config.
|
152
|
-
@config.endpoint == Client.configure.endpoint &&
|
146
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
153
147
|
!@config.endpoint.split(".").first.include?("-")
|
154
148
|
credentials ||= Credentials.default scope: @config.scope,
|
155
149
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -230,7 +224,9 @@ module Google
|
|
230
224
|
options.apply_defaults timeout: @config.rpcs.create_contact.timeout,
|
231
225
|
metadata: metadata,
|
232
226
|
retry_policy: @config.rpcs.create_contact.retry_policy
|
233
|
-
|
227
|
+
|
228
|
+
options.apply_defaults timeout: @config.timeout,
|
229
|
+
metadata: @config.metadata,
|
234
230
|
retry_policy: @config.retry_policy
|
235
231
|
|
236
232
|
@essential_contacts_service_stub.call_rpc :create_contact, request, options: options do |response, operation|
|
@@ -302,7 +298,9 @@ module Google
|
|
302
298
|
options.apply_defaults timeout: @config.rpcs.update_contact.timeout,
|
303
299
|
metadata: metadata,
|
304
300
|
retry_policy: @config.rpcs.update_contact.retry_policy
|
305
|
-
|
301
|
+
|
302
|
+
options.apply_defaults timeout: @config.timeout,
|
303
|
+
metadata: @config.metadata,
|
306
304
|
retry_policy: @config.retry_policy
|
307
305
|
|
308
306
|
@essential_contacts_service_stub.call_rpc :update_contact, request, options: options do |response, operation|
|
@@ -380,7 +378,9 @@ module Google
|
|
380
378
|
options.apply_defaults timeout: @config.rpcs.list_contacts.timeout,
|
381
379
|
metadata: metadata,
|
382
380
|
retry_policy: @config.rpcs.list_contacts.retry_policy
|
383
|
-
|
381
|
+
|
382
|
+
options.apply_defaults timeout: @config.timeout,
|
383
|
+
metadata: @config.metadata,
|
384
384
|
retry_policy: @config.retry_policy
|
385
385
|
|
386
386
|
@essential_contacts_service_stub.call_rpc :list_contacts, request, options: options do |response, operation|
|
@@ -450,7 +450,9 @@ module Google
|
|
450
450
|
options.apply_defaults timeout: @config.rpcs.get_contact.timeout,
|
451
451
|
metadata: metadata,
|
452
452
|
retry_policy: @config.rpcs.get_contact.retry_policy
|
453
|
-
|
453
|
+
|
454
|
+
options.apply_defaults timeout: @config.timeout,
|
455
|
+
metadata: @config.metadata,
|
454
456
|
retry_policy: @config.retry_policy
|
455
457
|
|
456
458
|
@essential_contacts_service_stub.call_rpc :get_contact, request, options: options do |response, operation|
|
@@ -519,7 +521,9 @@ module Google
|
|
519
521
|
options.apply_defaults timeout: @config.rpcs.delete_contact.timeout,
|
520
522
|
metadata: metadata,
|
521
523
|
retry_policy: @config.rpcs.delete_contact.retry_policy
|
522
|
-
|
524
|
+
|
525
|
+
options.apply_defaults timeout: @config.timeout,
|
526
|
+
metadata: @config.metadata,
|
523
527
|
retry_policy: @config.retry_policy
|
524
528
|
|
525
529
|
@essential_contacts_service_stub.call_rpc :delete_contact, request, options: options do |response, operation|
|
@@ -603,7 +607,9 @@ module Google
|
|
603
607
|
options.apply_defaults timeout: @config.rpcs.compute_contacts.timeout,
|
604
608
|
metadata: metadata,
|
605
609
|
retry_policy: @config.rpcs.compute_contacts.retry_policy
|
606
|
-
|
610
|
+
|
611
|
+
options.apply_defaults timeout: @config.timeout,
|
612
|
+
metadata: @config.metadata,
|
607
613
|
retry_policy: @config.retry_policy
|
608
614
|
|
609
615
|
@essential_contacts_service_stub.call_rpc :compute_contacts, request, options: options do |response, operation|
|
@@ -683,7 +689,9 @@ module Google
|
|
683
689
|
options.apply_defaults timeout: @config.rpcs.send_test_message.timeout,
|
684
690
|
metadata: metadata,
|
685
691
|
retry_policy: @config.rpcs.send_test_message.retry_policy
|
686
|
-
|
692
|
+
|
693
|
+
options.apply_defaults timeout: @config.timeout,
|
694
|
+
metadata: @config.metadata,
|
687
695
|
retry_policy: @config.retry_policy
|
688
696
|
|
689
697
|
@essential_contacts_service_stub.call_rpc :send_test_message, request, options: options do |response, operation|
|
@@ -707,22 +715,21 @@ module Google
|
|
707
715
|
# Configuration can be applied globally to all clients, or to a single client
|
708
716
|
# on construction.
|
709
717
|
#
|
710
|
-
#
|
711
|
-
#
|
712
|
-
#
|
713
|
-
# to 20 seconds,
|
714
|
-
#
|
715
|
-
#
|
716
|
-
#
|
717
|
-
#
|
718
|
-
#
|
719
|
-
#
|
720
|
-
#
|
721
|
-
#
|
722
|
-
#
|
723
|
-
#
|
724
|
-
#
|
725
|
-
# end
|
718
|
+
# @example
|
719
|
+
#
|
720
|
+
# # Modify the global config, setting the timeout for
|
721
|
+
# # create_contact to 20 seconds,
|
722
|
+
# # and all remaining timeouts to 10 seconds.
|
723
|
+
# ::Google::Cloud::EssentialContacts::V1::EssentialContactsService::Client.configure do |config|
|
724
|
+
# config.timeout = 10.0
|
725
|
+
# config.rpcs.create_contact.timeout = 20.0
|
726
|
+
# end
|
727
|
+
#
|
728
|
+
# # Apply the above configuration only to a new client.
|
729
|
+
# client = ::Google::Cloud::EssentialContacts::V1::EssentialContactsService::Client.new do |config|
|
730
|
+
# config.timeout = 10.0
|
731
|
+
# config.rpcs.create_contact.timeout = 20.0
|
732
|
+
# end
|
726
733
|
#
|
727
734
|
# @!attribute [rw] endpoint
|
728
735
|
# The hostname or hostname:port of the service endpoint.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-essential_contacts-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-11 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.
|
19
|
+
version: '0.7'
|
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.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|