#[non_exhaustive]pub struct GetTargetSiteRequest {
pub name: String,
/* private fields */
}Available on crate feature
site-search-engine-service only.Expand description
Request message for SiteSearchEngineService.GetTargetSite 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.name: StringRequired. Full resource name of
TargetSite, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}.
If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the requested TargetSite does not exist, a NOT_FOUND error is returned.
Implementations§
Trait Implementations§
Source§impl Clone for GetTargetSiteRequest
impl Clone for GetTargetSiteRequest
Source§fn clone(&self) -> GetTargetSiteRequest
fn clone(&self) -> GetTargetSiteRequest
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 GetTargetSiteRequest
impl Debug for GetTargetSiteRequest
Source§impl Default for GetTargetSiteRequest
impl Default for GetTargetSiteRequest
Source§fn default() -> GetTargetSiteRequest
fn default() -> GetTargetSiteRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetTargetSiteRequest
impl Message for GetTargetSiteRequest
Source§impl PartialEq for GetTargetSiteRequest
impl PartialEq for GetTargetSiteRequest
impl StructuralPartialEq for GetTargetSiteRequest
Auto Trait Implementations§
impl Freeze for GetTargetSiteRequest
impl RefUnwindSafe for GetTargetSiteRequest
impl Send for GetTargetSiteRequest
impl Sync for GetTargetSiteRequest
impl Unpin for GetTargetSiteRequest
impl UnwindSafe for GetTargetSiteRequest
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