parameters: (cls, url_to_delete, thread_state=None)
docstring: Wrapper func to be used with command.Apply to delete temporary objects.
docstring_summary: Wrapper func to be used with command.Apply to delete temporary objects.
docstring_tokens: Wrapper func to be used with command . Apply to delete temporary objects .
function: def _DeleteTempComponentObjectFn(cls, url_to_delete, thread_state=None):
    """Wrapper func to be used with command.Apply to delete temporary objects."""
    gsutil_api = GetCloudApiInstance(cls, thread_state)
    try:
      gsutil_api.DeleteObject(
          url_to_delete.bucket_name, url_to_delete.object_name,
          generation=url_to_delete.generation, provider=url_to_delete.scheme)
    except NotFoundException:
      # The temporary object could already be gone if a retry was
      # issued at a lower layer but the original request succeeded.
      # Barring other errors, the top-level command should still report success,
      # so don't raise here.
      pass
function_tokens: def _DeleteTempComponentObjectFn ( cls , url_to_delete , thread_state = None ) : gsutil_api = GetCloudApiInstance ( cls , thread_state ) try : gsutil_api . DeleteObject ( url_to_delete . bucket_name , url_to_delete . object_name , generation = url_to_delete . generation , provider = url_to_delete . scheme ) except NotFoundException : # The temporary object could already be gone if a retry was # issued at a lower layer but the original request succeeded. # Barring other errors, the top-level command should still report success, # so don't raise here. pass