Class: Google::Apis::ScriptV1::UpdateDeploymentRequest
- Inherits:
-
Object
- Object
- Google::Apis::ScriptV1::UpdateDeploymentRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/script_v1/classes.rb,
lib/google/apis/script_v1/representations.rb,
lib/google/apis/script_v1/representations.rb
Overview
Request with deployment information to update an existing deployment.
Instance Attribute Summary collapse
-
#deployment_config ⇒ Google::Apis::ScriptV1::DeploymentConfig
Metadata the defines how a deployment is configured.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateDeploymentRequest
constructor
A new instance of UpdateDeploymentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateDeploymentRequest
Returns a new instance of UpdateDeploymentRequest.
1092 1093 1094 |
# File 'lib/google/apis/script_v1/classes.rb', line 1092 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deployment_config ⇒ Google::Apis::ScriptV1::DeploymentConfig
Metadata the defines how a deployment is configured.
Corresponds to the JSON property deploymentConfig
1090 1091 1092 |
# File 'lib/google/apis/script_v1/classes.rb', line 1090 def deployment_config @deployment_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1097 1098 1099 |
# File 'lib/google/apis/script_v1/classes.rb', line 1097 def update!(**args) @deployment_config = args[:deployment_config] if args.key?(:deployment_config) end |