Struct google_api_proto::google::cloud::datacatalog::v1beta1::SearchCatalogResult
source · pub struct SearchCatalogResult {
pub search_result_type: i32,
pub search_result_subtype: String,
pub relative_resource_name: String,
pub linked_resource: String,
pub modify_time: Option<Timestamp>,
}
Expand description
A result that appears in the response of a search request. Each result captures details of one entry that matches the search.
Fields§
§search_result_type: i32
Type of the search result. This field can be used to determine which Get method to call to fetch the full resource.
search_result_subtype: String
Sub-type of the search result. This is a dot-delimited description of the
resource’s full type, and is the same as the value callers would provide in
the “type” search facet. Examples: entry.table
, entry.dataStream
,
tagTemplate
.
relative_resource_name: String
The relative resource name of the resource in URL format. Examples:
projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}
projects/{project_id}/tagTemplates/{tag_template_id}
linked_resource: String
The full name of the cloud resource the entry belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. Example:
//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
modify_time: Option<Timestamp>
Last-modified timestamp of the entry from the managing system.
Implementations§
source§impl SearchCatalogResult
impl SearchCatalogResult
sourcepub fn search_result_type(&self) -> SearchResultType
pub fn search_result_type(&self) -> SearchResultType
Returns the enum value of search_result_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_search_result_type(&mut self, value: SearchResultType)
pub fn set_search_result_type(&mut self, value: SearchResultType)
Sets search_result_type
to the provided enum value.
Trait Implementations§
source§impl Clone for SearchCatalogResult
impl Clone for SearchCatalogResult
source§fn clone(&self) -> SearchCatalogResult
fn clone(&self) -> SearchCatalogResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchCatalogResult
impl Debug for SearchCatalogResult
source§impl Default for SearchCatalogResult
impl Default for SearchCatalogResult
source§impl Message for SearchCatalogResult
impl Message for SearchCatalogResult
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 SearchCatalogResult
impl PartialEq for SearchCatalogResult
source§fn eq(&self, other: &SearchCatalogResult) -> bool
fn eq(&self, other: &SearchCatalogResult) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchCatalogResult
Auto Trait Implementations§
impl Freeze for SearchCatalogResult
impl RefUnwindSafe for SearchCatalogResult
impl Send for SearchCatalogResult
impl Sync for SearchCatalogResult
impl Unpin for SearchCatalogResult
impl UnwindSafe for SearchCatalogResult
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