Class Version
A resource representing a script project version. A version is a "snapshot" of a script project and is similar to a read-only branched release. When creating deployments, the version to use must be specified.
Implements
Inherited Members
Namespace: Google.Apis.Script.v1.Data
Assembly: Google.Apis.Script.v1.dll
Syntax
public class Version : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
When the version was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
The description for this version.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ScriptId
The script project's Drive ID.
Declaration
[JsonProperty("scriptId")]
public virtual string ScriptId { get; set; }
Property Value
Type | Description |
---|---|
string |
VersionNumber
The incremental ID that is created by Apps Script when a version is created. This is system assigned number and is immutable once created.
Declaration
[JsonProperty("versionNumber")]
public virtual int? VersionNumber { get; set; }
Property Value
Type | Description |
---|---|
int? |