Struct googapis::google::cloud::datacatalog::v1beta1::SearchCatalogResult [−][src]
pub struct SearchCatalogResult {
pub search_result_type: i32,
pub search_result_subtype: String,
pub relative_resource_name: String,
pub linked_resource: String,
}
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
Implementations
Returns the enum value of search_result_type
, or the default if the field is set to an invalid enum value.
Sets search_result_type
to the provided enum value.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SearchCatalogResult
impl Send for SearchCatalogResult
impl Sync for SearchCatalogResult
impl Unpin for SearchCatalogResult
impl UnwindSafe for SearchCatalogResult
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more