Google Cloud Database Center V1beta Client - Class ResourceMaintenanceDenySchedule (0.3.1)

Reference documentation and code samples for the Google Cloud Database Center V1beta Client class ResourceMaintenanceDenySchedule.

Deny maintenance period for the database resource. It specifies the time range during which the maintenance cannot start. This is configured by the customer.

Generated from protobuf message google.cloud.databasecenter.v1beta.ResourceMaintenanceDenySchedule

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start_date Google\Type\Date

Optional. The start date of the deny maintenance period.

↳ end_date Google\Type\Date

Optional. Deny period end date.

↳ time Google\Type\TimeOfDay

Optional. Time in UTC when the deny period starts on start_date and ends on end_date.

getStartDate

Optional. The start date of the deny maintenance period.

Returns
Type Description
Google\Type\Date|null

hasStartDate

clearStartDate

setStartDate

Optional. The start date of the deny maintenance period.

Parameter
Name Description
var Google\Type\Date
Returns
Type Description
$this

getEndDate

Optional. Deny period end date.

Returns
Type Description
Google\Type\Date|null

hasEndDate

clearEndDate

setEndDate

Optional. Deny period end date.

Parameter
Name Description
var Google\Type\Date
Returns
Type Description
$this

getTime

Optional. Time in UTC when the deny period starts on start_date and ends on end_date.

Returns
Type Description
Google\Type\TimeOfDay|null

hasTime

clearTime

setTime

Optional. Time in UTC when the deny period starts on start_date and ends on end_date.

Parameter
Name Description
var Google\Type\TimeOfDay
Returns
Type Description
$this