Class ProjectsResource.GetContentRequest
Gets the content of the script project, including the code source and metadata for each script file.
Inheritance
ProjectsResource.GetContentRequest
Inherited Members
Namespace: Google.Apis.Script.v1
Assembly: Google.Apis.Script.v1.dll
Syntax
public class ProjectsResource.GetContentRequest : ScriptBaseServiceRequest<Content>, IClientServiceRequest<Content>, IClientServiceRequest
Constructors
GetContentRequest(IClientService, string)
Constructs a new GetContent request.
Declaration
public GetContentRequest(IClientService service, string scriptId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
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.Content>.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.Content>.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.Content>.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 of the project to retrieve. If not provided, the project's HEAD version is returned.
Declaration
[RequestParameter("versionNumber", RequestParameterType.Query)]
public virtual int? VersionNumber { get; set; }
Property Value
Type | Description |
---|---|
int? |
Methods
InitParameters()
Initializes GetContent parameter list.
Declaration
protected override void InitParameters()