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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eCustomPeriod\u003c/code\u003e class in the Cloud Billing Budget v1beta1 API is \u003ccode\u003e2.0.0-beta06\u003c/code\u003e, with previous versions \u003ccode\u003e2.0.0-beta05\u003c/code\u003e and \u003ccode\u003e1.0.0-beta05\u003c/code\u003e also available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCustomPeriod\u003c/code\u003e implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCustomPeriod\u003c/code\u003e class has two properties: \u003ccode\u003eStartDate\u003c/code\u003e, which is required and must be after January 1, 2017, and \u003ccode\u003eEndDate\u003c/code\u003e, which is optional and defines the period's end; if unset, all usage since \u003ccode\u003eStartDate\u003c/code\u003e is tracked.\u003c/p\u003e\n"],["\u003cp\u003eAll date times associated with the \u003ccode\u003eCustomPeriod\u003c/code\u003e begin at 12 AM US and Canadian Pacific Time (UTC-8).\u003c/p\u003e\n"]]],[],null,["# Cloud Billing Budget v1beta1 API - Class CustomPeriod (2.0.0-beta06)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta06 (latest)](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/latest/Google.Cloud.Billing.Budgets.V1Beta1.CustomPeriod)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/2.0.0-beta05/Google.Cloud.Billing.Budgets.V1Beta1.CustomPeriod)\n- [1.0.0-beta05](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/1.0.0-beta05/Google.Cloud.Billing.Budgets.V1Beta1.CustomPeriod) \n\n public sealed class CustomPeriod : IMessage\u003cCustomPeriod\u003e, IEquatable\u003cCustomPeriod\u003e, IDeepCloneable\u003cCustomPeriod\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Billing Budget v1beta1 API class CustomPeriod.\n\nAll date times begin at 12 AM US and Canadian Pacific Time (UTC-8). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CustomPeriod \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CustomPeriod](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/latest/Google.Cloud.Billing.Budgets.V1Beta1.CustomPeriod), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CustomPeriod](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/latest/Google.Cloud.Billing.Budgets.V1Beta1.CustomPeriod), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CustomPeriod](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/latest/Google.Cloud.Billing.Budgets.V1Beta1.CustomPeriod), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Billing.Budgets.V1Beta1](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/latest/Google.Cloud.Billing.Budgets.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Billing.Budgets.V1Beta1.dll\n\nConstructors\n------------\n\n### CustomPeriod()\n\n public CustomPeriod()\n\n### CustomPeriod(CustomPeriod)\n\n public CustomPeriod(CustomPeriod other)\n\nProperties\n----------\n\n### EndDate\n\n public Date EndDate { get; set; }\n\nOptional. The end date of the time period. Budgets with elapsed end date\nwon't be processed. If unset, specifies to track all usage incurred since\nthe start_date.\n\n### StartDate\n\n public Date StartDate { get; set; }\n\nRequired. The start date must be after January 1, 2017."]]