Method: projects.patchDeployments.create

Create an OS Config patch deployment.

HTTP request

POST https://osconfig.googleapis.com/v1/{parent=projects/*}/patchDeployments

The URL usesgRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The project to apply this patch deployment to in the formprojects/*.

Query parameters

Parameters
patchDeploymentId

string

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.