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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_onGoogle::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_typeString

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

Returns:

  • (String)


185
186
187
# File 'generated/google/apis/script_v1/classes.rb', line 185

def entry_point_type
  @entry_point_type
end

#execution_apiGoogle::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_appGoogle::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