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.
Implements
IMessage<Project>, IEquatable<Project>, IDeepCloneable<Project>, IBufferMessage, IMessageNamespace
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
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 |
RepeatedField<String> |
HasCreationTimestamp
public bool HasCreationTimestamp { get; }
Gets whether the "creation_timestamp" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasDefaultNetworkTier
public bool HasDefaultNetworkTier { get; }
Gets whether the "default_network_tier" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasDefaultServiceAccount
public bool HasDefaultServiceAccount { get; }
Gets whether the "default_service_account" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasDescription
public bool HasDescription { get; }
Gets whether the "description" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasId
public bool HasId { get; }
Gets whether the "id" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasKind
public bool HasKind { get; }
Gets whether the "kind" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasSelfLink
public bool HasSelfLink { get; }
Gets whether the "self_link" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasXpnProjectStatus
public bool HasXpnProjectStatus { get; }
Gets whether the "xpn_project_status" field is set
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
UInt64 |
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 |
RepeatedField<Quota> |
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 |
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 |