Compute Engine v1 API - Class Project (2.7.0)

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

Reference documentation and code samples for the Compute Engine v1 API class Project.

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

GoogleCloudGoogle.Cloud.ComputeV1

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
RepeatedFieldstring

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
TypeDescription
bool

HasDefaultNetworkTier

public bool HasDefaultNetworkTier { get; }

Gets whether the "default_network_tier" field is set

Property Value
TypeDescription
bool

HasDefaultServiceAccount

public bool HasDefaultServiceAccount { get; }

Gets whether the "default_service_account" field is set

Property Value
TypeDescription
bool

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
TypeDescription
bool

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
TypeDescription
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
bool
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
TypeDescription
bool

HasVmDnsSetting

public bool HasVmDnsSetting { get; }

Gets whether the "vm_dns_setting" field is set

Property Value
TypeDescription
bool

HasXpnProjectStatus

public bool HasXpnProjectStatus { get; }

Gets whether the "xpn_project_status" field is set

Property Value
TypeDescription
bool

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
ulong

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
RepeatedFieldQuota
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

VmDnsSetting

public string VmDnsSetting { get; set; }

[Output Only] Default internal DNS setting used by VMs running in this project. Check the VmDnsSetting enum for the list of possible values.

Property Value
TypeDescription
string

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