Struct google_api_proto::google::cloud::discoveryengine::v1beta::TargetSite
source · pub struct TargetSite {
pub name: String,
pub provided_uri_pattern: String,
pub type: i32,
pub exact_match: bool,
pub generated_uri_pattern: String,
pub root_domain_uri: String,
pub site_verification_info: Option<SiteVerificationInfo>,
pub indexing_status: i32,
pub update_time: Option<Timestamp>,
pub failure_reason: Option<FailureReason>,
}
Expand description
A target site for the SiteSearchEngine.
Fields§
§name: String
Output only. The fully qualified resource name of the target site.
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}
The target_site_id
is system-generated.
provided_uri_pattern: String
Required. Input only. The user provided URI pattern from which the
generated_uri_pattern
is generated.
type: i32
The type of the target site, e.g., whether the site is to be included or excluded.
exact_match: bool
Input only. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine.
generated_uri_pattern: String
Output only. This is system-generated based on the provided_uri_pattern.
root_domain_uri: String
Output only. Root domain of the provided_uri_pattern.
site_verification_info: Option<SiteVerificationInfo>
Output only. Site ownership and validity verification status.
indexing_status: i32
Output only. Indexing status.
update_time: Option<Timestamp>
Output only. The target site’s last updated time.
failure_reason: Option<FailureReason>
Output only. Failure reason.
Implementations§
source§impl TargetSite
impl TargetSite
sourcepub fn type(&self) -> Type
pub fn type(&self) -> Type
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
sourcepub fn indexing_status(&self) -> IndexingStatus
pub fn indexing_status(&self) -> IndexingStatus
Returns the enum value of indexing_status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_indexing_status(&mut self, value: IndexingStatus)
pub fn set_indexing_status(&mut self, value: IndexingStatus)
Sets indexing_status
to the provided enum value.
Trait Implementations§
source§impl Clone for TargetSite
impl Clone for TargetSite
source§fn clone(&self) -> TargetSite
fn clone(&self) -> TargetSite
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TargetSite
impl Debug for TargetSite
source§impl Default for TargetSite
impl Default for TargetSite
source§impl Message for TargetSite
impl Message for TargetSite
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for TargetSite
impl PartialEq for TargetSite
source§fn eq(&self, other: &TargetSite) -> bool
fn eq(&self, other: &TargetSite) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TargetSite
Auto Trait Implementations§
impl Freeze for TargetSite
impl RefUnwindSafe for TargetSite
impl Send for TargetSite
impl Sync for TargetSite
impl Unpin for TargetSite
impl UnwindSafe for TargetSite
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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