Class: Google::Apis::ScriptV1::DeploymentConfig
- Inherits:
-
Object
- Object
- Google::Apis::ScriptV1::DeploymentConfig
- 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
Metadata the defines how a deployment is configured.
Instance Attribute Summary collapse
-
#description ⇒ String
The description for this deployment.
-
#manifest_file_name ⇒ String
The manifest file name for this deployment.
-
#script_id ⇒ String
The script project's Drive ID.
-
#version_number ⇒ Fixnum
The version number on which this deployment is based.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeploymentConfig
constructor
A new instance of DeploymentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeploymentConfig
Returns a new instance of DeploymentConfig
141 142 143 |
# File 'generated/google/apis/script_v1/classes.rb', line 141 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The description for this deployment.
Corresponds to the JSON property description
124 125 126 |
# File 'generated/google/apis/script_v1/classes.rb', line 124 def description @description end |
#manifest_file_name ⇒ String
The manifest file name for this deployment.
Corresponds to the JSON property manifestFileName
129 130 131 |
# File 'generated/google/apis/script_v1/classes.rb', line 129 def manifest_file_name @manifest_file_name end |
#script_id ⇒ String
The script project's Drive ID.
Corresponds to the JSON property scriptId
134 135 136 |
# File 'generated/google/apis/script_v1/classes.rb', line 134 def script_id @script_id end |
#version_number ⇒ Fixnum
The version number on which this deployment is based.
Corresponds to the JSON property versionNumber
139 140 141 |
# File 'generated/google/apis/script_v1/classes.rb', line 139 def version_number @version_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
146 147 148 149 150 151 |
# File 'generated/google/apis/script_v1/classes.rb', line 146 def update!(**args) @description = args[:description] if args.key?(:description) @manifest_file_name = args[:manifest_file_name] if args.key?(:manifest_file_name) @script_id = args[:script_id] if args.key?(:script_id) @version_number = args[:version_number] if args.key?(:version_number) end |