google-cloud-domains-v1beta1 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5037babb86e218be36c09f67e40508bfed4031b1e4fa8f49da41281997f2211
4
- data.tar.gz: bdc9443344a7e8f6e2b024b10ef964587395c018ad72c6ab0767d7c6bdedaf49
3
+ metadata.gz: 7a76cdc40df53860ec91d5999b3fdf7867181833b44b10e2a4c5758bb634c8a0
4
+ data.tar.gz: f9ebe8fd3e8dd22b682621f44657ad05429ae18b035557a24729bc228fa09c62
5
5
  SHA512:
6
- metadata.gz: 6025a9586de32d3d35c37e3cfb91292c485727dd14cfe404262f480e4489b5db8b11337b4892664634077c5443a77c6605f6595ae1b754c0ec44ae5951215242
7
- data.tar.gz: ba59c4d7b6ac6d0b40fdd8766583b01b448febb15ace23764b28b310be1a66a163baa3adbc5bcc2b5c9716e2d341fb9980934b3387a2873c61235d275ab0eda7
6
+ metadata.gz: a1190722d743d830511ef2da4bbfc795561cc29abbabe56985f36e25e57ccb7e38d619f2b56736188a3df3091f7d5373fca31a82a457181819d8ee11ab401c13
7
+ data.tar.gz: ddf99a28873ce200596dec67eca913cb9aacc4b3ef334974515cd1ee74dfe900098bfa1fb93462a6ac6a1ca6994abb83d53bd35b105a5f6319ce3b2fd9becc5a
@@ -41,13 +41,12 @@ module Google
41
41
  # See {::Google::Cloud::Domains::V1beta1::Domains::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 Domains clients:
47
- #
48
- # ::Google::Cloud::Domains::V1beta1::Domains::Client.configure do |config|
49
- # config.timeout = 10.0
50
- # end
46
+ # # Modify the configuration for all Domains clients
47
+ # ::Google::Cloud::Domains::V1beta1::Domains::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]
@@ -94,19 +93,15 @@ module Google
94
93
  ##
95
94
  # Create a new Domains client object.
96
95
  #
97
- # ## Examples
98
- #
99
- # To create a new Domains client with the default
100
- # configuration:
101
- #
102
- # client = ::Google::Cloud::Domains::V1beta1::Domains::Client.new
96
+ # @example
103
97
  #
104
- # To create a new Domains client with a custom
105
- # configuration:
98
+ # # Create a client using the default configuration
99
+ # client = ::Google::Cloud::Domains::V1beta1::Domains::Client.new
106
100
  #
107
- # client = ::Google::Cloud::Domains::V1beta1::Domains::Client.new do |config|
108
- # config.timeout = 10.0
109
- # end
101
+ # # Create a client using a custom configuration
102
+ # client = ::Google::Cloud::Domains::V1beta1::Domains::Client.new do |config|
103
+ # config.timeout = 10.0
104
+ # end
110
105
  #
111
106
  # @yield [config] Configure the Domains client.
112
107
  # @yieldparam config [Client::Configuration]
@@ -126,10 +121,9 @@ module Google
126
121
 
127
122
  # Create credentials
128
123
  credentials = @config.credentials
129
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
124
+ # Use self-signed JWT if the endpoint is unchanged from default,
130
125
  # but only if the default endpoint does not have a region prefix.
131
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
132
- @config.endpoint == Client.configure.endpoint &&
126
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
133
127
  !@config.endpoint.split(".").first.include?("-")
134
128
  credentials ||= Credentials.default scope: @config.scope,
135
129
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -223,7 +217,9 @@ module Google
223
217
  options.apply_defaults timeout: @config.rpcs.search_domains.timeout,
224
218
  metadata: metadata,
225
219
  retry_policy: @config.rpcs.search_domains.retry_policy
226
- options.apply_defaults metadata: @config.metadata,
220
+
221
+ options.apply_defaults timeout: @config.timeout,
222
+ metadata: @config.metadata,
227
223
  retry_policy: @config.retry_policy
228
224
 
229
225
  @domains_stub.call_rpc :search_domains, request, options: options do |response, operation|
@@ -292,7 +288,9 @@ module Google
292
288
  options.apply_defaults timeout: @config.rpcs.retrieve_register_parameters.timeout,
