Cloud Resource Manager v3 API - Class Project (2.4.0)

public sealed class Project : IMessage<Project>, IEquatable<Project>, IDeepCloneable<Project>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Resource Manager v3 API class 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.

Inheritance

object > Project

Namespace

Google.Cloud.ResourceManager.V3

Assembly

Google.Cloud.ResourceManager.V3.dll

Constructors

Project()

public Project()

Project(Project)

public Project(Project other)
Parameter
NameDescription
otherProject

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Creation time.

Property Value
TypeDescription
Timestamp

DeleteTime

public Timestamp DeleteTime { get; set; }

Output only. The time at which this resource was requested for deletion.

Property Value
TypeDescription
Timestamp

DisplayName

public string DisplayName { get; set; }

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: My Project

Property Value
TypeDescription
string

Etag

public string Etag { get; set; }

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.

Property Value
TypeDescription
string

Labels

public MapField<string, string> Labels { get; }

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: "myBusinessDimension" : "businessValue"

Property Value
TypeDescription
MapFieldstringstring

Name

public string Name { get; set; }

Output only. The unique resource name of the project. It is an int64 generated number prefixed by "projects/".

Example: projects/415104041262

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Optional. A reference to a parent Resource. eg., organizations/123 or folders/876.

Property Value
TypeDescription
string

ProjectId

public string ProjectId { get; set; }

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: tokyo-rain-123

Property Value
TypeDescription
string

ProjectName

public ProjectName ProjectName { get; set; }

ProjectName-typed view over the Name resource name property.

Property Value
TypeDescription
ProjectName

State

public Project.Types.State State { get; set; }

Output only. The project lifecycle state.

Property Value
TypeDescription
ProjectTypesState

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The most recent time this resource was modified.

Property Value
TypeDescription
Timestamp