public sealed class ResourceIdKey : IMessage<ResourceIdKey>, IEquatable<ResourceIdKey>, IDeepCloneable<ResourceIdKey>, IBufferMessage, IMessageReference documentation and code samples for the Capacity Planner v1beta API class ResourceIdKey.
The id for a Google Cloud Platform resource key.
Implements
IMessageResourceIdKey, IEquatableResourceIdKey, IDeepCloneableResourceIdKey, IBufferMessage, IMessageNamespace
Google.Cloud.CapacityPlanner.V1BetaAssembly
Google.Cloud.CapacityPlanner.V1Beta.dll
Constructors
ResourceIdKey()
public ResourceIdKey()ResourceIdKey(ResourceIdKey)
public ResourceIdKey(ResourceIdKey other)| Parameter | |
|---|---|
| Name | Description |
other |
ResourceIdKey |
Properties
DemandFieldsCase
public ResourceIdKey.DemandFieldsOneofCase DemandFieldsCase { get; }| Property Value | |
|---|---|
| Type | Description |
ResourceIdKeyDemandFieldsOneofCase |
|
HasResourceCode
public bool HasResourceCode { get; }Gets whether the "resource_code" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
ResourceCode
public string ResourceCode { get; set; }Required. resource_code for the resource. eg: gce-ram, gce-vcpus, gce-gpu, gce-tpu, gce-vm, gce-persistent-disk, gce-local-ssd.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ResourceId
public ResourceIdentifier ResourceId { get; set; }Required. Id of the resource.
| Property Value | |
|---|---|
| Type | Description |
ResourceIdentifier |
|