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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
int|string |
|
setLockId
Unique ID for the lock to be overridden with generation ID in the backend.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOperation
Terraform operation, provided by the caller.
| Returns | |
|---|---|
| Type | Description |
string |
|
setOperation
Terraform operation, provided by the caller.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInfo
Extra information to store with the lock, provided by the caller.
| Returns | |
|---|---|
| Type | Description |
string |
|
setInfo
Extra information to store with the lock, provided by the caller.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getWho
user@hostname when available
| Returns | |
|---|---|
| Type | Description |
string |
|
setWho
user@hostname when available
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVersion
Terraform version
| Returns | |
|---|---|
| Type | Description |
string |
|
setVersion
Terraform version
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Time that the lock was taken.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Time that the lock was taken.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|