#[non_exhaustive]pub struct RecrawlUrisRequest {
pub site_search_engine: String,
pub uris: Vec<String>,
pub site_credential: String,
/* private fields */
}Available on crate feature
site-search-engine-service only.Expand description
Request message for SiteSearchEngineService.RecrawlUris method.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.site_search_engine: StringRequired. Full resource name of the
SiteSearchEngine, such
as projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine.
uris: Vec<String>Required. List of URIs to crawl. At most 10K URIs are supported, otherwise
an INVALID_ARGUMENT error is thrown. Each URI should match at least one
TargetSite in
site_search_engine.
site_credential: StringOptional. Credential id to use for crawling.
Implementations§
Source§impl RecrawlUrisRequest
impl RecrawlUrisRequest
pub fn new() -> Self
Sourcepub fn set_site_search_engine<T: Into<String>>(self, v: T) -> Self
pub fn set_site_search_engine<T: Into<String>>(self, v: T) -> Self
Sets the value of site_search_engine.
§Example
ⓘ
let x = RecrawlUrisRequest::new().set_site_search_engine("example");Sourcepub fn set_site_credential<T: Into<String>>(self, v: T) -> Self
pub fn set_site_credential<T: Into<String>>(self, v: T) -> Self
Sets the value of site_credential.
§Example
ⓘ
let x = RecrawlUrisRequest::new().set_site_credential("example");Trait Implementations§
Source§impl Clone for RecrawlUrisRequest
impl Clone for RecrawlUrisRequest
Source§fn clone(&self) -> RecrawlUrisRequest
fn clone(&self) -> RecrawlUrisRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecrawlUrisRequest
impl Debug for RecrawlUrisRequest
Source§impl Default for RecrawlUrisRequest
impl Default for RecrawlUrisRequest
Source§fn default() -> RecrawlUrisRequest
fn default() -> RecrawlUrisRequest
Returns the “default value” for a type. Read more
Source§impl Message for RecrawlUrisRequest
impl Message for RecrawlUrisRequest
Source§impl PartialEq for RecrawlUrisRequest
impl PartialEq for RecrawlUrisRequest
impl StructuralPartialEq for RecrawlUrisRequest
Auto Trait Implementations§
impl Freeze for RecrawlUrisRequest
impl RefUnwindSafe for RecrawlUrisRequest
impl Send for RecrawlUrisRequest
impl Sync for RecrawlUrisRequest
impl Unpin for RecrawlUrisRequest
impl UnwindSafe for RecrawlUrisRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more