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

Constructor Details

#initialize(**args) ⇒ Deployment

Returns a new instance of Deployment.



103
104
105
# File 'generated/google/apis/script_v1/classes.rb', line 103

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



86
87
88
# File 'generated/google/apis/script_v1/classes.rb', line 86

def deployment_config
  @deployment_config
end

#deployment_idString

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

Returns:

  • (String)


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

def deployment_id
  @deployment_id
end

#entry_pointsArray<Google::Apis::ScriptV1::EntryPoint>

The deployment's entry points. Corresponds to the JSON property entryPoints



96
97
98
# File 'generated/google/apis/script_v1/classes.rb', line 96

def entry_points
  @entry_points
end

#update_timeString

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

Returns:

  • (String)


101
102
103
# File 'generated/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 'generated/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