google-cloud-data_fusion-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 +4 -4
- data/lib/google/cloud/data_fusion/v1/data_fusion/client.rb +180 -21
- data/lib/google/cloud/data_fusion/v1/data_fusion/operations.rb +115 -12
- data/lib/google/cloud/data_fusion/v1/version.rb +1 -1
- data/lib/google/cloud/datafusion/v1/datafusion_pb.rb +2 -2
- data/lib/google/cloud/datafusion/v1/datafusion_services_pb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4453d3a6c983261a8be358697f20ee9ecfc2cccb324bfde37927bfeaaf350fcc
|
4
|
+
data.tar.gz: 24a3845571a11cc66e176d18f3eea8e629263c7e19d8a8bde0f1fdf78b1bc1e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d6257b738dd173b5da8ef677a214ad6a7806b1fad2f2f31273d7a51ba4a526ef8fb03155a48f3f7528d76fcf428aef429f3436559bdfec5ecee490ddbf6cd72
|
7
|
+
data.tar.gz: d490c132dae9322d160e12b3353215353ade70004778d9571f5b09f6a3ed384676bafe508e4f3cb30a95c94dae4f0f129cc8cda0f55a4984bb3798ec7edeb2ae
|
@@ -200,6 +200,27 @@ module Google
|
|
200
200
|
#
|
201
201
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
202
202
|
#
|
203
|
+
# @example Basic example
|
204
|
+
# require "google/cloud/data_fusion/v1"
|
205
|
+
#
|
206
|
+
# # Create a client object. The client can be reused for multiple calls.
|
207
|
+
# client = Google::Cloud::DataFusion::V1::DataFusion::Client.new
|
208
|
+
#
|
209
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
210
|
+
# request = Google::Cloud::DataFusion::V1::ListAvailableVersionsRequest.new
|
211
|
+
#
|
212
|
+
# # Call the list_available_versions method.
|
213
|
+
# result = client.list_available_versions request
|
214
|
+
#
|
215
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
216
|
+
# # iterate over all elements by calling #each, and the enumerable
|
217
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
218
|
+
# # methods are also available for managing paging directly.
|
219
|
+
# result.each do |response|
|
220
|
+
# # Each element is of type ::Google::Cloud::DataFusion::V1::Version.
|
221
|
+
# p response
|
222
|
+
# end
|
223
|
+
#
|
203
224
|
def list_available_versions request, options = nil
|
204
225
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
205
226
|
|
@@ -217,9 +238,11 @@ module Google
|
|
217
238
|
gapic_version: ::Google::Cloud::DataFusion::V1::VERSION
|
218
239
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
219
240
|
|
220
|
-
header_params = {
|
221
|
-
|
222
|
-
|
241
|
+
header_params = {}
|
242
|
+
if request.parent
|
243
|
+
header_params["parent"] = request.parent
|
244
|
+
end
|
245
|
+
|
223
246
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
224
247
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
225
248
|
|
@@ -281,6 +304,27 @@ module Google
|
|
281
304
|
#
|
282
305
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
283
306
|
#
|
307
|
+
# @example Basic example
|
308
|
+
# require "google/cloud/data_fusion/v1"
|
309
|
+
#
|
310
|
+
# # Create a client object. The client can be reused for multiple calls.
|
311
|
+
# client = Google::Cloud::DataFusion::V1::DataFusion::Client.new
|
312
|
+
#
|
313
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
314
|
+
# request = Google::Cloud::DataFusion::V1::ListInstancesRequest.new
|
315
|
+
#
|
316
|
+
# # Call the list_instances method.
|
317
|
+
# result = client.list_instances request
|
318
|
+
#
|
319
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
320
|
+
# # iterate over all elements by calling #each, and the enumerable
|
321
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
322
|
+
# # methods are also available for managing paging directly.
|
323
|
+
# result.each do |response|
|
324
|
+
# # Each element is of type ::Google::Cloud::DataFusion::V1::Instance.
|
325
|
+
# p response
|
326
|
+
# end
|
327
|
+
#
|
284
328
|
def list_instances request, options = nil
|
285
329
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
286
330
|
|
@@ -298,9 +342,11 @@ module Google
|
|
298
342
|
gapic_version: ::Google::Cloud::DataFusion::V1::VERSION
|
299
343
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
300
344
|
|
301
|
-
header_params = {
|
302
|
-
|
303
|
-
|
345
|
+
header_params = {}
|
346
|
+
if request.parent
|
347
|
+
header_params["parent"] = request.parent
|
348
|
+
end
|
349
|
+
|
304
350
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
305
351
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
306
352
|
|
@@ -351,6 +397,21 @@ module Google
|
|
351
397
|
#
|
352
398
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
353
399
|
#
|
400
|
+
# @example Basic example
|
401
|
+
# require "google/cloud/data_fusion/v1"
|
402
|
+
#
|
403
|
+
# # Create a client object. The client can be reused for multiple calls.
|
404
|
+
# client = Google::Cloud::DataFusion::V1::DataFusion::Client.new
|
405
|
+
#
|
406
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
407
|
+
# request = Google::Cloud::DataFusion::V1::GetInstanceRequest.new
|
408
|
+
#
|
409
|
+
# # Call the get_instance method.
|
410
|
+
# result = client.get_instance request
|
411
|
+
#
|
412
|
+
# # The returned object is of type Google::Cloud::DataFusion::V1::Instance.
|
413
|
+
# p result
|
414
|
+
#
|
354
415
|
def get_instance request, options = nil
|
355
416
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
356
417
|
|
@@ -368,9 +429,11 @@ module Google
|
|
368
429
|
gapic_version: ::Google::Cloud::DataFusion::V1::VERSION
|
369
430
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
370
431
|
|
371
|
-
header_params = {
|
372
|
-
|
373
|
-
|
432
|
+
header_params = {}
|
433
|
+
if request.name
|
434
|
+
header_params["name"] = request.name
|
435
|
+
end
|
436
|
+
|
374
437
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
375
438
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
376
439
|
|
@@ -424,6 +487,28 @@ module Google
|
|
424
487
|
#
|
425
488
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
426
489
|
#
|
490
|
+
# @example Basic example
|
491
|
+
# require "google/cloud/data_fusion/v1"
|
492
|
+
#
|
493
|
+
# # Create a client object. The client can be reused for multiple calls.
|
494
|
+
# client = Google::Cloud::DataFusion::V1::DataFusion::Client.new
|
495
|
+
#
|
496
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
497
|
+
# request = Google::Cloud::DataFusion::V1::CreateInstanceRequest.new
|
498
|
+
#
|
499
|
+
# # Call the create_instance method.
|
500
|
+
# result = client.create_instance request
|
501
|
+
#
|
502
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
503
|
+
# # object to check the status of an operation, cancel it, or wait
|
504
|
+
# # for results. Here is how to block until completion:
|
505
|
+
# result.wait_until_done! timeout: 60
|
506
|
+
# if result.response?
|
507
|
+
# p result.response
|
508
|
+
# else
|
509
|
+
# puts "Error!"
|
510
|
+
# end
|
511
|
+
#
|
427
512
|
def create_instance request, options = nil
|
428
513
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
429
514
|
|
@@ -441,9 +526,11 @@ module Google
|
|
441
526
|
gapic_version: ::Google::Cloud::DataFusion::V1::VERSION
|
442
527
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
443
528
|
|
444
|
-
header_params = {
|
445
|
-
|
446
|
-
|
529
|
+
header_params = {}
|
530
|
+
if request.parent
|
531
|
+
header_params["parent"] = request.parent
|
532
|
+
end
|
533
|
+
|
447
534
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
448
535
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
449
536
|
|
@@ -494,6 +581,28 @@ module Google
|
|
494
581
|
#
|
495
582
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
496
583
|
#
|
584
|
+
# @example Basic example
|
585
|
+
# require "google/cloud/data_fusion/v1"
|
586
|
+
#
|
587
|
+
# # Create a client object. The client can be reused for multiple calls.
|
588
|
+
# client = Google::Cloud::DataFusion::V1::DataFusion::Client.new
|
589
|
+
#
|
590
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
591
|
+
# request = Google::Cloud::DataFusion::V1::DeleteInstanceRequest.new
|
592
|
+
#
|
593
|
+
# # Call the delete_instance method.
|
594
|
+
# result = client.delete_instance request
|
595
|
+
#
|
596
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
597
|
+
# # object to check the status of an operation, cancel it, or wait
|
598
|
+
# # for results. Here is how to block until completion:
|
599
|
+
# result.wait_until_done! timeout: 60
|
600
|
+
# if result.response?
|
601
|
+
# p result.response
|
602
|
+
# else
|
603
|
+
# puts "Error!"
|
604
|
+
# end
|
605
|
+
#
|
497
606
|
def delete_instance request, options = nil
|
498
607
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
499
608
|
|
@@ -511,9 +620,11 @@ module Google
|
|
511
620
|
gapic_version: ::Google::Cloud::DataFusion::V1::VERSION
|
512
621
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
513
622
|
|
514
|
-
header_params = {
|
515
|
-
|
516
|
-
|
623
|
+
header_params = {}
|
624
|
+
if request.name
|
625
|
+
header_params["name"] = request.name
|
626
|
+
end
|
627
|
+
|
517
628
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
518
629
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
519
630
|
|
@@ -572,6 +683,28 @@ module Google
|
|
572
683
|
#
|
573
684
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
574
685
|
#
|
686
|
+
# @example Basic example
|
687
|
+
# require "google/cloud/data_fusion/v1"
|
688
|
+
#
|
689
|
+
# # Create a client object. The client can be reused for multiple calls.
|
690
|
+
# client = Google::Cloud::DataFusion::V1::DataFusion::Client.new
|
691
|
+
#
|
692
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
693
|
+
# request = Google::Cloud::DataFusion::V1::UpdateInstanceRequest.new
|
694
|
+
#
|
695
|
+
# # Call the update_instance method.
|
696
|
+
# result = client.update_instance request
|
697
|
+
#
|
698
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
699
|
+
# # object to check the status of an operation, cancel it, or wait
|
700
|
+
# # for results. Here is how to block until completion:
|
701
|
+
# result.wait_until_done! timeout: 60
|
702
|
+
# if result.response?
|
703
|
+
# p result.response
|
704
|
+
# else
|
705
|
+
# puts "Error!"
|
706
|
+
# end
|
707
|
+
#
|
575
708
|
def update_instance request, options = nil
|
576
709
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
577
710
|
|
@@ -589,9 +722,11 @@ module Google
|
|
589
722
|
gapic_version: ::Google::Cloud::DataFusion::V1::VERSION
|
590
723
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
591
724
|
|
592
|
-
header_params = {
|
593
|
-
|
594
|
-
|
725
|
+
header_params = {}
|
726
|
+
if request.instance&.name
|
727
|
+
header_params["instance.name"] = request.instance.name
|
728
|
+
end
|
729
|
+
|
595
730
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
596
731
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
597
732
|
|
@@ -643,6 +778,28 @@ module Google
|
|
643
778
|
#
|
644
779
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
645
780
|
#
|
781
|
+
# @example Basic example
|
782
|
+
# require "google/cloud/data_fusion/v1"
|
783
|
+
#
|
784
|
+
# # Create a client object. The client can be reused for multiple calls.
|
785
|
+
# client = Google::Cloud::DataFusion::V1::DataFusion::Client.new
|
786
|
+
#
|
787
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
788
|
+
# request = Google::Cloud::DataFusion::V1::RestartInstanceRequest.new
|
789
|
+
#
|
790
|
+
# # Call the restart_instance method.
|
791
|
+
# result = client.restart_instance request
|
792
|
+
#
|
793
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
794
|
+
# # object to check the status of an operation, cancel it, or wait
|
795
|
+
# # for results. Here is how to block until completion:
|
796
|
+
# result.wait_until_done! timeout: 60
|
797
|
+
# if result.response?
|
798
|
+
# p result.response
|
799
|
+
# else
|
800
|
+
# puts "Error!"
|
801
|
+
# end
|
802
|
+
#
|
646
803
|
def restart_instance request, options = nil
|
647
804
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
648
805
|
|
@@ -660,9 +817,11 @@ module Google
|
|
660
817
|
gapic_version: ::Google::Cloud::DataFusion::V1::VERSION
|
661
818
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
662
819
|
|
663
|
-
header_params = {
|
664
|
-
|
665
|
-
|
820
|
+
header_params = {}
|
821
|
+
if request.name
|
822
|
+
header_params["name"] = request.name
|
823
|
+
end
|
824
|
+
|
666
825
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
667
826
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
668
827
|
|
@@ -143,6 +143,27 @@ module Google
|
|
143
143
|
#
|
144
144
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
145
145
|
#
|
146
|
+
# @example Basic example
|
147
|
+
# require "google/longrunning"
|
148
|
+
#
|
149
|
+
# # Create a client object. The client can be reused for multiple calls.
|
150
|
+
# client = Google::Longrunning::Operations::Client.new
|
151
|
+
#
|
152
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
153
|
+
# request = Google::Longrunning::ListOperationsRequest.new
|
154
|
+
#
|
155
|
+
# # Call the list_operations method.
|
156
|
+
# result = client.list_operations request
|
157
|
+
#
|
158
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
159
|
+
# # iterate over all elements by calling #each, and the enumerable
|
160
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
161
|
+
# # methods are also available for managing paging directly.
|
162
|
+
# result.each do |response|
|
163
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
164
|
+
# p response
|
165
|
+
# end
|
166
|
+
#
|
146
167
|
def list_operations request, options = nil
|
147
168
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
148
169
|
|
@@ -160,9 +181,11 @@ module Google
|
|
160
181
|
gapic_version: ::Google::Cloud::DataFusion::V1::VERSION
|
161
182
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
162
183
|
|
163
|
-
header_params = {
|
164
|
-
|
165
|
-
|
184
|
+
header_params = {}
|
185
|
+
if request.name
|
186
|
+
header_params["name"] = request.name
|
187
|
+
end
|
188
|
+
|
166
189
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
167
190
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
168
191
|
|
@@ -215,6 +238,28 @@ module Google
|
|
215
238
|
#
|
216
239
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
217
240
|
#
|
241
|
+
# @example Basic example
|
242
|
+
# require "google/longrunning"
|
243
|
+
#
|
244
|
+
# # Create a client object. The client can be reused for multiple calls.
|
245
|
+
# client = Google::Longrunning::Operations::Client.new
|
246
|
+
#
|
247
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
248
|
+
# request = Google::Longrunning::GetOperationRequest.new
|
249
|
+
#
|
250
|
+
# # Call the get_operation method.
|
251
|
+
# result = client.get_operation request
|
252
|
+
#
|
253
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
254
|
+
# # object to check the status of an operation, cancel it, or wait
|
255
|
+
# # for results. Here is how to block until completion:
|
256
|
+
# result.wait_until_done! timeout: 60
|
257
|
+
# if result.response?
|
258
|
+
# p result.response
|
259
|
+
# else
|
260
|
+
# puts "Error!"
|
261
|
+
# end
|
262
|
+
#
|
218
263
|
def get_operation request, options = nil
|
219
264
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
220
265
|
|
@@ -232,9 +277,11 @@ module Google
|
|
232
277
|
gapic_version: ::Google::Cloud::DataFusion::V1::VERSION
|
233
278
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
234
279
|
|
235
|
-
header_params = {
|
236
|
-
|
237
|
-
|
280
|
+
header_params = {}
|
281
|
+
if request.name
|
282
|
+
header_params["name"] = request.name
|
283
|
+
end
|
284
|
+
|
238
285
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
239
286
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
240
287
|
|
@@ -287,6 +334,21 @@ module Google
|
|
287
334
|
#
|
288
335
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
289
336
|
#
|
337
|
+
# @example Basic example
|
338
|
+
# require "google/longrunning"
|
339
|
+
#
|
340
|
+
# # Create a client object. The client can be reused for multiple calls.
|
341
|
+
# client = Google::Longrunning::Operations::Client.new
|
342
|
+
#
|
343
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
344
|
+
# request = Google::Longrunning::DeleteOperationRequest.new
|
345
|
+
#
|
346
|
+
# # Call the delete_operation method.
|
347
|
+
# result = client.delete_operation request
|
348
|
+
#
|
349
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
350
|
+
# p result
|
351
|
+
#
|
290
352
|
def delete_operation request, options = nil
|
291
353
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
292
354
|
|
@@ -304,9 +366,11 @@ module Google
|
|
304
366
|
gapic_version: ::Google::Cloud::DataFusion::V1::VERSION
|
305
367
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
306
368
|
|
307
|
-
header_params = {
|
308
|
-
|
309
|
-
|
369
|
+
header_params = {}
|
370
|
+
if request.name
|
371
|
+
header_params["name"] = request.name
|
372
|
+
end
|
373
|
+
|
310
374
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
311
375
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
312
376
|
|
@@ -364,6 +428,21 @@ module Google
|
|
364
428
|
#
|
365
429
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
366
430
|
#
|
431
|
+
# @example Basic example
|
432
|
+
# require "google/longrunning"
|
433
|
+
#
|
434
|
+
# # Create a client object. The client can be reused for multiple calls.
|
435
|
+
# client = Google::Longrunning::Operations::Client.new
|
436
|
+
#
|
437
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
438
|
+
# request = Google::Longrunning::CancelOperationRequest.new
|
439
|
+
#
|
440
|
+
# # Call the cancel_operation method.
|
441
|
+
# result = client.cancel_operation request
|
442
|
+
#
|
443
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
444
|
+
# p result
|
445
|
+
#
|
367
446
|
def cancel_operation request, options = nil
|
368
447
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
369
448
|
|
@@ -381,9 +460,11 @@ module Google
|
|
381
460
|
gapic_version: ::Google::Cloud::DataFusion::V1::VERSION
|
382
461
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
383
462
|
|
384
|
-
header_params = {
|
385
|
-
|
386
|
-
|
463
|
+
header_params = {}
|
464
|
+
if request.name
|
465
|
+
header_params["name"] = request.name
|
466
|
+
end
|
467
|
+
|
387
468
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
388
469
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
389
470
|
|
@@ -444,6 +525,28 @@ module Google
|
|
444
525
|
#
|
445
526
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
446
527
|
#
|
528
|
+
# @example Basic example
|
529
|
+
# require "google/longrunning"
|
530
|
+
#
|
531
|
+
# # Create a client object. The client can be reused for multiple calls.
|
532
|
+
# client = Google::Longrunning::Operations::Client.new
|
533
|
+
#
|
534
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
535
|
+
# request = Google::Longrunning::WaitOperationRequest.new
|
536
|
+
#
|
537
|
+
# # Call the wait_operation method.
|
538
|
+
# result = client.wait_operation request
|
539
|
+
#
|
540
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
541
|
+
# # object to check the status of an operation, cancel it, or wait
|
542
|
+
# # for results. Here is how to block until completion:
|
543
|
+
# result.wait_until_done! timeout: 60
|
544
|
+
# if result.response?
|
545
|
+
# p result.response
|
546
|
+
# else
|
547
|
+
# puts "Error!"
|
548
|
+
# end
|
549
|
+
#
|
447
550
|
def wait_operation request, options = nil
|
448
551
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
449
552
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/datafusion/v1/datafusion.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
@@ -10,6 +8,8 @@ require 'google/api/resource_pb'
|
|
10
8
|
require 'google/longrunning/operations_pb'
|
11
9
|
require 'google/protobuf/field_mask_pb'
|
12
10
|
require 'google/protobuf/timestamp_pb'
|
11
|
+
require 'google/protobuf'
|
12
|
+
|
13
13
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
14
|
add_file("google/cloud/datafusion/v1/datafusion.proto", :syntax => :proto3) do
|
15
15
|
add_message "google.cloud.datafusion.v1.NetworkConfig" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-data_fusion-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-08
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|