293
289
  metadata: metadata,
294
290
  retry_policy: @config.rpcs.retrieve_register_parameters.retry_policy
295
- options.apply_defaults metadata: @config.metadata,
291
+
292
+ options.apply_defaults timeout: @config.timeout,
293
+ metadata: @config.metadata,
296
294
  retry_policy: @config.retry_policy
297
295
 
298
296
  @domains_stub.call_rpc :retrieve_register_parameters, request, options: options do |response, operation|
@@ -388,7 +386,9 @@ module Google
388
386
  options.apply_defaults timeout: @config.rpcs.register_domain.timeout,
389
387
  metadata: metadata,
390
388
  retry_policy: @config.rpcs.register_domain.retry_policy
391
- options.apply_defaults metadata: @config.metadata,
389
+
390
+ options.apply_defaults timeout: @config.timeout,
391
+ metadata: @config.metadata,
392
392
  retry_policy: @config.retry_policy
393
393
 
394
394
  @domains_stub.call_rpc :register_domain, request, options: options do |response, operation|
@@ -478,7 +478,9 @@ module Google
478
478
  options.apply_defaults timeout: @config.rpcs.list_registrations.timeout,
479
479
  metadata: metadata,
480
480
  retry_policy: @config.rpcs.list_registrations.retry_policy
481
- options.apply_defaults metadata: @config.metadata,
481
+
482
+ options.apply_defaults timeout: @config.timeout,
483
+ metadata: @config.metadata,
482
484
  retry_policy: @config.retry_policy
483
485
 
484
486
  @domains_stub.call_rpc :list_registrations, request, options: options do |response, operation|
@@ -546,7 +548,9 @@ module Google
546
548
  options.apply_defaults timeout: @config.rpcs.get_registration.timeout,
547
549
  metadata: metadata,
548
550
  retry_policy: @config.rpcs.get_registration.retry_policy
549
- options.apply_defaults metadata: @config.metadata,
551
+
552
+ options.apply_defaults timeout: @config.timeout,
553
+ metadata: @config.metadata,
550
554
  retry_policy: @config.retry_policy
551
555
 
552
556
  @domains_stub.call_rpc :get_registration, request, options: options do |response, operation|
@@ -621,7 +625,9 @@ module Google
621
625
  options.apply_defaults timeout: @config.rpcs.update_registration.timeout,
622
626
  metadata: metadata,
623
627
  retry_policy: @config.rpcs.update_registration.retry_policy
624
- options.apply_defaults metadata: @config.metadata,
628
+
629
+ options.apply_defaults timeout: @config.timeout,
630
+ metadata: @config.metadata,
625
631
  retry_policy: @config.retry_policy
626
632
 
627
633
  @domains_stub.call_rpc :update_registration, request, options: options do |response, operation|
@@ -695,7 +701,9 @@ module Google
695
701
  options.apply_defaults timeout: @config.rpcs.configure_management_settings.timeout,
696
702
  metadata: metadata,
697
703
  retry_policy: @config.rpcs.configure_management_settings.retry_policy
698
- options.apply_defaults metadata: @config.metadata,
704
+
705
+ options.apply_defaults timeout: @config.timeout,
706
+ metadata: @config.metadata,
699
707
  retry_policy: @config.retry_policy
700
708
 
701
709
  @domains_stub.call_rpc :configure_management_settings, request, options: options do |response, operation|
@@ -777,7 +785,9 @@ module Google
777
785
  options.apply_defaults timeout: @config.rpcs.configure_dns_settings.timeout,
778
786
  metadata: metadata,
779
787
  retry_policy: @config.rpcs.configure_dns_settings.retry_policy
780
- options.apply_defaults metadata: @config.metadata,
788
+
789
+ options.apply_defaults timeout: @config.timeout,
790
+ metadata: @config.metadata,
781
791
  retry_policy: @config.retry_policy
782
792
 
783
793
  @domains_stub.call_rpc :configure_dns_settings, request, options: options do |response, operation|
@@ -857,7 +867,9 @@ module Google
857
867
  options.apply_defaults timeout: @config.rpcs.configure_contact_settings.timeout,
858
868
  metadata: metadata,
859
869
  retry_policy: @config.rpcs.configure_contact_settings.retry_policy
860
- options.apply_defaults metadata: @config.metadata,
870
+
871
+ options.apply_defaults timeout: @config.timeout,
872
+ metadata: @config.metadata,
861
873
  retry_policy: @config.retry_policy
862
874
 
863
875
  @domains_stub.call_rpc :configure_contact_settings, request, options: options do |response, operation|
@@ -938,7 +950,9 @@ module Google
938
950
  options.apply_defaults timeout: @config.rpcs.export_registration.timeout,
939
951
  metadata: metadata,
940
952
  retry_policy: @config.rpcs.export_registration.retry_policy
941
- options.apply_defaults metadata: @config.metadata,
953
+
954
+ options.apply_defaults timeout: @config.timeout,
955
+ metadata: @config.metadata,
942
956
  retry_policy: @config.retry_policy
943
957
 
944
958
  @domains_stub.call_rpc :export_registration, request, options: options do |response, operation|
@@ -1011,7 +1025,9 @@ module Google
1011
1025
  options.apply_defaults timeout: @config.rpcs.delete_registration.timeout,
1012
1026
  metadata: metadata,
1013
1027
  retry_policy: @config.rpcs.delete_registration.retry_policy
1014
- options.apply_defaults metadata: @config.metadata,
1028
+
1029
+ options.apply_defaults timeout: @config.timeout,
1030
+ metadata: @config.metadata,
1015
1031
  retry_policy: @config.retry_policy
1016
1032
 
1017
1033
  @domains_stub.call_rpc :delete_registration, request, options: options do |response, operation|
@@ -1083,7 +1099,9 @@ module Google
1083
1099
  options.apply_defaults timeout: @config.rpcs.retrieve_authorization_code.timeout,
1084
1100
  metadata: metadata,
1085
1101
  retry_policy: @config.rpcs.retrieve_authorization_code.retry_policy
1086
- options.apply_defaults metadata: @config.metadata,
1102
+
1103
+ options.apply_defaults timeout: @config.timeout,
1104
+ metadata: @config.metadata,
1087
1105
  retry_policy: @config.retry_policy
1088
1106
 
1089
1107
  @domains_stub.call_rpc :retrieve_authorization_code, request, options: options do |response, operation|
@@ -1153,7 +1171,9 @@ module Google
1153
1171
  options.apply_defaults timeout: @config.rpcs.reset_authorization_code.timeout,
1154
1172
  metadata: metadata,
1155
1173
  retry_policy: @config.rpcs.reset_authorization_code.retry_policy
1156
- options.apply_defaults metadata: @config.metadata,
1174
+
1175
+ options.apply_defaults timeout: @config.timeout,
1176
+ metadata: @config.metadata,
1157
1177
  retry_policy: @config.retry_policy
1158
1178
 
1159
1179
  @domains_stub.call_rpc :reset_authorization_code, request, options: options do |response, operation|
@@ -1177,22 +1197,21 @@ module Google
1177
1197
  # Configuration can be applied globally to all clients, or to a single client
1178
1198
  # on construction.
1179
1199
  #
1180
- # # Examples
1181
- #
1182
- # To modify the global config, setting the timeout for search_domains
1183
- # to 20 seconds, and all remaining timeouts to 10 seconds:
1184
- #
1185
- # ::Google::Cloud::Domains::V1beta1::Domains::Client.configure do |config|
1186
- # config.timeout = 10.0
1187
- # config.rpcs.search_domains.timeout = 20.0
1188
- # end
1189
- #
1190
- # To apply the above configuration only to a new client:
1191
- #
1192
- # client = ::Google::Cloud::Domains::V1beta1::Domains::Client.new do |config|
1193
- # config.timeout = 10.0
1194
- # config.rpcs.search_domains.timeout = 20.0
1195
- # end
1200
+ # @example
1201
+ #
1202
+ # # Modify the global config, setting the timeout for
1203
+ # # search_domains to 20 seconds,
1204
+ # # and all remaining timeouts to 10 seconds.
1205
+ # ::Google::Cloud::Domains::V1beta1::Domains::Client.configure do |config|
1206
+ # config.timeout = 10.0
1207
+ # config.rpcs.search_domains.timeout = 20.0
1208
+ # end
1209
+ #
1210
+ # # Apply the above configuration only to a new client.
1211
+ # client = ::Google::Cloud::Domains::V1beta1::Domains::Client.new do |config|
1212
+ # config.timeout = 10.0
1213
+ # config.rpcs.search_domains.timeout = 20.0
1214
+ # end
1196
1215
  #
