Class: Google::Apis::ScriptV1::EntryPoint
- Inherits:
-
Object
- Object
- Google::Apis::ScriptV1::EntryPoint
- 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
A configuration that defines how a deployment is accessed externally.
Instance Attribute Summary collapse
-
#add_on ⇒ Google::Apis::ScriptV1::GoogleAppsScriptTypeAddOnEntryPoint
An add-on entry point.
-
#entry_point_type ⇒ String
The type of the entry point.
-
#execution_api ⇒ Google::Apis::ScriptV1::GoogleAppsScriptTypeExecutionApiEntryPoint
An API executable entry point.
-
#web_app ⇒ Google::Apis::ScriptV1::GoogleAppsScriptTypeWebAppEntryPoint
A web application entry point.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EntryPoint
constructor
A new instance of EntryPoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EntryPoint
Returns a new instance of EntryPoint
197 198 199 |
# File 'generated/google/apis/script_v1/classes.rb', line 197 def initialize(**args) update!(**args) end |
Instance Attribute Details
#add_on ⇒ Google::Apis::ScriptV1::GoogleAppsScriptTypeAddOnEntryPoint
An add-on entry point.
Corresponds to the JSON property addOn
180 181 182 |
# File 'generated/google/apis/script_v1/classes.rb', line 180 def add_on @add_on end |
#entry_point_type ⇒ String
The type of the entry point.
Corresponds to the JSON property entryPointType
185 186 187 |
# File 'generated/google/apis/script_v1/classes.rb', line 185 def entry_point_type @entry_point_type end |
#execution_api ⇒ Google::Apis::ScriptV1::GoogleAppsScriptTypeExecutionApiEntryPoint
An API executable entry point.
Corresponds to the JSON property executionApi
190 191 192 |
# File 'generated/google/apis/script_v1/classes.rb', line 190 def execution_api @execution_api end |
#web_app ⇒ Google::Apis::ScriptV1::GoogleAppsScriptTypeWebAppEntryPoint
A web application entry point.
Corresponds to the JSON property webApp
195 196 197 |
# File 'generated/google/apis/script_v1/classes.rb', line 195 def web_app @web_app end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
202 203 204 205 206 207 |
# File 'generated/google/apis/script_v1/classes.rb', line 202 def update!(**args) @add_on = args[:add_on] if args.key?(:add_on) @entry_point_type = args[:entry_point_type] if args.key?(:entry_point_type) @execution_api = args[:execution_api] if args.key?(:execution_api) @web_app = args[:web_app] if args.key?(:web_app) end |