public sealed class CapacityHistoryResponse : IMessage<CapacityHistoryResponse>, IEquatable<CapacityHistoryResponse>, IDeepCloneable<CapacityHistoryResponse>, IBufferMessage, IMessageReference documentation and code samples for the Compute Engine v1 API class CapacityHistoryResponse.
Contains the capacity history.
Implements
IMessageCapacityHistoryResponse, IEquatableCapacityHistoryResponse, IDeepCloneableCapacityHistoryResponse, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
CapacityHistoryResponse()
public CapacityHistoryResponse()CapacityHistoryResponse(CapacityHistoryResponse)
public CapacityHistoryResponse(CapacityHistoryResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
CapacityHistoryResponse |
Properties
HasLocation
public bool HasLocation { get; }Gets whether the "location" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasMachineType
public bool HasMachineType { get; }Gets whether the "machine_type" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Location
public string Location { get; set; }Output only. The location (region or zone) for which the capacity history is returned. It is returned as a URL - For example,https://www.googleapis.com/compute/v1/projects/project/zones/zone.
| Property Value | |
|---|---|
| Type | Description |
string |
|
MachineType
public string MachineType { get; set; }The machine type for which the capacity history is returned.
| Property Value | |
|---|---|
| Type | Description |
string |
|
PreemptionHistory
public RepeatedField<CapacityHistoryResponsePreemptionRecord> PreemptionHistory { get; }The preemption history for the requested machine type and location.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldCapacityHistoryResponsePreemptionRecord |
|
PriceHistory
public RepeatedField<CapacityHistoryResponsePriceRecord> PriceHistory { get; }The price history for the requested machine type and location.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldCapacityHistoryResponsePriceRecord |
|