@@ -1268,46 +1268,6 @@ def delete_app_service_version(apps_id, services_id, versions_id, fields: nil, q
12681268 execute_or_queue_command ( command , &block )
12691269 end
12701270
1271- # Exports a user image to Artifact Registry.
1272- # @param [String] apps_id
1273- # Part of `name`. Required. Name of the App Engine version resource. Format:
1274- # apps/`app`/services/`service`/versions/`version`
1275- # @param [String] services_id
1276- # Part of `name`. See documentation of `appsId`.
1277- # @param [String] versions_id
1278- # Part of `name`. See documentation of `appsId`.
1279- # @param [Google::Apis::AppengineV1::ExportAppImageRequest] export_app_image_request_object
1280- # @param [String] fields
1281- # Selector specifying which fields to include in a partial response.
1282- # @param [String] quota_user
1283- # Available to use for quota purposes for server-side applications. Can be any
1284- # arbitrary string assigned to a user, but should not exceed 40 characters.
1285- # @param [Google::Apis::RequestOptions] options
1286- # Request-specific options
1287- #
1288- # @yield [result, err] Result & error if block supplied
1289- # @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
1290- # @yieldparam err [StandardError] error object if request failed
1291- #
1292- # @return [Google::Apis::AppengineV1::Operation]
1293- #
1294- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1295- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1296- # @raise [Google::Apis::AuthorizationError] Authorization is required
1297- 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 )
1298- command = make_simple_command ( :post , 'v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}:exportAppImage' , options )
1299- command . request_representation = Google ::Apis ::AppengineV1 ::ExportAppImageRequest ::Representation
1300- command . request_object = export_app_image_request_object
1301- command . response_representation = Google ::Apis ::AppengineV1 ::Operation ::Representation
1302- command . response_class = Google ::Apis ::AppengineV1 ::Operation
1303- command . params [ 'appsId' ] = apps_id unless apps_id . nil?
1304- command . params [ 'servicesId' ] = services_id unless services_id . nil?
1305- command . params [ 'versionsId' ] = versions_id unless versions_id . nil?
1306- command . query [ 'fields' ] = fields unless fields . nil?
1307- command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
1308- execute_or_queue_command ( command , &block )
1309- end
1310-
13111271 # Gets the specified Version resource. By default, only a BASIC_VIEW will be
13121272 # returned. Specify the FULL_VIEW parameter to get the full resource.
13131273 # @param [String] apps_id
@@ -2325,52 +2285,6 @@ def delete_project_location_application_service_version(projects_id, locations_i
23252285 execute_or_queue_command ( command , &block )
23262286 end
23272287
2328- # Exports a user image to Artifact Registry.
2329- # @param [String] projects_id
2330- # Part of `name`. Required. Name of the App Engine version resource. Format:
2331- # apps/`app`/services/`service`/versions/`version`
2332- # @param [String] locations_id
2333- # Part of `name`. See documentation of `projectsId`.
2334- # @param [String] applications_id
2335- # Part of `name`. See documentation of `projectsId`.
2336- # @param [String] services_id
2337- # Part of `name`. See documentation of `projectsId`.
2338- # @param [String] versions_id
2339- # Part of `name`. See documentation of `projectsId`.
2340- # @param [Google::Apis::AppengineV1::ExportAppImageRequest] export_app_image_request_object
2341- # @param [String] fields
2342- # Selector specifying which fields to include in a partial response.
2343- # @param [String] quota_user
2344- # Available to use for quota purposes for server-side applications. Can be any
2345- # arbitrary string assigned to a user, but should not exceed 40 characters.
2346- # @param [Google::Apis::RequestOptions] options
2347- # Request-specific options
2348- #
2349- # @yield [result, err] Result & error if block supplied
2350- # @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
2351- # @yieldparam err [StandardError] error object if request failed
2352- #
2353- # @return [Google::Apis::AppengineV1::Operation]
2354- #
2355- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2356- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2357- # @raise [Google::Apis::AuthorizationError] Authorization is required
2358- 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 )
2359- command = make_simple_command ( :post , 'v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}:exportAppImage' , options )
2360- command . request_representation = Google ::Apis ::AppengineV1 ::ExportAppImageRequest ::Representation
2361- command . request_object = export_app_image_request_object
2362- command . response_representation = Google ::Apis ::AppengineV1 ::Operation ::Representation
2363- command . response_class = Google ::Apis ::AppengineV1 ::Operation
2364- command . params [ 'projectsId' ] = projects_id unless projects_id . nil?
2365- command . params [ 'locationsId' ] = locations_id unless locations_id . nil?
2366- command . params [ 'applicationsId' ] = applications_id unless applications_id . nil?
2367- command . params [ 'servicesId' ] = services_id unless services_id . nil?
2368- command . params [ 'versionsId' ] = versions_id unless versions_id . nil?
2369- command . query [ 'fields' ] = fields unless fields . nil?
2370- command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
2371- execute_or_queue_command ( command , &block )
2372- end
2373-
23742288 # Updates the specified Version resource. You can specify the following fields
23752289 # depending on the App Engine environment and type of scaling that the version
23762290 # resource uses:Standard environment instance_class (https://cloud.google.com/
@@ -2457,6 +2371,60 @@ def patch_project_location_application_service_version(projects_id, locations_id
24572371 command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
24582372 execute_or_queue_command ( command , &block )
24592373 end
2374+
2375+ # Enables debugging on a VM instance. This allows you to use the SSH command to
2376+ # connect to the virtual machine where the instance lives. While in "debug mode",
2377+ # the instance continues to serve live traffic. You should delete the instance
2378+ # when you are done debugging and then allow the system to take over and
2379+ # determine if another instance should be started.Only applicable for instances
2380+ # in App Engine flexible environment.
2381+ # @param [String] projects_id
2382+ # Part of `name`. Required. Name of the resource requested. Example: apps/myapp/
2383+ # services/default/versions/v1/instances/instance-1.
2384+ # @param [String] locations_id
2385+ # Part of `name`. See documentation of `projectsId`.
2386+ # @param [String] applications_id
2387+ # Part of `name`. See documentation of `projectsId`.
2388+ # @param [String] services_id
2389+ # Part of `name`. See documentation of `projectsId`.
2390+ # @param [String] versions_id
2391+ # Part of `name`. See documentation of `projectsId`.
2392+ # @param [String] instances_id
2393+ # Part of `name`. See documentation of `projectsId`.
2394+ # @param [Google::Apis::AppengineV1::DebugInstanceRequest] debug_instance_request_object
2395+ # @param [String] fields
2396+ # Selector specifying which fields to include in a partial response.
2397+ # @param [String] quota_user
2398+ # Available to use for quota purposes for server-side applications. Can be any
2399+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2400+ # @param [Google::Apis::RequestOptions] options
2401+ # Request-specific options
2402+ #
2403+ # @yield [result, err] Result & error if block supplied
2404+ # @yieldparam result [Google::Apis::AppengineV1::Operation] parsed result object
2405+ # @yieldparam err [StandardError] error object if request failed
2406+ #
2407+ # @return [Google::Apis::AppengineV1::Operation]
2408+ #
2409+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2410+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2411+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2412+ def debug_project_location_application_service_version_instance ( projects_id , locations_id , applications_id , services_id , versions_id , instances_id , debug_instance_request_object = nil , fields : nil , quota_user : nil , options : nil , &block )
2413+ command = make_simple_command ( :post , 'v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug' , options )
2414+ command . request_representation = Google ::Apis ::AppengineV1 ::DebugInstanceRequest ::Representation
2415+ command . request_object = debug_instance_request_object
2416+ command . response_representation = Google ::Apis ::AppengineV1 ::Operation ::Representation
2417+ command . response_class = Google ::Apis ::AppengineV1 ::Operation
2418+ command . params [ 'projectsId' ] = projects_id unless projects_id . nil?
2419+ command . params [ 'locationsId' ] = locations_id unless locations_id . nil?
2420+ command . params [ 'applicationsId' ] = applications_id unless applications_id . nil?
2421+ command . params [ 'servicesId' ] = services_id unless services_id . nil?
2422+ command . params [ 'versionsId' ] = versions_id unless versions_id . nil?
2423+ command . params [ 'instancesId' ] = instances_id unless instances_id . nil?
2424+ command . query [ 'fields' ] = fields unless fields . nil?
2425+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
2426+ execute_or_queue_command ( command , &block )
2427+ end
24602428
24612429 protected
24622430
0 commit comments