# Infrastructure Manager V1 API - Class Google::Cloud::Config::V1::ImportStatefileRequest (v0.2.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.2.0 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config-v1/latest/Google-Cloud-Config-V1-ImportStatefileRequest)
- [0.1.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config-v1/0.1.0/Google-Cloud-Config-V1-ImportStatefileRequest)
Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::Config::V1::ImportStatefileRequest.

A request to import a state file passed to a 'ImportStatefile' 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 importing 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 importing the state file previously locked the Deployment.
**Returns**

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

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
**Returns**

- (::String) --- Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

### #skip_draft

    def skip_draft() -> ::Boolean

**Returns**

- (::Boolean) --- Optional.

### #skip_draft=

    def skip_draft=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional.
**Returns**

- (::Boolean) --- Optional.