Show / Hide Table of Contents

Class ProjectsResource.VersionsResource

The "versions" collection of methods.

Inheritance
object
ProjectsResource.VersionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Script.v1
Assembly: Google.Apis.Script.v1.dll
Syntax
public class ProjectsResource.VersionsResource

Constructors

VersionsResource(IClientService)

Constructs a new resource.

Declaration
public VersionsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(Version, string)

Creates a new immutable version using the current code, with a unique version number.

Declaration
public virtual ProjectsResource.VersionsResource.CreateRequest Create(Version body, string scriptId)
Parameters
Type Name Description
Version body

The body of the request.

string scriptId

The script project's Drive ID.

Returns
Type Description
ProjectsResource.VersionsResource.CreateRequest

Get(string, int)

Gets a version of a script project.

Declaration
public virtual ProjectsResource.VersionsResource.GetRequest Get(string scriptId, int versionNumber)
Parameters
Type Name Description
string scriptId

The script project's Drive ID.

int versionNumber

The version number.

Returns
Type Description
ProjectsResource.VersionsResource.GetRequest

List(string)

List the versions of a script project.

Declaration
public virtual ProjectsResource.VersionsResource.ListRequest List(string scriptId)
Parameters
Type Name Description
string scriptId

The script project's Drive ID.

Returns
Type Description
ProjectsResource.VersionsResource.ListRequest
In this article
Back to top Generated by DocFX