Google Workspace Add-ons V1 Client - Class CreateDeploymentRequest (1.0.0)

Reference documentation and code samples for the Google Workspace Add-ons V1 Client class CreateDeploymentRequest.

Request message to create a deployment.

Generated from protobuf message google.cloud.gsuiteaddons.v1.CreateDeploymentRequest

Namespace

Google \ Cloud \ GSuiteAddOns \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Name of the project in which to create the deployment. Example: projects/my_project.

↳ deployment_id string

Required. The id to use for this deployment. The full name of the created resource will be projects/<project_number>/deployments/<deployment_id>.

↳ deployment Google\Cloud\GSuiteAddOns\V1\Deployment

Required. The deployment to create (deployment.name cannot be set).

getParent

Required. Name of the project in which to create the deployment.

Example: projects/my_project.

Returns
Type Description
string

setParent

Required. Name of the project in which to create the deployment.

Example: projects/my_project.

Parameter
Name Description
var string
Returns
Type Description
$this

getDeploymentId

Required. The id to use for this deployment. The full name of the created resource will be projects/<project_number>/deployments/<deployment_id>.

Returns
Type Description
string

setDeploymentId

Required. The id to use for this deployment. The full name of the created resource will be projects/<project_number>/deployments/<deployment_id>.

Parameter
Name Description
var string
Returns
Type Description
$this

getDeployment

Required. The deployment to create (deployment.name cannot be set).

Returns
Type Description
Google\Cloud\GSuiteAddOns\V1\Deployment|null

hasDeployment

clearDeployment

setDeployment

Required. The deployment to create (deployment.name cannot be set).

Parameter
Name Description
var Google\Cloud\GSuiteAddOns\V1\Deployment
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. Name of the project in which to create the deployment.

Example: projects/my_project. Please see Google\Cloud\GSuiteAddOns\V1\GSuiteAddOnsClient::projectName() for help formatting this field.

deployment Google\Cloud\GSuiteAddOns\V1\Deployment

Required. The deployment to create (deployment.name cannot be set).

deploymentId string

Required. The id to use for this deployment. The full name of the created resource will be projects/<project_number>/deployments/<deployment_id>.

Returns
Type Description
Google\Cloud\GSuiteAddOns\V1\CreateDeploymentRequest