@@ -1275,6 +1275,46 @@ def delete_app_service_version(apps_id, services_id, versions_id, fields: nil, q
12751275 execute_or_queue_command ( command , &block )
12761276 end
12771277
1278+ # Exports a user image to Artifact Registry.
1279+ # @param [String] apps_id
1280+ # Part of `name`. Required. Name of the App Engine version resource. Format:
1281+ # apps/`app`/services/`service`/versions/`version`
1282+ # @param [String] services_id
1283+ # Part of `name`. See documentation of `appsId`.
1284+ # @param [String] versions_id
1285+ # Part of `name`. See documentation of `appsId`.
1286+ # @param [Google::Apis::AppengineV1beta::ExportAppImageRequest] export_app_image_request_object
1287+ # @param [String] fields
1288+ # Selector specifying which fields to include in a partial response.
1289+ # @param [String] quota_user
1290+ # Available to use for quota purposes for server-side applications. Can be any
1291+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1292+ # @param [Google::Apis::RequestOptions] options
1293+ # Request-specific options
1294+ #
1295+ # @yield [result, err] Result & error if block supplied
1296+ # @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
1297+ # @yieldparam err [StandardError] error object if request failed
1298+ #
1299+ # @return [Google::Apis::AppengineV1beta::Operation]
1300+ #
1301+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1302+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1303+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1304+ def export_app_service_version_app_image ( apps_id , services_id , versions_id , export_app_image_request_object = nil , fields : nil , quota_user : nil , options : nil , &block )
1305+ command = make_simple_command ( :post , 'v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}:exportAppImage' , options )
1306+ command . request_representation = Google ::Apis ::AppengineV1beta ::ExportAppImageRequest ::Representation
1307+ command . request_object = export_app_image_request_object
1308+ command . response_representation = Google ::Apis ::AppengineV1beta ::Operation ::Representation
1309+ command . response_class = Google ::Apis ::AppengineV1beta ::Operation
1310+ command . params [ 'appsId' ] = apps_id unless apps_id . nil?
1311+ command . params [ 'servicesId' ] = services_id unless services_id . nil?
1312+ command . params [ 'versionsId' ] = versions_id unless versions_id . nil?
1313+ command . query [ 'fields' ] = fields unless fields . nil?
1314+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
1315+ execute_or_queue_command ( command , &block )
1316+ end
1317+
12781318 # Gets the specified Version resource. By default, only a BASIC_VIEW will be
12791319 # returned. Specify the FULL_VIEW parameter to get the full resource.
12801320 # @param [String] apps_id
@@ -2379,6 +2419,52 @@ def delete_project_location_application_service_version(projects_id, locations_i
23792419 execute_or_queue_command ( command , &block )
23802420 end
23812421
2422+ # Exports a user image to Artifact Registry.
2423+ # @param [String] projects_id
2424+ # Part of `name`. Required. Name of the App Engine version resource. Format:
2425+ # apps/`app`/services/`service`/versions/`version`
2426+ # @param [String] locations_id
2427+ # Part of `name`. See documentation of `projectsId`.
2428+ # @param [String] applications_id
2429+ # Part of `name`. See documentation of `projectsId`.
2430+ # @param [String] services_id
2431+ # Part of `name`. See documentation of `projectsId`.
2432+ # @param [String] versions_id
2433+ # Part of `name`. See documentation of `projectsId`.
2434+ # @param [Google::Apis::AppengineV1beta::ExportAppImageRequest] export_app_image_request_object
2435+ # @param [String] fields
2436+ # Selector specifying which fields to include in a partial response.
2437+ # @param [String] quota_user
2438+ # Available to use for quota purposes for server-side applications. Can be any
2439+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2440+ # @param [Google::Apis::RequestOptions] options
2441+ # Request-specific options
2442+ #
2443+ # @yield [result, err] Result & error if block supplied
2444+ # @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
2445+ # @yieldparam err [StandardError] error object if request failed
2446+ #
2447+ # @return [Google::Apis::AppengineV1beta::Operation]
2448+ #
2449+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2450+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2451+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2452+ def export_project_location_application_service_version_app_image ( projects_id , locations_id , applications_id , services_id , versions_id , export_app_image_request_object = nil , fields : nil , quota_user : nil , options : nil , &block )
2453+ command = make_simple_command ( :post , 'v1beta/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}:exportAppImage' , options )
2454+ command . request_representation = Google ::Apis ::AppengineV1beta ::ExportAppImageRequest ::Representation
2455+ command . request_object = export_app_image_request_object
2456+ command . response_representation = Google ::Apis ::AppengineV1beta ::Operation ::Representation
2457+ command . response_class = Google ::Apis ::AppengineV1beta ::Operation
2458+ command . params [ 'projectsId' ] = projects_id unless projects_id . nil?
2459+ command . params [ 'locationsId' ] = locations_id unless locations_id . nil?
2460+ command . params [ 'applicationsId' ] = applications_id unless applications_id . nil?
2461+ command . params [ 'servicesId' ] = services_id unless services_id . nil?
2462+ command . params [ 'versionsId' ] = versions_id unless versions_id . nil?
2463+ command . query [ 'fields' ] = fields unless fields . nil?
2464+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
2465+ execute_or_queue_command ( command , &block )
2466+ end
2467+
23822468 # Updates the specified Version resource. You can specify the following fields
23832469 # depending on the App Engine environment and type of scaling that the version
23842470 # resource uses:Standard environment instance_class (https://cloud.google.com/
0 commit comments