google-cloud-data_fusion-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 +4 -4
- data/lib/google/cloud/data_fusion/v1/data_fusion/client.rb +10 -1
- data/lib/google/cloud/data_fusion/v1/data_fusion/operations.rb +10 -1
- data/lib/google/cloud/data_fusion/v1/data_fusion/rest/client.rb +148 -0
- data/lib/google/cloud/data_fusion/v1/data_fusion/rest/operations.rb +75 -0
- data/lib/google/cloud/data_fusion/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e81a7d0e6fb06188bf912718456353bb2c3d0f0b134f1bfd562e1ae9aac8582
|
4
|
+
data.tar.gz: 989a951ee94ca5494fca7a522d4f42ce54fef5fb1bab8ec6ebe9a73b994ea7e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aef8bd01ac245d89c5a92cd5ac0dd1b0ae4b4843a637776370d5954f81e75d8634b10f31bfc2639cf72dc752fa08ad5f08fc5c80e8c489a71ec6ca3d896805df
|
7
|
+
data.tar.gz: a5984cff1a4a0ceea8d326806506bd2fb2085beee45fda7f9f8eb8bfb12141202e7e36ffd5b8a18a46f890a62ddfa841dc0bead3413bbb41f82077e1637cb3bc
|
@@ -148,7 +148,8 @@ module Google
|
|
148
148
|
credentials: credentials,
|
149
149
|
endpoint: @config.endpoint,
|
150
150
|
channel_args: @config.channel_args,
|
151
|
-
interceptors: @config.interceptors
|
151
|
+
interceptors: @config.interceptors,
|
152
|
+
channel_pool_config: @config.channel_pool
|
152
153
|
)
|
153
154
|
end
|
154
155
|
|
@@ -958,6 +959,14 @@ module Google
|
|
958
959
|
end
|
959
960
|
end
|
960
961
|
|
962
|
+
##
|
963
|
+
# Configuration for the channel pool
|
964
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
965
|
+
#
|
966
|
+
def channel_pool
|
967
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
968
|
+
end
|
969
|
+
|
961
970
|
##
|
962
971
|
# Configuration RPC class for the DataFusion API.
|
963
972
|
#
|
@@ -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
|
#
|
@@ -190,6 +190,26 @@ module Google
|
|
190
190
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DataFusion::V1::Version>]
|
191
191
|
#
|
192
192
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
193
|
+
#
|
194
|
+
# @example Basic example
|
195
|
+
# require "google/cloud/data_fusion/v1"
|
196
|
+
#
|
197
|
+
# # Create a client object. The client can be reused for multiple calls.
|
198
|
+
# client = Google::Cloud::DataFusion::V1::DataFusion::Rest::Client.new
|
199
|
+
#
|
200
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
201
|
+
# request = Google::Cloud::DataFusion::V1::ListAvailableVersionsRequest.new
|
202
|
+
#
|
203
|
+
# # Call the list_available_versions method.
|
204
|
+
# result = client.list_available_versions request
|
205
|
+
#
|
206
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
207
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
208
|
+
# result.each do |item|
|
209
|
+
# # Each element is of type ::Google::Cloud::DataFusion::V1::Version.
|
210
|
+
# p item
|
211
|
+
# end
|
212
|
+
#
|
193
213
|
def list_available_versions request, options = nil
|
194
214
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
195
215
|
|
@@ -265,6 +285,26 @@ module Google
|
|
265
285
|
# @return [::Google::Cloud::DataFusion::V1::ListInstancesResponse]
|
266
286
|
#
|
267
287
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
288
|
+
#
|
289
|
+
# @example Basic example
|
290
|
+
# require "google/cloud/data_fusion/v1"
|
291
|
+
#
|
292
|
+
# # Create a client object. The client can be reused for multiple calls.
|
293
|
+
# client = Google::Cloud::DataFusion::V1::DataFusion::Rest::Client.new
|
294
|
+
#
|
295
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
296
|
+
# request = Google::Cloud::DataFusion::V1::ListInstancesRequest.new
|
297
|
+
#
|
298
|
+
# # Call the list_instances method.
|
299
|
+
# result = client.list_instances request
|
300
|
+
#
|
301
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
302
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
303
|
+
# result.each do |item|
|
304
|
+
# # Each element is of type ::Google::Cloud::DataFusion::V1::Instance.
|
305
|
+
# p item
|
306
|
+
# end
|
307
|
+
#
|
268
308
|
def list_instances request, options = nil
|
269
309
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
270
310
|
|
@@ -328,6 +368,22 @@ module Google
|
|
328
368
|
# @return [::Google::Cloud::DataFusion::V1::Instance]
|
329
369
|
#
|
330
370
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
371
|
+
#
|
372
|
+
# @example Basic example
|
373
|
+
# require "google/cloud/data_fusion/v1"
|
374
|
+
#
|
375
|
+
# # Create a client object. The client can be reused for multiple calls.
|
376
|
+
# client = Google::Cloud::DataFusion::V1::DataFusion::Rest::Client.new
|
377
|
+
#
|
378
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
379
|
+
# request = Google::Cloud::DataFusion::V1::GetInstanceRequest.new
|
380
|
+
#
|
381
|
+
# # Call the get_instance method.
|
382
|
+
# result = client.get_instance request
|
383
|
+
#
|
384
|
+
# # The returned object is of type Google::Cloud::DataFusion::V1::Instance.
|
385
|
+
# p result
|
386
|
+
#
|
331
387
|
def get_instance request, options = nil
|
332
388
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
333
389
|
|
@@ -395,6 +451,29 @@ module Google
|
|
395
451
|
# @return [::Gapic::Operation]
|
396
452
|
#
|
397
453
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
454
|
+
#
|
455
|
+
# @example Basic example
|
456
|
+
# require "google/cloud/data_fusion/v1"
|
457
|
+
#
|
458
|
+
# # Create a client object. The client can be reused for multiple calls.
|
459
|
+
# client = Google::Cloud::DataFusion::V1::DataFusion::Rest::Client.new
|
460
|
+
#
|
461
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
462
|
+
# request = Google::Cloud::DataFusion::V1::CreateInstanceRequest.new
|
463
|
+
#
|
464
|
+
# # Call the create_instance method.
|
465
|
+
# result = client.create_instance request
|
466
|
+
#
|
467
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
468
|
+
# # check the status of an operation, cancel it, or wait for results.
|
469
|
+
# # Here is how to wait for a response.
|
470
|
+
# result.wait_until_done! timeout: 60
|
471
|
+
# if result.response?
|
472
|
+
# p result.response
|
473
|
+
# else
|
474
|
+
# puts "No response received."
|
475
|
+
# end
|
476
|
+
#
|
398
477
|
def create_instance request, options = nil
|
399
478
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
400
479
|
|
@@ -459,6 +538,29 @@ module Google
|
|
459
538
|
# @return [::Gapic::Operation]
|
460
539
|
#
|
461
540
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
541
|
+
#
|
542
|
+
# @example Basic example
|
543
|
+
# require "google/cloud/data_fusion/v1"
|
544
|
+
#
|
545
|
+
# # Create a client object. The client can be reused for multiple calls.
|
546
|
+
# client = Google::Cloud::DataFusion::V1::DataFusion::Rest::Client.new
|
547
|
+
#
|
548
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
549
|
+
# request = Google::Cloud::DataFusion::V1::DeleteInstanceRequest.new
|
550
|
+
#
|
551
|
+
# # Call the delete_instance method.
|
552
|
+
# result = client.delete_instance request
|
553
|
+
#
|
554
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
555
|
+
# # check the status of an operation, cancel it, or wait for results.
|
556
|
+
# # Here is how to wait for a response.
|
557
|
+
# result.wait_until_done! timeout: 60
|
558
|
+
# if result.response?
|
559
|
+
# p result.response
|
560
|
+
# else
|
561
|
+
# puts "No response received."
|
562
|
+
# end
|
563
|
+
#
|
462
564
|
def delete_instance request, options = nil
|
463
565
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
464
566
|
|
@@ -531,6 +633,29 @@ module Google
|
|
531
633
|
# @return [::Gapic::Operation]
|
532
634
|
#
|
533
635
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
636
|
+
#
|
637
|
+
# @example Basic example
|
638
|
+
# require "google/cloud/data_fusion/v1"
|
639
|
+
#
|
640
|
+
# # Create a client object. The client can be reused for multiple calls.
|
641
|
+
# client = Google::Cloud::DataFusion::V1::DataFusion::Rest::Client.new
|
642
|
+
#
|
643
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
644
|
+
# request = Google::Cloud::DataFusion::V1::UpdateInstanceRequest.new
|
645
|
+
#
|
646
|
+
# # Call the update_instance method.
|
647
|
+
# result = client.update_instance request
|
648
|
+
#
|
649
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
650
|
+
# # check the status of an operation, cancel it, or wait for results.
|
651
|
+
# # Here is how to wait for a response.
|
652
|
+
# result.wait_until_done! timeout: 60
|
653
|
+
# if result.response?
|
654
|
+
# p result.response
|
655
|
+
# else
|
656
|
+
# puts "No response received."
|
657
|
+
# end
|
658
|
+
#
|
534
659
|
def update_instance request, options = nil
|
535
660
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
536
661
|
|
@@ -596,6 +721,29 @@ module Google
|
|
596
721
|
# @return [::Gapic::Operation]
|
597
722
|
#
|
598
723
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
724
|
+
#
|
725
|
+
# @example Basic example
|
726
|
+
# require "google/cloud/data_fusion/v1"
|
727
|
+
#
|
728
|
+
# # Create a client object. The client can be reused for multiple calls.
|
729
|
+
# client = Google::Cloud::DataFusion::V1::DataFusion::Rest::Client.new
|
730
|
+
#
|
731
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
732
|
+
# request = Google::Cloud::DataFusion::V1::RestartInstanceRequest.new
|
733
|
+
#
|
734
|
+
# # Call the restart_instance method.
|
735
|
+
# result = client.restart_instance request
|
736
|
+
#
|
737
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
738
|
+
# # check the status of an operation, cancel it, or wait for results.
|
739
|
+
# # Here is how to wait for a response.
|
740
|
+
# result.wait_until_done! timeout: 60
|
741
|
+
# if result.response?
|
742
|
+
# p result.response
|
743
|
+
# else
|
744
|
+
# puts "No response received."
|
745
|
+
# end
|
746
|
+
#
|
599
747
|
def restart_instance request, options = nil
|
600
748
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
601
749
|
|
@@ -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
|
|
@@ -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-data_fusion-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
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
|
+
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.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
216
|
- !ruby/object:Gem::Version
|
217
217
|
version: '0'
|
218
218
|
requirements: []
|
219
|
-
rubygems_version: 3.4.
|
219
|
+
rubygems_version: 3.4.19
|
220
220
|
signing_key:
|
221
221
|
specification_version: 4
|
222
222
|
summary: Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration
|