# Infrastructure Manager V1 API - Class Google::Cloud::ConfigService::V1::DeleteStatefileRequest (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::DeleteStatefileRequest.

A request to delete a state file passed to a 'DeleteStatefile' call.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #lock_id

    def lock_id() -> ::Integer

**Returns**

- (::Integer) --- Required. Lock ID of the lock file to verify that the user who is deleting the state file previously locked the Deployment.

### #lock_id=

    def lock_id=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Required. Lock ID of the lock file to verify that the user who is deleting the state file previously locked the Deployment.
**Returns**

- (::Integer) --- Required. Lock ID of the lock file to verify that the user who is deleting the state file previously locked the Deployment.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
**Returns**

- (::String) --- Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.