Method: projects.patchDeployments.create Stay organized with collections Save and categorize content based on your preferences.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Create an OS Config patch deployment.
HTTP request
POST https://osconfig.googleapis.com/v1beta/{parent=projects/*}/patchDeployments
The URL usesgRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The project to apply this patch deployment to in the form |
Query parameters
| Parameters | |
|---|---|
patchDeploymentId |
Required. A name for the patch deployment in the project. When creating a name the following rules apply: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project. |
Request body
The request body contains an instance ofPatchDeployment.
Response body
If successful, the response body contains a newly created instance ofPatchDeployment.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see theAuthentication Overview.
IAM Permissions
Requires the followingIAM permission on theparent resource:
osconfig.patchDeployments.create
For more information, see theIAM documentation.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-28 UTC.