Class: Google::Apis::ScriptV1::Deployment
- Inherits:
-
Object
- Object
- Google::Apis::ScriptV1::Deployment
- 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
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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Deployment
Returns a new instance of Deployment
104 105 106 |
# File 'generated/google/apis/script_v1/classes.rb', line 104 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
87 88 89 |
# File 'generated/google/apis/script_v1/classes.rb', line 87 def deployment_config @deployment_config end |
#deployment_id ⇒ String
The deployment ID for this deployment.
Corresponds to the JSON property deploymentId
92 93 94 |
# File 'generated/google/apis/script_v1/classes.rb', line 92 def deployment_id @deployment_id end |
#entry_points ⇒ Array<Google::Apis::ScriptV1::EntryPoint>
The deployment's entry points.
Corresponds to the JSON property entryPoints
97 98 99 |
# File 'generated/google/apis/script_v1/classes.rb', line 97 def entry_points @entry_points end |
#update_time ⇒ String
Last modified date time stamp.
Corresponds to the JSON property updateTime
102 103 104 |
# File 'generated/google/apis/script_v1/classes.rb', line 102 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
109 110 111 112 113 114 |
# File 'generated/google/apis/script_v1/classes.rb', line 109 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 |