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.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
Project()
public Project()
Project(Project)
public Project(Project other)
Parameter | |
---|---|
Name | Description |
other |
Project |
Properties
CloudArmorTier
public string CloudArmorTier { get; set; }
[Output Only] The Cloud Armor tier for this project. It can be one of the following values: CA_STANDARD, CA_ENTERPRISE_PAYGO. If this field is not specified, it is assumed to be CA_STANDARD. Check the CloudArmorTier enum for the list of possible values.
Property Value | |
---|---|
Type | Description |
string |
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 | |
---|---|
Type | Description |
Metadata |
CreationTimestamp
public string CreationTimestamp { get; set; }
[Output Only] Creation timestamp in RFC3339 text format.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
DefaultServiceAccount
public string DefaultServiceAccount { get; set; }
[Output Only] Default service account used by VMs running in this project.
Property Value | |
---|---|
Type | Description |
string |
Description
public string Description { get; set; }
An optional textual description of the resource.
Property Value | |
---|---|
Type | Description |
string |
EnabledFeatures
public RepeatedField<string> EnabledFeatures { get; }
Restricted features enabled for use on this project.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
HasCloudArmorTier
public bool HasCloudArmorTier { get; }
Gets whether the "cloud_armor_tier" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasCreationTimestamp
public bool HasCreationTimestamp { get; }
Gets whether the "creation_timestamp" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasDefaultNetworkTier
public bool HasDefaultNetworkTier { get; }
Gets whether the "default_network_tier" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasDefaultServiceAccount
public bool HasDefaultServiceAccount { get; }
Gets whether the "default_service_account" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasDescription
public bool HasDescription { get; }
Gets whether the "description" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasId
public bool HasId { get; }
Gets whether the "id" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasKind
public bool HasKind { get; }
Gets whether the "kind" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSelfLink
public bool HasSelfLink { get; }
Gets whether the "self_link" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasVmDnsSetting
public bool HasVmDnsSetting { get; }
Gets whether the "vm_dns_setting" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasXpnProjectStatus
public bool HasXpnProjectStatus { get; }
Gets whether the "xpn_project_status" field is set
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ulong |
Kind
public string Kind { get; set; }
[Output Only] Type of the resource. Always compute#project for projects.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
Quotas
public RepeatedField<Quota> Quotas { get; }
[Output Only] Quotas assigned to this project.
Property Value | |
---|---|
Type | Description |
RepeatedFieldQuota |
SelfLink
public string SelfLink { get; set; }
[Output Only] Server-defined URL for the resource.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |