Google Cloud Database Center V1beta Client - Class BackupRunInfo (0.5.0)

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

Metadata about latest backup run state for a database resource.

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

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ start_time
Google\Protobuf\Timestamp

The time the backup operation started.

↳ end_time
Google\Protobuf\Timestamp

The time the backup operation completed.

↳ state
int

Output only. The state of this run.

↳ error_message
string

Additional information about the error encountered.

↳ operation_error_type
int

Optional. OperationErrorType to expose specific error when backup operation of database resource failed, that is state is FAILED.

↳ sub_resource
SubResource

Optional. Sub resource details associated with the backup run.

getStartTime

The time the backup operation started.

Returns
Type
Description

hasStartTime

clearStartTime

setStartTime

The time the backup operation started.

Parameter
Name
Description
Returns
Type
Description
$this

getEndTime

The time the backup operation completed.

Returns
Type
Description

hasEndTime

clearEndTime

setEndTime

The time the backup operation completed.

Parameter
Name
Description
Returns
Type
Description
$this

getState

Output only. The state of this run.

Returns
Type
Description
int
Enum of type State .

setState

Output only. The state of this run.

Parameter
Name
Description
var
int

Enum of type State .

Returns
Type
Description
$this

getErrorMessage

Additional information about the error encountered.

Returns
Type
Description
string

setErrorMessage

Additional information about the error encountered.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getOperationErrorType

Optional. OperationErrorType to expose specific error when backup operation of database resource failed, that is state is FAILED.

Returns
Type
Description
int
Enum of type OperationErrorType .

setOperationErrorType

Optional. OperationErrorType to expose specific error when backup operation of database resource failed, that is state is FAILED.

Parameter
Name
Description
var
int

Enum of type OperationErrorType .

Returns
Type
Description
$this

getSubResource

Optional. Sub resource details associated with the backup run.

Returns
Type
Description
SubResource |null

hasSubResource

clearSubResource

setSubResource

Optional. Sub resource details associated with the backup run.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: