public sealed class QueryForecastsRequest : IMessage<QueryForecastsRequest>, IEquatable<QueryForecastsRequest>, IDeepCloneable<QueryForecastsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Capacity Planner v1beta API class QueryForecastsRequest.
The QueryForecasts
request.
Next : 14
Implements
IMessageQueryForecastsRequest, IEquatableQueryForecastsRequest, IDeepCloneableQueryForecastsRequest, IBufferMessage, IMessageNamespace
Google.Cloud.CapacityPlanner.V1BetaAssembly
Google.Cloud.CapacityPlanner.V1Beta.dll
Constructors
QueryForecastsRequest()
public QueryForecastsRequest()
QueryForecastsRequest(QueryForecastsRequest)
public QueryForecastsRequest(QueryForecastsRequest other)
Parameter | |
---|---|
Name | Description |
other |
QueryForecastsRequest |
Properties
AggregationMethod
public UsageHistory.Types.AggregationMethod AggregationMethod { get; set; }
Aggregation Method of the historical usage for which the forecast is generated
Property Value | |
---|---|
Type | Description |
UsageHistoryTypesAggregationMethod |
CloudResourceType
public string CloudResourceType { get; set; }
Required. The resource for the Forecast
values to return. Possible values
include "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-persistent-disk",
"gce-gpu" and "gce-tpu". Empty cloud_resource_type will return results
matching all resources.
Property Value | |
---|---|
Type | Description |
string |
ConfidentialMode
public bool ConfidentialMode { get; set; }
Optional. Whether the persistent disk is in confidential mode.
Property Value | |
---|---|
Type | Description |
bool |
DiskType
public string DiskType { get; set; }
Optional. The disk_type for the Forecast
values to return with request
persistent-disk cloud_resource_type.
Empty disk_type will return results matching all disk types.
Property Value | |
---|---|
Type | Description |
string |
ForecastType
public Forecast.Types.ForecastType ForecastType { get; set; }
The type of forecast to use to select the Forecast
values to return.
FORECAST_TYPE_UNSPECIFIED will return results matching all the forecast
types.
Property Value | |
---|---|
Type | Description |
ForecastTypesForecastType |
GpuType
public string GpuType { get; set; }
Optional. The GPU type for the Forecast
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 |
MachineFamily
public string MachineFamily { get; set; }
The machine family to use to select the Forecast
values to return.
Possible values include "n1", and "n2d".
Empty machine_family will return results matching all machine families.
Property Value | |
---|---|
Type | Description |
string |
MachineShape
public MachineShape MachineShape { get; set; }
Optional. The machine shape for the time series values to return.
Property Value | |
---|---|
Type | Description |
MachineShape |
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 |
PredictionInterval
public Forecast.Types.PredictionInterval PredictionInterval { get; set; }
The prediction interval to use to select the Forecast
values to return.
PREDICTION_INTERVAL_UNSPECIFIED will return results matching all prediction
intervals.
Property Value | |
---|---|
Type | Description |
ForecastTypesPredictionInterval |
TpuType
public string TpuType { get; set; }
Optional. The TPU type for the Forecast
values to return. Empty tpu_type
will return results matching all TPUs.
Property Value | |
---|---|
Type | Description |
string |