Method: projects.patchDeployments.create

Create an OS Config patch deployment.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

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 of PatchDeployment.

Response body

If successful, the response body contains a newly created instance of PatchDeployment.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • osconfig.patchDeployments.create

For more information, see the IAM documentation.