Class: Google::Apis::ScriptV1::Deployment

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_configGoogle::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_idString

The deployment ID for this deployment. Corresponds to the JSON property deploymentId

Returns:

  • (String)


92
93
94
# File 'generated/google/apis/script_v1/classes.rb', line 92

def deployment_id
  @deployment_id
end

#entry_pointsArray<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_timeString

Last modified date time stamp. Corresponds to the JSON property updateTime

Returns:

  • (String)


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