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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/script_v1/classes.rb,
lib/google/apis/script_v1/representations.rb,
lib/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.



193
194
195
# File 'lib/google/apis/script_v1/classes.rb', line 193

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



176
177
178
# File 'lib/google/apis/script_v1/classes.rb', line 176

def add_on
  @add_on
end

#entry_point_typeString

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

Returns:

  • (String)


181
182
183
# File 'lib/google/apis/script_v1/classes.rb', line 181

def entry_point_type
  @entry_point_type
end

#execution_apiGoogle::Apis::ScriptV1::GoogleAppsScriptTypeExecutionApiEntryPoint

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



186
187
188
# File 'lib/google/apis/script_v1/classes.rb', line 186

def execution_api
  @execution_api
end

#web_appGoogle::Apis::ScriptV1::GoogleAppsScriptTypeWebAppEntryPoint

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



191
192
193
# File 'lib/google/apis/script_v1/classes.rb', line 191

def web_app
  @web_app
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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