Google Cloud Config V1 Client - Class LockInfo (0.2.0)

Reference documentation and code samples for the Google Cloud Config V1 Client class LockInfo.

Details about the lock which locked the deployment.

Generated from protobuf message google.cloud.config.v1.LockInfo

Namespace

Google \ Cloud \ Config \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ lock_id int|string

Unique ID for the lock to be overridden with generation ID in the backend.

↳ operation string

Terraform operation, provided by the caller.

↳ info string

Extra information to store with the lock, provided by the caller.

↳ who string

user@hostname when available

↳ version string

Terraform version

↳ create_time Google\Protobuf\Timestamp

Time that the lock was taken.

getLockId

Unique ID for the lock to be overridden with generation ID in the backend.

Returns
TypeDescription
int|string

setLockId

Unique ID for the lock to be overridden with generation ID in the backend.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getOperation

Terraform operation, provided by the caller.

Returns
TypeDescription
string

setOperation

Terraform operation, provided by the caller.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInfo

Extra information to store with the lock, provided by the caller.

Returns
TypeDescription
string

setInfo

Extra information to store with the lock, provided by the caller.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getWho

user@hostname when available

Returns
TypeDescription
string

setWho

user@hostname when available

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVersion

Terraform version

Returns
TypeDescription
string

setVersion

Terraform version

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Time that the lock was taken.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Time that the lock was taken.

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