public sealed class ExportReservationsUsageRequest : IMessage<ExportReservationsUsageRequest>, IEquatable<ExportReservationsUsageRequest>, IDeepCloneable<ExportReservationsUsageRequest>, IBufferMessage, IMessageReference documentation and code samples for the Capacity Planner v1beta API class ExportReservationsUsageRequest.
The ExportReservationsUsage request
Implements
IMessageExportReservationsUsageRequest, IEquatableExportReservationsUsageRequest, IDeepCloneableExportReservationsUsageRequest, IBufferMessage, IMessageNamespace
Google.Cloud.CapacityPlanner.V1BetaAssembly
Google.Cloud.CapacityPlanner.V1Beta.dll
Constructors
ExportReservationsUsageRequest()
public ExportReservationsUsageRequest()ExportReservationsUsageRequest(ExportReservationsUsageRequest)
public ExportReservationsUsageRequest(ExportReservationsUsageRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ExportReservationsUsageRequest |
Properties
CloudResourceType
public string CloudResourceType { get; set; }Required. The resource for the ReservationsUsage values to return.
Possible values include "gce-vcpus", "gce-ram", "gce-local-ssd", and
"gce-gpu".
| Property Value | |
|---|---|
| Type | Description |
string |
|
EndDate
public Date EndDate { get; set; }Optional. The end date of reservations usage.
| Property Value | |
|---|---|
| Type | Description |
Date |
|
GpuType
public string GpuType { get; set; }Optional. The GPU type to query reservations and usage by. For example: NVIDIA T4.
| Property Value | |
|---|---|
| Type | Description |
string |
|
HasGpuType
public bool HasGpuType { get; }Gets whether the "gpu_type" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasMachineFamily
public bool HasMachineFamily { get; }Gets whether the "machine_family" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
LocationLevel
public TimeSeries.Types.LocationType LocationLevel { get; set; }Optional. The location level of the reservations usage timeseries.
| Property Value | |
|---|---|
| Type | Description |
TimeSeriesTypesLocationType |
|
MachineFamily
public string MachineFamily { get; set; }Optional. The machine family to query reservations and usage by. For example: n1, n2d.
| Property Value | |
|---|---|
| Type | Description |
string |
|
MachineShape
public MachineShape MachineShape { get; set; }Optional. The machine_shape as a filter to select matching reservations and its usage.
| 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 of the reservationsusage. 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 |
|
ResourceCase
public ExportReservationsUsageRequest.ResourceOneofCase ResourceCase { get; }| Property Value | |
|---|---|
| Type | Description |
ExportReservationsUsageRequestResourceOneofCase |
|
ShareType
public ExportReservationsUsageRequest.Types.ShareType ShareType { get; set; }Optional. Type of share settings to filter reservations in response. If unspecified, all types are included.
| Property Value | |
|---|---|
| Type | Description |
ExportReservationsUsageRequestTypesShareType |
|
StartDate
public Date StartDate { get; set; }Optional. The start date of reservations usage.
| Property Value | |
|---|---|
| Type | Description |
Date |
|
UsageAggregationMethod
public UsageHistory.Types.AggregationMethod UsageAggregationMethod { get; set; }Required. The method that should be used to convert sampled reservations data to daily usage values.
| Property Value | |
|---|---|
| Type | Description |
UsageHistoryTypesAggregationMethod |
|