google-cloud-orchestration-airflow-service-v1 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/orchestration/airflow/service/v1/environments/client.rb +24 -26
- data/lib/google/cloud/orchestration/airflow/service/v1/environments/operations.rb +12 -14
- data/lib/google/cloud/orchestration/airflow/service/v1/environments/rest/client.rb +945 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/environments/rest/operations.rb +797 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/environments/rest/service_stub.rb +469 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/environments/rest.rb +57 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/environments.rb +6 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/image_versions/client.rb +4 -6
- data/lib/google/cloud/orchestration/airflow/service/v1/image_versions/rest/client.rb +354 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/image_versions/rest/service_stub.rb +111 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/image_versions/rest.rb +55 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/image_versions.rb +6 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/rest.rb +42 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/version.rb +1 -1
- data/lib/google/cloud/orchestration/airflow/service/v1.rb +5 -0
- metadata +15 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a19eaf281898c1882fef259beb53cf78d5c12c9bd3306c97f5e506a6f368003
|
4
|
+
data.tar.gz: 3d60b6a60fa3b7c1fe2248b13b3685f97c3ef3fccbb4cda9dc7066d280593ebb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
207
|
-
# #
|
208
|
-
# #
|
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 "
|
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
|
-
# #
|
392
|
-
#
|
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
|
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
|
611
|
-
# #
|
612
|
-
# #
|
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 "
|
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
|
705
|
-
# #
|
706
|
-
# #
|
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 "
|
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
|
805
|
-
# #
|
806
|
-
# #
|
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 "
|
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
|
917
|
-
# #
|
918
|
-
# #
|
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 "
|
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
|
-
# #
|
165
|
-
#
|
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
|
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
|
259
|
-
# #
|
260
|
-
# #
|
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 "
|
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
|
546
|
-
# #
|
547
|
-
# #
|
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 "
|
550
|
+
# puts "No response received."
|
553
551
|
# end
|
554
552
|
#
|
555
553
|
def wait_operation request, options = nil
|