code: def _gcs_delete(args, _):
    
    objects = _expand_list(args['bucket'])
    objects.extend(_expand_list(args['object']))
    errs = []
    for obj in objects:
      try:
        bucket, key = google.datalab.storage._bucket.parse_name(obj)
        if bucket and key:
          gcs_object = google.datalab.storage.Object(bucket, key)
          if gcs_object.exists():
            google.datalab.storage.Object(bucket, key).delete()
          else:
            errs.append("%s does not exist" % obj)
        elif bucket:
          gcs_bucket = google.datalab.storage.Bucket(bucket)
          if gcs_bucket.exists():
            gcs_bucket.delete()
          else:
            errs.append("%s does not exist" % obj)
        else:
          raise Exception("Can't delete object with invalid name %s" % obj)
      except Exception as e:
        errs.append("Couldn't delete %s: %s" %
                    (obj, _extract_gcs_api_response_error(str(e))))
    if errs:
      raise Exception('\n'.join(errs))
docs: Delete one or more buckets or objects.