Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class DenyMaintenancePeriod.
DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not be scheduled to start within this deny period. The start_date must be less than the end_date.
Generated from protobuf message google.cloud.alloydb.v1.MaintenanceUpdatePolicy.DenyMaintenancePeriod
Namespace
Google \ Cloud \ AlloyDb \ V1 \ MaintenanceUpdatePolicyMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ start_date |
Google\Type\Date
Deny period start date. This can be: * * A full date, with non-zero year, month and day values OR * * A month and day value, with a zero year for recurring |
↳ end_date |
Google\Type\Date
Deny period end date. This can be: * * A full date, with non-zero year, month and day values OR * * A month and day value, with a zero year for recurring |
↳ time |
Google\Type\TimeOfDay
Time in UTC when the deny period starts on start_date and ends on end_date. This can be: * * Full time OR * * All zeros for 00:00:00 UTC |
getStartDate
Deny period start date.
This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
Returns | |
---|---|
Type | Description |
Google\Type\Date|null |
hasStartDate
clearStartDate
setStartDate
Deny period start date.
This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
Parameter | |
---|---|
Name | Description |
var |
Google\Type\Date
|
Returns | |
---|---|
Type | Description |
$this |
getEndDate
Deny period end date.
This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
Returns | |
---|---|
Type | Description |
Google\Type\Date|null |
hasEndDate
clearEndDate
setEndDate
Deny period end date.
This can be:
- A full date, with non-zero year, month and day values OR
- A month and day value, with a zero year for recurring
Parameter | |
---|---|
Name | Description |
var |
Google\Type\Date
|
Returns | |
---|---|
Type | Description |
$this |
getTime
Time in UTC when the deny period starts on start_date and ends on end_date. This can be:
- Full time OR
- All zeros for 00:00:00 UTC
Returns | |
---|---|
Type | Description |
Google\Type\TimeOfDay|null |
hasTime
clearTime
setTime
Time in UTC when the deny period starts on start_date and ends on end_date. This can be:
- Full time OR
- All zeros for 00:00:00 UTC
Parameter | |
---|---|
Name | Description |
var |
Google\Type\TimeOfDay
|
Returns | |
---|---|
Type | Description |
$this |