google-cloud-domains-v1 0.4.0 → 0.5.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: 9c5ce31dcacfca8c04dbd3b0dae145bd0aec721b40e6a40590f76e9d2343e420
4
- data.tar.gz: 7d39583f07b20898b9766c24f7963b43f9c7b39669c86939e6e16cb865d17245
3
+ metadata.gz: 206cf5fa001e4dfc7772f4bb1801609c1a7fef1aca3dc723fd77a5c9c44a7981
4
+ data.tar.gz: ebc61eab00e3e33a5f6c6973d6b2ab5ae6f01a060e106b65c747d6b6da3320df
5
5
  SHA512:
6
- metadata.gz: 9fa845c3d059dddf6bfd4a1c827fe0e4655ad42e40b2b1231efa594f5137b849c60789dbe717d8782bbf66d3bcca114abf47808b9d2a6571396ced30c2271a5b
7
- data.tar.gz: c14638c24c4706bb5f2104205631aaefd1e0733d18b5103e88d2c39b31da621156b65905ac27c60a3f481a38b0129bb095093f606dd80721aae31938056fa2a3
6
+ metadata.gz: 6ea8382770f3c9e8ae85367a06d8c8a0f48db2097b4502079f1ad6b92829984e409a3d54b379d8668f40d1377bb4d4e473fdd8f6ad298641c1239c0ef8acd943
7
+ data.tar.gz: f329ce02023cb7a1682b9048d6b89768e467a0f87b18a02e27abab54dbb8cefdd28b9bcc4d5b4917843d087d9381b5ffaca260c91875f66a35adf319797f694d
@@ -144,7 +144,8 @@ module Google
144
144
  credentials: credentials,
145
145
  endpoint: @config.endpoint,
146
146
  channel_args: @config.channel_args,
147
- interceptors: @config.interceptors
147
+ interceptors: @config.interceptors,
148
+ channel_pool_config: @config.channel_pool
148
149
  )
149
150
  end
150
151
 
@@ -1813,6 +1814,14 @@ module Google
1813
1814
  end
1814
1815
  end
1815
1816
 
1817
+ ##
1818
+ # Configuration for the channel pool
1819
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
1820
+ #
1821
+ def channel_pool
1822
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
1823
+ end
1824
+
1816
1825
  ##
1817
1826
  # Configuration RPC class for the Domains API.
1818
1827
  #
@@ -93,7 +93,8 @@ module Google
93
93
  credentials: credentials,
94
94
  endpoint: @config.endpoint,
95
95
  channel_args: @config.channel_args,
96
- interceptors: @config.interceptors
96
+ interceptors: @config.interceptors,
97
+ channel_pool_config: @config.channel_pool
97
98
  )
98
99
 
99
100
  # Used by an LRO wrapper for some methods of this service
@@ -701,6 +702,14 @@ module Google
701
702
  end
702
703
  end
703
704
 
705
+ ##
706
+ # Configuration for the channel pool
707
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
708
+ #
709
+ def channel_pool
710
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
711
+ end
712
+
704
713
  ##
705
714
  # Configuration RPC class for the Operations API.
706
715
  #
@@ -181,6 +181,22 @@ module Google
181
181
  # @return [::Google::Cloud::Domains::V1::SearchDomainsResponse]
182
182
  #
183
183
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
184
+ #
185
+ # @example Basic example
186
+ # require "google/cloud/domains/v1"
187
+ #
188
+ # # Create a client object. The client can be reused for multiple calls.
189
+ # client = Google::Cloud::Domains::V1::Domains::Rest::Client.new
190
+ #
191
+ # # Create a request. To set request fields, pass in keyword arguments.
192
+ # request = Google::Cloud::Domains::V1::SearchDomainsRequest.new
193
+ #
194
+ # # Call the search_domains method.
195
+ # result = client.search_domains request
196
+ #
197
+ # # The returned object is of type Google::Cloud::Domains::V1::SearchDomainsResponse.
198
+ # p result
199
+ #
184
200
  def search_domains request, options = nil
185
201
  raise ::ArgumentError, "request must be provided" if request.nil?
186
202
 
@@ -246,6 +262,22 @@ module Google
246
262
  # @return [::Google::Cloud::Domains::V1::RetrieveRegisterParametersResponse]
247
263
  #
248
264
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
265
+ #
266
+ # @example Basic example
267
+ # require "google/cloud/domains/v1"
268
+ #
269
+ # # Create a client object. The client can be reused for multiple calls.
270
+ # client = Google::Cloud::Domains::V1::Domains::Rest::Client.new
271
+ #
272
+ # # Create a request. To set request fields, pass in keyword arguments.
273
+ # request = Google::Cloud::Domains::V1::RetrieveRegisterParametersRequest.new
274
+ #
275
+ # # Call the retrieve_register_parameters method.
276
+ # result = client.retrieve_register_parameters request
277
+ #
278
+ # # The returned object is of type Google::Cloud::Domains::V1::RetrieveRegisterParametersResponse.
279
+ # p result
280
+ #
249
281
  def retrieve_register_parameters request, options = nil
250
282
  raise ::ArgumentError, "request must be provided" if request.nil?
251
283
 
@@ -338,6 +370,29 @@ module Google
338
370
  # @return [::Gapic::Operation]
339
371
  #
340
372
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
373
+ #
374
+ # @example Basic example
375
+ # require "google/cloud/domains/v1"
376
+ #
377
+ # # Create a client object. The client can be reused for multiple calls.
378
+ # client = Google::Cloud::Domains::V1::Domains::Rest::Client.new
379
+ #
380
+ # # Create a request. To set request fields, pass in keyword arguments.
381
+ # request = Google::Cloud::Domains::V1::RegisterDomainRequest.new
382
+ #
383
+ # # Call the register_domain method.
384
+ # result = client.register_domain request
385
+ #
386
+ # # The returned object is of type Gapic::Operation. You can use it to
387
+ # # check the status of an operation, cancel it, or wait for results.
388
+ # # Here is how to wait for a response.
389
+ # result.wait_until_done! timeout: 60
390
+ # if result.response?
391
+ # p result.response
392
+ # else
393
+ # puts "No response received."
394
+ # end
395
+ #
341
396
  def register_domain request, options = nil
342
397
  raise ::ArgumentError, "request must be provided" if request.nil?
343
398
 
@@ -408,6 +463,22 @@ module Google
408
463
  # @return [::Google::Cloud::Domains::V1::RetrieveTransferParametersResponse]
409
464
  #
410
465
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
466
+ #
467
+ # @example Basic example
468
+ # require "google/cloud/domains/v1"
469
+ #
470
+ # # Create a client object. The client can be reused for multiple calls.
471
+ # client = Google::Cloud::Domains::V1::Domains::Rest::Client.new
472
+ #
473
+ # # Create a request. To set request fields, pass in keyword arguments.
474
+ # request = Google::Cloud::Domains::V1::RetrieveTransferParametersRequest.new
475
+ #
476
+ # # Call the retrieve_transfer_parameters method.
477
+ # result = client.retrieve_transfer_parameters request
478
+ #
479
+ # # The returned object is of type Google::Cloud::Domains::V1::RetrieveTransferParametersResponse.
480
+ # p result
481
+ #
411
482
  def retrieve_transfer_parameters request, options = nil
412
483
  raise ::ArgumentError, "request must be provided" if request.nil?
413
484
 
@@ -512,6 +583,29 @@ module Google
512
583
  # @return [::Gapic::Operation]
513
584
  #
514
585
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
586
+ #
587
+ # @example Basic example
588
+ # require "google/cloud/domains/v1"
589
+ #
590
+ # # Create a client object. The client can be reused for multiple calls.
591
+ # client = Google::Cloud::Domains::V1::Domains::Rest::Client.new
592
+ #
593
+ # # Create a request. To set request fields, pass in keyword arguments.
594
+ # request = Google::Cloud::Domains::V1::TransferDomainRequest.new
595
+ #
596
+ # # Call the transfer_domain method.
597
+ # result = client.transfer_domain request
598
+ #
599
+ # # The returned object is of type Gapic::Operation. You can use it to
600
+ # # check the status of an operation, cancel it, or wait for results.
601
+ # # Here is how to wait for a response.
602
+ # result.wait_until_done! timeout: 60
603
+ # if result.response?
604
+ # p result.response
605
+ # else
606
+ # puts "No response received."
607
+ # end
608
+ #
515
609
  def transfer_domain request, options = nil
516
610
  raise ::ArgumentError, "request must be provided" if request.nil?
517
611
 
@@ -598,6 +692,26 @@ module Google
598
692
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Domains::V1::Registration>]
599
693
  #
600
694
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
695
+ #
696
+ # @example Basic example
697
+ # require "google/cloud/domains/v1"
698
+ #
699
+ # # Create a client object. The client can be reused for multiple calls.
700
+ # client = Google::Cloud::Domains::V1::Domains::Rest::Client.new
701
+ #
702
+ # # Create a request. To set request fields, pass in keyword arguments.
703
+ # request = Google::Cloud::Domains::V1::ListRegistrationsRequest.new
704
+ #
705
+ # # Call the list_registrations method.
706
+ # result = client.list_registrations request
707
+ #
708
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
709
+ # # over elements, and API calls will be issued to fetch pages as needed.
710
+ # result.each do |item|
711
+ # # Each element is of type ::Google::Cloud::Domains::V1::Registration.
712
+ # p item
713
+ # end
714
+ #
601
715
  def list_registrations request, options = nil
602
716
  raise ::ArgumentError, "request must be provided" if request.nil?
603
717
 
@@ -662,6 +776,22 @@ module Google
662
776
  # @return [::Google::Cloud::Domains::V1::Registration]
663
777
  #
664
778
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
779
+ #
780
+ # @example Basic example
781
+ # require "google/cloud/domains/v1"
782
+ #
783
+ # # Create a client object. The client can be reused for multiple calls.
784
+ # client = Google::Cloud::Domains::V1::Domains::Rest::Client.new
785
+ #
786
+ # # Create a request. To set request fields, pass in keyword arguments.
787
+ # request = Google::Cloud::Domains::V1::GetRegistrationRequest.new
788
+ #
789
+ # # Call the get_registration method.
790
+ # result = client.get_registration request
791
+ #
792
+ # # The returned object is of type Google::Cloud::Domains::V1::Registration.
793
+ # p result
794
+ #
665
795
  def get_registration request, options = nil
666
796
  raise ::ArgumentError, "request must be provided" if request.nil?
667
797
 
@@ -733,6 +863,29 @@ module Google
733
863
  # @return [::Gapic::Operation]
734
864
  #
735
865
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
866
+ #
867
+ # @example Basic example
868
+ # require "google/cloud/domains/v1"
869
+ #
870
+ # # Create a client object. The client can be reused for multiple calls.
871
+ # client = Google::Cloud::Domains::V1::Domains::Rest::Client.new
872
+ #
873
+ # # Create a request. To set request fields, pass in keyword arguments.
874
+ # request = Google::Cloud::Domains::V1::UpdateRegistrationRequest.new
875
+ #
876
+ # # Call the update_registration method.
877
+ # result = client.update_registration request
878
+ #
879
+ # # The returned object is of type Gapic::Operation. You can use it to
880
+ # # check the status of an operation, cancel it, or wait for results.
881
+ # # Here is how to wait for a response.
882
+ # result.wait_until_done! timeout: 60
883
+ # if result.response?
884
+ # p result.response
885
+ # else
886
+ # puts "No response received."
887
+ # end
888
+ #
736
889
  def update_registration request, options = nil
737
890
  raise ::ArgumentError, "request must be provided" if request.nil?
738
891
 
@@ -803,6 +956,29 @@ module Google
803
956
  # @return [::Gapic::Operation]
804
957
  #
805
958
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
959
+ #
960
+ # @example Basic example
961
+ # require "google/cloud/domains/v1"
962
+ #
963
+ # # Create a client object. The client can be reused for multiple calls.
964
+ # client = Google::Cloud::Domains::V1::Domains::Rest::Client.new
965
+ #
966
+ # # Create a request. To set request fields, pass in keyword arguments.
967
+ # request = Google::Cloud::Domains::V1::ConfigureManagementSettingsRequest.new
968
+ #
969
+ # # Call the configure_management_settings method.
970
+ # result = client.configure_management_settings request
971
+ #
972
+ # # The returned object is of type Gapic::Operation. You can use it to
973
+ # # check the status of an operation, cancel it, or wait for results.
974
+ # # Here is how to wait for a response.
975
+ # result.wait_until_done! timeout: 60
976
+ # if result.response?
977
+ # p result.response
978
+ # else
979
+ # puts "No response received."
980
+ # end
981
+ #
806
982
  def configure_management_settings request, options = nil
807
983
  raise ::ArgumentError, "request must be provided" if request.nil?
808
984
 
@@ -881,6 +1057,29 @@ module Google
881
1057
  # @return [::Gapic::Operation]
882
1058
  #
883
1059
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1060
+ #
1061
+ # @example Basic example
1062
+ # require "google/cloud/domains/v1"
1063
+ #
1064
+ # # Create a client object. The client can be reused for multiple calls.
1065
+ # client = Google::Cloud::Domains::V1::Domains::Rest::Client.new
1066
+ #
1067
+ # # Create a request. To set request fields, pass in keyword arguments.
1068
+ # request = Google::Cloud::Domains::V1::ConfigureDnsSettingsRequest.new
1069
+ #
1070
+ # # Call the configure_dns_settings method.
1071
+ # result = client.configure_dns_settings request
1072
+ #
1073
+ # # The returned object is of type Gapic::Operation. You can use it to
1074
+ # # check the status of an operation, cancel it, or wait for results.
1075
+ # # Here is how to wait for a response.
1076
+ # result.wait_until_done! timeout: 60
1077
+ # if result.response?
1078
+ # p result.response
1079
+ # else
1080
+ # puts "No response received."
1081
+ # end
1082
+ #
884
1083
  def configure_dns_settings request, options = nil
885
1084
  raise ::ArgumentError, "request must be provided" if request.nil?
886
1085
 
@@ -957,6 +1156,29 @@ module Google
957
1156
  # @return [::Gapic::Operation]
958
1157
  #
959
1158
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1159
+ #
1160
+ # @example Basic example
1161
+ # require "google/cloud/domains/v1"
1162
+ #
1163
+ # # Create a client object. The client can be reused for multiple calls.
1164
+ # client = Google::Cloud::Domains::V1::Domains::Rest::Client.new
1165
+ #
1166
+ # # Create a request. To set request fields, pass in keyword arguments.
1167
+ # request = Google::Cloud::Domains::V1::ConfigureContactSettingsRequest.new
1168
+ #
1169
+ # # Call the configure_contact_settings method.
1170
+ # result = client.configure_contact_settings request
1171
+ #
1172
+ # # The returned object is of type Gapic::Operation. You can use it to
1173
+ # # check the status of an operation, cancel it, or wait for results.
1174
+ # # Here is how to wait for a response.
1175
+ # result.wait_until_done! timeout: 60
1176
+ # if result.response?
1177
+ # p result.response
1178
+ # else
1179
+ # puts "No response received."
1180
+ # end
1181
+ #
960
1182
  def configure_contact_settings request, options = nil
961
1183
  raise ::ArgumentError, "request must be provided" if request.nil?
962
1184
 
@@ -1029,6 +1251,29 @@ module Google
1029
1251
  # @return [::Gapic::Operation]
1030
1252
  #
1031
1253
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1254
+ #
1255
+ # @example Basic example
1256
+ # require "google/cloud/domains/v1"
1257
+ #
1258
+ # # Create a client object. The client can be reused for multiple calls.
1259
+ # client = Google::Cloud::Domains::V1::Domains::Rest::Client.new
1260
+ #
1261
+ # # Create a request. To set request fields, pass in keyword arguments.
1262
+ # request = Google::Cloud::Domains::V1::ExportRegistrationRequest.new
1263
+ #
1264
+ # # Call the export_registration method.
1265
+ # result = client.export_registration request
1266
+ #
1267
+ # # The returned object is of type Gapic::Operation. You can use it to
1268
+ # # check the status of an operation, cancel it, or wait for results.
1269
+ # # Here is how to wait for a response.
1270
+ # result.wait_until_done! timeout: 60
1271
+ # if result.response?
1272
+ # p result.response
1273
+ # else
1274
+ # puts "No response received."
1275
+ # end
1276
+ #
1032
1277
  def export_registration request, options = nil
