Struct google_cloudresourcemanager1::Project [−][src]
pub struct Project {
pub name: Option<String>,
pub parent: Option<ResourceId>,
pub project_id: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub create_time: Option<String>,
pub project_number: Option<String>,
pub lifecycle_state: Option<String>,
}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 user-assigned display name of the Project. It must be 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.
The only supported parent type is "organization". Once set, the parent
cannot be modified. 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])?)?.
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.
create_time: Option<String>
Creation time.
Read-only.
project_number: Option<String>
The number uniquely identifying the project.
Example: 415104041262
Read-only.
lifecycle_state: Option<String>
The Project lifecycle state.
Read-only.
Trait Implementations
impl Default for Project[src]
impl Default for Projectimpl Clone for Project[src]
impl Clone for Projectfn clone(&self) -> Project[src]
fn clone(&self) -> ProjectReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for Project[src]
impl Debug for Projectfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl RequestValue for Project[src]
impl RequestValue for Projectimpl Resource for Project[src]
impl Resource for Projectimpl ResponseResult for Project[src]
impl ResponseResult for Project