# Infrastructure Manager V1 API - Class Google::Cloud::ConfigService::V1::LockInfo (v2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 1.3.0 1.2.1 1.1.0 1.0.2 0.6.0 0.5.0 0.4.0 0.3.1 0.2.1 0.1.0 Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::ConfigService::V1::LockInfo.

Details about the lock which locked the deployment.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Protobuf-Timestamp)) --- Time that the lock was taken.

### #create_time=

    def create_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Protobuf-Timestamp)) --- Time that the lock was taken.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Protobuf-Timestamp)) --- Time that the lock was taken.

### #info

    def info() -> ::String

**Returns**

- (::String) --- Extra information to store with the lock, provided by the caller.

### #info=

    def info=(value) -> ::String

**Parameter**

- **value** (::String) --- Extra information to store with the lock, provided by the caller.
**Returns**

- (::String) --- Extra information to store with the lock, provided by the caller.

### #lock_id

    def lock_id() -> ::Integer

**Returns**

- (::Integer) --- Unique ID for the lock to be overridden with generation ID in the backend.

### #lock_id=

    def lock_id=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Unique ID for the lock to be overridden with generation ID in the backend.
**Returns**

- (::Integer) --- Unique ID for the lock to be overridden with generation ID in the backend.

### #operation

    def operation() -> ::String

**Returns**

- (::String) --- Terraform operation, provided by the caller.

### #operation=

    def operation=(value) -> ::String

**Parameter**

- **value** (::String) --- Terraform operation, provided by the caller.
**Returns**

- (::String) --- Terraform operation, provided by the caller.

### #version

    def version() -> ::String

**Returns**

- (::String) --- Terraform version

### #version=

    def version=(value) -> ::String

**Parameter**

- **value** (::String) --- Terraform version
**Returns**

- (::String) --- Terraform version

### #who

    def who() -> ::String

**Returns**

- (::String) --- user@hostname when available

### #who=

    def who=(value) -> ::String

**Parameter**

- **value** (::String) --- user@hostname when available
**Returns**

- (::String) --- user@hostname when available