google-cloud-orchestration-airflow-service-v1 0.3.1 → 0.4.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: 7fd74eac5e4a724c6b7e660ede76650d39bc14070b69a99f1d7b6ff4b8bfb5e1
4
- data.tar.gz: aa154b38a7c6b7fdce3562f67a7de4e1c7efe58dce8a9d7be603da67a9310c81
3
+ metadata.gz: 5a19eaf281898c1882fef259beb53cf78d5c12c9bd3306c97f5e506a6f368003
4
+ data.tar.gz: 3d60b6a60fa3b7c1fe2248b13b3685f97c3ef3fccbb4cda9dc7066d280593ebb
5
5
  SHA512:
6
- metadata.gz: f71781256e53466e202765f048a81d03ff7f62752edc7188caeffd65f8e6f1a4ad6a7f98e78e5351bf15ecec39cfa139baa628c19f3384c20afd9e0fd2b77357
7
- data.tar.gz: b3a5ecb299ff686bbe708d718249aed3b783cdb87e3ed0f72d69c9ccda8430c1088ff2a91f30f321f2386cf634d51a9e0ffd20a2d162b92880aa4c6fe3f19af7
6
+ metadata.gz: b6045bb80fcdbd1309c02b7e3af10cd07fed037a1cc708038a8bcb64b24cf9e7e82a7dd5f178872e55864e3b5fbddf200c3dc3422d1f8c9a24b973cdc0700469
7
+ data.tar.gz: dbc36ab8caf9a086c8e6f9f2480ae52c55690cb6af0c3a1c82c951939027990582a6b5b99ddcc0ab66151f1257bad4db84329d0c27d8f051753c2a01717f2190
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Cloud Composer V1 API
2
2
 
3
- API Client library for the Cloud Composer V1 API
3
+ Manages Apache Airflow environments on Google Cloud Platform.
4
4
 
5
5
  The client library for the Cloud Composer API, built on the popular Apache Airflow open source project. Cloud Composer is a fully managed workflow orchestration service, enabling you to create, schedule, monitor, and manage workflows that span across clouds and on-premises data centers.
6
6
 
@@ -203,14 +203,14 @@ module Google
203
203
  # # Call the create_environment method.
204
204
  # result = client.create_environment request
205
205
  #
206
- # # The returned object is of type Gapic::Operation. You can use this
207
- # # object to check the status of an operation, cancel it, or wait
208
- # # for results. Here is how to block until completion:
206
+ # # The returned object is of type Gapic::Operation. You can use it to
207
+ # # check the status of an operation, cancel it, or wait for results.
208
+ # # Here is how to wait for a response.
209
209
  # result.wait_until_done! timeout: 60
210
210
  # if result.response?
211
211
  # p result.response
212
212
  # else
213
- # puts "Error!"
213
+ # puts "No response received."
214
214
  # end
215
215
  #
216
216
  def create_environment request, options = nil
@@ -387,13 +387,11 @@ module Google
387
387
  # # Call the list_environments method.
388
388
  # result = client.list_environments request
389
389
  #
390
- # # The returned object is of type Gapic::PagedEnumerable. You can
391
- # # iterate over all elements by calling #each, and the enumerable
392
- # # will lazily make API calls to fetch subsequent pages. Other
393
- # # methods are also available for managing paging directly.
394
- # result.each do |response|
390
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
391
+ # # over elements, and API calls will be issued to fetch pages as needed.
392
+ # result.each do |item|
395
393
  # # Each element is of type ::Google::Cloud::Orchestration::Airflow::Service::V1::Environment.
396
- # p response
394
+ # p item
397
395
  # end
398
396
  #
399
397
  def list_environments request, options = nil
@@ -607,14 +605,14 @@ module Google
607
605
  # # Call the update_environment method.
608
606
  # result = client.update_environment request
609
607
  #
610
- # # The returned object is of type Gapic::Operation. You can use this
611
- # # object to check the status of an operation, cancel it, or wait
612
- # # for results. Here is how to block until completion:
608
+ # # The returned object is of type Gapic::Operation. You can use it to
609
+ # # check the status of an operation, cancel it, or wait for results.
610
+ # # Here is how to wait for a response.
613
611
  # result.wait_until_done! timeout: 60
614
612
  # if result.response?
615
613
  # p result.response
616
614
  # else
617
- # puts "Error!"
615
+ # puts "No response received."
618
616
  # end
619
617
  #
620
618
  def update_environment request, options = nil
@@ -701,14 +699,14 @@ module Google
701
699
  # # Call the delete_environment method.
702
700
  # result = client.delete_environment request
