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.
Constructor Details
#initialize(**args) ⇒ DeploymentConfig
Returns a new instance of DeploymentConfig.
140 141 142 |
# File 'generated/google/apis/script_v1/classes.rb', line 140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The description for this deployment.
Corresponds to the JSON property description
123 124 125 |
# File 'generated/google/apis/script_v1/classes.rb', line 123 def description @description end |
#manifest_file_name ⇒ String
The manifest file name for this deployment.
Corresponds to the JSON property manifestFileName
128 129 130 |
# File 'generated/google/apis/script_v1/classes.rb', line 128 def manifest_file_name @manifest_file_name end |
#script_id ⇒ String
The script project's Drive ID.
Corresponds to the JSON property scriptId
133 134 135 |
# File 'generated/google/apis/script_v1/classes.rb', line 133 def script_id @script_id end |
#version_number ⇒ Fixnum
The version number on which this deployment is based.
Corresponds to the JSON property versionNumber
138 139 140 |
# File 'generated/google/apis/script_v1/classes.rb', line 138 def version_number @version_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
145 146 147 148 149 150 |
# File 'generated/google/apis/script_v1/classes.rb', line 145 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 |