saved_searches

Protocol buffer definition for saved_searches

sift/saved_searches/v1/saved_searches.proto

BatchDeleteSavedSearchesRequest

The request for a call to SavedSearchService_BatchDeleteSavedSearches to delete saved searches.

FieldTypeLabelDescription
saved_search_idsstringrepeatedLimit of 1000 searches per batch

BatchDeleteSavedSearchesResponse

The response of a call to SavedSearchService_BatchDeleteSavedSearches.

CreateSavedSearchRequest

The request for a call to SavedSearchService_CreateSavedSearch to create a saved search.

FieldTypeLabelDescription
namestring
propertiesSavedSearchProperties
organization_idstringThis field is only required if your user belongs to multiple organizations.

CreateSavedSearchResponse

The response for a call to SavedSearchService_CreateSavedResponse.

FieldTypeLabelDescription
saved_searchSavedSearch

DeleteSavedSearchRequest

The request for a call to SavedSearchService_DeleteSavedSearch to delete a saved search.

FieldTypeLabelDescription
saved_search_idstring

DeleteSavedSearchResponse

The response of a call to SavedSearchService_DeleteSavedSearch.

GetSavedSearchRequest

The request for a call to SavedSearchService_GetSavedSearch to retrieve a saved search;

FieldTypeLabelDescription
saved_search_idstring

GetSavedSearchResponse

The response of a call to SavedSearchService_GetSavedSearch.

FieldTypeLabelDescription
saved_searchSavedSearch

ListSavedSearchesRequest

The request for a call to SavedSearchService_ListSavedSearches to retrieve saved searches.

FieldTypeLabelDescription
page_sizeuint32The maximum number of saved searches to return. The service may return fewer than this value. If unspecified, at most 50 saved searches will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. Optional.
page_tokenstringA page token, received from a previous ListSavedSearches call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListSavedSearches must match the call that provided the page token. Optional.
filterstringA Common Expression Language (CEL) filter string. Available fields to filter by are 'name' and 'saved_search_id'. For further information about how to use CELs, please refer to this guide. For more information about the fields used for filtering, please refer to this definition. Optional.
organization_idstringThis field is only required if your user belongs to multiple organizations.

ListSavedSearchesResponse

The response of a call to SavedSearchService_ListSavedSearchesResponse.

FieldTypeLabelDescription
saved_searchesSavedSearchrepeated
next_page_tokenstring

SavedSearch

FieldTypeLabelDescription
saved_search_idstring
organization_idstring
namestring
propertiesSavedSearchProperties
created_by_user_idstring
modified_by_user_idstring
created_dategoogle.protobuf.Timestamp
modified_dategoogle.protobuf.Timestamp

SavedSearchFilterItem

FieldTypeLabelDescription
idstring
namestring

SavedSearchProperties

FieldTypeLabelDescription
overview_modestring
search_termstringoptional
from_date_timegoogle.protobuf.Timestampoptional
to_date_timegoogle.protobuf.Timestampoptional
asset_itemsSavedSearchFilterItemrepeated
user_itemsSavedSearchFilterItemrepeated
tag_itemsSavedSearchFilterItemrepeated
annotation_itemsSavedSearchFilterItemrepeated
run_itemsSavedSearchFilterItemrepeated
report_template_itemsSavedSearchFilterItemrepeated
show_advanced_filtersbooloptional

UpdateSavedSearchRequest

The request for a call to SavedSearchService_UpdateSavedSearch to update a saved search.

FieldTypeLabelDescription
saved_searchSavedSearchThe saved search to update.
update_maskgoogle.protobuf.FieldMaskThe list of fields to be updated. The fields available to be updated are name and properties.

UpdateSavedSearchResponse

The response of a call to SavedSearchService_UpdateSavedSearch.

FieldTypeLabelDescription
saved_searchSavedSearch

SavedSearchService

Method NameRequest TypeResponse TypeDescription
GetSavedSearchGetSavedSearchRequestGetSavedSearchResponseRetrieve a saved search.
CreateSavedSearchCreateSavedSearchRequestCreateSavedSearchResponseCreate a saved search.
ListSavedSearchesListSavedSearchesRequestListSavedSearchesResponseList saved searches.
UpdateSavedSearchUpdateSavedSearchRequestUpdateSavedSearchResponseUpdates an existing saved search using using the list of fields specified in update_mask.
DeleteSavedSearchDeleteSavedSearchRequestDeleteSavedSearchResponseDelete a saved search.
BatchDeleteSavedSearchesBatchDeleteSavedSearchesRequestBatchDeleteSavedSearchesResponseBatch deletes saved searches.

On this page