#[non_exhaustive]pub struct RecrawlUrisMetadata {
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub invalid_uris: Vec<String>,
pub invalid_uris_count: i32,
pub noindex_uris: Vec<String>,
pub noindex_uris_count: i32,
pub uris_not_matching_target_sites: Vec<String>,
pub uris_not_matching_target_sites_count: i32,
pub valid_uris_count: i32,
pub success_count: i32,
pub pending_count: i32,
pub quota_exceeded_count: i32,
/* private fields */
}site-search-engine-service only.Expand description
Metadata related to the progress of the SiteSearchEngineService.RecrawlUris operation. This will be returned by the google.longrunning.Operation.metadata field.
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.create_time: Option<Timestamp>Operation create time.
update_time: Option<Timestamp>Operation last update time. If the operation is done, this is also the finish time.
invalid_uris: Vec<String>Unique URIs in the request that have invalid format. Sample limited to 1000.
invalid_uris_count: i32Total number of unique URIs in the request that have invalid format.
noindex_uris: Vec<String>URIs that have no index meta tag. Sample limited to 1000.
noindex_uris_count: i32Total number of URIs that have no index meta tag.
uris_not_matching_target_sites: Vec<String>Unique URIs in the request that don’t match any TargetSite in the DataStore, only match TargetSites that haven’t been fully indexed, or match a TargetSite with type EXCLUDE. Sample limited to 1000.
uris_not_matching_target_sites_count: i32Total number of URIs that don’t match any TargetSites.
valid_uris_count: i32Total number of unique URIs in the request that are not in invalid_uris.
success_count: i32Total number of URIs that have been crawled so far.
pending_count: i32Total number of URIs that have yet to be crawled.
quota_exceeded_count: i32Total number of URIs that were rejected due to insufficient indexing resources.
Implementations§
Source§impl RecrawlUrisMetadata
impl RecrawlUrisMetadata
Sourcepub fn set_create_time<T>(self, v: T) -> Self
pub fn set_create_time<T>(self, v: T) -> Self
Sets the value of create_time.
§Example
use wkt::Timestamp;
let x = RecrawlUrisMetadata::new().set_create_time(Timestamp::default()/* use setters */);Sourcepub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of create_time.
§Example
use wkt::Timestamp;
let x = RecrawlUrisMetadata::new().set_or_clear_create_time(Some(Timestamp::default()/* use setters */));
let x = RecrawlUrisMetadata::new().set_or_clear_create_time(None::<Timestamp>);Sourcepub fn set_update_time<T>(self, v: T) -> Self
pub fn set_update_time<T>(self, v: T) -> Self
Sets the value of update_time.
§Example
use wkt::Timestamp;
let x = RecrawlUrisMetadata::new().set_update_time(Timestamp::default()/* use setters */);Sourcepub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_time.
§Example
use wkt::Timestamp;
let x = RecrawlUrisMetadata::new().set_or_clear_update_time(Some(Timestamp::default()/* use setters */));
let x = RecrawlUrisMetadata::new().set_or_clear_update_time(None::<Timestamp>);Sourcepub fn set_invalid_uris<T, V>(self, v: T) -> Self
pub fn set_invalid_uris<T, V>(self, v: T) -> Self
Sets the value of invalid_uris.
§Example
let x = RecrawlUrisMetadata::new().set_invalid_uris(["a", "b", "c"]);Sourcepub fn set_invalid_uris_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_invalid_uris_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of invalid_uris_count.
§Example
let x = RecrawlUrisMetadata::new().set_invalid_uris_count(42);Sourcepub fn set_noindex_uris<T, V>(self, v: T) -> Self
pub fn set_noindex_uris<T, V>(self, v: T) -> Self
Sets the value of noindex_uris.
§Example
let x = RecrawlUrisMetadata::new().set_noindex_uris(["a", "b", "c"]);Sourcepub fn set_noindex_uris_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_noindex_uris_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of noindex_uris_count.
§Example
let x = RecrawlUrisMetadata::new().set_noindex_uris_count(42);Sourcepub fn set_uris_not_matching_target_sites<T, V>(self, v: T) -> Self
pub fn set_uris_not_matching_target_sites<T, V>(self, v: T) -> Self
Sets the value of uris_not_matching_target_sites.
§Example
let x = RecrawlUrisMetadata::new().set_uris_not_matching_target_sites(["a", "b", "c"]);Sourcepub fn set_uris_not_matching_target_sites_count<T: Into<i32>>(
self,
v: T,
) -> Self
pub fn set_uris_not_matching_target_sites_count<T: Into<i32>>( self, v: T, ) -> Self
Sets the value of uris_not_matching_target_sites_count.
§Example
let x = RecrawlUrisMetadata::new().set_uris_not_matching_target_sites_count(42);Sourcepub fn set_valid_uris_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_valid_uris_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of valid_uris_count.
§Example
let x = RecrawlUrisMetadata::new().set_valid_uris_count(42);Sourcepub fn set_success_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_success_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of success_count.
§Example
let x = RecrawlUrisMetadata::new().set_success_count(42);Sourcepub fn set_pending_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_pending_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of pending_count.
§Example
let x = RecrawlUrisMetadata::new().set_pending_count(42);Sourcepub fn set_quota_exceeded_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_quota_exceeded_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of quota_exceeded_count.
§Example
let x = RecrawlUrisMetadata::new().set_quota_exceeded_count(42);Trait Implementations§
Source§impl Clone for RecrawlUrisMetadata
impl Clone for RecrawlUrisMetadata
Source§fn clone(&self) -> RecrawlUrisMetadata
fn clone(&self) -> RecrawlUrisMetadata
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RecrawlUrisMetadata
impl Debug for RecrawlUrisMetadata
Source§impl Default for RecrawlUrisMetadata
impl Default for RecrawlUrisMetadata
Source§fn default() -> RecrawlUrisMetadata
fn default() -> RecrawlUrisMetadata
Source§impl Message for RecrawlUrisMetadata
impl Message for RecrawlUrisMetadata
Source§impl PartialEq for RecrawlUrisMetadata
impl PartialEq for RecrawlUrisMetadata
impl StructuralPartialEq for RecrawlUrisMetadata
Auto Trait Implementations§
impl Freeze for RecrawlUrisMetadata
impl RefUnwindSafe for RecrawlUrisMetadata
impl Send for RecrawlUrisMetadata
impl Sync for RecrawlUrisMetadata
impl Unpin for RecrawlUrisMetadata
impl UnsafeUnpin for RecrawlUrisMetadata
impl UnwindSafe for RecrawlUrisMetadata
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request