Reference documentation and code samples for the Google Cloud Billing Budgets V1beta1 Client class CustomPeriod.
All date times begin at 12 AM US and Canadian Pacific Time (UTC-8).
Generated from protobuf message google.cloud.billing.budgets.v1beta1.CustomPeriod
Namespace
Google \ Cloud \ Billing \ Budgets \ V1beta1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ start_date | Google\Type\DateRequired. The start date must be after January 1, 2017. | 
| ↳ end_date | Google\Type\DateOptional. 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. | 
getStartDate
Required. The start date must be after January 1, 2017.
| Returns | |
|---|---|
| Type | Description | 
| Google\Type\Date|null | |
hasStartDate
clearStartDate
setStartDate
Required. The start date must be after January 1, 2017.
| Parameter | |
|---|---|
| Name | Description | 
| var | Google\Type\Date | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getEndDate
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.
| Returns | |
|---|---|
| Type | Description | 
| Google\Type\Date|null | |
hasEndDate
clearEndDate
setEndDate
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.
| Parameter | |
|---|---|
| Name | Description | 
| var | Google\Type\Date | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |