Class ProjectsResource.DeploymentsResource.CreateRequest
Creates a deployment of an Apps Script project.
Inheritance
ProjectsResource.DeploymentsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Script.v1
Assembly: Google.Apis.Script.v1.dll
Syntax
public class ProjectsResource.DeploymentsResource.CreateRequest : ScriptBaseServiceRequest<Deployment>, IClientServiceRequest<Deployment>, IClientServiceRequest
Constructors
CreateRequest(IClientService, DeploymentConfig, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, DeploymentConfig body, string scriptId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DeploymentConfig | body | |
string | scriptId |
Properties
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 Create parameter list.
Declaration
protected override void InitParameters()