google-cloud-data_fusion-v1 0.1.4 → 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 +13 -8
- data/lib/google/cloud/data_fusion/v1/data_fusion/client.rb +24 -28
- data/lib/google/cloud/data_fusion/v1/data_fusion/operations.rb +15 -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 +8 -1
- data/lib/google/cloud/datafusion/v1/datafusion_pb.rb +2 -1
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +25 -13
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
|
|
@@ -37,7 +37,7 @@ request = ::Google::Cloud::DataFusion::V1::ListAvailableVersionsRequest.new # (r
|
|
37
37
|
response = client.list_available_versions request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-data_fusion-v1/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/data-fusion)
|
@@ -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.
|
@@ -69,16 +69,21 @@ module GRPC
|
|
69
69
|
end
|
70
70
|
```
|
71
71
|
|
72
|
+
|
73
|
+
## Google Cloud Samples
|
74
|
+
|
75
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
76
|
+
|
72
77
|
## Supported Ruby Versions
|
73
78
|
|
74
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.6+.
|
75
80
|
|
76
81
|
Google provides official support for Ruby versions that are actively supported
|
77
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
78
|
-
in security maintenance, and not end of life.
|
79
|
-
|
80
|
-
|
81
|
-
|
83
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
84
|
+
still work, but are unsupported and not recommended. See
|
85
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
86
|
+
support schedule.
|
82
87
|
|
83
88
|
## Which client should I use?
|
84
89
|
|
@@ -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
|
@@ -95,6 +95,9 @@ module Google
|
|
95
95
|
channel_args: @config.channel_args,
|
96
96
|
interceptors: @config.interceptors
|
97
97
|
)
|
98
|
+
|
99
|
+
# Used by an LRO wrapper for some methods of this service
|
100
|
+
@operations_client = self
|
98
101
|
end
|
99
102
|
|
100
103
|
# Service calls
|
@@ -155,13 +158,11 @@ module Google
|
|
155
158
|
# # Call the list_operations method.
|
156
159
|
# result = client.list_operations request
|
157
160
|
#
|
158
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
159
|
-
# #
|
160
|
-
#
|
161
|
-
# # methods are also available for managing paging directly.
|
162
|
-
# 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|
|
163
164
|
# # Each element is of type ::Google::Longrunning::Operation.
|
164
|
-
# p
|
165
|
+
# p item
|
165
166
|
# end
|
166
167
|
#
|
167
168
|
def list_operations request, options = nil
|
@@ -250,14 +251,14 @@ module Google
|
|
250
251
|
# # Call the get_operation method.
|
251
252
|
# result = client.get_operation request
|
252
253
|
#
|
253
|
-
# # The returned object is of type Gapic::Operation. You can use
|
254
|
-
# #
|
255
|
-
# #
|
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.
|
256
257
|
# result.wait_until_done! timeout: 60
|
257
258
|
# if result.response?
|
258
259
|
# p result.response
|
259
260
|
# else
|
260
|
-
# puts "
|
261
|
+
# puts "No response received."
|
261
262
|
# end
|
262
263
|
#
|
263
264
|
def get_operation request, options = nil
|
@@ -537,14 +538,14 @@ module Google
|
|
537
538
|
# # Call the wait_operation method.
|
538
539
|
# result = client.wait_operation request
|
539
540
|
#
|
540
|
-
# # The returned object is of type Gapic::Operation. You can use
|
541
|
-
# #
|
542
|
-
# #
|
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.
|
543
544
|
# result.wait_until_done! timeout: 60
|
544
545
|
# if result.response?
|
545
546
|
# p result.response
|
546
547
|
# else
|
547
|
-
# puts "
|
548
|
+
# puts "No response received."
|
548
549
|
# end
|
549
550
|
#
|
550
551
|
def wait_operation request, options = nil
|