Reference documentation and code samples for the Google Cloud Ces V1 Client class CreateDeploymentRequest.
Request message for AgentService.CreateDeployment.
Generated from protobuf message google.cloud.ces.v1.CreateDeploymentRequest
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent app. Format: |
↳ deployment_id |
string
Optional. The ID to use for the deployment, which will become the final component of the deployment's resource name. If not provided, a unique ID will be automatically assigned for the deployment. |
↳ deployment |
Deployment
Required. The deployment to create. |
getParent
Required. The parent app.
Format:
projects/{project}/locations/{location}/apps/{app}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent app.
Format:
projects/{project}/locations/{location}/apps/{app}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeploymentId
Optional. The ID to use for the deployment, which will become the final component of the deployment's resource name. If not provided, a unique ID will be automatically assigned for the deployment.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDeploymentId
Optional. The ID to use for the deployment, which will become the final component of the deployment's resource name. If not provided, a unique ID will be automatically assigned for the deployment.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeployment
Required. The deployment to create.
| Returns | |
|---|---|
| Type | Description |
Deployment|null |
|
hasDeployment
clearDeployment
setDeployment
Required. The deployment to create.
| Parameter | |
|---|---|
| Name | Description |
var |
Deployment
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent app.
Format:
|
deployment |
Deployment
Required. The deployment to create. |
deploymentId |
string
Optional. The ID to use for the deployment, which will become the final component of the deployment's resource name. If not provided, a unique ID will be automatically assigned for the deployment. |
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentRequest |
|
static::buildFromParentDeployment
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent app.
Format:
|
deployment |
Deployment
Required. The deployment to create. |
| Returns | |
|---|---|
| Type | Description |
CreateDeploymentRequest |
|