1033
1278
  raise ::ArgumentError, "request must be provided" if request.nil?
1034
1279
 
@@ -1111,6 +1356,29 @@ module Google
1111
1356
  # @return [::Gapic::Operation]
1112
1357
  #
1113
1358
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1359
+ #
1360
+ # @example Basic example
1361
+ # require "google/cloud/domains/v1"
1362
+ #
1363
+ # # Create a client object. The client can be reused for multiple calls.
1364
+ # client = Google::Cloud::Domains::V1::Domains::Rest::Client.new
1365
+ #
1366
+ # # Create a request. To set request fields, pass in keyword arguments.
1367
+ # request = Google::Cloud::Domains::V1::DeleteRegistrationRequest.new
1368
+ #
1369
+ # # Call the delete_registration method.
1370
+ # result = client.delete_registration request
1371
+ #
1372
+ # # The returned object is of type Gapic::Operation. You can use it to
1373
+ # # check the status of an operation, cancel it, or wait for results.
1374
+ # # Here is how to wait for a response.
1375
+ # result.wait_until_done! timeout: 60
1376
+ # if result.response?
1377
+ # p result.response
1378
+ # else
1379
+ # puts "No response received."
1380
+ # end
1381
+ #
1114
1382
  def delete_registration request, options = nil
1115
1383
  raise ::ArgumentError, "request must be provided" if request.nil?
1116
1384
 
@@ -1179,6 +1447,22 @@ module Google
1179
1447
  # @return [::Google::Cloud::Domains::V1::AuthorizationCode]
1180
1448
  #
1181
1449
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1450
+ #
1451
+ # @example Basic example
1452
+ # require "google/cloud/domains/v1"
1453
+ #
1454
+ # # Create a client object. The client can be reused for multiple calls.
1455
+ # client = Google::Cloud::Domains::V1::Domains::Rest::Client.new
1456
+ #
1457
+ # # Create a request. To set request fields, pass in keyword arguments.
1458
+ # request = Google::Cloud::Domains::V1::RetrieveAuthorizationCodeRequest.new
1459
+ #
1460
+ # # Call the retrieve_authorization_code method.
1461
+ # result = client.retrieve_authorization_code request
1462
+ #
1463
+ # # The returned object is of type Google::Cloud::Domains::V1::AuthorizationCode.
1464
+ # p result
1465
+ #
1182
1466
  def retrieve_authorization_code request, options = nil
1183
1467
  raise ::ArgumentError, "request must be provided" if request.nil?
1184
1468
 
@@ -1245,6 +1529,22 @@ module Google
1245
1529
  # @return [::Google::Cloud::Domains::V1::AuthorizationCode]
1246
1530
  #
1247
1531
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1532
+ #
1533
+ # @example Basic example
1534
+ # require "google/cloud/domains/v1"
1535
+ #
1536
+ # # Create a client object. The client can be reused for multiple calls.
1537
+ # client = Google::Cloud::Domains::V1::Domains::Rest::Client.new
1538
+ #
1539
+ # # Create a request. To set request fields, pass in keyword arguments.
1540
+ # request = Google::Cloud::Domains::V1::ResetAuthorizationCodeRequest.new
1541
+ #
1542
+ # # Call the reset_authorization_code method.
1543
+ # result = client.reset_authorization_code request
1544
+ #
1545
+ # # The returned object is of type Google::Cloud::Domains::V1::AuthorizationCode.
1546
+ # p result
1547
+ #
1248
1548
  def reset_authorization_code request, options = nil
1249
1549
  raise ::ArgumentError, "request must be provided" if request.nil?
1250
1550
 
@@ -136,6 +136,26 @@ module Google
136
136
  # @return [::Gapic::Operation]
137
137
  #
