[[["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-04 UTC."],[],[],null,["# Google Cloud OsConfig V1 Client - Class ExecutePatchJobRequest (2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/php/docs/reference/cloud-osconfig/latest/V1.ExecutePatchJobRequest)\n- [2.0.5](/php/docs/reference/cloud-osconfig/2.0.5/V1.ExecutePatchJobRequest)\n- [1.3.5](/php/docs/reference/cloud-osconfig/1.3.5/V1.ExecutePatchJobRequest)\n- [1.2.2](/php/docs/reference/cloud-osconfig/1.2.2/V1.ExecutePatchJobRequest)\n- [1.1.1](/php/docs/reference/cloud-osconfig/1.1.1/V1.ExecutePatchJobRequest)\n- [1.0.5](/php/docs/reference/cloud-osconfig/1.0.5/V1.ExecutePatchJobRequest) \nReference documentation and code samples for the Google Cloud OsConfig V1 Client class ExecutePatchJobRequest.\n\nA request message to initiate patching across Compute Engine\ninstances.\n\nGenerated from protobuf message `google.cloud.osconfig.v1.ExecutePatchJobRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ OsConfig \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The project in which to run this patch in the form `projects/*`\n\n### setParent\n\nRequired. The project in which to run this patch in the form `projects/*`\n\n### getDescription\n\nDescription of the patch job. Length of the description is limited\nto 1024 characters.\n\n### setDescription\n\nDescription of the patch job. Length of the description is limited\nto 1024 characters.\n\n### getInstanceFilter\n\nRequired. Instances to patch, either explicitly or filtered by some\ncriteria such as zone or labels.\n\n### hasInstanceFilter\n\n### clearInstanceFilter\n\n### setInstanceFilter\n\nRequired. Instances to patch, either explicitly or filtered by some\ncriteria such as zone or labels.\n\n### getPatchConfig\n\nPatch configuration being applied. If omitted, instances are\npatched using the default configurations.\n\n### hasPatchConfig\n\n### clearPatchConfig\n\n### setPatchConfig\n\nPatch configuration being applied. If omitted, instances are\npatched using the default configurations.\n\n### getDuration\n\nDuration of the patch job. After the duration ends, the patch job\ntimes out.\n\n### hasDuration\n\n### clearDuration\n\n### setDuration\n\nDuration of the patch job. After the duration ends, the patch job\ntimes out.\n\n### getDryRun\n\nIf this patch is a dry-run only, instances are contacted but\nwill do nothing.\n\n### setDryRun\n\nIf this patch is a dry-run only, instances are contacted but\nwill do nothing.\n\n### getDisplayName\n\nDisplay name for this patch job. This does not have to be unique.\n\n### setDisplayName\n\nDisplay name for this patch job. This does not have to be unique.\n\n### getRollout\n\nRollout strategy of the patch job.\n\n### hasRollout\n\n### clearRollout\n\n### setRollout\n\nRollout strategy of the patch job."]]