Class: Google::Apis::ScriptV1::EntryPoint

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

A configuration that defines how a deployment is accessed externally.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EntryPoint

Returns a new instance of EntryPoint.



194
195
196
# File 'generated/google/apis/script_v1/classes.rb', line 194

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#add_onGoogle::Apis::ScriptV1::GoogleAppsScriptTypeAddOnEntryPoint

An add-on entry point. Corresponds to the JSON property addOn



177
178
179
# File 'generated/google/apis/script_v1/classes.rb', line 177

def add_on
  @add_on
end

#entry_point_typeString

The type of the entry point. Corresponds to the JSON property entryPointType

Returns:

  • (String)


182
183
184
# File 'generated/google/apis/script_v1/classes.rb', line 182

def entry_point_type
  @entry_point_type
end

#execution_apiGoogle::Apis::ScriptV1::GoogleAppsScriptTypeExecutionApiEntryPoint

An API executable entry point. Corresponds to the JSON property executionApi



187
188
189
# File 'generated/google/apis/script_v1/classes.rb', line 187

def execution_api
  @execution_api
end

#web_appGoogle::Apis::ScriptV1::GoogleAppsScriptTypeWebAppEntryPoint

A web application entry point. Corresponds to the JSON property webApp



192
193
194
# File 'generated/google/apis/script_v1/classes.rb', line 192

def web_app
  @web_app
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



199
200
201
202
203
204
# File 'generated/google/apis/script_v1/classes.rb', line 199

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