Struct ListWatchlistsRequest (0.5.0)

Request message for listing watchlists.

Fields

parent

Required. The parent, which owns this collection of watchlists. Format: projects/{project}/locations/{location}/instances/{instance}

page_size

Optional. The maximum number of watchlists to return. The service may return fewer than this value. If unspecified, at most 200 watchlists will be returned. The maximum value is 200; values above 200 will be coerced to 200.

page_token

Optional. A page token, received from a previous ListWatchlists call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListWatchlists must match the call that provided the page token.

filter

Optional. Which watchlist to return in aip.dev/160 form. Currently, only the following filters are supported:

  • watchlist_user_preferences.pinned=true
  • has_entity([ENTITY_INDICATOR],[ENTITY_TYPE])
  • has_entity([ENTITY_INDICATOR],[ENTITY_TYPE],[NAMESPACE])

Implementations

new

 fn new() -> Self

set_parent

 fn set_parent<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [parent][crate::model::ListWatchlistsRequest::parent].

set_page_size

 fn set_page_size<T: std::convert::Into<i32>>(self, v: T) -> Self

Sets the value of [page_size][crate::model::ListWatchlistsRequest::page_size].

set_page_token

 fn set_page_token<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [page_token][crate::model::ListWatchlistsRequest::page_token].

set_filter

 fn set_filter<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [filter][crate::model::ListWatchlistsRequest::filter].