1197
1216
  # @!attribute [rw] endpoint
1198
1217
  # The hostname or hostname:port of the service endpoint.
@@ -169,7 +169,9 @@ module Google
169
169
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
170
170
  metadata: metadata,
171
171
  retry_policy: @config.rpcs.list_operations.retry_policy
172
- options.apply_defaults metadata: @config.metadata,
172
+
173
+ options.apply_defaults timeout: @config.timeout,
174
+ metadata: @config.metadata,
173
175
  retry_policy: @config.retry_policy
174
176
 
175
177
  @operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
@@ -239,7 +241,9 @@ module Google
239
241
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
240
242
  metadata: metadata,
241
243
  retry_policy: @config.rpcs.get_operation.retry_policy
242
- options.apply_defaults metadata: @config.metadata,
244
+
245
+ options.apply_defaults timeout: @config.timeout,
246
+ metadata: @config.metadata,
243
247
  retry_policy: @config.retry_policy
244
248
 
245
249
  @operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
@@ -309,7 +313,9 @@ module Google
309
313
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
310
314
  metadata: metadata,
311
315
  retry_policy: @config.rpcs.delete_operation.retry_policy
312
- options.apply_defaults metadata: @config.metadata,
316
+
317
+ options.apply_defaults timeout: @config.timeout,
318
+ metadata: @config.metadata,
313
319
  retry_policy: @config.retry_policy
314
320
 
315
321
  @operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
@@ -384,7 +390,9 @@ module Google
384
390
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
385
391
  metadata: metadata,
386
392
  retry_policy: @config.rpcs.cancel_operation.retry_policy
387
- options.apply_defaults metadata: @config.metadata,
393
+
394
+ options.apply_defaults timeout: @config.timeout,
395
+ metadata: @config.metadata,
388
396
  retry_policy: @config.retry_policy
389
397
 
390
398
  @operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
@@ -456,7 +464,9 @@ module Google
456
464
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
457
465
  metadata: metadata,
458
466
  retry_policy: @config.rpcs.wait_operation.retry_policy
459
- options.apply_defaults metadata: @config.metadata,
467
+
468
+ options.apply_defaults timeout: @config.timeout,
469
+ metadata: @config.metadata,
460
470
  retry_policy: @config.retry_policy
461
471
 
462
472
  @operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
@@ -481,22 +491,21 @@ module Google
481
491
  # Configuration can be applied globally to all clients, or to a single client
482
492
  # on construction.
483
493
  #
484
- # # Examples
485
- #
486
- # To modify the global config, setting the timeout for list_operations
487
- # to 20 seconds, and all remaining timeouts to 10 seconds:
488
- #
489
- # ::Google::Longrunning::Operations::Client.configure do |config|
490
- # config.timeout = 10.0
491
- # config.rpcs.list_operations.timeout = 20.0
492
- # end
493
- #
494
- # To apply the above configuration only to a new client:
495
- #
496
- # client = ::Google::Longrunning::Operations::Client.new do |config|
497
- # config.timeout = 10.0
498
- # config.rpcs.list_operations.timeout = 20.0
499
- # end
494
+ # @example
495
+ #
496
+ # # Modify the global config, setting the timeout for
497
+ # # list_operations to 20 seconds,
498
+ # # and all remaining timeouts to 10 seconds.
499
+ # ::Google::Longrunning::Operations::Client.configure do |config|
500
+ # config.timeout = 10.0
501
+ # config.rpcs.list_operations.timeout = 20.0
502
+ # end
503
+ #
504
+ # # Apply the above configuration only to a new client.
505
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
506
+ # config.timeout = 10.0
507
+ # config.rpcs.list_operations.timeout = 20.0
508
+ # end
500
509
  #
501
510
  # @!attribute [rw] endpoint
502
511
  # The hostname or hostname:port of the service endpoint.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Domains
23
23
  module V1beta1
24
- VERSION = "0.2.2"
24
+ VERSION = "0.2.3"
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-domains-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.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: 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