Interface DocsAddOnManifestOrBuilder (2.35.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the onFileScopeGrantedTrigger field is set.