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 Drive API

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

Bases: proto.message.Message

Drive add-on manifest.

homepage_trigger

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

Type

google.apps.script.type.types.HomepageExtensionPoint

on_items_selected_trigger

Corresponds to behvior that should execute when items are selected in relevant Drive view (e.g. the My Drive Doclist).

Type

google.apps.script.type.drive.types.DriveExtensionPoint

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

Bases: proto.message.Message

A generic extension point with common features, e.g. something that simply needs a corresponding run function to work.

run_function

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

Type

str