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.
Implements
IMessageXpnResourceId, IEquatableXpnResourceId, IDeepCloneableXpnResourceId, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
XpnResourceId()
public XpnResourceId()
XpnResourceId(XpnResourceId)
public XpnResourceId(XpnResourceId other)
Parameter | |
---|---|
Name | Description |
other |
XpnResourceId |
Properties
HasId
public bool HasId { get; }
Gets whether the "id" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasType
public bool HasType { get; }
Gets whether the "type" field is set
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |