@@ -7941,6 +7941,8 @@ class SearchOptions(bb.Struct):
79417941 extensions specified. Only supported for active file search.
79427942 :ivar files.SearchOptions.file_categories: Restricts search to only the file
79437943 categories specified. Only supported for active file search.
7944+ :ivar files.SearchOptions.account_id: Restricts results to the given account
7945+ id.
79447946 """
79457947
79467948__slots__ = [
@@ -7951,6 +7953,7 @@ class SearchOptions(bb.Struct):
79517953'_filename_only_value' ,
79527954'_file_extensions_value' ,
79537955'_file_categories_value' ,
7956+ '_account_id_value' ,
79547957 ]
79557958
79567959_has_required_fields = False
@@ -7962,14 +7965,16 @@ def __init__(self,
79627965file_status = None ,
79637966filename_only = None ,
79647967file_extensions = None ,
7965- file_categories = None ):
7968+ file_categories = None ,
7969+ account_id = None ):
79667970self ._path_value = bb .NOT_SET
79677971self ._max_results_value = bb .NOT_SET
79687972self ._order_by_value = bb .NOT_SET
79697973self ._file_status_value = bb .NOT_SET
79707974self ._filename_only_value = bb .NOT_SET
79717975self ._file_extensions_value = bb .NOT_SET
79727976self ._file_categories_value = bb .NOT_SET
7977+ self ._account_id_value = bb .NOT_SET
79737978if path is not None :
79747979self .path = path
79757980if max_results is not None :
@@ -7984,6 +7989,8 @@ def __init__(self,
79847989self .file_extensions = file_extensions
79857990if file_categories is not None :
79867991self .file_categories = file_categories
7992+ if account_id is not None :
7993+ self .account_id = account_id
79877994
79887995# Instance attribute type: str (validator is set below)
79897996path = bb .Attribute ("path" ,nullable = True )
@@ -8006,6 +8013,9 @@ def __init__(self,
80068013# Instance attribute type: list of [FileCategory] (validator is set below)
80078014file_categories = bb .Attribute ("file_categories" ,nullable = True )
80088015
8016+ # Instance attribute type: str (validator is set below)
8017+ account_id = bb .Attribute ("account_id" ,nullable = True )
8018+
80098019def _process_custom_annotations (self ,annotation_type ,field_path ,processor ):
80108020super (SearchOptions ,self )._process_custom_annotations (annotation_type ,field_path ,processor )
80118021
@@ -12587,6 +12597,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
1258712597SearchOptions .filename_only .validator = bv .Boolean ()
1258812598SearchOptions .file_extensions .validator = bv .Nullable (bv .List (bv .String ()))
1258912599SearchOptions .file_categories .validator = bv .Nullable (bv .List (FileCategory_validator ))
12600+ SearchOptions .account_id .validator = bv .Nullable (users_common .AccountId_validator )
1259012601SearchOptions ._all_field_names_ = set ([
1259112602'path' ,
1259212603'max_results' ,
@@ -12595,6 +12606,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
1259512606'filename_only' ,
1259612607'file_extensions' ,
1259712608'file_categories' ,
12609+ 'account_id' ,
1259812610])
1259912611SearchOptions ._all_fields_ = [
1260012612 ('path' ,SearchOptions .path .validator ),
@@ -12604,6 +12616,7 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
1260412616 ('filename_only' ,SearchOptions .filename_only .validator ),
1260512617 ('file_extensions' ,SearchOptions .file_extensions .validator ),
1260612618 ('file_categories' ,SearchOptions .file_categories .validator ),
12619+ ('account_id' ,SearchOptions .account_id .validator ),
1260712620]
1260812621
1260912622SearchOrderBy ._relevance_validator = bv .Void ()