google-cloud-orchestration-airflow-service-v1 1.0.1 → 1.1.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 +130 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/environments/rest/client.rb +123 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/environments/rest/service_stub.rb +60 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/environments_pb.rb +4 -1
- data/lib/google/cloud/orchestration/airflow/service/v1/environments_services_pb.rb +4 -0
- data/lib/google/cloud/orchestration/airflow/service/v1/version.rb +1 -1
- data/proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb +74 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9e6e1908980271403424f8ac3a2a8eeb3aecf9c181a9b5420542014c94521f8
|
4
|
+
data.tar.gz: 927640a9253003e178d01e340e554cdbdfe39566b72d33d8d4de2086c035a663
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e24ed3f43d34dcc3b109fcf61a5aeca33cf55f14da87d33ac0ce52bdeba5247d7e6ed47d828bebed1c42328fa5503a1c91d65ddc9812952e11291f43d7122ec7
|
7
|
+
data.tar.gz: 412072bc76396cd0d2ba7ca9d7847c8a8ebc0a0d751934546b1261af613c1c80a6c7d4f0e41e826e0e891248516749b6f101c95a425d57841a45b6af718dc72b
|
@@ -1171,6 +1171,129 @@ module Google
|
|
1171
1171
|
raise ::Google::Cloud::Error.from_error(e)
|
1172
1172
|
end
|
1173
1173
|
|
1174
|
+
##
|
1175
|
+
# Check if an upgrade operation on the environment will succeed.
|
1176
|
+
#
|
1177
|
+
# In case of problems detailed info can be found in the returned Operation.
|
1178
|
+
#
|
1179
|
+
# @overload check_upgrade(request, options = nil)
|
1180
|
+
# Pass arguments to `check_upgrade` via a request object, either of type
|
1181
|
+
# {::Google::Cloud::Orchestration::Airflow::Service::V1::CheckUpgradeRequest} or an equivalent Hash.
|
1182
|
+
#
|
1183
|
+
# @param request [::Google::Cloud::Orchestration::Airflow::Service::V1::CheckUpgradeRequest, ::Hash]
|
1184
|
+
# A request object representing the call parameters. Required. To specify no
|
1185
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1186
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1187
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1188
|
+
#
|
1189
|
+
# @overload check_upgrade(environment: nil, image_version: nil)
|
1190
|
+
# Pass arguments to `check_upgrade` via keyword arguments. Note that at
|
1191
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
1192
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
1193
|
+
#
|
1194
|
+
# @param environment [::String]
|
1195
|
+
# Required. The resource name of the environment to check upgrade for, in the
|
1196
|
+
# form:
|
1197
|
+
# "projects/\\{projectId}/locations/\\{locationId}/environments/\\{environmentId}"
|
1198
|
+
# @param image_version [::String]
|
1199
|
+
# Optional. The version of the software running in the environment.
|
1200
|
+
# This encapsulates both the version of Cloud Composer functionality and the
|
1201
|
+
# version of Apache Airflow. It must match the regular expression
|
1202
|
+
# `composer-([0-9]+(\.[0-9]+\.[0-9]+(-preview\.[0-9]+)?)?|latest)-airflow-([0-9]+(\.[0-9]+(\.[0-9]+)?)?)`.
|
1203
|
+
# When used as input, the server also checks if the provided version is
|
1204
|
+
# supported and denies the request for an unsupported version.
|
1205
|
+
#
|
1206
|
+
# The Cloud Composer portion of the image version is a full
|
1207
|
+
# [semantic version](https://semver.org), or an alias in the form of major
|
1208
|
+
# version number or `latest`. When an alias is provided, the server replaces
|
1209
|
+
# it with the current Cloud Composer version that satisfies the alias.
|
1210
|
+
#
|
1211
|
+
# The Apache Airflow portion of the image version is a full semantic version
|
1212
|
+
# that points to one of the supported Apache Airflow versions, or an alias in
|
1213
|
+
# the form of only major or major.minor versions specified. When an alias is
|
1214
|
+
# provided, the server replaces it with the latest Apache Airflow version
|
1215
|
+
# that satisfies the alias and is supported in the given Cloud Composer
|
1216
|
+
# version.
|
1217
|
+
#
|
1218
|
+
# In all cases, the resolved image version is stored in the same field.
|
1219
|
+
#
|
1220
|
+
# See also [version
|
1221
|
+
# list](/composer/docs/concepts/versioning/composer-versions) and [versioning
|
1222
|
+
# overview](/composer/docs/concepts/versioning/composer-versioning-overview).
|
1223
|
+
#
|
1224
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
1225
|
+
# @yieldparam response [::Gapic::Operation]
|
1226
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1227
|
+
#
|
1228
|
+
# @return [::Gapic::Operation]
|
1229
|
+
#
|
1230
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1231
|
+
#
|
1232
|
+
# @example Basic example
|
1233
|
+
# require "google/cloud/orchestration/airflow/service/v1"
|
1234
|
+
#
|
1235
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1236
|
+
# client = Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Client.new
|
1237
|
+
#
|
1238
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1239
|
+
# request = Google::Cloud::Orchestration::Airflow::Service::V1::CheckUpgradeRequest.new
|
1240
|
+
#
|
1241
|
+
# # Call the check_upgrade method.
|
1242
|
+
# result = client.check_upgrade request
|
1243
|
+
#
|
1244
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1245
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1246
|
+
# # Here is how to wait for a response.
|
1247
|
+
# result.wait_until_done! timeout: 60
|
1248
|
+
# if result.response?
|
1249
|
+
# p result.response
|
1250
|
+
# else
|
1251
|
+
# puts "No response received."
|
1252
|
+
# end
|
1253
|
+
#
|
1254
|
+
def check_upgrade request, options = nil
|
1255
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1256
|
+
|
1257
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Orchestration::Airflow::Service::V1::CheckUpgradeRequest
|
1258
|
+
|
1259
|
+
# Converts hash and nil to an options object
|
1260
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1261
|
+
|
1262
|
+
# Customize the options with defaults
|
1263
|
+
metadata = @config.rpcs.check_upgrade.metadata.to_h
|
1264
|
+
|
1265
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1266
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1267
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1268
|
+
gapic_version: ::Google::Cloud::Orchestration::Airflow::Service::V1::VERSION
|
1269
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1270
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1271
|
+
|
1272
|
+
header_params = {}
|
1273
|
+
if request.environment
|
1274
|
+
header_params["environment"] = request.environment
|
1275
|
+
end
|
1276
|
+
|
1277
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
1278
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
1279
|
+
|
1280
|
+
options.apply_defaults timeout: @config.rpcs.check_upgrade.timeout,
|
1281
|
+
metadata: metadata,
|
1282
|
+
retry_policy: @config.rpcs.check_upgrade.retry_policy
|
1283
|
+
|
1284
|
+
options.apply_defaults timeout: @config.timeout,
|
1285
|
+
metadata: @config.metadata,
|
1286
|
+
retry_policy: @config.retry_policy
|
1287
|
+
|
1288
|
+
@environments_stub.call_rpc :check_upgrade, request, options: options do |response, operation|
|
1289
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
1290
|
+
yield response, operation if block_given?
|
1291
|
+
return response
|
1292
|
+
end
|
1293
|
+
rescue ::GRPC::BadStatus => e
|
1294
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1295
|
+
end
|
1296
|
+
|
1174
1297
|
##
|
1175
1298
|
# Creates a user workloads Secret.
|
1176
1299
|
#
|
@@ -2689,6 +2812,11 @@ module Google
|
|
2689
2812
|
#
|
2690
2813
|
attr_reader :list_workloads
|
2691
2814
|
##
|
2815
|
+
# RPC-specific configuration for `check_upgrade`
|
2816
|
+
# @return [::Gapic::Config::Method]
|
2817
|
+
#
|
2818
|
+
attr_reader :check_upgrade
|
2819
|
+
##
|
2692
2820
|
# RPC-specific configuration for `create_user_workloads_secret`
|
2693
2821
|
# @return [::Gapic::Config::Method]
|
2694
2822
|
#
|
@@ -2779,6 +2907,8 @@ module Google
|
|
2779
2907
|
@poll_airflow_command = ::Gapic::Config::Method.new poll_airflow_command_config
|
2780
2908
|
list_workloads_config = parent_rpcs.list_workloads if parent_rpcs.respond_to? :list_workloads
|
2781
2909
|
@list_workloads = ::Gapic::Config::Method.new list_workloads_config
|
2910
|
+
check_upgrade_config = parent_rpcs.check_upgrade if parent_rpcs.respond_to? :check_upgrade
|
2911
|
+
@check_upgrade = ::Gapic::Config::Method.new check_upgrade_config
|
2782
2912
|
create_user_workloads_secret_config = parent_rpcs.create_user_workloads_secret if parent_rpcs.respond_to? :create_user_workloads_secret
|
2783
2913
|
@create_user_workloads_secret = ::Gapic::Config::Method.new create_user_workloads_secret_config
|
2784
2914
|
get_user_workloads_secret_config = parent_rpcs.get_user_workloads_secret if parent_rpcs.respond_to? :get_user_workloads_secret
|
@@ -1101,6 +1101,122 @@ module Google
|
|
1101
1101
|
raise ::Google::Cloud::Error.from_error(e)
|
1102
1102
|
end
|
1103
1103
|
|
1104
|
+
##
|
1105
|
+
# Check if an upgrade operation on the environment will succeed.
|
1106
|
+
#
|
1107
|
+
# In case of problems detailed info can be found in the returned Operation.
|
1108
|
+
#
|
1109
|
+
# @overload check_upgrade(request, options = nil)
|
1110
|
+
# Pass arguments to `check_upgrade` via a request object, either of type
|
1111
|
+
# {::Google::Cloud::Orchestration::Airflow::Service::V1::CheckUpgradeRequest} or an equivalent Hash.
|
1112
|
+
#
|
1113
|
+
# @param request [::Google::Cloud::Orchestration::Airflow::Service::V1::CheckUpgradeRequest, ::Hash]
|
1114
|
+
# A request object representing the call parameters. Required. To specify no
|
1115
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1116
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1117
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1118
|
+
#
|
1119
|
+
# @overload check_upgrade(environment: nil, image_version: nil)
|
1120
|
+
# Pass arguments to `check_upgrade` via keyword arguments. Note that at
|
1121
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
1122
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
1123
|
+
#
|
1124
|
+
# @param environment [::String]
|
1125
|
+
# Required. The resource name of the environment to check upgrade for, in the
|
1126
|
+
# form:
|
1127
|
+
# "projects/\\{projectId}/locations/\\{locationId}/environments/\\{environmentId}"
|
1128
|
+
# @param image_version [::String]
|
1129
|
+
# Optional. The version of the software running in the environment.
|
1130
|
+
# This encapsulates both the version of Cloud Composer functionality and the
|
1131
|
+
# version of Apache Airflow. It must match the regular expression
|
1132
|
+
# `composer-([0-9]+(\.[0-9]+\.[0-9]+(-preview\.[0-9]+)?)?|latest)-airflow-([0-9]+(\.[0-9]+(\.[0-9]+)?)?)`.
|
1133
|
+
# When used as input, the server also checks if the provided version is
|
1134
|
+
# supported and denies the request for an unsupported version.
|
1135
|
+
#
|
1136
|
+
# The Cloud Composer portion of the image version is a full
|
1137
|
+
# [semantic version](https://semver.org), or an alias in the form of major
|
1138
|
+
# version number or `latest`. When an alias is provided, the server replaces
|
1139
|
+
# it with the current Cloud Composer version that satisfies the alias.
|
1140
|
+
#
|
1141
|
+
# The Apache Airflow portion of the image version is a full semantic version
|
1142
|
+
# that points to one of the supported Apache Airflow versions, or an alias in
|
1143
|
+
# the form of only major or major.minor versions specified. When an alias is
|
1144
|
+
# provided, the server replaces it with the latest Apache Airflow version
|
1145
|
+
# that satisfies the alias and is supported in the given Cloud Composer
|
1146
|
+
# version.
|
1147
|
+
#
|
1148
|
+
# In all cases, the resolved image version is stored in the same field.
|
1149
|
+
#
|
1150
|
+
# See also [version
|
1151
|
+
# list](/composer/docs/concepts/versioning/composer-versions) and [versioning
|
1152
|
+
# overview](/composer/docs/concepts/versioning/composer-versioning-overview).
|
1153
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1154
|
+
# @yieldparam result [::Gapic::Operation]
|
1155
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1156
|
+
#
|
1157
|
+
# @return [::Gapic::Operation]
|
1158
|
+
#
|
1159
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1160
|
+
#
|
1161
|
+
# @example Basic example
|
1162
|
+
# require "google/cloud/orchestration/airflow/service/v1"
|
1163
|
+
#
|
1164
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1165
|
+
# client = Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Rest::Client.new
|
1166
|
+
#
|
1167
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1168
|
+
# request = Google::Cloud::Orchestration::Airflow::Service::V1::CheckUpgradeRequest.new
|
1169
|
+
#
|
1170
|
+
# # Call the check_upgrade method.
|
1171
|
+
# result = client.check_upgrade request
|
1172
|
+
#
|
1173
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1174
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1175
|
+
# # Here is how to wait for a response.
|
1176
|
+
# result.wait_until_done! timeout: 60
|
1177
|
+
# if result.response?
|
1178
|
+
# p result.response
|
1179
|
+
# else
|
1180
|
+
# puts "No response received."
|
1181
|
+
# end
|
1182
|
+
#
|
1183
|
+
def check_upgrade request, options = nil
|
1184
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1185
|
+
|
1186
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Orchestration::Airflow::Service::V1::CheckUpgradeRequest
|
1187
|
+
|
1188
|
+
# Converts hash and nil to an options object
|
1189
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1190
|
+
|
1191
|
+
# Customize the options with defaults
|
1192
|
+
call_metadata = @config.rpcs.check_upgrade.metadata.to_h
|
1193
|
+
|
1194
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1195
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1196
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1197
|
+
gapic_version: ::Google::Cloud::Orchestration::Airflow::Service::V1::VERSION,
|
1198
|
+
transports_version_send: [:rest]
|
1199
|
+
|
1200
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1201
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1202
|
+
|
1203
|
+
options.apply_defaults timeout: @config.rpcs.check_upgrade.timeout,
|
1204
|
+
metadata: call_metadata,
|
1205
|
+
retry_policy: @config.rpcs.check_upgrade.retry_policy
|
1206
|
+
|
1207
|
+
options.apply_defaults timeout: @config.timeout,
|
1208
|
+
metadata: @config.metadata,
|
1209
|
+
retry_policy: @config.retry_policy
|
1210
|
+
|
1211
|
+
@environments_stub.check_upgrade request, options do |result, operation|
|
1212
|
+
result = ::Gapic::Operation.new result, @operations_client, options: options
|
1213
|
+
yield result, operation if block_given?
|
1214
|
+
return result
|
1215
|
+
end
|
1216
|
+
rescue ::Gapic::Rest::Error => e
|
1217
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1218
|
+
end
|
1219
|
+
|
1104
1220
|
##
|
1105
1221
|
# Creates a user workloads Secret.
|
1106
1222
|
#
|
@@ -2501,6 +2617,11 @@ module Google
|
|
2501
2617
|
#
|
2502
2618
|
attr_reader :list_workloads
|
2503
2619
|
##
|
2620
|
+
# RPC-specific configuration for `check_upgrade`
|
2621
|
+
# @return [::Gapic::Config::Method]
|
2622
|
+
#
|
2623
|
+
attr_reader :check_upgrade
|
2624
|
+
##
|
2504
2625
|
# RPC-specific configuration for `create_user_workloads_secret`
|
2505
2626
|
# @return [::Gapic::Config::Method]
|
2506
2627
|
#
|
@@ -2591,6 +2712,8 @@ module Google
|
|
2591
2712
|
@poll_airflow_command = ::Gapic::Config::Method.new poll_airflow_command_config
|
2592
2713
|
list_workloads_config = parent_rpcs.list_workloads if parent_rpcs.respond_to? :list_workloads
|
2593
2714
|
@list_workloads = ::Gapic::Config::Method.new list_workloads_config
|
2715
|
+
check_upgrade_config = parent_rpcs.check_upgrade if parent_rpcs.respond_to? :check_upgrade
|
2716
|
+
@check_upgrade = ::Gapic::Config::Method.new check_upgrade_config
|
2594
2717
|
create_user_workloads_secret_config = parent_rpcs.create_user_workloads_secret if parent_rpcs.respond_to? :create_user_workloads_secret
|
2595
2718
|
@create_user_workloads_secret = ::Gapic::Config::Method.new create_user_workloads_secret_config
|
2596
2719
|
get_user_workloads_secret_config = parent_rpcs.get_user_workloads_secret if parent_rpcs.respond_to? :get_user_workloads_secret
|
@@ -405,6 +405,44 @@ module Google
|
|
405
405
|
result
|
406
406
|
end
|
407
407
|
|
408
|
+
##
|
409
|
+
# Baseline implementation for the check_upgrade REST call
|
410
|
+
#
|
411
|
+
# @param request_pb [::Google::Cloud::Orchestration::Airflow::Service::V1::CheckUpgradeRequest]
|
412
|
+
# A request object representing the call parameters. Required.
|
413
|
+
# @param options [::Gapic::CallOptions]
|
414
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
415
|
+
#
|
416
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
417
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
418
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
419
|
+
#
|
420
|
+
# @return [::Google::Longrunning::Operation]
|
421
|
+
# A result object deserialized from the server's reply
|
422
|
+
def check_upgrade request_pb, options = nil
|
423
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
424
|
+
|
425
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_check_upgrade_request request_pb
|
426
|
+
query_string_params = if query_string_params.any?
|
427
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
428
|
+
else
|
429
|
+
{}
|
430
|
+
end
|
431
|
+
|
432
|
+
response = @client_stub.make_http_request(
|
433
|
+
verb,
|
434
|
+
uri: uri,
|
435
|
+
body: body || "",
|
436
|
+
params: query_string_params,
|
437
|
+
options: options
|
438
|
+
)
|
439
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
440
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
441
|
+
|
442
|
+
yield result, operation if block_given?
|
443
|
+
result
|
444
|
+
end
|
445
|
+
|
408
446
|
##
|
409
447
|
# Baseline implementation for the create_user_workloads_secret REST call
|
410
448
|
#
|
@@ -1131,6 +1169,28 @@ module Google
|
|
1131
1169
|
transcoder.transcode request_pb
|
1132
1170
|
end
|
1133
1171
|
|
1172
|
+
##
|
1173
|
+
# @private
|
1174
|
+
#
|
1175
|
+
# GRPC transcoding helper method for the check_upgrade REST call
|
1176
|
+
#
|
1177
|
+
# @param request_pb [::Google::Cloud::Orchestration::Airflow::Service::V1::CheckUpgradeRequest]
|
1178
|
+
# A request object representing the call parameters. Required.
|
1179
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1180
|
+
# Uri, Body, Query string parameters
|
1181
|
+
def self.transcode_check_upgrade_request request_pb
|
1182
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1183
|
+
.with_bindings(
|
1184
|
+
uri_method: :post,
|
1185
|
+
uri_template: "/v1/{environment}:checkUpgrade",
|
1186
|
+
body: "*",
|
1187
|
+
matches: [
|
1188
|
+
["environment", %r{^projects/[^/]+/locations/[^/]+/environments/[^/]+/?$}, false]
|
1189
|
+
]
|
1190
|
+
)
|
1191
|
+
transcoder.transcode request_pb
|
1192
|
+
end
|
1193
|
+
|
1134
1194
|
##
|
1135
1195
|
# @private
|
1136
1196
|
#
|
@@ -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\"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\"\xc7\x01\n CreateUserWorkloadsSecretRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#composer.googleapis.com/Environment\x12\x66\n\x15user_workloads_secret\x18\x02 \x01(\x0b\x32\x42.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecretB\x03\xe0\x41\x02\"b\n\x1dGetUserWorkloadsSecretRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+composer.googleapis.com/UserWorkloadsSecret\"\x8f\x01\n\x1fListUserWorkloadsSecretsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#composer.googleapis.com/Environment\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x8a\x01\n UpdateUserWorkloadsSecretRequest\x12\x66\n\x15user_workloads_secret\x18\x01 \x01(\x0b\x32\x42.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecretB\x03\xe0\x41\x01\"e\n DeleteUserWorkloadsSecretRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+composer.googleapis.com/UserWorkloadsSecret\"\xd1\x01\n#CreateUserWorkloadsConfigMapRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#composer.googleapis.com/Environment\x12m\n\x19user_workloads_config_map\x18\x02 \x01(\x0b\x32\x45.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMapB\x03\xe0\x41\x02\"h\n GetUserWorkloadsConfigMapRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.composer.googleapis.com/UserWorkloadsConfigMap\"\x92\x01\n\"ListUserWorkloadsConfigMapsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#composer.googleapis.com/Environment\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x94\x01\n#UpdateUserWorkloadsConfigMapRequest\x12m\n\x19user_workloads_config_map\x18\x01 \x01(\x0b\x32\x45.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMapB\x03\xe0\x41\x01\"k\n#DeleteUserWorkloadsConfigMapRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.composer.googleapis.com/UserWorkloadsConfigMap\"\x86\x03\n\x13UserWorkloadsSecret\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12_\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32L.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret.DataEntryB\x03\xe0\x41\x01\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xcd\x01\xea\x41\xc9\x01\n+composer.googleapis.com/UserWorkloadsSecret\x12oprojects/{project}/locations/{location}/environments/{environment}/userWorkloadsSecrets/{user_workloads_secret}*\x14userWorkloadsSecrets2\x13userWorkloadsSecret\"\x9f\x01\n ListUserWorkloadsSecretsResponse\x12\x62\n\x16user_workloads_secrets\x18\x01 \x03(\x0b\x32\x42.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9c\x03\n\x16UserWorkloadsConfigMap\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x62\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32O.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap.DataEntryB\x03\xe0\x41\x01\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xdd\x01\xea\x41\xd9\x01\n.composer.googleapis.com/UserWorkloadsConfigMap\x12vprojects/{project}/locations/{location}/environments/{environment}/userWorkloadsConfigMaps/{user_workloads_config_map}*\x17userWorkloadsConfigMaps2\x16userWorkloadsConfigMap\"\xa9\x01\n#ListUserWorkloadsConfigMapsResponse\x12i\n\x1auser_workloads_config_maps\x18\x01 \x03(\x0b\x32\x45.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x99\x01\n\x14ListWorkloadsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#composer.googleapis.com/Environment\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xc5\x07\n\x15ListWorkloadsResponse\x12h\n\tworkloads\x18\x01 \x03(\x0b\x32U.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x1a\xfb\x01\n\x10\x43omposerWorkload\x12\x0c\n\x04name\x18\x01 \x01(\t\x12g\n\x04type\x18\x02 \x01(\x0e\x32Y.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadType\x12p\n\x06status\x18\x03 \x01(\x0b\x32[.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadStatusB\x03\xe0\x41\x03\x1a\xcb\x01\n\x16\x43omposerWorkloadStatus\x12n\n\x05state\x18\x01 \x01(\x0e\x32Z.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadStateB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12$\n\x17\x64\x65tailed_status_message\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xd1\x01\n\x14\x43omposerWorkloadType\x12&\n\"COMPOSER_WORKLOAD_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rCELERY_WORKER\x10\x01\x12\x15\n\x11KUBERNETES_WORKER\x10\x02\x12\x1b\n\x17KUBERNETES_OPERATOR_POD\x10\x03\x12\r\n\tSCHEDULER\x10\x04\x12\x11\n\rDAG_PROCESSOR\x10\x05\x12\r\n\tTRIGGERER\x10\x06\x12\x0e\n\nWEB_SERVER\x10\x07\x12\t\n\x05REDIS\x10\x08\"\x88\x01\n\x15\x43omposerWorkloadState\x12\'\n#COMPOSER_WORKLOAD_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x06\n\x02OK\x10\x02\x12\x0b\n\x07WARNING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\r\n\tSUCCEEDED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\"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\"$\n\rStorageConfig\x12\x13\n\x06\x62ucket\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\xf3\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\x12\x66\n\x15\x64\x61ta_retention_config\x18\x15 \x01(\x0b\x32\x42.google.cloud.orchestration.airflow.service.v1.DataRetentionConfigB\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\x12\x11\n\x04zone\x18\x02 \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\"\xb2\x07\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\x12w\n\x1e\x63loud_data_lineage_integration\x18\x08 \x01(\x0b\x32J.google.cloud.orchestration.airflow.service.v1.CloudDataLineageIntegrationB\x03\xe0\x41\x01\x12x\n\x17web_server_plugins_mode\x18\n \x01(\x0e\x32R.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.WebServerPluginsModeB\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\"j\n\x14WebServerPluginsMode\x12\'\n#WEB_SERVER_PLUGINS_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10PLUGINS_DISABLED\x10\x01\x12\x13\n\x0fPLUGINS_ENABLED\x10\x02\"\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\"\x8f\x03\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\x12(\n\x1b\x63omposer_network_attachment\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12.\n!composer_internal_ipv4_cidr_block\x18\r \x01(\tB\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\"\x85\x05\n\x18PrivateEnvironmentConfig\x12\'\n\x1a\x65nable_private_environment\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\'\n\x1a\x65nable_private_builds_only\x18\x0b \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\"\xb1\x08\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\x12h\n\ttriggerer\x18\x04 \x01(\x0b\x32P.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.TriggererResourceB\x03\xe0\x41\x01\x12o\n\rdag_processor\x18\x05 \x01(\x0b\x32S.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.DagProcessorResourceB\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\x1aQ\n\x11TriggererResource\x12\x12\n\x05\x63ount\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x10\n\x03\x63pu\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x12\x16\n\tmemory_gb\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01\x1am\n\x14\x44\x61gProcessorResource\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\"\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\"3\n\x1b\x43loudDataLineageIntegration\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"\xfc\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\x12\x1a\n\rsatisfies_pzs\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03\x12Y\n\x0estorage_config\x18\t \x01(\x0b\x32<.google.cloud.orchestration.airflow.service.v1.StorageConfigB\x03\xe0\x41\x01\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\"\x86\x01\n\x13\x44\x61taRetentionConfig\x12o\n\x1atask_logs_retention_config\x18\x02 \x01(\x0b\x32\x46.google.cloud.orchestration.airflow.service.v1.TaskLogsRetentionConfigB\x03\xe0\x41\x01\"\x8c\x02\n\x17TaskLogsRetentionConfig\x12u\n\x0cstorage_mode\x18\x02 \x01(\x0e\x32Z.google.cloud.orchestration.airflow.service.v1.TaskLogsRetentionConfig.TaskLogsStorageModeB\x03\xe0\x41\x01\"z\n\x13TaskLogsStorageMode\x12&\n\"TASK_LOGS_STORAGE_MODE_UNSPECIFIED\x10\x00\x12#\n\x1f\x43LOUD_LOGGING_AND_CLOUD_STORAGE\x10\x01\x12\x16\n\x12\x43LOUD_LOGGING_ONLY\x10\x02\x32\xf9\x33\n\x0c\x45nvironments\x12\xa9\x02\n\x11\x43reateEnvironment\x12G.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\xab\x01\xca\x41N\n\x0b\x45nvironment\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\xda\x41\x12parent,environment\x82\xd3\xe4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/environments:\x0b\x65nvironment\x12\xd3\x01\n\x0eGetEnvironment\x12\x44.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest\x1a:.google.cloud.orchestration.airflow.service.v1.Environment\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/environments/*}\x12\xe6\x01\n\x10ListEnvironments\x12\x46.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest\x1aG.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/environments\x12\xb3\x02\n\x11UpdateEnvironment\x12G.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\xb5\x01\xca\x41N\n\x0b\x45nvironment\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\xda\x41\x1cname,environment,update_mask\x82\xd3\xe4\x93\x02?20/v1/{name=projects/*/locations/*/environments/*}:\x0b\x65nvironment\x12\x98\x02\n\x11\x44\x65leteEnvironment\x12G.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\xca\x41X\n\x15google.protobuf.Empty\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/environments/*}\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\xe9\x01\n\rListWorkloads\x12\x43.google.cloud.orchestration.airflow.service.v1.ListWorkloadsRequest\x1a\x44.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/locations/*/environments/*}/workloads\x12\xb8\x02\n\x19\x43reateUserWorkloadsSecret\x12O.google.cloud.orchestration.airflow.service.v1.CreateUserWorkloadsSecretRequest\x1a\x42.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret\"\x85\x01\xda\x41\x1cparent,user_workloads_secret\x82\xd3\xe4\x93\x02`\"G/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsSecrets:\x15user_workloads_secret\x12\x82\x02\n\x16GetUserWorkloadsSecret\x12L.google.cloud.orchestration.airflow.service.v1.GetUserWorkloadsSecretRequest\x1a\x42.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02I\x12G/v1/{name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}\x12\x95\x02\n\x18ListUserWorkloadsSecrets\x12N.google.cloud.orchestration.airflow.service.v1.ListUserWorkloadsSecretsRequest\x1aO.google.cloud.orchestration.airflow.service.v1.ListUserWorkloadsSecretsResponse\"X\xda\x41\x06parent\x82\xd3\xe4\x93\x02I\x12G/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsSecrets\x12\xc7\x02\n\x19UpdateUserWorkloadsSecret\x12O.google.cloud.orchestration.airflow.service.v1.UpdateUserWorkloadsSecretRequest\x1a\x42.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret\"\x94\x01\xda\x41\x15user_workloads_secret\x82\xd3\xe4\x93\x02v\x1a]/v1/{user_workloads_secret.name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}:\x15user_workloads_secret\x12\xdc\x01\n\x19\x44\x65leteUserWorkloadsSecret\x12O.google.cloud.orchestration.airflow.service.v1.DeleteUserWorkloadsSecretRequest\x1a\x16.google.protobuf.Empty\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02I*G/v1/{name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}\x12\xcc\x02\n\x1c\x43reateUserWorkloadsConfigMap\x12R.google.cloud.orchestration.airflow.service.v1.CreateUserWorkloadsConfigMapRequest\x1a\x45.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap\"\x90\x01\xda\x41 parent,user_workloads_config_map\x82\xd3\xe4\x93\x02g\"J/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsConfigMaps:\x19user_workloads_config_map\x12\x8e\x02\n\x19GetUserWorkloadsConfigMap\x12O.google.cloud.orchestration.airflow.service.v1.GetUserWorkloadsConfigMapRequest\x1a\x45.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap\"Y\xda\x41\x04name\x82\xd3\xe4\x93\x02L\x12J/v1/{name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}\x12\xa1\x02\n\x1bListUserWorkloadsConfigMaps\x12Q.google.cloud.orchestration.airflow.service.v1.ListUserWorkloadsConfigMapsRequest\x1aR.google.cloud.orchestration.airflow.service.v1.ListUserWorkloadsConfigMapsResponse\"[\xda\x41\x06parent\x82\xd3\xe4\x93\x02L\x12J/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsConfigMaps\x12\xe0\x02\n\x1cUpdateUserWorkloadsConfigMap\x12R.google.cloud.orchestration.airflow.service.v1.UpdateUserWorkloadsConfigMapRequest\x1a\x45.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap\"\xa4\x01\xda\x41\x19user_workloads_config_map\x82\xd3\xe4\x93\x02\x81\x01\x1a\x64/v1/{user_workloads_config_map.name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}:\x19user_workloads_config_map\x12\xe5\x01\n\x1c\x44\x65leteUserWorkloadsConfigMap\x12R.google.cloud.orchestration.airflow.service.v1.DeleteUserWorkloadsConfigMapRequest\x1a\x16.google.protobuf.Empty\"Y\xda\x41\x04name\x82\xd3\xe4\x93\x02L*J/v1/{name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}\x12\xcc\x02\n\x0cSaveSnapshot\x12\x42.google.cloud.orchestration.airflow.service.v1.SaveSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\xd8\x01\xca\x41\x85\x01\nBgoogle.cloud.orchestration.airflow.service.v1.SaveSnapshotResponse\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x82\xd3\xe4\x93\x02I\"D/v1/{environment=projects/*/locations/*/environments/*}:saveSnapshot:\x01*\x12\xcc\x02\n\x0cLoadSnapshot\x12\x42.google.cloud.orchestration.airflow.service.v1.LoadSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\xd8\x01\xca\x41\x85\x01\nBgoogle.cloud.orchestration.airflow.service.v1.LoadSnapshotResponse\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x82\xd3\xe4\x93\x02I\"D/v1/{environment=projects/*/locations/*/environments/*}:loadSnapshot:\x01*\x12\xdc\x02\n\x10\x44\x61tabaseFailover\x12\x46.google.cloud.orchestration.airflow.service.v1.DatabaseFailoverRequest\x1a\x1d.google.longrunning.Operation\"\xe0\x01\xca\x41\x89\x01\nFgoogle.cloud.orchestration.airflow.service.v1.DatabaseFailoverResponse\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x82\xd3\xe4\x93\x02M\"H/v1/{environment=projects/*/locations/*/environments/*}:databaseFailover:\x01*\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"
|
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\"\xc7\x01\n CreateUserWorkloadsSecretRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#composer.googleapis.com/Environment\x12\x66\n\x15user_workloads_secret\x18\x02 \x01(\x0b\x32\x42.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecretB\x03\xe0\x41\x02\"b\n\x1dGetUserWorkloadsSecretRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+composer.googleapis.com/UserWorkloadsSecret\"\x8f\x01\n\x1fListUserWorkloadsSecretsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#composer.googleapis.com/Environment\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x8a\x01\n UpdateUserWorkloadsSecretRequest\x12\x66\n\x15user_workloads_secret\x18\x01 \x01(\x0b\x32\x42.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecretB\x03\xe0\x41\x01\"e\n DeleteUserWorkloadsSecretRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+composer.googleapis.com/UserWorkloadsSecret\"\xd1\x01\n#CreateUserWorkloadsConfigMapRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#composer.googleapis.com/Environment\x12m\n\x19user_workloads_config_map\x18\x02 \x01(\x0b\x32\x45.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMapB\x03\xe0\x41\x02\"h\n GetUserWorkloadsConfigMapRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.composer.googleapis.com/UserWorkloadsConfigMap\"\x92\x01\n\"ListUserWorkloadsConfigMapsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#composer.googleapis.com/Environment\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x94\x01\n#UpdateUserWorkloadsConfigMapRequest\x12m\n\x19user_workloads_config_map\x18\x01 \x01(\x0b\x32\x45.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMapB\x03\xe0\x41\x01\"k\n#DeleteUserWorkloadsConfigMapRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.composer.googleapis.com/UserWorkloadsConfigMap\"\x86\x03\n\x13UserWorkloadsSecret\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12_\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32L.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret.DataEntryB\x03\xe0\x41\x01\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xcd\x01\xea\x41\xc9\x01\n+composer.googleapis.com/UserWorkloadsSecret\x12oprojects/{project}/locations/{location}/environments/{environment}/userWorkloadsSecrets/{user_workloads_secret}*\x14userWorkloadsSecrets2\x13userWorkloadsSecret\"\x9f\x01\n ListUserWorkloadsSecretsResponse\x12\x62\n\x16user_workloads_secrets\x18\x01 \x03(\x0b\x32\x42.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9c\x03\n\x16UserWorkloadsConfigMap\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x62\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32O.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap.DataEntryB\x03\xe0\x41\x01\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xdd\x01\xea\x41\xd9\x01\n.composer.googleapis.com/UserWorkloadsConfigMap\x12vprojects/{project}/locations/{location}/environments/{environment}/userWorkloadsConfigMaps/{user_workloads_config_map}*\x17userWorkloadsConfigMaps2\x16userWorkloadsConfigMap\"\xa9\x01\n#ListUserWorkloadsConfigMapsResponse\x12i\n\x1auser_workloads_config_maps\x18\x01 \x03(\x0b\x32\x45.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x99\x01\n\x14ListWorkloadsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#composer.googleapis.com/Environment\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xc5\x07\n\x15ListWorkloadsResponse\x12h\n\tworkloads\x18\x01 \x03(\x0b\x32U.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x1a\xfb\x01\n\x10\x43omposerWorkload\x12\x0c\n\x04name\x18\x01 \x01(\t\x12g\n\x04type\x18\x02 \x01(\x0e\x32Y.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadType\x12p\n\x06status\x18\x03 \x01(\x0b\x32[.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadStatusB\x03\xe0\x41\x03\x1a\xcb\x01\n\x16\x43omposerWorkloadStatus\x12n\n\x05state\x18\x01 \x01(\x0e\x32Z.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadStateB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12$\n\x17\x64\x65tailed_status_message\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xd1\x01\n\x14\x43omposerWorkloadType\x12&\n\"COMPOSER_WORKLOAD_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rCELERY_WORKER\x10\x01\x12\x15\n\x11KUBERNETES_WORKER\x10\x02\x12\x1b\n\x17KUBERNETES_OPERATOR_POD\x10\x03\x12\r\n\tSCHEDULER\x10\x04\x12\x11\n\rDAG_PROCESSOR\x10\x05\x12\r\n\tTRIGGERER\x10\x06\x12\x0e\n\nWEB_SERVER\x10\x07\x12\t\n\x05REDIS\x10\x08\"\x88\x01\n\x15\x43omposerWorkloadState\x12\'\n#COMPOSER_WORKLOAD_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x06\n\x02OK\x10\x02\x12\x0b\n\x07WARNING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\r\n\tSUCCEEDED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\"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\"$\n\rStorageConfig\x12\x13\n\x06\x62ucket\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\xf3\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\x12\x66\n\x15\x64\x61ta_retention_config\x18\x15 \x01(\x0b\x32\x42.google.cloud.orchestration.airflow.service.v1.DataRetentionConfigB\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\x12\x11\n\x04zone\x18\x02 \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\"\xb2\x07\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\x12w\n\x1e\x63loud_data_lineage_integration\x18\x08 \x01(\x0b\x32J.google.cloud.orchestration.airflow.service.v1.CloudDataLineageIntegrationB\x03\xe0\x41\x01\x12x\n\x17web_server_plugins_mode\x18\n \x01(\x0e\x32R.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.WebServerPluginsModeB\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\"j\n\x14WebServerPluginsMode\x12\'\n#WEB_SERVER_PLUGINS_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10PLUGINS_DISABLED\x10\x01\x12\x13\n\x0fPLUGINS_ENABLED\x10\x02\"\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\"\x8f\x03\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\x12(\n\x1b\x63omposer_network_attachment\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12.\n!composer_internal_ipv4_cidr_block\x18\r \x01(\tB\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\"\x85\x05\n\x18PrivateEnvironmentConfig\x12\'\n\x1a\x65nable_private_environment\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\'\n\x1a\x65nable_private_builds_only\x18\x0b \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\"\xb1\x08\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\x12h\n\ttriggerer\x18\x04 \x01(\x0b\x32P.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.TriggererResourceB\x03\xe0\x41\x01\x12o\n\rdag_processor\x18\x05 \x01(\x0b\x32S.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.DagProcessorResourceB\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\x1aQ\n\x11TriggererResource\x12\x12\n\x05\x63ount\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x10\n\x03\x63pu\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x12\x16\n\tmemory_gb\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01\x1am\n\x14\x44\x61gProcessorResource\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\"\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\"3\n\x1b\x43loudDataLineageIntegration\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"\x98\x06\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\x12\x1a\n\rsatisfies_pzs\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzi\x18\n \x01(\x08\x42\x03\xe0\x41\x03\x12Y\n\x0estorage_config\x18\t \x01(\x0b\x32<.google.cloud.orchestration.airflow.service.v1.StorageConfigB\x03\xe0\x41\x01\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}\"K\n\x13\x43heckUpgradeRequest\x12\x18\n\x0b\x65nvironment\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rimage_version\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\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\"\x8c\x02\n\x13\x44\x61taRetentionConfig\x12\x83\x01\n!airflow_metadata_retention_config\x18\x01 \x01(\x0b\x32S.google.cloud.orchestration.airflow.service.v1.AirflowMetadataRetentionPolicyConfigB\x03\xe0\x41\x01\x12o\n\x1atask_logs_retention_config\x18\x02 \x01(\x0b\x32\x46.google.cloud.orchestration.airflow.service.v1.TaskLogsRetentionConfigB\x03\xe0\x41\x01\"\x8c\x02\n\x17TaskLogsRetentionConfig\x12u\n\x0cstorage_mode\x18\x02 \x01(\x0e\x32Z.google.cloud.orchestration.airflow.service.v1.TaskLogsRetentionConfig.TaskLogsStorageModeB\x03\xe0\x41\x01\"z\n\x13TaskLogsStorageMode\x12&\n\"TASK_LOGS_STORAGE_MODE_UNSPECIFIED\x10\x00\x12#\n\x1f\x43LOUD_LOGGING_AND_CLOUD_STORAGE\x10\x01\x12\x16\n\x12\x43LOUD_LOGGING_ONLY\x10\x02\"\xad\x02\n$AirflowMetadataRetentionPolicyConfig\x12~\n\x0eretention_mode\x18\x01 \x01(\x0e\x32\x61.google.cloud.orchestration.airflow.service.v1.AirflowMetadataRetentionPolicyConfig.RetentionModeB\x03\xe0\x41\x01\x12\x1b\n\x0eretention_days\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\"h\n\rRetentionMode\x12\x1e\n\x1aRETENTION_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16RETENTION_MODE_ENABLED\x10\x01\x12\x1b\n\x17RETENTION_MODE_DISABLED\x10\x02\x32\xc8\x36\n\x0c\x45nvironments\x12\xa9\x02\n\x11\x43reateEnvironment\x12G.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\xab\x01\xca\x41N\n\x0b\x45nvironment\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\xda\x41\x12parent,environment\x82\xd3\xe4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/environments:\x0b\x65nvironment\x12\xd3\x01\n\x0eGetEnvironment\x12\x44.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest\x1a:.google.cloud.orchestration.airflow.service.v1.Environment\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/environments/*}\x12\xe6\x01\n\x10ListEnvironments\x12\x46.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest\x1aG.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/environments\x12\xb3\x02\n\x11UpdateEnvironment\x12G.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\xb5\x01\xca\x41N\n\x0b\x45nvironment\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\xda\x41\x1cname,environment,update_mask\x82\xd3\xe4\x93\x02?20/v1/{name=projects/*/locations/*/environments/*}:\x0b\x65nvironment\x12\x98\x02\n\x11\x44\x65leteEnvironment\x12G.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\xca\x41X\n\x15google.protobuf.Empty\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/environments/*}\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\xe9\x01\n\rListWorkloads\x12\x43.google.cloud.orchestration.airflow.service.v1.ListWorkloadsRequest\x1a\x44.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/locations/*/environments/*}/workloads\x12\xcc\x02\n\x0c\x43heckUpgrade\x12\x42.google.cloud.orchestration.airflow.service.v1.CheckUpgradeRequest\x1a\x1d.google.longrunning.Operation\"\xd8\x01\xca\x41\x85\x01\nBgoogle.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x82\xd3\xe4\x93\x02I\"D/v1/{environment=projects/*/locations/*/environments/*}:checkUpgrade:\x01*\x12\xb8\x02\n\x19\x43reateUserWorkloadsSecret\x12O.google.cloud.orchestration.airflow.service.v1.CreateUserWorkloadsSecretRequest\x1a\x42.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret\"\x85\x01\xda\x41\x1cparent,user_workloads_secret\x82\xd3\xe4\x93\x02`\"G/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsSecrets:\x15user_workloads_secret\x12\x82\x02\n\x16GetUserWorkloadsSecret\x12L.google.cloud.orchestration.airflow.service.v1.GetUserWorkloadsSecretRequest\x1a\x42.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02I\x12G/v1/{name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}\x12\x95\x02\n\x18ListUserWorkloadsSecrets\x12N.google.cloud.orchestration.airflow.service.v1.ListUserWorkloadsSecretsRequest\x1aO.google.cloud.orchestration.airflow.service.v1.ListUserWorkloadsSecretsResponse\"X\xda\x41\x06parent\x82\xd3\xe4\x93\x02I\x12G/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsSecrets\x12\xc7\x02\n\x19UpdateUserWorkloadsSecret\x12O.google.cloud.orchestration.airflow.service.v1.UpdateUserWorkloadsSecretRequest\x1a\x42.google.cloud.orchestration.airflow.service.v1.UserWorkloadsSecret\"\x94\x01\xda\x41\x15user_workloads_secret\x82\xd3\xe4\x93\x02v\x1a]/v1/{user_workloads_secret.name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}:\x15user_workloads_secret\x12\xdc\x01\n\x19\x44\x65leteUserWorkloadsSecret\x12O.google.cloud.orchestration.airflow.service.v1.DeleteUserWorkloadsSecretRequest\x1a\x16.google.protobuf.Empty\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02I*G/v1/{name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}\x12\xcc\x02\n\x1c\x43reateUserWorkloadsConfigMap\x12R.google.cloud.orchestration.airflow.service.v1.CreateUserWorkloadsConfigMapRequest\x1a\x45.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap\"\x90\x01\xda\x41 parent,user_workloads_config_map\x82\xd3\xe4\x93\x02g\"J/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsConfigMaps:\x19user_workloads_config_map\x12\x8e\x02\n\x19GetUserWorkloadsConfigMap\x12O.google.cloud.orchestration.airflow.service.v1.GetUserWorkloadsConfigMapRequest\x1a\x45.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap\"Y\xda\x41\x04name\x82\xd3\xe4\x93\x02L\x12J/v1/{name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}\x12\xa1\x02\n\x1bListUserWorkloadsConfigMaps\x12Q.google.cloud.orchestration.airflow.service.v1.ListUserWorkloadsConfigMapsRequest\x1aR.google.cloud.orchestration.airflow.service.v1.ListUserWorkloadsConfigMapsResponse\"[\xda\x41\x06parent\x82\xd3\xe4\x93\x02L\x12J/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsConfigMaps\x12\xe0\x02\n\x1cUpdateUserWorkloadsConfigMap\x12R.google.cloud.orchestration.airflow.service.v1.UpdateUserWorkloadsConfigMapRequest\x1a\x45.google.cloud.orchestration.airflow.service.v1.UserWorkloadsConfigMap\"\xa4\x01\xda\x41\x19user_workloads_config_map\x82\xd3\xe4\x93\x02\x81\x01\x1a\x64/v1/{user_workloads_config_map.name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}:\x19user_workloads_config_map\x12\xe5\x01\n\x1c\x44\x65leteUserWorkloadsConfigMap\x12R.google.cloud.orchestration.airflow.service.v1.DeleteUserWorkloadsConfigMapRequest\x1a\x16.google.protobuf.Empty\"Y\xda\x41\x04name\x82\xd3\xe4\x93\x02L*J/v1/{name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}\x12\xcc\x02\n\x0cSaveSnapshot\x12\x42.google.cloud.orchestration.airflow.service.v1.SaveSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\xd8\x01\xca\x41\x85\x01\nBgoogle.cloud.orchestration.airflow.service.v1.SaveSnapshotResponse\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x82\xd3\xe4\x93\x02I\"D/v1/{environment=projects/*/locations/*/environments/*}:saveSnapshot:\x01*\x12\xcc\x02\n\x0cLoadSnapshot\x12\x42.google.cloud.orchestration.airflow.service.v1.LoadSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\xd8\x01\xca\x41\x85\x01\nBgoogle.cloud.orchestration.airflow.service.v1.LoadSnapshotResponse\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x82\xd3\xe4\x93\x02I\"D/v1/{environment=projects/*/locations/*/environments/*}:loadSnapshot:\x01*\x12\xdc\x02\n\x10\x44\x61tabaseFailover\x12\x46.google.cloud.orchestration.airflow.service.v1.DatabaseFailoverRequest\x1a\x1d.google.longrunning.Operation\"\xe0\x01\xca\x41\x89\x01\nFgoogle.cloud.orchestration.airflow.service.v1.DatabaseFailoverResponse\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x82\xd3\xe4\x93\x02M\"H/v1/{environment=projects/*/locations/*/environments/*}:databaseFailover:\x01*\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
|
|
@@ -122,11 +122,14 @@ module Google
|
|
122
122
|
CloudDataLineageIntegration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.CloudDataLineageIntegration").msgclass
|
123
123
|
Environment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.Environment").msgclass
|
124
124
|
Environment::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.Environment.State").enummodule
|
125
|
+
CheckUpgradeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.CheckUpgradeRequest").msgclass
|
125
126
|
CheckUpgradeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse").msgclass
|
126
127
|
CheckUpgradeResponse::ConflictResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult").enummodule
|
127
128
|
DataRetentionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.DataRetentionConfig").msgclass
|
128
129
|
TaskLogsRetentionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.TaskLogsRetentionConfig").msgclass
|
129
130
|
TaskLogsRetentionConfig::TaskLogsStorageMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.TaskLogsRetentionConfig.TaskLogsStorageMode").enummodule
|
131
|
+
AirflowMetadataRetentionPolicyConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.AirflowMetadataRetentionPolicyConfig").msgclass
|
132
|
+
AirflowMetadataRetentionPolicyConfig::RetentionMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.orchestration.airflow.service.v1.AirflowMetadataRetentionPolicyConfig.RetentionMode").enummodule
|
130
133
|
end
|
131
134
|
end
|
132
135
|
end
|
@@ -57,6 +57,10 @@ module Google
|
|
57
57
|
# This method is supported for Cloud Composer environments in versions
|
58
58
|
# composer-3.*.*-airflow-*.*.* and newer.
|
59
59
|
rpc :ListWorkloads, ::Google::Cloud::Orchestration::Airflow::Service::V1::ListWorkloadsRequest, ::Google::Cloud::Orchestration::Airflow::Service::V1::ListWorkloadsResponse
|
60
|
+
# Check if an upgrade operation on the environment will succeed.
|
61
|
+
#
|
62
|
+
# In case of problems detailed info can be found in the returned Operation.
|
63
|
+
rpc :CheckUpgrade, ::Google::Cloud::Orchestration::Airflow::Service::V1::CheckUpgradeRequest, ::Google::Longrunning::Operation
|
60
64
|
# Creates a user workloads Secret.
|
61
65
|
#
|
62
66
|
# This method is supported for Cloud Composer environments in versions
|
@@ -849,8 +849,9 @@ module Google
|
|
849
849
|
# This may be split into multiple chunks, each with a size of
|
850
850
|
# at least 4 hours.
|
851
851
|
#
|
852
|
-
# If this value is omitted, the default value for maintenance window
|
853
|
-
# applied.
|
852
|
+
# If this value is omitted, the default value for maintenance window is
|
853
|
+
# applied. By default, maintenance windows are from 00:00:00 to 04:00:00
|
854
|
+
# (GMT) on Friday, Saturday, and Sunday every week.
|
854
855
|
# @!attribute [rw] workloads_config
|
855
856
|
# @return [::Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig]
|
856
857
|
# Optional. The workloads configuration settings for the GKE cluster
|
@@ -1621,6 +1622,9 @@ module Google
|
|
1621
1622
|
end
|
1622
1623
|
|
1623
1624
|
# Configuration for resources used by Airflow DAG processors.
|
1625
|
+
#
|
1626
|
+
# This field is supported for Cloud Composer environments in versions
|
1627
|
+
# composer-3.*.*-airflow-*.*.* and newer.
|
1624
1628
|
# @!attribute [rw] cpu
|
1625
1629
|
# @return [::Float]
|
1626
1630
|
# Optional. CPU request and limit for a single Airflow DAG processor
|
@@ -1748,6 +1752,9 @@ module Google
|
|
1748
1752
|
# @!attribute [r] satisfies_pzs
|
1749
1753
|
# @return [::Boolean]
|
1750
1754
|
# Output only. Reserved for future use.
|
1755
|
+
# @!attribute [r] satisfies_pzi
|
1756
|
+
# @return [::Boolean]
|
1757
|
+
# Output only. Reserved for future use.
|
1751
1758
|
# @!attribute [rw] storage_config
|
1752
1759
|
# @return [::Google::Cloud::Orchestration::Airflow::Service::V1::StorageConfig]
|
1753
1760
|
# Optional. Storage configuration for this environment.
|
@@ -1787,6 +1794,43 @@ module Google
|
|
1787
1794
|
end
|
1788
1795
|
end
|
1789
1796
|
|
1797
|
+
# Request to check whether image upgrade will succeed.
|
1798
|
+
# @!attribute [rw] environment
|
1799
|
+
# @return [::String]
|
1800
|
+
# Required. The resource name of the environment to check upgrade for, in the
|
1801
|
+
# form:
|
1802
|
+
# "projects/\\{projectId}/locations/\\{locationId}/environments/\\{environmentId}"
|
1803
|
+
# @!attribute [rw] image_version
|
1804
|
+
# @return [::String]
|
1805
|
+
# Optional. The version of the software running in the environment.
|
1806
|
+
# This encapsulates both the version of Cloud Composer functionality and the
|
1807
|
+
# version of Apache Airflow. It must match the regular expression
|
1808
|
+
# `composer-([0-9]+(\.[0-9]+\.[0-9]+(-preview\.[0-9]+)?)?|latest)-airflow-([0-9]+(\.[0-9]+(\.[0-9]+)?)?)`.
|
1809
|
+
# When used as input, the server also checks if the provided version is
|
1810
|
+
# supported and denies the request for an unsupported version.
|
1811
|
+
#
|
1812
|
+
# The Cloud Composer portion of the image version is a full
|
1813
|
+
# [semantic version](https://semver.org), or an alias in the form of major
|
1814
|
+
# version number or `latest`. When an alias is provided, the server replaces
|
1815
|
+
# it with the current Cloud Composer version that satisfies the alias.
|
1816
|
+
#
|
1817
|
+
# The Apache Airflow portion of the image version is a full semantic version
|
1818
|
+
# that points to one of the supported Apache Airflow versions, or an alias in
|
1819
|
+
# the form of only major or major.minor versions specified. When an alias is
|
1820
|
+
# provided, the server replaces it with the latest Apache Airflow version
|
1821
|
+
# that satisfies the alias and is supported in the given Cloud Composer
|
1822
|
+
# version.
|
1823
|
+
#
|
1824
|
+
# In all cases, the resolved image version is stored in the same field.
|
1825
|
+
#
|
1826
|
+
# See also [version
|
1827
|
+
# list](/composer/docs/concepts/versioning/composer-versions) and [versioning
|
1828
|
+
# overview](/composer/docs/concepts/versioning/composer-versioning-overview).
|
1829
|
+
class CheckUpgradeRequest
|
1830
|
+
include ::Google::Protobuf::MessageExts
|
1831
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1832
|
+
end
|
1833
|
+
|
1790
1834
|
# Message containing information about the result of an upgrade check
|
1791
1835
|
# operation.
|
1792
1836
|
# @!attribute [r] build_log_uri
|
@@ -1833,6 +1877,9 @@ module Google
|
|
1833
1877
|
end
|
1834
1878
|
|
1835
1879
|
# The configuration setting for Airflow database data retention mechanism.
|
1880
|
+
# @!attribute [rw] airflow_metadata_retention_config
|
1881
|
+
# @return [::Google::Cloud::Orchestration::Airflow::Service::V1::AirflowMetadataRetentionPolicyConfig]
|
1882
|
+
# Optional. The retention policy for airflow metadata database.
|
1836
1883
|
# @!attribute [rw] task_logs_retention_config
|
1837
1884
|
# @return [::Google::Cloud::Orchestration::Airflow::Service::V1::TaskLogsRetentionConfig]
|
1838
1885
|
# Optional. The configuration settings for task logs retention
|
@@ -1844,8 +1891,7 @@ module Google
|
|
1844
1891
|
# The configuration setting for Task Logs.
|
1845
1892
|
# @!attribute [rw] storage_mode
|
1846
1893
|
# @return [::Google::Cloud::Orchestration::Airflow::Service::V1::TaskLogsRetentionConfig::TaskLogsStorageMode]
|
1847
|
-
# Optional. The mode of storage for Airflow workers task logs.
|
1848
|
-
# see go/composer-store-task-logs-in-cloud-logging-only-design-doc
|
1894
|
+
# Optional. The mode of storage for Airflow workers task logs.
|
1849
1895
|
class TaskLogsRetentionConfig
|
1850
1896
|
include ::Google::Protobuf::MessageExts
|
1851
1897
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1863,6 +1909,30 @@ module Google
|
|
1863
1909
|
CLOUD_LOGGING_ONLY = 2
|
1864
1910
|
end
|
1865
1911
|
end
|
1912
|
+
|
1913
|
+
# The policy for airflow metadata database retention.
|
1914
|
+
# @!attribute [rw] retention_mode
|
1915
|
+
# @return [::Google::Cloud::Orchestration::Airflow::Service::V1::AirflowMetadataRetentionPolicyConfig::RetentionMode]
|
1916
|
+
# Optional. Retention can be either enabled or disabled.
|
1917
|
+
# @!attribute [rw] retention_days
|
1918
|
+
# @return [::Integer]
|
1919
|
+
# Optional. How many days data should be retained for.
|
1920
|
+
class AirflowMetadataRetentionPolicyConfig
|
1921
|
+
include ::Google::Protobuf::MessageExts
|
1922
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1923
|
+
|
1924
|
+
# Describes retention policy.
|
1925
|
+
module RetentionMode
|
1926
|
+
# Default mode doesn't change environment parameters.
|
1927
|
+
RETENTION_MODE_UNSPECIFIED = 0
|
1928
|
+
|
1929
|
+
# Retention policy is enabled.
|
1930
|
+
RETENTION_MODE_ENABLED = 1
|
1931
|
+
|
1932
|
+
# Retention policy is disabled.
|
1933
|
+
RETENTION_MODE_DISABLED = 2
|
1934
|
+
end
|
1935
|
+
end
|
1866
1936
|
end
|
1867
1937
|
end
|
1868
1938
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-orchestration-airflow-service-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|