As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

Types for Google Apps Script Type Sheets API

class google.apps.script.type.sheets.types.SheetsAddOnManifest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Sheets add-on manifest.

homepage_trigger

If present, this overrides the configuration from addOns.common.homepageTrigger.

Type

google.apps.script.type.types.HomepageExtensionPoint

on_file_scope_granted_trigger

Endpoint to execute when file scope authorization is granted for this document/user pair.

Type

google.apps.script.type.sheets.types.SheetsExtensionPoint

class google.apps.script.type.sheets.types.SheetsExtensionPoint(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]

Bases: proto.message.Message

Common format for declaring a Sheets add-on’s triggers.

run_function

Required. The endpoint to execute when this extension point is activated.

Type

str