Resource: Project
A project is a high-level Google Cloud entity. It is a container for ACLs, APIs, App Engine Apps, VMs, and other Google Cloud Platform resources.
| JSON representation | 
|---|
{
  "name": string,
  "parent": string,
  "projectId": string,
  "state": enum ( | 
              
| Fields | |
|---|---|
name | 
                
                   
 Output only. The unique resource name of the project. It is an int64 generated number prefixed by "projects/". Example:   | 
              
parent | 
                
                   
 Optional. A reference to a parent Resource. eg.,   | 
              
projectId | 
                
                   
 Immutable. The unique, user-assigned id of the project. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example:   | 
              
state | 
                
                   
 Output only. The project lifecycle state.  | 
              
displayName | 
                
                   
 Optional. A 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:   | 
              
createTime | 
                
                   
 Output only. Creation time. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
updateTime | 
                
                   
 Output only. The most recent time this resource was modified. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
deleteTime | 
                
                   
 Output only. The time at which this resource was requested for deletion. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
etag | 
                
                   
 Output only. A checksum computed by the server based on the current value of the Project resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.  | 
              
labels | 
                
                   
 Optional. 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 64 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:   | 
              
tags | 
                
                   
 Optional. Input only. Immutable. Tag keys/values directly bound to this project. Each item in the map must be expressed as " Note: Currently this field is in Preview.  | 
              
configuredCapabilities[] | 
                
                   
 Output only. If this project is a Management Project, list of capabilities configured on the parent folder. Note, presence of any capability implies that this is a Management Project. Example:   | 
              
State
Project lifecycle states.
| Enums | |
|---|---|
STATE_UNSPECIFIED | 
                Unspecified state. This is only used/useful for distinguishing unset values. | 
ACTIVE | 
                The normal and active state. | 
DELETE_REQUESTED | 
                The project has been marked for deletion by the user (by invoking projects.delete) or by the system (Google Cloud Platform). This can generally be reversed by invoking projects.undelete. | 
              
Methods | 
            |
|---|---|
                
 | 
              Request that a new project be created. | 
                
 | 
              
                Marks the project identified by the specified name (for example, projects/415104041262) for deletion. | 
            
                
 | 
              
                Retrieves the project identified by the specified name (for example, projects/415104041262). | 
            
                
 | 
              
                Returns the IAM access control policy for the specified project, in the format projects/{ProjectIdOrNumber} e.g. | 
            
                
 | 
              Lists projects that are direct children of the specified folder or organization resource. | 
                
 | 
              Move a project to another place in your resource hierarchy, under a new resource parent. | 
                
 | 
              
                Updates the display_name and labels of the project identified by the specified name (for example, projects/415104041262). | 
            
                
 | 
              
                Search for projects that the caller has the resourcemanager.projects.get permission on, and also satisfy the specified query. | 
            
                
 | 
              
                Sets the IAM access control policy for the specified project, in the format projects/{ProjectIdOrNumber} e.g. | 
            
                
 | 
              
                Returns permissions that a caller has on the specified project, in the format projects/{ProjectIdOrNumber} e.g. | 
            
                
 | 
              
                Restores the project identified by the specified name (for example, projects/415104041262). |