public sealed class XpnResourceId : IMessage<XpnResourceId>, IEquatable<XpnResourceId>, IDeepCloneable<XpnResourceId>, IBufferMessage, IMessageService resource (a.k.a service project) ID.
Implements
IMessage<XpnResourceId>, IEquatable<XpnResourceId>, IDeepCloneable<XpnResourceId>, 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 |
Boolean |
|
HasType
public bool HasType { get; }Gets whether the "type" field is set
| Property Value | |
|---|---|
| Type | Description |
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 | |
|---|---|
| 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 |
|