Interface DocsAddOnManifestOrBuilder (2.51.0)

public interface DocsAddOnManifestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHomepageTrigger()

public abstract HomepageExtensionPoint getHomepageTrigger()

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

.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;

Returns
Type Description
HomepageExtensionPoint

The homepageTrigger.

getHomepageTriggerOrBuilder()

public abstract HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder()

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

.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;

Returns
Type Description
HomepageExtensionPointOrBuilder

getOnFileScopeGrantedTrigger()

public abstract DocsExtensionPoint getOnFileScopeGrantedTrigger()

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

.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;

Returns
Type Description
DocsExtensionPoint

The onFileScopeGrantedTrigger.

getOnFileScopeGrantedTriggerOrBuilder()

public abstract DocsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder()

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

.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;

Returns
Type Description
DocsExtensionPointOrBuilder

hasHomepageTrigger()

public abstract boolean hasHomepageTrigger()

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

.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;

Returns
Type Description
boolean

Whether the homepageTrigger field is set.

hasOnFileScopeGrantedTrigger()

public abstract boolean hasOnFileScopeGrantedTrigger()

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

.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;

Returns
Type Description
boolean

Whether the onFileScopeGrantedTrigger field is set.