def validate_file_path(path):
 _validate_path(path)
 if (not _GCS_FULLPATH_REGEX.match(path)):
  raise ValueError(('Path should have format /bucket/filename but got %s' % path))

def validate_file_path ( path ) : _validate_path ( path ) if ( not _GCS_FULLPATH_REGEX . match ( path ) ) : raise ValueError ( ( 'Path should have format /bucket/filename but got %s' % path ) )
validate a google cloud storage file path .