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

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
NameDescription
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
TypeDescription
string

setParent

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

Example: projects/my_project.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getDeployment

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

Returns
TypeDescription
Google\Cloud\GSuiteAddOns\V1\Deployment|null

hasDeployment

clearDeployment

setDeployment

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

Parameter
NameDescription
var Google\Cloud\GSuiteAddOns\V1\Deployment
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\GSuiteAddOns\V1\CreateDeploymentRequest