Struct google_servicedirectory1::api::Namespace
source · pub struct Namespace {
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub uid: Option<String>,
}
Expand description
A container for services. Namespaces allow administrators to group services together and define permissions for a collection of services.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations namespaces create projects (request|response)
- locations namespaces get projects (response)
- locations namespaces patch projects (request|response)
Fields§
§labels: Option<HashMap<String, String>>
Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.
name: Option<String>
Immutable. The resource name for the namespace in the format projects/*/locations/*/namespaces/*
.
uid: Option<String>
Output only. The globally unique identifier of the namespace in the UUID4 format.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Namespace
impl<'de> Deserialize<'de> for Namespace
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
impl RequestValue for Namespace
impl ResponseResult for Namespace
Auto Trait Implementations§
impl RefUnwindSafe for Namespace
impl Send for Namespace
impl Sync for Namespace
impl Unpin for Namespace
impl UnwindSafe for Namespace
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