703
701
  #
704
- # # The returned object is of type Gapic::Operation. You can use this
705
- # # object to check the status of an operation, cancel it, or wait
706
- # # for results. Here is how to block until completion:
702
+ # # The returned object is of type Gapic::Operation. You can use it to
703
+ # # check the status of an operation, cancel it, or wait for results.
704
+ # # Here is how to wait for a response.
707
705
  # result.wait_until_done! timeout: 60
708
706
  # if result.response?
709
707
  # p result.response
710
708
  # else
711
- # puts "Error!"
709
+ # puts "No response received."
712
710
  # end
713
711
  #
714
712
  def delete_environment request, options = nil
@@ -801,14 +799,14 @@ module Google
801
799
  # # Call the save_snapshot method.
802
800
  # result = client.save_snapshot request
803
801
  #
804
- # # The returned object is of type Gapic::Operation. You can use this
805
- # # object to check the status of an operation, cancel it, or wait
806
- # # for results. Here is how to block until completion:
802
+ # # The returned object is of type Gapic::Operation. You can use it to
803
+ # # check the status of an operation, cancel it, or wait for results.
804
+ # # Here is how to wait for a response.
807
805
  # result.wait_until_done! timeout: 60
808
806
  # if result.response?
809
807
  # p result.response
810
808
  # else
811
- # puts "Error!"
809
+ # puts "No response received."
812
810
  # end
813
811
  #
814
812
  def save_snapshot request, options = nil
@@ -913,14 +911,14 @@ module Google
913
911
  # # Call the load_snapshot method.
914
912
  # result = client.load_snapshot request
915
913
  #
916
- # # The returned object is of type Gapic::Operation. You can use this
917
- # # object to check the status of an operation, cancel it, or wait
918
- # # for results. Here is how to block until completion:
914
+ # # The returned object is of type Gapic::Operation. You can use it to
915
+ # # check the status of an operation, cancel it, or wait for results.
916
+ # # Here is how to wait for a response.
919
917
  # result.wait_until_done! timeout: 60
920
918
  # if result.response?
921
919
  # p result.response
922
920
  # else
923
- # puts "Error!"
921
+ # puts "No response received."
924
922
  # end
925
923
  #
926
924
  def load_snapshot request, options = nil
@@ -160,13 +160,11 @@ module Google
160
160
  # # Call the list_operations method.
161
161
  # result = client.list_operations request
162
162
  #
163
- # # The returned object is of type Gapic::PagedEnumerable. You can
164
- # # iterate over all elements by calling #each, and the enumerable
165
- # # will lazily make API calls to fetch subsequent pages. Other
166
- # # methods are also available for managing paging directly.
167
- # result.each do |response|
163
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
164
+ # # over elements, and API calls will be issued to fetch pages as needed.
165
+ # result.each do |item|
168
166
  # # Each element is of type ::Google::Longrunning::Operation.
169
- # p response
167
+ # p item
170
168
  # end
171
169
  #
172
170
  def list_operations request, options = nil
@@ -255,14 +253,14 @@ module Google
255
253
  # # Call the get_operation method.
256
254
  # result = client.get_operation request
257
255
  #
258
- # # The returned object is of type Gapic::Operation. You can use this
259
- # # object to check the status of an operation, cancel it, or wait
260
- # # for results. Here is how to block until completion:
256
+ # # The returned object is of type Gapic::Operation. You can use it to
257
+ # # check the status of an operation, cancel it, or wait for results.
258
+ # # Here is how to wait for a response.
261
259
  # result.wait_until_done! timeout: 60
262
260
  # if result.response?
263
261
  # p result.response
264
262
  # else
265
- # puts "Error!"
263
+ # puts "No response received."
266
264
  # end
267
265
  #
268
266
  def get_operation request, options = nil
@@ -542,14 +540,14 @@ module Google
542
540
  # # Call the wait_operation method.
543
541
  # result = client.wait_operation request
544
542
  #
545
- # # The returned object is of type Gapic::Operation. You can use this
546
- # # object to check the status of an operation, cancel it, or wait
547
- # # for results. Here is how to block until completion:
543
+ # # The returned object is of type Gapic::Operation. You can use it to
544
+ # # check the status of an operation, cancel it, or wait for results.
545
+ # # Here is how to wait for a response.
548
546
  # result.wait_until_done! timeout: 60
549
547
  # if result.response?
550
548
  # p result.response
551
549
  # else
552
- # puts "Error!"
550
+ # puts "No response received."
553
551
  # end
554
552
  #
555
553
  def wait_operation request, options = nil