Class Google_Service_Script_ProjectsDeployments_Resource
The "deployments" collection of methods. Typical usage is:
$scriptService = new Google_Service_Script(...);
$deployments = $scriptService->deployments;
-
Google_Service_Resource
-
Google_Service_Script_ProjectsDeployments_Resource
Located at Script.php
Methods summary
public
Google_Service_Script_Deployment
|
#
create( string $scriptId, Google_Service_Script_DeploymentConfig $postBody, array $optParams = array() )
Creates a deployment of an Apps Script project. (deployments.create)
Creates a deployment of an Apps Script project. (deployments.create)
Parameters
- $scriptId
- The script project's Drive ID.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Script_ScriptEmpty
|
#
delete( string $scriptId, string $deploymentId, array $optParams = array() )
Deletes a deployment of an Apps Script project. (deployments.delete)
Deletes a deployment of an Apps Script project. (deployments.delete)
Parameters
- $scriptId
- The script project's Drive ID.
- $deploymentId
- The deployment ID to be undeployed.
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Script_Deployment
|
#
get( string $scriptId, string $deploymentId, array $optParams = array() )
Gets a deployment of an Apps Script project. (deployments.get)
Gets a deployment of an Apps Script project. (deployments.get)
Parameters
- $scriptId
- The script project's Drive ID.
- $deploymentId
- The deployment ID.
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Script_ListDeploymentsResponse
|
#
listProjectsDeployments( string $scriptId, array $optParams = array() )
Lists the deployments of an Apps Script project.
(deployments.listProjectsDeployments)
Lists the deployments of an Apps Script project.
(deployments.listProjectsDeployments)
Parameters
- $scriptId
- The script project's Drive ID.
- $optParams
- Optional parameters.
Returns
Opt_param
string pageToken The token for continuing a previous list request on the next
page. This should be set to the value of nextPageToken from a
previous response.
int pageSize The maximum number of deployments on each returned page. Defaults
to 50.
|
public
Google_Service_Script_Deployment
|
#
update( string $scriptId, string $deploymentId, Google_Service_Script_UpdateDeploymentRequest $postBody, array $optParams = array() )
Updates a deployment of an Apps Script project. (deployments.update)
Updates a deployment of an Apps Script project. (deployments.update)
Parameters
- $scriptId
- The script project's Drive ID.
- $deploymentId
- The deployment ID for this deployment.
- $postBody
- $optParams
- Optional parameters.
Returns
|