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.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The project to apply this patch deployment to in the form |
↳ 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 |
PatchDeployment
Required. The patch deployment to create. |
getParent
Required. The project to apply this patch deployment to in the form
projects/*.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The project to apply this patch deployment to in the form
projects/*.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$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.
| Returns | |
|---|---|
| Type | Description |
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.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPatchDeployment
Required. The patch deployment to create.
| Returns | |
|---|---|
| Type | Description |
PatchDeployment|null |
|
hasPatchDeployment
clearPatchDeployment
setPatchDeployment
Required. The patch deployment to create.
| Parameter | |
|---|---|
| Name | Description |
var |
PatchDeployment
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The project to apply this patch deployment to in the form
|
patchDeployment |
PatchDeployment
Required. The patch deployment to create. |
patchDeploymentId |
string
Required. A name for the patch deployment in the project. When creating a name the following rules apply:
|
| Returns | |
|---|---|
| Type | Description |
CreatePatchDeploymentRequest |
|