<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def security_labels(self, resource_id=None):
 """Security Label endpoint for this resource with optional label name. This method will set the resource endpoint for working with Security Labels. The HTTP GET method will return all security labels applied to this resource or if a resource id (security label name) is provided it will return the provided security label if it has been applied, which could be useful to verify a security label is applied. The provided resource_id (security label name) can be applied to this resource using the HTTP POST method. The HTTP DELETE method will remove the provided security label from this resource. **Example Endpoints URI's** | HTTP Method | API Endpoint URI's | +==============+===========================================================+ | GET | /v2/{resourceType}/{uniqueId}/securityLabels | | GET | /v2/{resourceType}/{uniqueId}/securityLabels/{resourceId} | | DELETE | /v2/{resourceType}/{uniqueId}/securityLabels/{resourceId} | | POST | /v2/{resourceType}/{uniqueId}/securityLabels/{resourceId} | Args: resource_id (Optional [string]):
 The resource id (security label name). """

        resource = self.copy()
        resource._request_entity = 'securityLabel'
        resource._request_uri = '{}/securityLabels'.format(resource._request_uri)
        if resource_id is not None:
            resource._request_uri = '{}/{}'.format(resource._request_uri, resource_id)
        return resource