Class: Google::Apis::ScriptV1::Deployment
- Inherits:
-
Object
- Object
- Google::Apis::ScriptV1::Deployment
- 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
Representation of a single script deployment.
Instance Attribute Summary collapse
-
#deployment_config ⇒ Google::Apis::ScriptV1::DeploymentConfig
Metadata the defines how a deployment is configured.
-
#deployment_id ⇒ String
The deployment ID for this deployment.
-
#entry_points ⇒ Array<Google::Apis::ScriptV1::EntryPoint>
The deployment's entry points.
-
#update_time ⇒ String
Last modified date time stamp.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Deployment
constructor
A new instance of Deployment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Deployment
Returns a new instance of Deployment.
103 104 105 |
# File 'lib/google/apis/script_v1/classes.rb', line 103 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
86 87 88 |
# File 'lib/google/apis/script_v1/classes.rb', line 86 def deployment_config @deployment_config end |
#deployment_id ⇒ String
The deployment ID for this deployment.
Corresponds to the JSON property deploymentId
91 92 93 |
# File 'lib/google/apis/script_v1/classes.rb', line 91 def deployment_id @deployment_id end |
#entry_points ⇒ Array<Google::Apis::ScriptV1::EntryPoint>
The deployment's entry points.
Corresponds to the JSON property entryPoints
96 97 98 |
# File 'lib/google/apis/script_v1/classes.rb', line 96 def entry_points @entry_points end |
#update_time ⇒ String
Last modified date time stamp.
Corresponds to the JSON property updateTime
101 102 103 |
# File 'lib/google/apis/script_v1/classes.rb', line 101 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
108 109 110 111 112 113 |
# File 'lib/google/apis/script_v1/classes.rb', line 108 def update!(**args) @deployment_config = args[:deployment_config] if args.key?(:deployment_config) @deployment_id = args[:deployment_id] if args.key?(:deployment_id) @entry_points = args[:entry_points] if args.key?(:entry_points) @update_time = args[:update_time] if args.key?(:update_time) end |