Google Cloud Backup Dr V1 Client - Class ServiceLockInfo (0.4.0)

Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class ServiceLockInfo.

ServiceLockInfo represents the details of a lock taken by the service on a Backup resource.

Generated from protobuf message google.cloud.backupdr.v1.ServiceLockInfo

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ operation string

Output only. The name of the operation that created this lock. The lock will automatically be released when the operation completes.

getOperation

Output only. The name of the operation that created this lock.

The lock will automatically be released when the operation completes.

Returns
Type Description
string

setOperation

Output only. The name of the operation that created this lock.

The lock will automatically be released when the operation completes.

Parameter
Name Description
var string
Returns
Type Description
$this