Class 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.
Implements
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v1beta1.Data
Assembly: Google.Apis.CloudResourceManager.v1beta1.dll
Syntax
public class Project : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Creation time. Read-only.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
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.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
LifecycleState
The Project lifecycle state. Read-only.
Declaration
[JsonProperty("lifecycleState")]
public virtual string LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
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.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
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.
Declaration
[JsonProperty("parent")]
public virtual ResourceId Parent { get; set; }
Property Value
Type | Description |
---|---|
ResourceId |
ProjectId
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.
Declaration
[JsonProperty("projectId")]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectNumber
The number uniquely identifying the project. Example: 415104041262
Read-only.
Declaration
[JsonProperty("projectNumber")]
public virtual long? ProjectNumber { get; set; }
Property Value
Type | Description |
---|---|
long? |