def validate_bucket_path(path):
 _validate_path(path)
 if (not _GCS_BUCKET_PATH_REGEX.match(path)):
  raise ValueError(('Bucket should have format /bucket but got %s' % path))

def validate_bucket_path ( path ) : _validate_path ( path ) if ( not _GCS_BUCKET_PATH_REGEX . match ( path ) ) : raise ValueError ( ( 'Bucket should have format /bucket but got %s' % path ) )
validate a google cloud storage bucket path .