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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d46029621412f2b0077d668b3f7a9d2cadfa121175ccc18453424bcaa3976a38
4
- data.tar.gz: 391a8bcf9c2ab58585dc3399740f1d51d530634decfbcfc073e976b477e645a4
3
+ metadata.gz: a83a64166a0a714a877b8fd86ecf695e7ed777e37debbefac989f5dd4ccc931a
4
+ data.tar.gz: 463dd840632a7b75bb1cc6d23b989341a0f3952855a83e0da7794768fd5f0487
5
5
  SHA512:
6
- metadata.gz: 0c9f6505401ddfc81e399cabb423e8205935af7c4c7917b5be90142749207318b9cfb3eb84005809b424dcf3923ca6909d93f35fe53cd933dfabfe2d4734835c
7
- data.tar.gz: 54f8947145ac8b50c49061873826b729d09d78add840886e95921893981992866866b450295dc70d7ae6fb7aae2ffffd8dd6634c0c6039ebfe320e7914e63e47
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
 
@@ -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.
@@ -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
@@ -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
- # # iterate over all elements by calling #each, and the enumerable
163
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 this
257
- # # object to check the status of an operation, cancel it, or wait
258
- # # 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.
259
257
  # result.wait_until_done! timeout: 60
260
258
  # if result.response?
261
259
  # p result.response
262
260
  # else
263
- # puts "Error!"
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 this
544
- # # object to check the status of an operation, cancel it, or wait
545
- # # 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.
546
544
  # result.wait_until_done! timeout: 60
547
545
  # if result.response?
548
546
  # p result.response
549
547
  # else
550
- # puts "Error!"
548
+ # puts "No response received."
551
549
  # end
552
550
  #
553
551
  def wait_operation request, options = nil