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

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
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
Deployment |null

hasDeployment

clearDeployment

setDeployment

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

Parameter
Name
Description
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 GSuiteAddOnsClient::projectName() for help formatting this field.

deployment
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
Design a Mobile Site
View Site in Mobile | Classic
Share by: