Struct google_api_proto::google::cloud::asset::v1p1beta1::StandardResourceMetadata
source · pub struct StandardResourceMetadata {
pub name: String,
pub asset_type: String,
pub project: String,
pub display_name: String,
pub description: String,
pub additional_attributes: Vec<String>,
pub location: String,
pub labels: BTreeMap<String, String>,
pub network_tags: Vec<String>,
}
Expand description
The standard metadata of a cloud resource.
Fields§
§name: String
The full resource name. For example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
.
See Resource
Names
for more information.
asset_type: String
The type of this resource. For example: “compute.googleapis.com/Disk”.
project: String
The project that this resource belongs to, in the form of
projects/{project_number}
.
display_name: String
The display name of this resource.
description: String
One or more paragraphs of text description of this resource. Maximum length could be up to 1M bytes.
additional_attributes: Vec<String>
Additional searchable attributes of this resource. Informational only. The exact set of attributes is subject to change. For example: project id, DNS name etc.
location: String
Location can be “global”, regional like “us-east1”, or zonal like “us-west1-b”.
labels: BTreeMap<String, String>
Labels associated with this resource. See Labelling and grouping Google Cloud resources for more information.
Network tags associated with this resource. Like labels, network tags are a type of annotations used to group Google Cloud resources. See Labelling Google Cloud resources for more information.
Trait Implementations§
source§impl Clone for StandardResourceMetadata
impl Clone for StandardResourceMetadata
source§fn clone(&self) -> StandardResourceMetadata
fn clone(&self) -> StandardResourceMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StandardResourceMetadata
impl Debug for StandardResourceMetadata
source§impl Default for StandardResourceMetadata
impl Default for StandardResourceMetadata
source§impl Message for StandardResourceMetadata
impl Message for StandardResourceMetadata
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 StandardResourceMetadata
impl PartialEq for StandardResourceMetadata
source§fn eq(&self, other: &StandardResourceMetadata) -> bool
fn eq(&self, other: &StandardResourceMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StandardResourceMetadata
Auto Trait Implementations§
impl Freeze for StandardResourceMetadata
impl RefUnwindSafe for StandardResourceMetadata
impl Send for StandardResourceMetadata
impl Sync for StandardResourceMetadata
impl Unpin for StandardResourceMetadata
impl UnwindSafe for StandardResourceMetadata
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