Class ProjectsResource.DeploymentsResource
The "deployments" collection of methods.
Inherited Members
Namespace: Google.Apis.Script.v1
Assembly: Google.Apis.Script.v1.dll
Syntax
public class ProjectsResource.DeploymentsResource
Constructors
DeploymentsResource(IClientService)
Constructs a new resource.
Declaration
public DeploymentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(DeploymentConfig, string)
Creates a deployment of an Apps Script project.
Declaration
public virtual ProjectsResource.DeploymentsResource.CreateRequest Create(DeploymentConfig body, string scriptId)
Parameters
Type | Name | Description |
---|---|---|
DeploymentConfig | body | The body of the request. |
string | scriptId | The script project's Drive ID. |
Returns
Type | Description |
---|---|
ProjectsResource.DeploymentsResource.CreateRequest |
Delete(string, string)
Deletes a deployment of an Apps Script project.
Declaration
public virtual ProjectsResource.DeploymentsResource.DeleteRequest Delete(string scriptId, string deploymentId)
Parameters
Type | Name | Description |
---|---|---|
string | scriptId | The script project's Drive ID. |
string | deploymentId | The deployment ID to be undeployed. |
Returns
Type | Description |
---|---|
ProjectsResource.DeploymentsResource.DeleteRequest |
Get(string, string)
Gets a deployment of an Apps Script project.
Declaration
public virtual ProjectsResource.DeploymentsResource.GetRequest Get(string scriptId, string deploymentId)
Parameters
Type | Name | Description |
---|---|---|
string | scriptId | The script project's Drive ID. |
string | deploymentId | The deployment ID. |
Returns
Type | Description |
---|---|
ProjectsResource.DeploymentsResource.GetRequest |
List(string)
Lists the deployments of an Apps Script project.
Declaration
public virtual ProjectsResource.DeploymentsResource.ListRequest List(string scriptId)
Parameters
Type | Name | Description |
---|---|---|
string | scriptId | The script project's Drive ID. |
Returns
Type | Description |
---|---|
ProjectsResource.DeploymentsResource.ListRequest |
Update(UpdateDeploymentRequest, string, string)
Updates a deployment of an Apps Script project.
Declaration
public virtual ProjectsResource.DeploymentsResource.UpdateRequest Update(UpdateDeploymentRequest body, string scriptId, string deploymentId)
Parameters
Type | Name | Description |
---|---|---|
UpdateDeploymentRequest | body | The body of the request. |
string | scriptId | The script project's Drive ID. |
string | deploymentId | The deployment ID for this deployment. |
Returns
Type | Description |
---|---|
ProjectsResource.DeploymentsResource.UpdateRequest |