Class Project (1.3.0)

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

Represents a Project resource. A project is used to organize resources in a Google Cloud Platform environment. For more information, read about the Resource Hierarchy.

Inheritance

Object > Project

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

Project()

public Project()

Project(Project)

public Project(Project other)
Parameter
NameDescription
otherProject

Properties

CommonInstanceMetadata

public Metadata CommonInstanceMetadata { get; set; }

Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.

Property Value
TypeDescription
Metadata

CreationTimestamp

public string CreationTimestamp { get; set; }

[Output Only] Creation timestamp in RFC3339 text format.

Property Value
TypeDescription
String

DefaultNetworkTier

public string DefaultNetworkTier { get; set; }

This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM. Check the DefaultNetworkTier enum for the list of possible values.

Property Value
TypeDescription
String

DefaultServiceAccount

public string DefaultServiceAccount { get; set; }

[Output Only] Default service account used by VMs running in this project.

Property Value
TypeDescription
String

Description

public string Description { get; set; }

An optional textual description of the resource.

Property Value
TypeDescription
String

EnabledFeatures

public RepeatedField<string> EnabledFeatures { get; }

Restricted features enabled for use on this project.

Property Value
TypeDescription
RepeatedField<String>

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
TypeDescription
Boolean

HasDefaultNetworkTier

public bool HasDefaultNetworkTier { get; }

Gets whether the "default_network_tier" field is set

Property Value
TypeDescription
Boolean

HasDefaultServiceAccount

public bool HasDefaultServiceAccount { get; }

Gets whether the "default_service_account" field is set

Property Value
TypeDescription
Boolean

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
TypeDescription
Boolean

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
TypeDescription
Boolean

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
Boolean

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
Boolean
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
TypeDescription
Boolean

HasXpnProjectStatus

public bool HasXpnProjectStatus { get; }

Gets whether the "xpn_project_status" field is set

Property Value
TypeDescription
Boolean

Id

public ulong Id { get; set; }

[Output Only] The unique identifier for the resource. This identifier is defined by the server. This is not the project ID, and is just a unique ID used by Compute Engine to identify resources.

Property Value
TypeDescription
UInt64

Kind

public string Kind { get; set; }

[Output Only] Type of the resource. Always compute#project for projects.

Property Value
TypeDescription
String

Name

public string Name { get; set; }

The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.

Property Value
TypeDescription
String

Quotas

public RepeatedField<Quota> Quotas { get; }

[Output Only] Quotas assigned to this project.

Property Value
TypeDescription
RepeatedField<Quota>
public string SelfLink { get; set; }

[Output Only] Server-defined URL for the resource.

Property Value
TypeDescription
String

UsageExportLocation

public UsageExportLocation UsageExportLocation { get; set; }

The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.

Property Value
TypeDescription
UsageExportLocation

XpnProjectStatus

public string XpnProjectStatus { get; set; }

[Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. Check the XpnProjectStatus enum for the list of possible values.

Property Value
TypeDescription
String