Struct google_cloudresourcemanager1_beta1::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 project_number: Option<String>,
    pub create_time: 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).

Fields

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.

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.

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.

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.

The number uniquely identifying the project.

Example: 415104041262 Read-only.

Creation time.

Read-only.

The Project lifecycle state.

Read-only.

Trait Implementations

impl Default for Project
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for Project
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Project
[src]

[src]

Formats the value using the given formatter.

impl RequestValue for Project
[src]

impl Resource for Project
[src]

impl ResponseResult for Project
[src]