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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b39e3729168eb47590a09681cb2cebcbb0a6cf1632ad65b2c0850348cbcd810
4
- data.tar.gz: 5baad0357cd449c69145c9640b062f8f5b0aae994d40bbd17a314f9dd13eb49b
3
+ metadata.gz: a83a64166a0a714a877b8fd86ecf695e7ed777e37debbefac989f5dd4ccc931a
4
+ data.tar.gz: 463dd840632a7b75bb1cc6d23b989341a0f3952855a83e0da7794768fd5f0487
5
5
  SHA512:
6
- metadata.gz: f6dad801c74307ac4fb305191d75674ce067cc0b17655cc891921a1cc2d2d95940db2e0457cabba258e00460bf5047a8fa59527e7e777e3cc811ad6ed7b347ef
7
- data.tar.gz: 353e4d7e4246d76a69bbc1d73e86cd694952613e9b428959d9a455c4efbbd08c94d0555122a100f940da5ec81aa5a2e2d7147150626e6ffc710cc85136c7e7b1
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
- API Client library for the Cloud Data Fusion V1 API
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://googleapis.dev/ruby/google-cloud-data_fusion-v1/latest)
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/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
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.5+.
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. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
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
- # # iterate over all elements by calling #each, and the enumerable
218
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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
- # # iterate over all elements by calling #each, and the enumerable
322
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 this
504
- # # object to check the status of an operation, cancel it, or wait
505
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
598
- # # object to check the status of an operation, cancel it, or wait
599
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
700
- # # object to check the status of an operation, cancel it, or wait
701
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
795
- # # object to check the status of an operation, cancel it, or wait
796
- # # for results. Here is how to block until completion:
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 "Error!"
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
- # # 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|
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 response
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 this
254
- # # object to check the status of an operation, cancel it, or wait
255
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
541
- # # object to check the status of an operation, cancel it, or wait
542
- # # for results. Here is how to block until completion:
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 "Error!"
548
+ # puts "No response received."
548
549
  # end
549
550
  #
550
551
  def wait_operation request, options = nil