[[["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,["# Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::CreatePatchDeploymentRequest (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-CreatePatchDeploymentRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-os_config-v1/1.3.0/Google-Cloud-OsConfig-V1-CreatePatchDeploymentRequest)\n- [1.2.1](/ruby/docs/reference/google-cloud-os_config-v1/1.2.1/Google-Cloud-OsConfig-V1-CreatePatchDeploymentRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-os_config-v1/1.1.0/Google-Cloud-OsConfig-V1-CreatePatchDeploymentRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-os_config-v1/1.0.1/Google-Cloud-OsConfig-V1-CreatePatchDeploymentRequest)\n- [0.16.0](/ruby/docs/reference/google-cloud-os_config-v1/0.16.0/Google-Cloud-OsConfig-V1-CreatePatchDeploymentRequest)\n- [0.15.2](/ruby/docs/reference/google-cloud-os_config-v1/0.15.2/Google-Cloud-OsConfig-V1-CreatePatchDeploymentRequest)\n- [0.14.0](/ruby/docs/reference/google-cloud-os_config-v1/0.14.0/Google-Cloud-OsConfig-V1-CreatePatchDeploymentRequest)\n- [0.13.0](/ruby/docs/reference/google-cloud-os_config-v1/0.13.0/Google-Cloud-OsConfig-V1-CreatePatchDeploymentRequest)\n- [0.12.0](/ruby/docs/reference/google-cloud-os_config-v1/0.12.0/Google-Cloud-OsConfig-V1-CreatePatchDeploymentRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-os_config-v1/0.11.0/Google-Cloud-OsConfig-V1-CreatePatchDeploymentRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-os_config-v1/0.10.0/Google-Cloud-OsConfig-V1-CreatePatchDeploymentRequest)\n- [0.9.1](/ruby/docs/reference/google-cloud-os_config-v1/0.9.1/Google-Cloud-OsConfig-V1-CreatePatchDeploymentRequest) \nReference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::CreatePatchDeploymentRequest.\n\nA request message for creating a patch deployment. \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### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The project to apply this patch deployment to in the form `projects/*`.\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The project to apply this patch deployment to in the form `projects/*`. \n**Returns**\n\n- (::String) --- Required. The project to apply this patch deployment to in the form `projects/*`.\n\n### #patch_deployment\n\n def patch_deployment() -\u003e ::Google::Cloud::OsConfig::V1::PatchDeployment\n\n**Returns**\n\n- ([::Google::Cloud::OsConfig::V1::PatchDeployment](./Google-Cloud-OsConfig-V1-PatchDeployment)) --- Required. The patch deployment to create.\n\n### #patch_deployment=\n\n def patch_deployment=(value) -\u003e ::Google::Cloud::OsConfig::V1::PatchDeployment\n\n**Parameter**\n\n- **value** ([::Google::Cloud::OsConfig::V1::PatchDeployment](./Google-Cloud-OsConfig-V1-PatchDeployment)) --- Required. The patch deployment to create. \n**Returns**\n\n- ([::Google::Cloud::OsConfig::V1::PatchDeployment](./Google-Cloud-OsConfig-V1-PatchDeployment)) --- Required. The patch deployment to create.\n\n### #patch_deployment_id\n\n def patch_deployment_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. A name for the patch deployment in the project. When creating a\n name the following rules apply:\n\n - Must contain only lowercase letters, numbers, and hyphens.\n - Must start with a letter.\n - Must be between 1-63 characters.\n - Must end with a number or a letter.\n - Must be unique within the project.\n\n### #patch_deployment_id=\n\n def patch_deployment_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Required. A name for the patch deployment in the project. When creating a\n name the following rules apply:\n - Must contain only lowercase letters, numbers, and hyphens.\n - Must start with a letter.\n - Must be between 1-63 characters.\n - Must end with a number or a letter.\n- Must be unique within the project. \n**Returns**\n\n- (::String) --- Required. A name for the patch deployment in the project. When creating a\n name the following rules apply:\n\n - Must contain only lowercase letters, numbers, and hyphens.\n - Must start with a letter.\n - Must be between 1-63 characters.\n - Must end with a number or a letter.\n - Must be unique within the project."]]