[−][src]Struct google_cloudresourcemanager1::Project
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).
- test iam permissions projects (none)
- undelete projects (none)
- list org policies projects (none)
- get effective org policy projects (none)
- get projects (response)
- get ancestry projects (none)
- update projects (request|response)
- get iam policy projects (none)
- delete projects (none)
- list projects (none)
- create projects (request)
- set iam policy projects (none)
- get org policy projects (none)
- set org policy projects (none)
- list available org policy constraints projects (none)
- clear org policy projects (none)
Fields
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.
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]([-a-z0-9]*[a-z0-9])?.
Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. 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.
project_number: Option<String>
The number uniquely identifying the project.
Example: 415104041262
Read-only.
create_time: Option<String>
Creation time.
Read-only.
lifecycle_state: Option<String>
The Project lifecycle state.
Read-only.
Trait Implementations
impl Resource for Project
[src]
impl ResponseResult for Project
[src]
impl RequestValue for Project
[src]
impl Clone for Project
[src]
impl Default for Project
[src]
impl Debug for Project
[src]
impl Serialize for Project
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Project
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
impl RefUnwindSafe for Project
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,