Class: Google::Apis::ScriptV1::Content
- Inherits:
-
Object
- Object
- Google::Apis::ScriptV1::Content
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/script_v1/classes.rb,
generated/google/apis/script_v1/representations.rb,
generated/google/apis/script_v1/representations.rb
Overview
The Content resource.
Instance Attribute Summary collapse
-
#files ⇒ Array<Google::Apis::ScriptV1::File>
The list of script project files.
-
#script_id ⇒ String
The script project's Drive ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Content
constructor
A new instance of Content.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Content
Returns a new instance of Content.
41 42 43 |
# File 'generated/google/apis/script_v1/classes.rb', line 41 def initialize(**args) update!(**args) end |
Instance Attribute Details
#files ⇒ Array<Google::Apis::ScriptV1::File>
The list of script project files. One of the files is a script manifest; it
must be named "appsscript", must have type of JSON, and include the manifest
configurations for the project.
Corresponds to the JSON property files
34 35 36 |
# File 'generated/google/apis/script_v1/classes.rb', line 34 def files @files end |
#script_id ⇒ String
The script project's Drive ID.
Corresponds to the JSON property scriptId
39 40 41 |
# File 'generated/google/apis/script_v1/classes.rb', line 39 def script_id @script_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46 47 48 49 |
# File 'generated/google/apis/script_v1/classes.rb', line 46 def update!(**args) @files = args[:files] if args.key?(:files) @script_id = args[:script_id] if args.key?(:script_id) end |