Class ProjectsResource.VersionsResource.GetRequest
Gets a version of a script project.
Inheritance
ProjectsResource.VersionsResource.GetRequest
Inherited Members
Namespace: Google.Apis.Script.v1
Assembly: Google.Apis.Script.v1.dll
Syntax
public class ProjectsResource.VersionsResource.GetRequest : ScriptBaseServiceRequest<Version>, IClientServiceRequest<Version>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, int)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string scriptId, int versionNumber)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | scriptId | |
int | versionNumber |
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 |
VersionNumber
The version number.
Declaration
[RequestParameter("versionNumber", RequestParameterType.Path)]
public virtual int VersionNumber { get; }
Property Value
Type | Description |
---|---|
int |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()