pub struct ResourceManagerTags {
pub tags: Option<HashMap<String, String>>,
}
Expand description
A map of resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Tags must be according to specifications in https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be specified. Existing tags will be replaced with new values.
This type is not used in any activity, and only used as part of another schema.
Fields§
TagKeyValue must be in one of the following formats ([KEY]=[VALUE]) 1. tagKeys/{tag_key_id}=tagValues/{tag_value_id}
2. {org_id}/{tag_key_name}={tag_value_name}
3. {project_id}/{tag_key_name}={tag_value_name}
Trait Implementations§
Source§impl Clone for ResourceManagerTags
impl Clone for ResourceManagerTags
Source§fn clone(&self) -> ResourceManagerTags
fn clone(&self) -> ResourceManagerTags
Returns a copy 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 ResourceManagerTags
impl Debug for ResourceManagerTags
Source§impl Default for ResourceManagerTags
impl Default for ResourceManagerTags
Source§fn default() -> ResourceManagerTags
fn default() -> ResourceManagerTags
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResourceManagerTags
impl<'de> Deserialize<'de> for ResourceManagerTags
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ResourceManagerTags
impl Serialize for ResourceManagerTags
impl Part for ResourceManagerTags
Auto Trait Implementations§
impl Freeze for ResourceManagerTags
impl RefUnwindSafe for ResourceManagerTags
impl Send for ResourceManagerTags
impl Sync for ResourceManagerTags
impl Unpin for ResourceManagerTags
impl UnwindSafe for ResourceManagerTags
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more