# Capacity Planner v1beta API - Class ExportForecastsRequest (1.0.0-beta02)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-beta02 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.ExportForecastsRequest)
- [1.0.0-beta01](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/1.0.0-beta01/Google.Cloud.CapacityPlanner.V1Beta.ExportForecastsRequest)

    public sealed class ExportForecastsRequest : IMessage<ExportForecastsRequest>, IEquatable<ExportForecastsRequest>, IDeepCloneable<ExportForecastsRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Capacity Planner v1beta API class ExportForecastsRequest.

The `ExportForecasts` request
Next : 13

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ExportForecastsRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ExportForecastsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.ExportForecastsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ExportForecastsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.ExportForecastsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ExportForecastsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.ExportForecastsRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.CapacityPlanner.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta)

## Assembly

Google.Cloud.CapacityPlanner.V1Beta.dll

## Constructors

### ExportForecastsRequest()

    public ExportForecastsRequest()

### ExportForecastsRequest(ExportForecastsRequest)

    public ExportForecastsRequest(ExportForecastsRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.ExportForecastsRequest` |

## Properties

### AggregationMethod

    public UsageHistory.Types.AggregationMethod AggregationMethod { get; set; }

Optional. Aggregation Method of the historical usage for which the forecast
is generated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.UsageHistoryhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.UsageHistory.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.UsageHistory.Types.AggregationMethod` |   |

### DiskType

    public string DiskType { get; set; }

Optional. The disk_type for the `Forecast` values to return with request
persistent-disk resource_type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### EndDate

    public Date EndDate { get; set; }

Optional. The end date of forecasts.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Type.Date.html` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### MachineFamily

    public string MachineFamily { get; set; }

Optional. The machine family to use to select the `Forecast` values to
return. Possible values include "n1", and "n2d".

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### MachineShape

    public MachineShape MachineShape { get; set; }

Optional. The machine shape for the time series values to export.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.MachineShape` |   |

### OutputConfig

    public OutputConfig OutputConfig { get; set; }

Required. Output configuration indicating where the results will be output
to.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.ExportForecastsRequest#Google_Cloud_CapacityPlanner_V1Beta_ExportForecastsRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` |   |

### PredictionInterval

    public Forecast.Types.PredictionInterval PredictionInterval { get; set; }

Optional. 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** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Forecasthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Forecast.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.Forecast.Types.PredictionInterval` |   |

### ResourceType

    public string ResourceType { 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".

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### StartDate

    public Date StartDate { get; set; }

Optional. The start date of forecasts.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Type.Date.html` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |