google-cloud-orchestration-airflow-service-v1 0.6.1 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/orchestration/airflow/service/v1/environments/client.rb +509 -1
- data/lib/google/cloud/orchestration/airflow/service/v1/environments/operations.rb +10 -1
- data/lib/google/cloud/orchestration/airflow/service/v1/environments/rest/client.rb +615 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/environments/rest/operations.rb +75 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/environments/rest/service_stub.rb +299 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/environments_pb.rb +14 -1
- data/lib/google/cloud/orchestration/airflow/service/v1/environments_services_pb.rb +10 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/image_versions/client.rb +10 -1
- data/lib/google/cloud/orchestration/airflow/service/v1/image_versions/rest/client.rb +20 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/operations_pb.rb +1 -1
- data/lib/google/cloud/orchestration/airflow/service/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb +197 -0
- data/proto_docs/google/cloud/orchestration/airflow/service/v1/operations.rb +4 -0
- metadata +5 -5
@@ -138,6 +138,26 @@ module Google
|
|
138
138
|
# @return [::Gapic::Operation]
|
139
139
|
#
|
140
140
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
141
|
+
#
|
142
|
+
# @example Basic example
|
143
|
+
# require "google/longrunning"
|
144
|
+
#
|
145
|
+
# # Create a client object. The client can be reused for multiple calls.
|
146
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
147
|
+
#
|
148
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
149
|
+
# request = Google::Longrunning::ListOperationsRequest.new
|
150
|
+
#
|
151
|
+
# # Call the list_operations method.
|
152
|
+
# result = client.list_operations request
|
153
|
+
#
|
154
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
155
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
156
|
+
# result.each do |item|
|
157
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
158
|
+
# p item
|
159
|
+
# end
|
160
|
+
#
|
141
161
|
def list_operations request, options = nil
|
142
162
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
143
163
|
|
@@ -203,6 +223,29 @@ module Google
|
|
203
223
|
# @return [::Gapic::Operation]
|
204
224
|
#
|
205
225
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
226
|
+
#
|
227
|
+
# @example Basic example
|
228
|
+
# require "google/longrunning"
|
229
|
+
#
|
230
|
+
# # Create a client object. The client can be reused for multiple calls.
|
231
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
232
|
+
#
|
233
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
234
|
+
# request = Google::Longrunning::GetOperationRequest.new
|
235
|
+
#
|
236
|
+
# # Call the get_operation method.
|
237
|
+
# result = client.get_operation request
|
238
|
+
#
|
239
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
240
|
+
# # check the status of an operation, cancel it, or wait for results.
|
241
|
+
# # Here is how to wait for a response.
|
242
|
+
# result.wait_until_done! timeout: 60
|
243
|
+
# if result.response?
|
244
|
+
# p result.response
|
245
|
+
# else
|
246
|
+
# puts "No response received."
|
247
|
+
# end
|
248
|
+
#
|
206
249
|
def get_operation request, options = nil
|
207
250
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
208
251
|
|
@@ -269,6 +312,22 @@ module Google
|
|
269
312
|
# @return [::Google::Protobuf::Empty]
|
270
313
|
#
|
271
314
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
315
|
+
#
|
316
|
+
# @example Basic example
|
317
|
+
# require "google/longrunning"
|
318
|
+
#
|
319
|
+
# # Create a client object. The client can be reused for multiple calls.
|
320
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
321
|
+
#
|
322
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
323
|
+
# request = Google::Longrunning::DeleteOperationRequest.new
|
324
|
+
#
|
325
|
+
# # Call the delete_operation method.
|
326
|
+
# result = client.delete_operation request
|
327
|
+
#
|
328
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
329
|
+
# p result
|
330
|
+
#
|
272
331
|
def delete_operation request, options = nil
|
273
332
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
274
333
|
|
@@ -340,6 +399,22 @@ module Google
|
|
340
399
|
# @return [::Google::Protobuf::Empty]
|
341
400
|
#
|
342
401
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
402
|
+
#
|
403
|
+
# @example Basic example
|
404
|
+
# require "google/longrunning"
|
405
|
+
#
|
406
|
+
# # Create a client object. The client can be reused for multiple calls.
|
407
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
408
|
+
#
|
409
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
410
|
+
# request = Google::Longrunning::CancelOperationRequest.new
|
411
|
+
#
|
412
|
+
# # Call the cancel_operation method.
|
413
|
+
# result = client.cancel_operation request
|
414
|
+
#
|
415
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
416
|
+
# p result
|
417
|
+
#
|
343
418
|
def cancel_operation request, options = nil
|
344
419
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
345
420
|
|
@@ -232,6 +232,120 @@ module Google
|
|
232
232
|
result
|
233
233
|
end
|
234
234
|
|
235
|
+
##
|
236
|
+
# Baseline implementation for the execute_airflow_command REST call
|
237
|
+
#
|
238
|
+
# @param request_pb [::Google::Cloud::Orchestration::Airflow::Service::V1::ExecuteAirflowCommandRequest]
|
239
|
+
# A request object representing the call parameters. Required.
|
240
|
+
# @param options [::Gapic::CallOptions]
|
241
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
242
|
+
#
|
243
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
244
|
+
# @yieldparam result [::Google::Cloud::Orchestration::Airflow::Service::V1::ExecuteAirflowCommandResponse]
|
245
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
246
|
+
#
|
247
|
+
# @return [::Google::Cloud::Orchestration::Airflow::Service::V1::ExecuteAirflowCommandResponse]
|
248
|
+
# A result object deserialized from the server's reply
|
249
|
+
def execute_airflow_command request_pb, options = nil
|
250
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
251
|
+
|
252
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_execute_airflow_command_request request_pb
|
253
|
+
query_string_params = if query_string_params.any?
|
254
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
255
|
+
else
|
256
|
+
{}
|
257
|
+
end
|
258
|
+
|
259
|
+
response = @client_stub.make_http_request(
|
260
|
+
verb,
|
261
|
+
uri: uri,
|
262
|
+
body: body || "",
|
263
|
+
params: query_string_params,
|
264
|
+
options: options
|
265
|
+
)
|
266
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
267
|
+
result = ::Google::Cloud::Orchestration::Airflow::Service::V1::ExecuteAirflowCommandResponse.decode_json response.body, ignore_unknown_fields: true
|
268
|
+
|
269
|
+
yield result, operation if block_given?
|
270
|
+
result
|
271
|
+
end
|
272
|
+
|
273
|
+
##
|
274
|
+
# Baseline implementation for the stop_airflow_command REST call
|
275
|
+
#
|
276
|
+
# @param request_pb [::Google::Cloud::Orchestration::Airflow::Service::V1::StopAirflowCommandRequest]
|
277
|
+
# A request object representing the call parameters. Required.
|
278
|
+
# @param options [::Gapic::CallOptions]
|
279
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
280
|
+
#
|
281
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
282
|
+
# @yieldparam result [::Google::Cloud::Orchestration::Airflow::Service::V1::StopAirflowCommandResponse]
|
283
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
284
|
+
#
|
285
|
+
# @return [::Google::Cloud::Orchestration::Airflow::Service::V1::StopAirflowCommandResponse]
|
286
|
+
# A result object deserialized from the server's reply
|
287
|
+
def stop_airflow_command request_pb, options = nil
|
288
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
289
|
+
|
290
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_stop_airflow_command_request request_pb
|
291
|
+
query_string_params = if query_string_params.any?
|
292
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
293
|
+
else
|
294
|
+
{}
|
295
|
+
end
|
296
|
+
|
297
|
+
response = @client_stub.make_http_request(
|
298
|
+
verb,
|
299
|
+
uri: uri,
|
300
|
+
body: body || "",
|
301
|
+
params: query_string_params,
|
302
|
+
options: options
|
303
|
+
)
|
304
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
305
|
+
result = ::Google::Cloud::Orchestration::Airflow::Service::V1::StopAirflowCommandResponse.decode_json response.body, ignore_unknown_fields: true
|
306
|
+
|
307
|
+
yield result, operation if block_given?
|
308
|
+
result
|
309
|
+
end
|
310
|
+
|
311
|
+
##
|
312
|
+
# Baseline implementation for the poll_airflow_command REST call
|
313
|
+
#
|
314
|
+
# @param request_pb [::Google::Cloud::Orchestration::Airflow::Service::V1::PollAirflowCommandRequest]
|
315
|
+
# A request object representing the call parameters. Required.
|
316
|
+
# @param options [::Gapic::CallOptions]
|
317
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
318
|
+
#
|
319
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
320
|
+
# @yieldparam result [::Google::Cloud::Orchestration::Airflow::Service::V1::PollAirflowCommandResponse]
|
321
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
322
|
+
#
|
323
|
+
# @return [::Google::Cloud::Orchestration::Airflow::Service::V1::PollAirflowCommandResponse]
|
324
|
+
# A result object deserialized from the server's reply
|
325
|
+
def poll_airflow_command request_pb, options = nil
|
326
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
327
|
+
|
328
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_poll_airflow_command_request request_pb
|
329
|
+
query_string_params = if query_string_params.any?
|
330
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
331
|
+
else
|
332
|
+
{}
|
333
|
+
end
|
334
|
+
|
335
|
+
response = @client_stub.make_http_request(
|
336
|
+
verb,
|
337
|
+
uri: uri,
|
338
|
+
body: body || "",
|
339
|
+
params: query_string_params,
|
340
|
+
options: options
|
341
|
+
)
|
342
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
343
|
+
result = ::Google::Cloud::Orchestration::Airflow::Service::V1::PollAirflowCommandResponse.decode_json response.body, ignore_unknown_fields: true
|
344
|
+
|
345
|
+
yield result, operation if block_given?
|
346
|
+
result
|
347
|
+
end
|
348
|
+
|
235
349
|
##
|
236
350
|
# Baseline implementation for the save_snapshot REST call
|
237
351
|
#
|
@@ -308,6 +422,82 @@ module Google
|
|
308
422
|
result
|
309
423
|
end
|
310
424
|
|
425
|
+
##
|
426
|
+
# Baseline implementation for the database_failover REST call
|
427
|
+
#
|
428
|
+
# @param request_pb [::Google::Cloud::Orchestration::Airflow::Service::V1::DatabaseFailoverRequest]
|
429
|
+
# A request object representing the call parameters. Required.
|
430
|
+
# @param options [::Gapic::CallOptions]
|
431
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
432
|
+
#
|
433
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
434
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
435
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
436
|
+
#
|
437
|
+
# @return [::Google::Longrunning::Operation]
|
438
|
+
# A result object deserialized from the server's reply
|
439
|
+
def database_failover request_pb, options = nil
|
440
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
441
|
+
|
442
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_database_failover_request request_pb
|
443
|
+
query_string_params = if query_string_params.any?
|
444
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
445
|
+
else
|
446
|
+
{}
|
447
|
+
end
|
448
|
+
|
449
|
+
response = @client_stub.make_http_request(
|
450
|
+
verb,
|
451
|
+
uri: uri,
|
452
|
+
body: body || "",
|
453
|
+
params: query_string_params,
|
454
|
+
options: options
|
455
|
+
)
|
456
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
457
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
458
|
+
|
459
|
+
yield result, operation if block_given?
|
460
|
+
result
|
461
|
+
end
|
462
|
+
|
463
|
+
##
|
464
|
+
# Baseline implementation for the fetch_database_properties REST call
|
465
|
+
#
|
466
|
+
# @param request_pb [::Google::Cloud::Orchestration::Airflow::Service::V1::FetchDatabasePropertiesRequest]
|
467
|
+
# A request object representing the call parameters. Required.
|
468
|
+
# @param options [::Gapic::CallOptions]
|
469
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
470
|
+
#
|
471
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
472
|
+
# @yieldparam result [::Google::Cloud::Orchestration::Airflow::Service::V1::FetchDatabasePropertiesResponse]
|
473
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
474
|
+
#
|
475
|
+
# @return [::Google::Cloud::Orchestration::Airflow::Service::V1::FetchDatabasePropertiesResponse]
|
476
|
+
# A result object deserialized from the server's reply
|
477
|
+
def fetch_database_properties request_pb, options = nil
|
478
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
479
|
+
|
480
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_fetch_database_properties_request request_pb
|
481
|
+
query_string_params = if query_string_params.any?
|
482
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
483
|
+
else
|
484
|
+
{}
|
485
|
+
end
|
486
|
+
|
487
|
+
response = @client_stub.make_http_request(
|
488
|
+
verb,
|
489
|
+
uri: uri,
|
490
|
+
body: body || "",
|
491
|
+
params: query_string_params,
|
492
|
+
options: options
|
493
|
+
)
|
494
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
495
|
+
result = ::Google::Cloud::Orchestration::Airflow::Service::V1::FetchDatabasePropertiesResponse.decode_json response.body, ignore_unknown_fields: true
|
496
|
+
|
497
|
+
yield result, operation if block_given?
|
498
|
+
result
|
499
|
+
end
|
500
|
+
|
311
501
|
##
|
312
502
|
# @private
|
313
503
|
#
|
@@ -415,6 +605,72 @@ module Google
|
|
415
605
|
transcoder.transcode request_pb
|
416
606
|
end
|
417
607
|
|
608
|
+
##
|
609
|
+
# @private
|
610
|
+
#
|
611
|
+
# GRPC transcoding helper method for the execute_airflow_command REST call
|
612
|
+
#
|
613
|
+
# @param request_pb [::Google::Cloud::Orchestration::Airflow::Service::V1::ExecuteAirflowCommandRequest]
|
614
|
+
# A request object representing the call parameters. Required.
|
615
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
616
|
+
# Uri, Body, Query string parameters
|
617
|
+
def self.transcode_execute_airflow_command_request request_pb
|
618
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
619
|
+
.with_bindings(
|
620
|
+
uri_method: :post,
|
621
|
+
uri_template: "/v1/{environment}:executeAirflowCommand",
|
622
|
+
body: "*",
|
623
|
+
matches: [
|
624
|
+
["environment", %r{^projects/[^/]+/locations/[^/]+/environments/[^/]+/?$}, false]
|
625
|
+
]
|
626
|
+
)
|
627
|
+
transcoder.transcode request_pb
|
628
|
+
end
|
629
|
+
|
630
|
+
##
|
631
|
+
# @private
|
632
|
+
#
|
633
|
+
# GRPC transcoding helper method for the stop_airflow_command REST call
|
634
|
+
#
|
635
|
+
# @param request_pb [::Google::Cloud::Orchestration::Airflow::Service::V1::StopAirflowCommandRequest]
|
636
|
+
# A request object representing the call parameters. Required.
|
637
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
638
|
+
# Uri, Body, Query string parameters
|
639
|
+
def self.transcode_stop_airflow_command_request request_pb
|
640
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
641
|
+
.with_bindings(
|
642
|
+
uri_method: :post,
|
643
|
+
uri_template: "/v1/{environment}:stopAirflowCommand",
|
644
|
+
body: "*",
|
645
|
+
matches: [
|
646
|
+
["environment", %r{^projects/[^/]+/locations/[^/]+/environments/[^/]+/?$}, false]
|
647
|
+
]
|
648
|
+
)
|
649
|
+
transcoder.transcode request_pb
|
650
|
+
end
|
651
|
+
|
652
|
+
##
|
653
|
+
# @private
|
654
|
+
#
|
655
|
+
# GRPC transcoding helper method for the poll_airflow_command REST call
|
656
|
+
#
|
657
|
+
# @param request_pb [::Google::Cloud::Orchestration::Airflow::Service::V1::PollAirflowCommandRequest]
|
658
|
+
# A request object representing the call parameters. Required.
|
659
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
660
|
+
# Uri, Body, Query string parameters
|
661
|
+
def self.transcode_poll_airflow_command_request request_pb
|
662
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
663
|
+
.with_bindings(
|
664
|
+
uri_method: :post,
|
665
|
+
uri_template: "/v1/{environment}:pollAirflowCommand",
|
666
|
+
body: "*",
|
667
|
+
matches: [
|
668
|
+
["environment", %r{^projects/[^/]+/locations/[^/]+/environments/[^/]+/?$}, false]
|
669
|
+
]
|
670
|
+
)
|
671
|
+
transcoder.transcode request_pb
|
672
|
+
end
|
673
|
+
|
418
674
|
##
|
419
675
|
# @private
|
420
676
|
#
|
@@ -458,6 +714,49 @@ module Google
|
|
458
714
|
)
|
459
715
|
transcoder.transcode request_pb
|
460
716
|
end
|
717
|
+
|
718
|
+
##
|
719
|
+
# @private
|
720
|
+
#
|
721
|
+
# GRPC transcoding helper method for the database_failover REST call
|
722
|
+
#
|
723
|
+
# @param request_pb [::Google::Cloud::Orchestration::Airflow::Service::V1::DatabaseFailoverRequest]
|
724
|
+
# A request object representing the call parameters. Required.
|
725
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
726
|
+
# Uri, Body, Query string parameters
|
727
|
+
def self.transcode_database_failover_request request_pb
|
728
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
729
|
+
.with_bindings(
|
730
|
+
uri_method: :post,
|
731
|
+
uri_template: "/v1/{environment}:databaseFailover",
|
732
|
+
body: "*",
|
733
|
+
matches: [
|
734
|
+
["environment", %r{^projects/[^/]+/locations/[^/]+/environments/[^/]+/?$}, false]
|
735
|
+
]
|
736
|
+
)
|
737
|
+
transcoder.transcode request_pb
|
738
|
+
end
|
739
|
+
|
740
|
+
##
|
741
|
+
# @private
|
742
|
+
#
|
743
|
+
# GRPC transcoding helper method for the fetch_database_properties REST call
|
744
|
+
#
|
745
|
+
# @param request_pb [::Google::Cloud::Orchestration::Airflow::Service::V1::FetchDatabasePropertiesRequest]
|
746
|
+
# A request object representing the call parameters. Required.
|
747
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
748
|
+
# Uri, Body, Query string parameters
|
749
|
+
def self.transcode_fetch_database_properties_request request_pb
|
750
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
751
|
+
.with_bindings(
|
752
|
+
uri_method: :get,
|
753
|
+
uri_template: "/v1/{environment}:fetchDatabaseProperties",
|
754
|
+
matches: [
|
755
|
+
["environment", %r{^projects/[^/]+/locations/[^/]+/environments/[^/]+/?$}, false]
|
756
|
+
]
|
757
|
+
)
|
758
|
+
transcoder.transcode request_pb
|
759
|
+
end
|
461
760
|
end
|
462
761
|
end
|
463
762
|
end
|
@@ -15,7 +15,7 @@ require 'google/protobuf/field_mask_pb'
|
|
15
15
|
require 'google/protobuf/timestamp_pb'
|
16
16
|
|
17
17
|
|
18
|
-
descriptor_data = "\n@google/cloud/orchestration/airflow/service/v1/environments.proto\x12-google.cloud.orchestration.airflow.service.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/orchestration/airflow/service/v1/operations.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"{\n\x18\x43reateEnvironmentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12O\n\x0b\x65nvironment\x18\x02 \x01(\x0b\x32:.google.cloud.orchestration.airflow.service.v1.Environment\"%\n\x15GetEnvironmentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"P\n\x17ListEnvironmentsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x85\x01\n\x18ListEnvironmentsResponse\x12P\n\x0c\x65nvironments\x18\x01 \x03(\x0b\x32:.google.cloud.orchestration.airflow.service.v1.Environment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"(\n\x18\x44\x65leteEnvironmentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xaa\x01\n\x18UpdateEnvironmentRequest\x12\x0c\n\x04name\x18\x02 \x01(\t\x12O\n\x0b\x65nvironment\x18\x01 \x01(\x0b\x32:.google.cloud.orchestration.airflow.service.v1.Environment\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"E\n\x13SaveSnapshotRequest\x12\x13\n\x0b\x65nvironment\x18\x01 \x01(\t\x12\x19\n\x11snapshot_location\x18\x02 \x01(\t\"-\n\x14SaveSnapshotResponse\x12\x15\n\rsnapshot_path\x18\x01 \x01(\t\"\xdd\x01\n\x13LoadSnapshotRequest\x12\x13\n\x0b\x65nvironment\x18\x01 \x01(\t\x12\x15\n\rsnapshot_path\x18\x02 \x01(\t\x12\'\n\x1fskip_pypi_packages_installation\x18\x03 \x01(\x08\x12*\n\"skip_environment_variables_setting\x18\x04 \x01(\x08\x12&\n\x1eskip_airflow_overrides_setting\x18\x05 \x01(\x08\x12\x1d\n\x15skip_gcs_data_copying\x18\x06 \x01(\x08\"\x16\n\x14LoadSnapshotResponse\"\xd4\x0b\n\x11\x45nvironmentConfig\x12\x13\n\x0bgke_cluster\x18\x01 \x01(\t\x12\x16\n\x0e\x64\x61g_gcs_prefix\x18\x02 \x01(\t\x12\x12\n\nnode_count\x18\x03 \x01(\x05\x12V\n\x0fsoftware_config\x18\x04 \x01(\x0b\x32=.google.cloud.orchestration.airflow.service.v1.SoftwareConfig\x12N\n\x0bnode_config\x18\x05 \x01(\x0b\x32\x39.google.cloud.orchestration.airflow.service.v1.NodeConfig\x12k\n\x1aprivate_environment_config\x18\x07 \x01(\x0b\x32G.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig\x12|\n!web_server_network_access_control\x18\x08 \x01(\x0b\x32L.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlB\x03\xe0\x41\x01\x12[\n\x0f\x64\x61tabase_config\x18\t \x01(\x0b\x32=.google.cloud.orchestration.airflow.service.v1.DatabaseConfigB\x03\xe0\x41\x01\x12^\n\x11web_server_config\x18\n \x01(\x0b\x32>.google.cloud.orchestration.airflow.service.v1.WebServerConfigB\x03\xe0\x41\x01\x12_\n\x11\x65ncryption_config\x18\x0b \x01(\x0b\x32?.google.cloud.orchestration.airflow.service.v1.EncryptionConfigB\x03\xe0\x41\x01\x12\x61\n\x12maintenance_window\x18\x0c \x01(\x0b\x32@.google.cloud.orchestration.airflow.service.v1.MaintenanceWindowB\x03\xe0\x41\x01\x12]\n\x10workloads_config\x18\x0f \x01(\x0b\x32>.google.cloud.orchestration.airflow.service.v1.WorkloadsConfigB\x03\xe0\x41\x01\x12o\n\x10\x65nvironment_size\x18\x10 \x01(\x0e\x32P.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.EnvironmentSizeB\x03\xe0\x41\x01\x12\x13\n\x0b\x61irflow_uri\x18\x06 \x01(\t\x12\x1e\n\x11\x61irflow_byoid_uri\x18\x14 \x01(\tB\x03\xe0\x41\x03\x12}\n!master_authorized_networks_config\x18\x11 \x01(\x0b\x32M.google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfigB\x03\xe0\x41\x01\x12[\n\x0frecovery_config\x18\x12 \x01(\x0b\x32=.google.cloud.orchestration.airflow.service.v1.RecoveryConfigB\x03\xe0\x41\x01\"\x88\x01\n\x0f\x45nvironmentSize\x12 \n\x1c\x45NVIRONMENT_SIZE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x45NVIRONMENT_SIZE_SMALL\x10\x01\x12\x1b\n\x17\x45NVIRONMENT_SIZE_MEDIUM\x10\x02\x12\x1a\n\x16\x45NVIRONMENT_SIZE_LARGE\x10\x03\"\xd2\x01\n\x1dWebServerNetworkAccessControl\x12v\n\x11\x61llowed_ip_ranges\x18\x01 \x03(\x0b\x32[.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange\x1a\x39\n\x0e\x41llowedIpRange\x12\r\n\x05value\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\"+\n\x0e\x44\x61tabaseConfig\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\",\n\x0fWebServerConfig\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\"-\n\x10\x45ncryptionConfig\x12\x19\n\x0ckms_key_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\x94\x01\n\x11MaintenanceWindow\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x17\n\nrecurrence\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xd3\x04\n\x0eSoftwareConfig\x12\x15\n\rimage_version\x18\x01 \x01(\t\x12{\n\x18\x61irflow_config_overrides\x18\x02 \x03(\x0b\x32Y.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.AirflowConfigOverridesEntry\x12\x66\n\rpypi_packages\x18\x03 \x03(\x0b\x32O.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.PypiPackagesEntry\x12\x66\n\renv_variables\x18\x04 \x03(\x0b\x32O.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.EnvVariablesEntry\x12\x16\n\x0epython_version\x18\x06 \x01(\t\x12\x1c\n\x0fscheduler_count\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01\x1a=\n\x1b\x41irflowConfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11PypiPackagesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11\x45nvVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x90\x02\n\x12IPAllocationPolicy\x12\x1b\n\x0euse_ip_aliases\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12+\n\x1c\x63luster_secondary_range_name\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x12&\n\x17\x63luster_ipv4_cidr_block\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x00\x12,\n\x1dservices_secondary_range_name\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x01\x12\'\n\x18services_ipv4_cidr_block\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x01\x42\x17\n\x15\x63luster_ip_allocationB\x18\n\x16services_ip_allocation\"\xb5\x02\n\nNodeConfig\x12\x10\n\x08location\x18\x01 \x01(\t\x12\x14\n\x0cmachine_type\x18\x02 \x01(\t\x12\x0f\n\x07network\x18\x03 \x01(\t\x12\x12\n\nsubnetwork\x18\x04 \x01(\t\x12\x14\n\x0c\x64isk_size_gb\x18\x05 \x01(\x05\x12\x14\n\x0coauth_scopes\x18\x06 \x03(\t\x12\x17\n\x0fservice_account\x18\x07 \x01(\t\x12\x0c\n\x04tags\x18\x08 \x03(\t\x12\x64\n\x14ip_allocation_policy\x18\t \x01(\x0b\x32\x41.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyB\x03\xe0\x41\x01\x12!\n\x14\x65nable_ip_masq_agent\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\"\x8a\x01\n\x14PrivateClusterConfig\x12$\n\x17\x65nable_private_endpoint\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12#\n\x16master_ipv4_cidr_block\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\'\n\x1amaster_ipv4_reserved_range\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xe1\x01\n\x10NetworkingConfig\x12l\n\x0f\x63onnection_type\x18\x01 \x01(\x0e\x32N.google.cloud.orchestration.airflow.service.v1.NetworkingConfig.ConnectionTypeB\x03\xe0\x41\x01\"_\n\x0e\x43onnectionType\x12\x1f\n\x1b\x43ONNECTION_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bVPC_PEERING\x10\x01\x12\x1b\n\x17PRIVATE_SERVICE_CONNECT\x10\x02\"\xdc\x04\n\x18PrivateEnvironmentConfig\x12\'\n\x1a\x65nable_private_environment\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12h\n\x16private_cluster_config\x18\x02 \x01(\x0b\x32\x43.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigB\x03\xe0\x41\x01\x12\'\n\x1aweb_server_ipv4_cidr_block\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12&\n\x19\x63loud_sql_ipv4_cidr_block\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12+\n\x1eweb_server_ipv4_reserved_range\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x33\n&cloud_composer_network_ipv4_cidr_block\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x37\n*cloud_composer_network_ipv4_reserved_range\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12-\n enable_privately_used_public_ips\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x31\n$cloud_composer_connection_subnetwork\x18\t \x01(\tB\x03\xe0\x41\x01\x12_\n\x11networking_config\x18\n \x01(\x0b\x32?.google.cloud.orchestration.airflow.service.v1.NetworkingConfigB\x03\xe0\x41\x01\"\x94\x05\n\x0fWorkloadsConfig\x12h\n\tscheduler\x18\x01 \x01(\x0b\x32P.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.SchedulerResourceB\x03\xe0\x41\x01\x12i\n\nweb_server\x18\x02 \x01(\x0b\x32P.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WebServerResourceB\x03\xe0\x41\x01\x12\x62\n\x06worker\x18\x03 \x01(\x0b\x32M.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WorkerResourceB\x03\xe0\x41\x01\x1aj\n\x11SchedulerResource\x12\x10\n\x03\x63pu\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01\x12\x16\n\tmemory_gb\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x12\x17\n\nstorage_gb\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01\x12\x12\n\x05\x63ount\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x1aV\n\x11WebServerResource\x12\x10\n\x03\x63pu\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01\x12\x16\n\tmemory_gb\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x12\x17\n\nstorage_gb\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01\x1a\x83\x01\n\x0eWorkerResource\x12\x10\n\x03\x63pu\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01\x12\x16\n\tmemory_gb\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x12\x17\n\nstorage_gb\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01\x12\x16\n\tmin_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x16\n\tmax_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\"\x82\x01\n\x0eRecoveryConfig\x12p\n\x1ascheduled_snapshots_config\x18\x01 \x01(\x0b\x32G.google.cloud.orchestration.airflow.service.v1.ScheduledSnapshotsConfigB\x03\xe0\x41\x01\"\x91\x01\n\x18ScheduledSnapshotsConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1e\n\x11snapshot_location\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\'\n\x1asnapshot_creation_schedule\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\ttime_zone\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xd6\x01\n\x1eMasterAuthorizedNetworksConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12l\n\x0b\x63idr_blocks\x18\x02 \x03(\x0b\x32W.google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock\x1a\x35\n\tCidrBlock\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x12\n\ncidr_block\x18\x02 \x01(\t\"\x85\x05\n\x0b\x45nvironment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12P\n\x06\x63onfig\x18\x02 \x01(\x0b\x32@.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x12O\n\x05state\x18\x04 \x01(\x0e\x32@.google.cloud.orchestration.airflow.service.v1.Environment.State\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12V\n\x06labels\x18\x07 \x03(\x0b\x32\x46.google.cloud.orchestration.airflow.service.v1.Environment.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"`\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\t\n\x05\x45RROR\x10\x05:l\xea\x41i\n#composer.googleapis.com/Environment\x12\x42projects/{project}/locations/{location}/environments/{environment}\"\xf9\x03\n\x14\x43heckUpgradeResponse\x12\x1a\n\rbuild_log_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x7f\n\x1e\x63ontains_pypi_modules_conflict\x18\x04 \x01(\x0e\x32R.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResultB\x03\xe0\x41\x03\x12,\n\x1fpypi_conflict_build_log_extract\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\rimage_version\x18\x05 \x01(\t\x12t\n\x11pypi_dependencies\x18\x06 \x03(\x0b\x32Y.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.PypiDependenciesEntry\x1a\x37\n\x15PypiDependenciesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"P\n\x0e\x43onflictResult\x12\x1f\n\x1b\x43ONFLICT_RESULT_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43ONFLICT\x10\x01\x12\x0f\n\x0bNO_CONFLICT\x10\x02\x32\xb5\x10\n\x0c\x45nvironments\x12\xa9\x02\n\x11\x43reateEnvironment\x12G.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\xab\x01\x82\xd3\xe4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/environments:\x0b\x65nvironment\xda\x41\x12parent,environment\xca\x41N\n\x0b\x45nvironment\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x12\xd3\x01\n\x0eGetEnvironment\x12\x44.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest\x1a:.google.cloud.orchestration.airflow.service.v1.Environment\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/environments/*}\xda\x41\x04name\x12\xe6\x01\n\x10ListEnvironments\x12\x46.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest\x1aG.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/environments\xda\x41\x06parent\x12\xb3\x02\n\x11UpdateEnvironment\x12G.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\xb5\x01\x82\xd3\xe4\x93\x02?20/v1/{name=projects/*/locations/*/environments/*}:\x0b\x65nvironment\xda\x41\x1cname,environment,update_mask\xca\x41N\n\x0b\x45nvironment\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x12\x98\x02\n\x11\x44\x65leteEnvironment\x12G.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/environments/*}\xda\x41\x04name\xca\x41X\n\x15google.protobuf.Empty\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x12\xcc\x02\n\x0cSaveSnapshot\x12\x42.google.cloud.orchestration.airflow.service.v1.SaveSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\xd8\x01\x82\xd3\xe4\x93\x02I\"D/v1/{environment=projects/*/locations/*/environments/*}:saveSnapshot:\x01*\xca\x41\x85\x01\nBgoogle.cloud.orchestration.airflow.service.v1.SaveSnapshotResponse\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x12\xcc\x02\n\x0cLoadSnapshot\x12\x42.google.cloud.orchestration.airflow.service.v1.LoadSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\xd8\x01\x82\xd3\xe4\x93\x02I\"D/v1/{environment=projects/*/locations/*/environments/*}:loadSnapshot:\x01*\xca\x41\x85\x01\nBgoogle.cloud.orchestration.airflow.service.v1.LoadSnapshotResponse\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x1aK\xca\x41\x17\x63omposer.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x82\x01\n1com.google.cloud.orchestration.airflow.service.v1P\x01ZKcloud.google.com/go/orchestration/airflow/service/apiv1/servicepb;servicepbb\x06proto3"
|
18
|
+
descriptor_data = "\n@google/cloud/orchestration/airflow/service/v1/environments.proto\x12-google.cloud.orchestration.airflow.service.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/orchestration/airflow/service/v1/operations.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"{\n\x18\x43reateEnvironmentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12O\n\x0b\x65nvironment\x18\x02 \x01(\x0b\x32:.google.cloud.orchestration.airflow.service.v1.Environment\"%\n\x15GetEnvironmentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"P\n\x17ListEnvironmentsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x85\x01\n\x18ListEnvironmentsResponse\x12P\n\x0c\x65nvironments\x18\x01 \x03(\x0b\x32:.google.cloud.orchestration.airflow.service.v1.Environment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"(\n\x18\x44\x65leteEnvironmentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xaa\x01\n\x18UpdateEnvironmentRequest\x12\x0c\n\x04name\x18\x02 \x01(\t\x12O\n\x0b\x65nvironment\x18\x01 \x01(\x0b\x32:.google.cloud.orchestration.airflow.service.v1.Environment\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"l\n\x1c\x45xecuteAirflowCommandRequest\x12\x13\n\x0b\x65nvironment\x18\x01 \x01(\t\x12\x0f\n\x07\x63ommand\x18\x02 \x01(\t\x12\x12\n\nsubcommand\x18\x03 \x01(\t\x12\x12\n\nparameters\x18\x04 \x03(\t\"h\n\x1d\x45xecuteAirflowCommandResponse\x12\x14\n\x0c\x65xecution_id\x18\x01 \x01(\t\x12\x0b\n\x03pod\x18\x02 \x01(\t\x12\x15\n\rpod_namespace\x18\x03 \x01(\t\x12\r\n\x05\x65rror\x18\x04 \x01(\t\"y\n\x19StopAirflowCommandRequest\x12\x13\n\x0b\x65nvironment\x18\x01 \x01(\t\x12\x14\n\x0c\x65xecution_id\x18\x02 \x01(\t\x12\x0b\n\x03pod\x18\x03 \x01(\t\x12\x15\n\rpod_namespace\x18\x04 \x01(\t\x12\r\n\x05\x66orce\x18\x05 \x01(\x08\"=\n\x1aStopAirflowCommandResponse\x12\x0f\n\x07is_done\x18\x01 \x01(\x08\x12\x0e\n\x06output\x18\x02 \x03(\t\"\x84\x01\n\x19PollAirflowCommandRequest\x12\x13\n\x0b\x65nvironment\x18\x01 \x01(\t\x12\x14\n\x0c\x65xecution_id\x18\x02 \x01(\t\x12\x0b\n\x03pod\x18\x03 \x01(\t\x12\x15\n\rpod_namespace\x18\x04 \x01(\t\x12\x18\n\x10next_line_number\x18\x05 \x01(\x05\"\xd3\x02\n\x1aPollAirflowCommandResponse\x12^\n\x06output\x18\x01 \x03(\x0b\x32N.google.cloud.orchestration.airflow.service.v1.PollAirflowCommandResponse.Line\x12\x12\n\noutput_end\x18\x02 \x01(\x08\x12\x65\n\texit_info\x18\x03 \x01(\x0b\x32R.google.cloud.orchestration.airflow.service.v1.PollAirflowCommandResponse.ExitInfo\x1a,\n\x04Line\x12\x13\n\x0bline_number\x18\x01 \x01(\x05\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x1a,\n\x08\x45xitInfo\x12\x11\n\texit_code\x18\x01 \x01(\x05\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"E\n\x13SaveSnapshotRequest\x12\x13\n\x0b\x65nvironment\x18\x01 \x01(\t\x12\x19\n\x11snapshot_location\x18\x02 \x01(\t\"-\n\x14SaveSnapshotResponse\x12\x15\n\rsnapshot_path\x18\x01 \x01(\t\"\xdd\x01\n\x13LoadSnapshotRequest\x12\x13\n\x0b\x65nvironment\x18\x01 \x01(\t\x12\x15\n\rsnapshot_path\x18\x02 \x01(\t\x12\'\n\x1fskip_pypi_packages_installation\x18\x03 \x01(\x08\x12*\n\"skip_environment_variables_setting\x18\x04 \x01(\x08\x12&\n\x1eskip_airflow_overrides_setting\x18\x05 \x01(\x08\x12\x1d\n\x15skip_gcs_data_copying\x18\x06 \x01(\x08\"\x16\n\x14LoadSnapshotResponse\".\n\x17\x44\x61tabaseFailoverRequest\x12\x13\n\x0b\x65nvironment\x18\x01 \x01(\t\"\x1a\n\x18\x44\x61tabaseFailoverResponse\"b\n\x1e\x46\x65tchDatabasePropertiesRequest\x12@\n\x0b\x65nvironment\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#composer.googleapis.com/Environment\"~\n\x1f\x46\x65tchDatabasePropertiesResponse\x12\x18\n\x10primary_gce_zone\x18\x01 \x01(\t\x12\x1a\n\x12secondary_gce_zone\x18\x02 \x01(\t\x12%\n\x1dis_failover_replica_available\x18\x03 \x01(\x08\"\x8b\r\n\x11\x45nvironmentConfig\x12\x13\n\x0bgke_cluster\x18\x01 \x01(\t\x12\x16\n\x0e\x64\x61g_gcs_prefix\x18\x02 \x01(\t\x12\x12\n\nnode_count\x18\x03 \x01(\x05\x12V\n\x0fsoftware_config\x18\x04 \x01(\x0b\x32=.google.cloud.orchestration.airflow.service.v1.SoftwareConfig\x12N\n\x0bnode_config\x18\x05 \x01(\x0b\x32\x39.google.cloud.orchestration.airflow.service.v1.NodeConfig\x12k\n\x1aprivate_environment_config\x18\x07 \x01(\x0b\x32G.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig\x12|\n!web_server_network_access_control\x18\x08 \x01(\x0b\x32L.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlB\x03\xe0\x41\x01\x12[\n\x0f\x64\x61tabase_config\x18\t \x01(\x0b\x32=.google.cloud.orchestration.airflow.service.v1.DatabaseConfigB\x03\xe0\x41\x01\x12^\n\x11web_server_config\x18\n \x01(\x0b\x32>.google.cloud.orchestration.airflow.service.v1.WebServerConfigB\x03\xe0\x41\x01\x12_\n\x11\x65ncryption_config\x18\x0b \x01(\x0b\x32?.google.cloud.orchestration.airflow.service.v1.EncryptionConfigB\x03\xe0\x41\x01\x12\x61\n\x12maintenance_window\x18\x0c \x01(\x0b\x32@.google.cloud.orchestration.airflow.service.v1.MaintenanceWindowB\x03\xe0\x41\x01\x12]\n\x10workloads_config\x18\x0f \x01(\x0b\x32>.google.cloud.orchestration.airflow.service.v1.WorkloadsConfigB\x03\xe0\x41\x01\x12o\n\x10\x65nvironment_size\x18\x10 \x01(\x0e\x32P.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.EnvironmentSizeB\x03\xe0\x41\x01\x12\x13\n\x0b\x61irflow_uri\x18\x06 \x01(\t\x12\x1e\n\x11\x61irflow_byoid_uri\x18\x14 \x01(\tB\x03\xe0\x41\x03\x12}\n!master_authorized_networks_config\x18\x11 \x01(\x0b\x32M.google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfigB\x03\xe0\x41\x01\x12[\n\x0frecovery_config\x18\x12 \x01(\x0b\x32=.google.cloud.orchestration.airflow.service.v1.RecoveryConfigB\x03\xe0\x41\x01\x12m\n\x0fresilience_mode\x18\x13 \x01(\x0e\x32O.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.ResilienceModeB\x03\xe0\x41\x01\"\x88\x01\n\x0f\x45nvironmentSize\x12 \n\x1c\x45NVIRONMENT_SIZE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x45NVIRONMENT_SIZE_SMALL\x10\x01\x12\x1b\n\x17\x45NVIRONMENT_SIZE_MEDIUM\x10\x02\x12\x1a\n\x16\x45NVIRONMENT_SIZE_LARGE\x10\x03\"F\n\x0eResilienceMode\x12\x1f\n\x1bRESILIENCE_MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fHIGH_RESILIENCE\x10\x01\"\xd2\x01\n\x1dWebServerNetworkAccessControl\x12v\n\x11\x61llowed_ip_ranges\x18\x01 \x03(\x0b\x32[.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange\x1a\x39\n\x0e\x41llowedIpRange\x12\r\n\x05value\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\"+\n\x0e\x44\x61tabaseConfig\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\",\n\x0fWebServerConfig\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\"-\n\x10\x45ncryptionConfig\x12\x19\n\x0ckms_key_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\x94\x01\n\x11MaintenanceWindow\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x17\n\nrecurrence\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xd3\x04\n\x0eSoftwareConfig\x12\x15\n\rimage_version\x18\x01 \x01(\t\x12{\n\x18\x61irflow_config_overrides\x18\x02 \x03(\x0b\x32Y.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.AirflowConfigOverridesEntry\x12\x66\n\rpypi_packages\x18\x03 \x03(\x0b\x32O.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.PypiPackagesEntry\x12\x66\n\renv_variables\x18\x04 \x03(\x0b\x32O.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.EnvVariablesEntry\x12\x16\n\x0epython_version\x18\x06 \x01(\t\x12\x1c\n\x0fscheduler_count\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01\x1a=\n\x1b\x41irflowConfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11PypiPackagesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11\x45nvVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x90\x02\n\x12IPAllocationPolicy\x12\x1b\n\x0euse_ip_aliases\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12+\n\x1c\x63luster_secondary_range_name\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x12&\n\x17\x63luster_ipv4_cidr_block\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x00\x12,\n\x1dservices_secondary_range_name\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x01\x12\'\n\x18services_ipv4_cidr_block\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x01\x42\x17\n\x15\x63luster_ip_allocationB\x18\n\x16services_ip_allocation\"\xb5\x02\n\nNodeConfig\x12\x10\n\x08location\x18\x01 \x01(\t\x12\x14\n\x0cmachine_type\x18\x02 \x01(\t\x12\x0f\n\x07network\x18\x03 \x01(\t\x12\x12\n\nsubnetwork\x18\x04 \x01(\t\x12\x14\n\x0c\x64isk_size_gb\x18\x05 \x01(\x05\x12\x14\n\x0coauth_scopes\x18\x06 \x03(\t\x12\x17\n\x0fservice_account\x18\x07 \x01(\t\x12\x0c\n\x04tags\x18\x08 \x03(\t\x12\x64\n\x14ip_allocation_policy\x18\t \x01(\x0b\x32\x41.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyB\x03\xe0\x41\x01\x12!\n\x14\x65nable_ip_masq_agent\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\"\x8a\x01\n\x14PrivateClusterConfig\x12$\n\x17\x65nable_private_endpoint\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12#\n\x16master_ipv4_cidr_block\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\'\n\x1amaster_ipv4_reserved_range\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xe1\x01\n\x10NetworkingConfig\x12l\n\x0f\x63onnection_type\x18\x01 \x01(\x0e\x32N.google.cloud.orchestration.airflow.service.v1.NetworkingConfig.ConnectionTypeB\x03\xe0\x41\x01\"_\n\x0e\x43onnectionType\x12\x1f\n\x1b\x43ONNECTION_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bVPC_PEERING\x10\x01\x12\x1b\n\x17PRIVATE_SERVICE_CONNECT\x10\x02\"\xdc\x04\n\x18PrivateEnvironmentConfig\x12\'\n\x1a\x65nable_private_environment\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12h\n\x16private_cluster_config\x18\x02 \x01(\x0b\x32\x43.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigB\x03\xe0\x41\x01\x12\'\n\x1aweb_server_ipv4_cidr_block\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12&\n\x19\x63loud_sql_ipv4_cidr_block\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12+\n\x1eweb_server_ipv4_reserved_range\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x33\n&cloud_composer_network_ipv4_cidr_block\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x37\n*cloud_composer_network_ipv4_reserved_range\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12-\n enable_privately_used_public_ips\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x31\n$cloud_composer_connection_subnetwork\x18\t \x01(\tB\x03\xe0\x41\x01\x12_\n\x11networking_config\x18\n \x01(\x0b\x32?.google.cloud.orchestration.airflow.service.v1.NetworkingConfigB\x03\xe0\x41\x01\"\x94\x05\n\x0fWorkloadsConfig\x12h\n\tscheduler\x18\x01 \x01(\x0b\x32P.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.SchedulerResourceB\x03\xe0\x41\x01\x12i\n\nweb_server\x18\x02 \x01(\x0b\x32P.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WebServerResourceB\x03\xe0\x41\x01\x12\x62\n\x06worker\x18\x03 \x01(\x0b\x32M.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WorkerResourceB\x03\xe0\x41\x01\x1aj\n\x11SchedulerResource\x12\x10\n\x03\x63pu\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01\x12\x16\n\tmemory_gb\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x12\x17\n\nstorage_gb\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01\x12\x12\n\x05\x63ount\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x1aV\n\x11WebServerResource\x12\x10\n\x03\x63pu\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01\x12\x16\n\tmemory_gb\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x12\x17\n\nstorage_gb\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01\x1a\x83\x01\n\x0eWorkerResource\x12\x10\n\x03\x63pu\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01\x12\x16\n\tmemory_gb\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x12\x17\n\nstorage_gb\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01\x12\x16\n\tmin_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x16\n\tmax_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\"\x82\x01\n\x0eRecoveryConfig\x12p\n\x1ascheduled_snapshots_config\x18\x01 \x01(\x0b\x32G.google.cloud.orchestration.airflow.service.v1.ScheduledSnapshotsConfigB\x03\xe0\x41\x01\"\x91\x01\n\x18ScheduledSnapshotsConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1e\n\x11snapshot_location\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\'\n\x1asnapshot_creation_schedule\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\ttime_zone\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xd6\x01\n\x1eMasterAuthorizedNetworksConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12l\n\x0b\x63idr_blocks\x18\x02 \x03(\x0b\x32W.google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock\x1a\x35\n\tCidrBlock\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x12\n\ncidr_block\x18\x02 \x01(\t\"\x85\x05\n\x0b\x45nvironment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12P\n\x06\x63onfig\x18\x02 \x01(\x0b\x32@.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x12O\n\x05state\x18\x04 \x01(\x0e\x32@.google.cloud.orchestration.airflow.service.v1.Environment.State\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12V\n\x06labels\x18\x07 \x03(\x0b\x32\x46.google.cloud.orchestration.airflow.service.v1.Environment.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"`\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\t\n\x05\x45RROR\x10\x05:l\xea\x41i\n#composer.googleapis.com/Environment\x12\x42projects/{project}/locations/{location}/environments/{environment}\"\xf9\x03\n\x14\x43heckUpgradeResponse\x12\x1a\n\rbuild_log_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x7f\n\x1e\x63ontains_pypi_modules_conflict\x18\x04 \x01(\x0e\x32R.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResultB\x03\xe0\x41\x03\x12,\n\x1fpypi_conflict_build_log_extract\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\rimage_version\x18\x05 \x01(\t\x12t\n\x11pypi_dependencies\x18\x06 \x03(\x0b\x32Y.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.PypiDependenciesEntry\x1a\x37\n\x15PypiDependenciesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"P\n\x0e\x43onflictResult\x12\x1f\n\x1b\x43ONFLICT_RESULT_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43ONFLICT\x10\x01\x12\x0f\n\x0bNO_CONFLICT\x10\x02\x32\xbd\x1b\n\x0c\x45nvironments\x12\xa9\x02\n\x11\x43reateEnvironment\x12G.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\xab\x01\x82\xd3\xe4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/environments:\x0b\x65nvironment\xda\x41\x12parent,environment\xca\x41N\n\x0b\x45nvironment\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x12\xd3\x01\n\x0eGetEnvironment\x12\x44.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest\x1a:.google.cloud.orchestration.airflow.service.v1.Environment\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/environments/*}\xda\x41\x04name\x12\xe6\x01\n\x10ListEnvironments\x12\x46.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest\x1aG.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/environments\xda\x41\x06parent\x12\xb3\x02\n\x11UpdateEnvironment\x12G.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\xb5\x01\x82\xd3\xe4\x93\x02?20/v1/{name=projects/*/locations/*/environments/*}:\x0b\x65nvironment\xda\x41\x1cname,environment,update_mask\xca\x41N\n\x0b\x45nvironment\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x12\x98\x02\n\x11\x44\x65leteEnvironment\x12G.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/environments/*}\xda\x41\x04name\xca\x41X\n\x15google.protobuf.Empty\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x12\x8c\x02\n\x15\x45xecuteAirflowCommand\x12K.google.cloud.orchestration.airflow.service.v1.ExecuteAirflowCommandRequest\x1aL.google.cloud.orchestration.airflow.service.v1.ExecuteAirflowCommandResponse\"X\x82\xd3\xe4\x93\x02R\"M/v1/{environment=projects/*/locations/*/environments/*}:executeAirflowCommand:\x01*\x12\x80\x02\n\x12StopAirflowCommand\x12H.google.cloud.orchestration.airflow.service.v1.StopAirflowCommandRequest\x1aI.google.cloud.orchestration.airflow.service.v1.StopAirflowCommandResponse\"U\x82\xd3\xe4\x93\x02O\"J/v1/{environment=projects/*/locations/*/environments/*}:stopAirflowCommand:\x01*\x12\x80\x02\n\x12PollAirflowCommand\x12H.google.cloud.orchestration.airflow.service.v1.PollAirflowCommandRequest\x1aI.google.cloud.orchestration.airflow.service.v1.PollAirflowCommandResponse\"U\x82\xd3\xe4\x93\x02O\"J/v1/{environment=projects/*/locations/*/environments/*}:pollAirflowCommand:\x01*\x12\xcc\x02\n\x0cSaveSnapshot\x12\x42.google.cloud.orchestration.airflow.service.v1.SaveSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\xd8\x01\x82\xd3\xe4\x93\x02I\"D/v1/{environment=projects/*/locations/*/environments/*}:saveSnapshot:\x01*\xca\x41\x85\x01\nBgoogle.cloud.orchestration.airflow.service.v1.SaveSnapshotResponse\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x12\xcc\x02\n\x0cLoadSnapshot\x12\x42.google.cloud.orchestration.airflow.service.v1.LoadSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\xd8\x01\x82\xd3\xe4\x93\x02I\"D/v1/{environment=projects/*/locations/*/environments/*}:loadSnapshot:\x01*\xca\x41\x85\x01\nBgoogle.cloud.orchestration.airflow.service.v1.LoadSnapshotResponse\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x12\xdc\x02\n\x10\x44\x61tabaseFailover\x12\x46.google.cloud.orchestration.airflow.service.v1.DatabaseFailoverRequest\x1a\x1d.google.longrunning.Operation\"\xe0\x01\x82\xd3\xe4\x93\x02M\"H/v1/{environment=projects/*/locations/*/environments/*}:databaseFailover:\x01*\xca\x41\x89\x01\nFgoogle.cloud.orchestration.airflow.service.v1.DatabaseFailoverResponse\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x12\x91\x02\n\x17\x46\x65tchDatabaseProperties\x12M.google.cloud.orchestration.airflow.service.v1.FetchDatabasePropertiesRequest\x1aN.google.cloud.orchestration.airflow.service.v1.FetchDatabasePropertiesResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/v1/{environment=projects/*/locations/*/environments/*}:fetchDatabaseProperties\x1aK\xca\x41\x17\x63omposer.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x82\x01\n1com.google.cloud.orchestration.airflow.service.v1P\x01ZKcloud.google.com/go/orchestration/airflow/service/apiv1/servicepb;servicepbb\x06proto3"
|
19
19
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
21
|
|
@@ -55,12 +55,25 @@ module Google
|
|
55
55
|
ListEnvironmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse").msgclass
|
56
56
|
DeleteEnvironmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest").msgclass
|
57
57
|
UpdateEnvironmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest").msgclass
|
58
|
+
ExecuteAirflowCommandRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.ExecuteAirflowCommandRequest").msgclass
|
59
|
+
ExecuteAirflowCommandResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.ExecuteAirflowCommandResponse").msgclass
|
60
|
+
StopAirflowCommandRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.StopAirflowCommandRequest").msgclass
|
61
|
+
StopAirflowCommandResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.StopAirflowCommandResponse").msgclass
|
62
|
+
PollAirflowCommandRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.PollAirflowCommandRequest").msgclass
|
63
|
+
PollAirflowCommandResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.PollAirflowCommandResponse").msgclass
|
64
|
+
PollAirflowCommandResponse::Line = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.PollAirflowCommandResponse.Line").msgclass
|
65
|
+
PollAirflowCommandResponse::ExitInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.PollAirflowCommandResponse.ExitInfo").msgclass
|
58
66
|
SaveSnapshotRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.SaveSnapshotRequest").msgclass
|
59
67
|
SaveSnapshotResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.SaveSnapshotResponse").msgclass
|
60
68
|
LoadSnapshotRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.LoadSnapshotRequest").msgclass
|
61
69
|
LoadSnapshotResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.LoadSnapshotResponse").msgclass
|
70
|
+
DatabaseFailoverRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.DatabaseFailoverRequest").msgclass
|
71
|
+
DatabaseFailoverResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.DatabaseFailoverResponse").msgclass
|
72
|
+
FetchDatabasePropertiesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.FetchDatabasePropertiesRequest").msgclass
|
73
|
+
FetchDatabasePropertiesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.FetchDatabasePropertiesResponse").msgclass
|
62
74
|
EnvironmentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.EnvironmentConfig").msgclass
|
63
75
|
EnvironmentConfig::EnvironmentSize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.EnvironmentSize").enummodule
|
76
|
+
EnvironmentConfig::ResilienceMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.ResilienceMode").enummodule
|
64
77
|
WebServerNetworkAccessControl = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl").msgclass
|
65
78
|
WebServerNetworkAccessControl::AllowedIpRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange").msgclass
|
66
79
|
DatabaseConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.DatabaseConfig").msgclass
|
@@ -45,6 +45,12 @@ module Google
|
|
45
45
|
rpc :UpdateEnvironment, ::Google::Cloud::Orchestration::Airflow::Service::V1::UpdateEnvironmentRequest, ::Google::Longrunning::Operation
|
46
46
|
# Delete an environment.
|
47
47
|
rpc :DeleteEnvironment, ::Google::Cloud::Orchestration::Airflow::Service::V1::DeleteEnvironmentRequest, ::Google::Longrunning::Operation
|
48
|
+
# Executes Airflow CLI command.
|
49
|
+
rpc :ExecuteAirflowCommand, ::Google::Cloud::Orchestration::Airflow::Service::V1::ExecuteAirflowCommandRequest, ::Google::Cloud::Orchestration::Airflow::Service::V1::ExecuteAirflowCommandResponse
|
50
|
+
# Stops Airflow CLI command execution.
|
51
|
+
rpc :StopAirflowCommand, ::Google::Cloud::Orchestration::Airflow::Service::V1::StopAirflowCommandRequest, ::Google::Cloud::Orchestration::Airflow::Service::V1::StopAirflowCommandResponse
|
52
|
+
# Polls Airflow CLI command execution and fetches logs.
|
53
|
+
rpc :PollAirflowCommand, ::Google::Cloud::Orchestration::Airflow::Service::V1::PollAirflowCommandRequest, ::Google::Cloud::Orchestration::Airflow::Service::V1::PollAirflowCommandResponse
|
48
54
|
# Creates a snapshots of a Cloud Composer environment.
|
49
55
|
#
|
50
56
|
# As a result of this operation, snapshot of environment's state is stored
|
@@ -55,6 +61,10 @@ module Google
|
|
55
61
|
# As a result of this operation, a snapshot of environment's specified in
|
56
62
|
# LoadSnapshotRequest is loaded into the environment.
|
57
63
|
rpc :LoadSnapshot, ::Google::Cloud::Orchestration::Airflow::Service::V1::LoadSnapshotRequest, ::Google::Longrunning::Operation
|
64
|
+
# Triggers database failover (only for highly resilient environments).
|
65
|
+
rpc :DatabaseFailover, ::Google::Cloud::Orchestration::Airflow::Service::V1::DatabaseFailoverRequest, ::Google::Longrunning::Operation
|
66
|
+
# Fetches database properties.
|
67
|
+
rpc :FetchDatabaseProperties, ::Google::Cloud::Orchestration::Airflow::Service::V1::FetchDatabasePropertiesRequest, ::Google::Cloud::Orchestration::Airflow::Service::V1::FetchDatabasePropertiesResponse
|
58
68
|
end
|
59
69
|
|
60
70
|
Stub = Service.rpc_stub_class
|
@@ -138,7 +138,8 @@ module Google
|
|
138
138
|
credentials: credentials,
|
139
139
|
endpoint: @config.endpoint,
|
140
140
|
channel_args: @config.channel_args,
|
141
|
-
interceptors: @config.interceptors
|
141
|
+
interceptors: @config.interceptors,
|
142
|
+
channel_pool_config: @config.channel_pool
|
142
143
|
)
|
143
144
|
end
|
144
145
|
|
@@ -360,6 +361,14 @@ module Google
|
|
360
361
|
end
|
361
362
|
end
|
362
363
|
|
364
|
+
##
|
365
|
+
# Configuration for the channel pool
|
366
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
367
|
+
#
|
368
|
+
def channel_pool
|
369
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
370
|
+
end
|
371
|
+
|
363
372
|
##
|
364
373
|
# Configuration RPC class for the ImageVersions API.
|
365
374
|
#
|
@@ -169,6 +169,26 @@ module Google
|
|
169
169
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Orchestration::Airflow::Service::V1::ImageVersion>]
|
170
170
|
#
|
171
171
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
172
|
+
#
|
173
|
+
# @example Basic example
|
174
|
+
# require "google/cloud/orchestration/airflow/service/v1"
|
175
|
+
#
|
176
|
+
# # Create a client object. The client can be reused for multiple calls.
|
177
|
+
# client = Google::Cloud::Orchestration::Airflow::Service::V1::ImageVersions::Rest::Client.new
|
178
|
+
#
|
179
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
180
|
+
# request = Google::Cloud::Orchestration::Airflow::Service::V1::ListImageVersionsRequest.new
|
181
|
+
#
|
182
|
+
# # Call the list_image_versions method.
|
183
|
+
# result = client.list_image_versions request
|
184
|
+
#
|
185
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
186
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
187
|
+
# result.each do |item|
|
188
|
+
# # Each element is of type ::Google::Cloud::Orchestration::Airflow::Service::V1::ImageVersion.
|
189
|
+
# p item
|
190
|
+
# end
|
191
|
+
#
|
172
192
|
def list_image_versions request, options = nil
|
173
193
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
174
194
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/protobuf/timestamp_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n>google/cloud/orchestration/airflow/service/v1/operations.proto\x12-google.cloud.orchestration.airflow.service.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
10
|
+
descriptor_data = "\n>google/cloud/orchestration/airflow/service/v1/operations.proto\x12-google.cloud.orchestration.airflow.service.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc5\x04\n\x11OperationMetadata\x12U\n\x05state\x18\x01 \x01(\x0e\x32\x46.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State\x12]\n\x0eoperation_type\x18\x02 \x01(\x0e\x32\x45.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type\x12\x10\n\x08resource\x18\x03 \x01(\t\x12\x15\n\rresource_uuid\x18\x04 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"g\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\x0e\n\nSUCCESSFUL\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x1a\x02\x10\x01\"\x88\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\n\n\x06\x44\x45LETE\x10\x02\x12\n\n\x06UPDATE\x10\x03\x12\t\n\x05\x43HECK\x10\x04\x12\x11\n\rSAVE_SNAPSHOT\x10\x05\x12\x11\n\rLOAD_SNAPSHOT\x10\x06\x12\x15\n\x11\x44\x41TABASE_FAILOVER\x10\x07\x42\x93\x01\n1com.google.cloud.orchestration.airflow.service.v1B\x0fOperationsProtoP\x01ZKcloud.google.com/go/orchestration/airflow/service/apiv1/servicepb;servicepbb\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|