2.7.0 (latest) 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0

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

Reference documentation and code samples for the Cloud Billing Budget v1 API class CustomPeriod.

All date times begin at 12 AM US and Canadian Pacific Time (UTC-8).

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CustomPeriod](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1.CustomPeriod.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CustomPeriod](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1.CustomPeriod.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CustomPeriod](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1.CustomPeriod.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Billing.Budgets.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1.md.txt)

## Assembly

Google.Cloud.Billing.Budgets.V1.dll

## Constructors

### CustomPeriod()

    public CustomPeriod()

### CustomPeriod(CustomPeriod)

    public CustomPeriod(CustomPeriod other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CustomPeriod` |

## Properties

### EndDate

    public Date EndDate { get; set; }

Optional. The end date of the time period. Budgets with elapsed end date
won't be processed. If unset, specifies to track all usage incurred since
the start_date.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Date` |   |

### StartDate

    public Date StartDate { get; set; }

Required. The start date must be after January 1, 2017.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Date` |   |