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

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

Deletion protection signal info for a database resource.

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

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sub_resource SubResource

Optional. Sub resource details associated with the signal.

↳ deletion_protection_enabled bool

Is deletion protection enabled.

getSubResource

Optional. Sub resource details associated with the signal.

Returns
Type Description
SubResource|null

hasSubResource

clearSubResource

setSubResource

Optional. Sub resource details associated with the signal.

Parameter
Name Description
var SubResource
Returns
Type Description
$this

getDeletionProtectionEnabled

Is deletion protection enabled.

Returns
Type Description
bool

setDeletionProtectionEnabled

Is deletion protection enabled.

Parameter
Name Description
var bool
Returns
Type Description
$this