Reference documentation and code samples for the Google Cloud OsConfig V1 Client class CreatePatchDeploymentRequest.
A request message for creating a patch deployment.
Generated from protobuf message google.cloud.osconfig.v1.CreatePatchDeploymentRequest
Namespace
Google \ Cloud \ OsConfig \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The project to apply this patch deployment to in the form projects/*
.
↳ patch_deployment_id
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.
↳ patch_deployment
getParent
Required. The project to apply this patch deployment to in the form projects/*
.
string
setParent
Required. The project to apply this patch deployment to in the form projects/*
.
var
string
$this
getPatchDeploymentId
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.
string
setPatchDeploymentId
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.
var
string
$this
getPatchDeployment
Required. The patch deployment to create.
hasPatchDeployment
clearPatchDeployment
setPatchDeployment
Required. The patch deployment to create.
$this
static::build
parent
string
Required. The project to apply this patch deployment to in the form projects/*
. Please see OsConfigServiceClient::projectName()
for help formatting this field.
patchDeployment
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.