Struct google_cloudresourcemanager1_beta1::api::Project
source · [−]pub struct Project {
pub create_time: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub lifecycle_state: Option<String>,
pub name: Option<String>,
pub parent: Option<ResourceId>,
pub project_id: Option<String>,
pub project_number: Option<String>,
}
Expand description
A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, App Engine Apps, VMs, and other Google Cloud Platform resources.
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).
- create projects (request|response)
- delete projects (none)
- get projects (response)
- get ancestry projects (none)
- get iam policy projects (none)
- list projects (none)
- set iam policy projects (none)
- test iam permissions projects (none)
- undelete projects (none)
- update projects (request|response)
Fields
create_time: Option<String>
Creation time. Read-only.
labels: Option<HashMap<String, String>>
The labels associated with this Project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}. Label values must be between 0 and 63 characters long and must conform to the regular expression [a-z0-9_-]{0,63}. A label value can be empty. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev"
Read-write.
lifecycle_state: Option<String>
The Project lifecycle state. Read-only.
name: Option<String>
The optional user-assigned display name of the Project. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: My Project
Read-write.
parent: Option<ResourceId>
An optional reference to a parent Resource. Supported parent types include “organization” and “folder”. Once set, the parent cannot be cleared. The parent
can be set on creation or using the UpdateProject
method; the end user must have the resourcemanager.projects.create
permission on the parent. Read-write.
project_id: Option<String>
The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: tokyo-rain-123
Read-only after creation.
project_number: Option<String>
The number uniquely identifying the project. Example: 415104041262
Read-only.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Project
impl<'de> Deserialize<'de> for Project
sourcefn 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 Project
impl Resource for Project
impl ResponseResult for Project
Auto Trait Implementations
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more