Compute Engine v1 API - Class XpnResourceId (2.8.0)

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

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

Service resource (a.k.a service project) ID.

Inheritance

object > XpnResourceId

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

XpnResourceId()

public XpnResourceId()

XpnResourceId(XpnResourceId)

public XpnResourceId(XpnResourceId other)
Parameter
NameDescription
otherXpnResourceId

Properties

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
TypeDescription
bool

HasType

public bool HasType { get; }

Gets whether the "type" field is set

Property Value
TypeDescription
bool

Id

public string Id { get; set; }

The ID of the service resource. In the case of projects, this field supports project id (e.g., my-project-123) and project number (e.g. 12345678).

Property Value
TypeDescription
string

Type

public string Type { get; set; }

The type of the service resource. Check the Type enum for the list of possible values.

Property Value
TypeDescription
string