Struct google_api_proto::google::cloud::datacatalog::v1::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>,
pub fully_qualified_name: String,
pub display_name: String,
pub description: String,
pub system: Option<System>,
}
Expand description
Result in the response to a search request.
Each result captures details of one entry that matches the search.
Fields§
§search_result_type: i32
Type of the search result.
You can use this field to determine which get method to call to fetch the full resource.
search_result_subtype: String
Sub-type of the search result.
A dot-delimited full type of the resource. The same type you
specify in the type
search predicate.
Examples: entry.table
, entry.dataStream
, tagTemplate
.
relative_resource_name: String
The relative 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 Google Cloud resource the entry belongs to.
For more information, see [Full Resource Name] (/apis/design/resource_names#full_resource_name).
Example:
//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
modify_time: Option<Timestamp>
The last modification timestamp of the entry in the source system.
fully_qualified_name: String
Fully qualified name (FQN) of the resource.
FQNs take two forms:
-
For non-regionalized resources:
{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}
-
For regionalized resources:
{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}
Example for a DPMS table:
dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID
display_name: String
The display name of the result.
description: String
Entry description that can consist of several sentences or paragraphs that describe entry contents.
system: Option<System>
The source system of the entry. Applicable only when the
search_result_type
is ENTRY
.
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