Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::ConfigService::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
deflock_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=
deflock_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
defparent()->::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=
defparent=(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}'.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Infrastructure Manager V1 API - Class Google::Cloud::ConfigService::V1::ImportStatefileRequest (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Cloud-ConfigService-V1-ImportStatefileRequest)\n- [2.1.0](/ruby/docs/reference/google-cloud-config_service-v1/2.1.0/Google-Cloud-ConfigService-V1-ImportStatefileRequest)\n- [2.0.1](/ruby/docs/reference/google-cloud-config_service-v1/2.0.1/Google-Cloud-ConfigService-V1-ImportStatefileRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-config_service-v1/1.3.0/Google-Cloud-ConfigService-V1-ImportStatefileRequest)\n- [1.2.1](/ruby/docs/reference/google-cloud-config_service-v1/1.2.1/Google-Cloud-ConfigService-V1-ImportStatefileRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-config_service-v1/1.1.0/Google-Cloud-ConfigService-V1-ImportStatefileRequest)\n- [1.0.2](/ruby/docs/reference/google-cloud-config_service-v1/1.0.2/Google-Cloud-ConfigService-V1-ImportStatefileRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-config_service-v1/0.6.0/Google-Cloud-ConfigService-V1-ImportStatefileRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-config_service-v1/0.5.0/Google-Cloud-ConfigService-V1-ImportStatefileRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-config_service-v1/0.4.0/Google-Cloud-ConfigService-V1-ImportStatefileRequest)\n- [0.3.1](/ruby/docs/reference/google-cloud-config_service-v1/0.3.1/Google-Cloud-ConfigService-V1-ImportStatefileRequest)\n- [0.2.1](/ruby/docs/reference/google-cloud-config_service-v1/0.2.1/Google-Cloud-ConfigService-V1-ImportStatefileRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-config_service-v1/0.1.0/Google-Cloud-ConfigService-V1-ImportStatefileRequest) \nReference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::ConfigService::V1::ImportStatefileRequest.\n\nA request to import a state file passed to a 'ImportStatefile' call. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #lock_id\n\n def lock_id() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment.\n\n### #lock_id=\n\n def lock_id=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment. \n**Returns**\n\n- (::Integer) --- Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::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}'.\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **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}'. \n**Returns**\n\n- (::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}'.\n\n### #skip_draft\n\n def skip_draft() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional.\n\n### #skip_draft=\n\n def skip_draft=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. \n**Returns**\n\n- (::Boolean) --- Optional."]]