Google Cloud Sql Admin V1 Client - Class SqlScheduledMaintenance (0.11.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlScheduledMaintenance.

Any scheduled maintenance for this instance.

Generated from protobuf message google.cloud.sql.v1.DatabaseInstance.SqlScheduledMaintenance

Namespace

Google \ Cloud \ Sql \ V1 \ DatabaseInstance

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ start_time Google\Protobuf\Timestamp

The start time of any upcoming scheduled maintenance for this instance.

↳ can_defer bool
↳ can_reschedule bool

If the scheduled maintenance can be rescheduled.

↳ schedule_deadline_time Google\Protobuf\Timestamp

Maintenance cannot be rescheduled to start beyond this deadline.

getStartTime

The start time of any upcoming scheduled maintenance for this instance.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

The start time of any upcoming scheduled maintenance for this instance.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getCanDefer

Generated from protobuf field bool can_defer = 2 [deprecated = true];

Returns
TypeDescription
bool

setCanDefer

Generated from protobuf field bool can_defer = 2 [deprecated = true];

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getCanReschedule

If the scheduled maintenance can be rescheduled.

Returns
TypeDescription
bool

setCanReschedule

If the scheduled maintenance can be rescheduled.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getScheduleDeadlineTime

Maintenance cannot be rescheduled to start beyond this deadline.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasScheduleDeadlineTime

clearScheduleDeadlineTime

setScheduleDeadlineTime

Maintenance cannot be rescheduled to start beyond this deadline.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this