Class ProjectsResource.DeploymentsResource.UpdateRequest
Updates a deployment of an Apps Script project.
Inheritance
ProjectsResource.DeploymentsResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.Script.v1
Assembly: Google.Apis.Script.v1.dll
Syntax
public class ProjectsResource.DeploymentsResource.UpdateRequest : ScriptBaseServiceRequest<Deployment>, IClientServiceRequest<Deployment>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, UpdateDeploymentRequest, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, UpdateDeploymentRequest body, string scriptId, string deploymentId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UpdateDeploymentRequest | body | |
string | scriptId | |
string | deploymentId |
Properties
DeploymentId
The deployment ID for this deployment.
Declaration
[RequestParameter("deploymentId", RequestParameterType.Path)]
public virtual string DeploymentId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Script.v1.Data.Deployment>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Script.v1.Data.Deployment>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Script.v1.Data.Deployment>.RestPath
ScriptId
The script project's Drive ID.
Declaration
[RequestParameter("scriptId", RequestParameterType.Path)]
public virtual string ScriptId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Script.v1.Data.Deployment>.GetBody()
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()