Class: Google::Apis::ScriptV1::GoogleAppsScriptTypeAddOnEntryPoint

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

An add-on entry point.

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) ⇒ GoogleAppsScriptTypeAddOnEntryPoint

Returns a new instance of GoogleAppsScriptTypeAddOnEntryPoint



432
433
434
# File 'generated/google/apis/script_v1/classes.rb', line 432

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

Instance Attribute Details

#add_on_typeString

The add-on's required list of supported container types. Corresponds to the JSON property addOnType

Returns:

  • (String)


405
406
407
# File 'generated/google/apis/script_v1/classes.rb', line 405

def add_on_type
  @add_on_type
end

#descriptionString

The add-on's optional description. Corresponds to the JSON property description

Returns:

  • (String)


410
411
412
# File 'generated/google/apis/script_v1/classes.rb', line 410

def description
  @description
end

#help_urlString

The add-on's optional help URL. Corresponds to the JSON property helpUrl

Returns:

  • (String)


415
416
417
# File 'generated/google/apis/script_v1/classes.rb', line 415

def help_url
  @help_url
end

#post_install_tip_urlString

The add-on's required post install tip URL. Corresponds to the JSON property postInstallTipUrl

Returns:

  • (String)


420
421
422
# File 'generated/google/apis/script_v1/classes.rb', line 420

def post_install_tip_url
  @post_install_tip_url
end

#report_issue_urlString

The add-on's optional report issue URL. Corresponds to the JSON property reportIssueUrl

Returns:

  • (String)


425
426
427
# File 'generated/google/apis/script_v1/classes.rb', line 425

def report_issue_url
  @report_issue_url
end

#titleString

The add-on's required title. Corresponds to the JSON property title

Returns:

  • (String)


430
431
432
# File 'generated/google/apis/script_v1/classes.rb', line 430

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



437
438
439
440
441
442
443
444
# File 'generated/google/apis/script_v1/classes.rb', line 437

def update!(**args)
  @add_on_type = args[:add_on_type] if args.key?(:add_on_type)
  @description = args[:description] if args.key?(:description)
  @help_url = args[:help_url] if args.key?(:help_url)
  @post_install_tip_url = args[:post_install_tip_url] if args.key?(:post_install_tip_url)
  @report_issue_url = args[:report_issue_url] if args.key?(:report_issue_url)
  @title = args[:title] if args.key?(:title)
end