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: c4a2415d1c7bdfa070a55089be3c4340ba04dd63f417128ead75c88d13aaf2ef
4
- data.tar.gz: d1a3db39248f486df6cbcf417db5ff075b081f6126df8a40c1973aeb0f363e54
3
+ metadata.gz: e055e225c35ebb515a17d6e81decb830f77265c61ccf38b7583bfdb3294b0a64
4
+ data.tar.gz: dbcdaf2ad49769659b1a53d902307bd67c6699855d078bd2da5e763b7902e1af
5
5
  SHA512:
6
- metadata.gz: ec7c35dff54a2e3fd014253eaffe4e65811445e8cb041a27408b5d6212b1ea6faffb283f1eccadb29aea3b394a6a7df60d401fc722e297783d09d16c4f93e93f
7
- data.tar.gz: 703d72aa81b49ff2ee3aad0c5b3116092b5bc200fbd76e1a112c99fb77343ffcb38bbb87dc5ede3307aa62db227cc59f109fa93db944413eefb1a7909b1fcd9c
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
- # ## Example
44
+ # @example
45
45
  #
46
- # To modify the configuration for all EssentialContactsService clients:
47
- #
48
- # ::Google::Cloud::EssentialContacts::V1::EssentialContactsService::Client.configure do |config|
49
- # config.timeout = 10.0
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
- # ## Examples
118
- #
119
- # To create a new EssentialContactsService client with the default
120
- # configuration:
116
+ # @example
121
117
  #
122
- # client = ::Google::Cloud::EssentialContacts::V1::EssentialContactsService::Client.new
118
+ # # Create a client using the default configuration
119
+ # client = ::Google::Cloud::EssentialContacts::V1::EssentialContactsService::Client.new
123
120
  #
124
- # To create a new EssentialContactsService client with a custom
125
- # configuration:
126
- #
127
- # client = ::Google::Cloud::EssentialContacts::V1::EssentialContactsService::Client.new do |config|
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 scope and endpoint are unchanged from default,
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.scope == Client.configure.scope &&
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- # # Examples
711
- #
712
- # To modify the global config, setting the timeout for create_contact
713
- # to 20 seconds, and all remaining timeouts to 10 seconds:
714
- #
715
- # ::Google::Cloud::EssentialContacts::V1::EssentialContactsService::Client.configure do |config|
716
- # config.timeout = 10.0
717
- # config.rpcs.create_contact.timeout = 20.0
718
- # end
719
- #
720
- # To apply the above configuration only to a new client:
721
- #
722
- # client = ::Google::Cloud::EssentialContacts::V1::EssentialContactsService::Client.new do |config|
723
- # config.timeout = 10.0
724
- # config.rpcs.create_contact.timeout = 20.0
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module EssentialContacts
23
23
  module V1
24
- VERSION = "0.1.1"
24
+ VERSION = "0.1.2"
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-essential_contacts-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.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-07-12 00:00:00.000000000 Z
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.5'
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.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a