Overview

Classes

  • Google_Service_Script
  • Google_Service_Script_Content
  • Google_Service_Script_CreateProjectRequest
  • Google_Service_Script_Deployment
  • Google_Service_Script_DeploymentConfig
  • Google_Service_Script_EntryPoint
  • Google_Service_Script_ExecuteStreamResponse
  • Google_Service_Script_ExecutionError
  • Google_Service_Script_ExecutionRequest
  • Google_Service_Script_ExecutionResponse
  • Google_Service_Script_GoogleAppsScriptTypeAddOnEntryPoint
  • Google_Service_Script_GoogleAppsScriptTypeExecutionApiConfig
  • Google_Service_Script_GoogleAppsScriptTypeExecutionApiEntryPoint
  • Google_Service_Script_GoogleAppsScriptTypeFunction
  • Google_Service_Script_GoogleAppsScriptTypeFunctionSet
  • Google_Service_Script_GoogleAppsScriptTypeProcess
  • Google_Service_Script_GoogleAppsScriptTypeUser
  • Google_Service_Script_GoogleAppsScriptTypeWebAppConfig
  • Google_Service_Script_GoogleAppsScriptTypeWebAppEntryPoint
  • Google_Service_Script_ListDeploymentsResponse
  • Google_Service_Script_ListScriptProcessesResponse
  • Google_Service_Script_ListUserProcessesResponse
  • Google_Service_Script_ListValue
  • Google_Service_Script_ListVersionsResponse
  • Google_Service_Script_Metrics
  • Google_Service_Script_MetricsValue
  • Google_Service_Script_Operation
  • Google_Service_Script_Processes_Resource
  • Google_Service_Script_Project
  • Google_Service_Script_Projects_Resource
  • Google_Service_Script_ProjectsDeployments_Resource
  • Google_Service_Script_ProjectsVersions_Resource
  • Google_Service_Script_ScriptEmpty
  • Google_Service_Script_ScriptExecutionResult
  • Google_Service_Script_ScriptFile
  • Google_Service_Script_Scripts_Resource
  • Google_Service_Script_ScriptStackTraceElement
  • Google_Service_Script_Status
  • Google_Service_Script_Struct
  • Google_Service_Script_UpdateDeploymentRequest
  • Google_Service_Script_Value
  • Google_Service_Script_Version
  • Overview
  • Class
  • Tree

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
Extended by 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

Google_Service_Script_Deployment
Google_Service_Script_Deployment
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

Google_Service_Script_ScriptEmpty
Google_Service_Script_ScriptEmpty
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

Google_Service_Script_Deployment
Google_Service_Script_Deployment
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

Google_Service_Script_ListDeploymentsResponse
Google_Service_Script_ListDeploymentsResponse

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

Google_Service_Script_Deployment
Google_Service_Script_Deployment
© 2020 Google Inc.
Apps Script API documentation generated by ApiGen 2.8.0