def METHOD_NAME(code, funcId, description, env_variables):
    client = CloudFunctionsServiceClient()
    client.METHOD_NAME(
        request=UpdateFunctionRequest(
            function=subcreate_function(client, code, funcId, description, env_variables),
            update_mask=FieldMask(paths=["source_upload_url", "environment_variables"]),
        )
    )