Class ProjectsResource.VersionsResource.CreateRequest
Creates a new immutable version using the current code, with a unique version number.
Inheritance
ProjectsResource.VersionsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Script.v1
Assembly: Google.Apis.Script.v1.dll
Syntax
public class ProjectsResource.VersionsResource.CreateRequest : ScriptBaseServiceRequest<Version>, IClientServiceRequest<Version>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Version, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Version body, string scriptId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Version | 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.Version>.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.Version>.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.Version>.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.Version>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()