public sealed class ExportUsageHistoriesRequest : IMessage<ExportUsageHistoriesRequest>, IEquatable<ExportUsageHistoriesRequest>, IDeepCloneable<ExportUsageHistoriesRequest>, IBufferMessage, IMessageReference documentation and code samples for the Capacity Planner v1beta API class ExportUsageHistoriesRequest.
The ExportUsageHistories request
Next : 12
Implements
IMessageExportUsageHistoriesRequest, IEquatableExportUsageHistoriesRequest, IDeepCloneableExportUsageHistoriesRequest, IBufferMessage, IMessageNamespace
Google.Cloud.CapacityPlanner.V1BetaAssembly
Google.Cloud.CapacityPlanner.V1Beta.dll
Constructors
ExportUsageHistoriesRequest()
public ExportUsageHistoriesRequest()ExportUsageHistoriesRequest(ExportUsageHistoriesRequest)
public ExportUsageHistoriesRequest(ExportUsageHistoriesRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ExportUsageHistoriesRequest |
Properties
DiskType
public string DiskType { get; set; }Optional. The disk_type for the UsageHistory values to return request
with persistent-disk resource_type. Possible values include "pd-ssd",
"pd-standard", "pd-balanced", and "pd-extreme".
| Property Value | |
|---|---|
| Type | Description |
string |
|
EndDate
public Date EndDate { get; set; }Optional. The end date of usage.
| Property Value | |
|---|---|
| Type | Description |
Date |
|
GpuType
public string GpuType { get; set; }Optional. The GPU type for the UsageHistory values to return. Sample
values are "nvidia-tesla-t4", and "nvidia-tesla-a100". See
https://cloud.google.com/compute/docs/gpus for a list. Empty gpu_type
will return results matching all GPUs.
| Property Value | |
|---|---|
| Type | Description |
string |
|
IsSpot
public bool IsSpot { get; set; }Optional. Set true to export usage for spot resources.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
MachineFamily
public string MachineFamily { get; set; }Optional. The machine family for the UsageHistory values to return.
Possible values include "n1", and "n2d". See
https://cloud.google.com/compute/docs/machine-types for more examples.
| Property Value | |
|---|---|
| Type | Description |
string |
|
MachineShape
public MachineShape MachineShape { get; set; }Optional. The machine shape for the time series values to export.
| Property Value | |
|---|---|
| Type | Description |
MachineShape |
|
OutputConfig
public OutputConfig OutputConfig { get; set; }Required. Output configuration indicating where the results will be output to.
| Property Value | |
|---|---|
| Type | Description |
OutputConfig |
|
Parent
public string Parent { get; set; }Required. The compute engine resource and location for the time series values to return. The format is: projects/{project}/locations/{location} or organizations/{organization}/locations/{location} or folders/{folder}/locations/{location}
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }LocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|
ResourceType
public string ResourceType { get; set; }Required. The resource for the UsageHistory values to return. Possible
values include "gce-vcpus", "gce-ram", "gce-local-ssd",
"gce-persistent-disk", "gce-gpu" and "gce-tpu".
| Property Value | |
|---|---|
| Type | Description |
string |
|
StartDate
public Date StartDate { get; set; }Optional. The start date of usage.
| Property Value | |
|---|---|
| Type | Description |
Date |
|
TpuType
public string TpuType { get; set; }Optional. The TPU type for the UsageHistory values to return. Empty
tpu_type will return results matching all TPUs.
| Property Value | |
|---|---|
| Type | Description |
string |
|
UsageAggregationMethod
public UsageHistory.Types.AggregationMethod UsageAggregationMethod { get; set; }Optional. The method that should be used to convert sampled usage data to daily usage values. AGGREGATION_METHOD_UNSPECIFIED will return results matching all the aggregation methods.
| Property Value | |
|---|---|
| Type | Description |
UsageHistoryTypesAggregationMethod |
|