Class XpnResourceId (1.1.0)

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

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

Inheritance

Object > XpnResourceId

Namespace

Google.Cloud.Compute.V1

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
Boolean

HasType

public bool HasType { get; }

Gets whether the "type" field is set

Property Value
TypeDescription
Boolean

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