class Google::Apis::ScriptV1::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.

Attributes

create_time[RW]

When the version was created. Corresponds to the JSON property `createTime` @return [String]

description[RW]

The description for this version. Corresponds to the JSON property `description` @return [String]

script_id[RW]

The script project's Drive ID. Corresponds to the JSON property `scriptId` @return [String]

version_number[RW]

The incremental ID that is created by Apps Script when a version is created. This is system assigned number and is immutable once created. Corresponds to the JSON property `versionNumber` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/script_v1/classes.rb, line 1189
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/script_v1/classes.rb, line 1194
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @script_id = args[:script_id] if args.key?(:script_id)
  @version_number = args[:version_number] if args.key?(:version_number)
end