#[non_exhaustive]pub struct SearchEntriesRequest {
pub name: String,
pub query: String,
pub page_size: i32,
pub page_token: String,
pub order_by: String,
pub scope: String,
pub semantic_search: bool,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The project to which the request should be attributed in the
following form: projects/{project}/locations/global.
query: StringRequired. The query against which entries in scope should be matched. The query syntax is defined in Search syntax for Dataplex Universal Catalog.
page_size: i32Optional. Number of results in the search page. If <=0, then defaults to 10. Max limit for page_size is 1000. Throws an invalid argument for page_size > 1000.
page_token: StringOptional. Page token received from a previous SearchEntries call. Provide
this to retrieve the subsequent page.
order_by: StringOptional. Specifies the ordering of results. Supported values are:
relevancelast_modified_timestamplast_modified_timestamp asc
scope: StringOptional. The scope under which the search should be operating. It must
either be organizations/<org_id> or projects/<project_ref>. If it is
unspecified, it defaults to the organization where the project provided in
name is located.
semantic_search: boolOptional. Specifies whether the search should understand the meaning and intent behind the query, rather than just matching keywords.
Implementations§
Source§impl SearchEntriesRequest
impl SearchEntriesRequest
pub fn new() -> Self
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of page_size.
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
Sourcepub fn set_order_by<T: Into<String>>(self, v: T) -> Self
pub fn set_order_by<T: Into<String>>(self, v: T) -> Self
Sets the value of order_by.
Sourcepub fn set_semantic_search<T: Into<bool>>(self, v: T) -> Self
pub fn set_semantic_search<T: Into<bool>>(self, v: T) -> Self
Sets the value of semantic_search.
Trait Implementations§
Source§impl Clone for SearchEntriesRequest
impl Clone for SearchEntriesRequest
Source§fn clone(&self) -> SearchEntriesRequest
fn clone(&self) -> SearchEntriesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more