138
138
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
139
+ #
140
+ # @example Basic example
141
+ # require "google/longrunning"
142
+ #
143
+ # # Create a client object. The client can be reused for multiple calls.
144
+ # client = Google::Longrunning::Operations::Rest::Client.new
145
+ #
146
+ # # Create a request. To set request fields, pass in keyword arguments.
147
+ # request = Google::Longrunning::ListOperationsRequest.new
148
+ #
149
+ # # Call the list_operations method.
150
+ # result = client.list_operations request
151
+ #
152
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
153
+ # # over elements, and API calls will be issued to fetch pages as needed.
154
+ # result.each do |item|
155
+ # # Each element is of type ::Google::Longrunning::Operation.
156
+ # p item
157
+ # end
158
+ #
139
159
  def list_operations request, options = nil
140
160
  raise ::ArgumentError, "request must be provided" if request.nil?
141
161
 
@@ -201,6 +221,29 @@ module Google
201
221
  # @return [::Gapic::Operation]
202
222
  #
203
223
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
224
+ #
225
+ # @example Basic example
226
+ # require "google/longrunning"
227
+ #
228
+ # # Create a client object. The client can be reused for multiple calls.
229
+ # client = Google::Longrunning::Operations::Rest::Client.new
230
+ #
231
+ # # Create a request. To set request fields, pass in keyword arguments.
232
+ # request = Google::Longrunning::GetOperationRequest.new
233
+ #
234
+ # # Call the get_operation method.
235
+ # result = client.get_operation request
236
+ #
237
+ # # The returned object is of type Gapic::Operation. You can use it to
238
+ # # check the status of an operation, cancel it, or wait for results.
239
+ # # Here is how to wait for a response.
240
+ # result.wait_until_done! timeout: 60
241
+ # if result.response?
242
+ # p result.response
243
+ # else
244
+ # puts "No response received."
245
+ # end
246
+ #
204
247
  def get_operation request, options = nil
205
248
  raise ::ArgumentError, "request must be provided" if request.nil?
206
249
 
@@ -267,6 +310,22 @@ module Google
267
310
  # @return [::Google::Protobuf::Empty]
268
311
  #
269
312
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
313
+ #
314
+ # @example Basic example
315
+ # require "google/longrunning"
316
+ #
317
+ # # Create a client object. The client can be reused for multiple calls.
318
+ # client = Google::Longrunning::Operations::Rest::Client.new
319
+ #
320
+ # # Create a request. To set request fields, pass in keyword arguments.
321
+ # request = Google::Longrunning::DeleteOperationRequest.new
322
+ #
323
+ # # Call the delete_operation method.
324
+ # result = client.delete_operation request
325
+ #
326
+ # # The returned object is of type Google::Protobuf::Empty.
327
+ # p result
328
+ #
270
329
  def delete_operation request, options = nil
271
330
  raise ::ArgumentError, "request must be provided" if request.nil?
272
331
 
@@ -338,6 +397,22 @@ module Google
338
397
  # @return [::Google::Protobuf::Empty]
339
398
  #
340
399
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
400
+ #
401
+ # @example Basic example
402
+ # require "google/longrunning"
403
+ #
404
+ # # Create a client object. The client can be reused for multiple calls.
405
+ # client = Google::Longrunning::Operations::Rest::Client.new
406
+ #
407
+ # # Create a request. To set request fields, pass in keyword arguments.
408
+ # request = Google::Longrunning::CancelOperationRequest.new
409
+ #
410
+ # # Call the cancel_operation method.
411
+ # result = client.cancel_operation request
412
+ #
413
+ # # The returned object is of type Google::Protobuf::Empty.
414
+ # p result
415
+ #
341
416
  def cancel_operation request, options = nil
342
417
  raise ::ArgumentError, "request must be provided" if request.nil?
343
418
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Domains
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-domains-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-06 00:00:00.000000000 Z
11
+ date: 2023-09-12 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.1
19
+ version: 0.20.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.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  - !ruby/object:Gem::Version
219
219
  version: '0'
220
220
  requirements: []
221
- rubygems_version: 3.4.2
221
+ rubygems_version: 3.4.19
222
222
  signing_key:
223
223
  specification_version: 4
224
224
  summary: Enables management and configuration of domain names.