google-cloud-data_fusion-v1 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +2 -2
- data/lib/google/cloud/data_fusion/v1/data_fusion/client.rb +24 -28
- data/lib/google/cloud/data_fusion/v1/data_fusion/operations.rb +12 -14
- data/lib/google/cloud/data_fusion/v1/data_fusion/rest/client.rb +821 -0
- data/lib/google/cloud/data_fusion/v1/data_fusion/rest/operations.rb +793 -0
- data/lib/google/cloud/data_fusion/v1/data_fusion/rest/service_stub.rb +464 -0
- data/lib/google/cloud/data_fusion/v1/data_fusion/rest.rb +55 -0
- data/lib/google/cloud/data_fusion/v1/data_fusion.rb +7 -1
- data/lib/google/cloud/data_fusion/v1/rest.rb +37 -0
- data/lib/google/cloud/data_fusion/v1/version.rb +1 -1
- data/lib/google/cloud/data_fusion/v1.rb +7 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +20 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a83a64166a0a714a877b8fd86ecf695e7ed777e37debbefac989f5dd4ccc931a
|
4
|
+
data.tar.gz: 463dd840632a7b75bb1cc6d23b989341a0f3952855a83e0da7794768fd5f0487
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 299ca7bcb588769d3933d467a85b62d700e82e9fc1feb921d794be0865ba969aeeea29859fb4040980d9a5e9fab8e79390573134bf56328ed5df3336718c8fdc
|
7
|
+
data.tar.gz: 5681652bf73684875b4ad2f468e4aa623cc8245664f2a2f6f5673795492485261defcf3ff4f9dc7054670e4018b161b7cba738088a786c8796cc5e729bdcf38a
|
data/AUTHENTICATION.md
CHANGED
@@ -112,7 +112,7 @@ credentials are discovered.
|
|
112
112
|
To configure your system for this, simply:
|
113
113
|
|
114
114
|
1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
|
115
|
-
2. Authenticate using OAuth 2.0 `$ gcloud auth login`
|
115
|
+
2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
|
116
116
|
3. Write code as if already authenticated.
|
117
117
|
|
118
118
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Cloud Data Fusion V1 API
|
2
2
|
|
3
|
-
|
3
|
+
Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure.
|
4
4
|
|
5
5
|
Cloud Data Fusion is a fully managed, cloud-native, enterprise data integration service for quickly building and managing data pipelines.
|
6
6
|
|
@@ -46,7 +46,7 @@ for general usage information.
|
|
46
46
|
## Enabling Logging
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
49
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
50
|
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
@@ -213,13 +213,11 @@ module Google
|
|
213
213
|
# # Call the list_available_versions method.
|
214
214
|
# result = client.list_available_versions request
|
215
215
|
#
|
216
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
217
|
-
# #
|
218
|
-
#
|
219
|
-
# # methods are also available for managing paging directly.
|
220
|
-
# result.each do |response|
|
216
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
217
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
218
|
+
# result.each do |item|
|
221
219
|
# # Each element is of type ::Google::Cloud::DataFusion::V1::Version.
|
222
|
-
# p
|
220
|
+
# p item
|
223
221
|
# end
|
224
222
|
#
|
225
223
|
def list_available_versions request, options = nil
|
@@ -317,13 +315,11 @@ module Google
|
|
317
315
|
# # Call the list_instances method.
|
318
316
|
# result = client.list_instances request
|
319
317
|
#
|
320
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
321
|
-
# #
|
322
|
-
#
|
323
|
-
# # methods are also available for managing paging directly.
|
324
|
-
# result.each do |response|
|
318
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
319
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
320
|
+
# result.each do |item|
|
325
321
|
# # Each element is of type ::Google::Cloud::DataFusion::V1::Instance.
|
326
|
-
# p
|
322
|
+
# p item
|
327
323
|
# end
|
328
324
|
#
|
329
325
|
def list_instances request, options = nil
|
@@ -500,14 +496,14 @@ module Google
|
|
500
496
|
# # Call the create_instance method.
|
501
497
|
# result = client.create_instance request
|
502
498
|
#
|
503
|
-
# # The returned object is of type Gapic::Operation. You can use
|
504
|
-
# #
|
505
|
-
# #
|
499
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
500
|
+
# # check the status of an operation, cancel it, or wait for results.
|
501
|
+
# # Here is how to wait for a response.
|
506
502
|
# result.wait_until_done! timeout: 60
|
507
503
|
# if result.response?
|
508
504
|
# p result.response
|
509
505
|
# else
|
510
|
-
# puts "
|
506
|
+
# puts "No response received."
|
511
507
|
# end
|
512
508
|
#
|
513
509
|
def create_instance request, options = nil
|
@@ -594,14 +590,14 @@ module Google
|
|
594
590
|
# # Call the delete_instance method.
|
595
591
|
# result = client.delete_instance request
|
596
592
|
#
|
597
|
-
# # The returned object is of type Gapic::Operation. You can use
|
598
|
-
# #
|
599
|
-
# #
|
593
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
594
|
+
# # check the status of an operation, cancel it, or wait for results.
|
595
|
+
# # Here is how to wait for a response.
|
600
596
|
# result.wait_until_done! timeout: 60
|
601
597
|
# if result.response?
|
602
598
|
# p result.response
|
603
599
|
# else
|
604
|
-
# puts "
|
600
|
+
# puts "No response received."
|
605
601
|
# end
|
606
602
|
#
|
607
603
|
def delete_instance request, options = nil
|
@@ -696,14 +692,14 @@ module Google
|
|
696
692
|
# # Call the update_instance method.
|
697
693
|
# result = client.update_instance request
|
698
694
|
#
|
699
|
-
# # The returned object is of type Gapic::Operation. You can use
|
700
|
-
# #
|
701
|
-
# #
|
695
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
696
|
+
# # check the status of an operation, cancel it, or wait for results.
|
697
|
+
# # Here is how to wait for a response.
|
702
698
|
# result.wait_until_done! timeout: 60
|
703
699
|
# if result.response?
|
704
700
|
# p result.response
|
705
701
|
# else
|
706
|
-
# puts "
|
702
|
+
# puts "No response received."
|
707
703
|
# end
|
708
704
|
#
|
709
705
|
def update_instance request, options = nil
|
@@ -791,14 +787,14 @@ module Google
|
|
791
787
|
# # Call the restart_instance method.
|
792
788
|
# result = client.restart_instance request
|
793
789
|
#
|
794
|
-
# # The returned object is of type Gapic::Operation. You can use
|
795
|
-
# #
|
796
|
-
# #
|
790
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
791
|
+
# # check the status of an operation, cancel it, or wait for results.
|
792
|
+
# # Here is how to wait for a response.
|
797
793
|
# result.wait_until_done! timeout: 60
|
798
794
|
# if result.response?
|
799
795
|
# p result.response
|
800
796
|
# else
|
801
|
-
# puts "
|
797
|
+
# puts "No response received."
|
802
798
|
# end
|
803
799
|
#
|
804
800
|
def restart_instance request, options = nil
|
@@ -158,13 +158,11 @@ module Google
|
|
158
158
|
# # Call the list_operations method.
|
159
159
|
# result = client.list_operations request
|
160
160
|
#
|
161
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
162
|
-
# #
|
163
|
-
#
|
164
|
-
# # methods are also available for managing paging directly.
|
165
|
-
# result.each do |response|
|
161
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
162
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
163
|
+
# result.each do |item|
|
166
164
|
# # Each element is of type ::Google::Longrunning::Operation.
|
167
|
-
# p
|
165
|
+
# p item
|
168
166
|
# end
|
169
167
|
#
|
170
168
|
def list_operations request, options = nil
|
@@ -253,14 +251,14 @@ module Google
|
|
253
251
|
# # Call the get_operation method.
|
254
252
|
# result = client.get_operation request
|
255
253
|
#
|
256
|
-
# # The returned object is of type Gapic::Operation. You can use
|
257
|
-
# #
|
258
|
-
# #
|
254
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
255
|
+
# # check the status of an operation, cancel it, or wait for results.
|
256
|
+
# # Here is how to wait for a response.
|
259
257
|
# result.wait_until_done! timeout: 60
|
260
258
|
# if result.response?
|
261
259
|
# p result.response
|
262
260
|
# else
|
263
|
-
# puts "
|
261
|
+
# puts "No response received."
|
264
262
|
# end
|
265
263
|
#
|
266
264
|
def get_operation request, options = nil
|
@@ -540,14 +538,14 @@ module Google
|
|
540
538
|
# # Call the wait_operation method.
|
541
539
|
# result = client.wait_operation request
|
542
540
|
#
|
543
|
-
# # The returned object is of type Gapic::Operation. You can use
|
544
|
-
# #
|
545
|
-
# #
|
541
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
542
|
+
# # check the status of an operation, cancel it, or wait for results.
|
543
|
+
# # Here is how to wait for a response.
|
546
544
|
# result.wait_until_done! timeout: 60
|
547
545
|
# if result.response?
|
548
546
|
# p result.response
|
549
547
|
# else
|
550
|
-
# puts "
|
548
|
+
# puts "No response received."
|
551
549
|
# end
|
552
550
|
#
|
553
551
|
def wait_operation request, options = nil
|