docs

package
v0.0.0-...-6cb3ea0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_google_apps_script_type_docs_docs_addon_manifest_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DocsAddOnManifest

type DocsAddOnManifest struct {

	// If present, this overrides the configuration from
	// `addOns.common.homepageTrigger`.
	HomepageTrigger *_type.HomepageExtensionPoint `protobuf:"bytes,1,opt,name=homepage_trigger,json=homepageTrigger,proto3" json:"homepage_trigger,omitempty"`
	// Endpoint to execute when file scope authorization is granted
	// for this document/user pair.
	OnFileScopeGrantedTrigger *DocsExtensionPoint `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

Docs add-on manifest.

func (*DocsAddOnManifest) Descriptor deprecated

func (*DocsAddOnManifest) Descriptor() ([]byte, []int)

Deprecated: Use DocsAddOnManifest.ProtoReflect.Descriptor instead.

func (*DocsAddOnManifest) GetHomepageTrigger

func (x *DocsAddOnManifest) GetHomepageTrigger() *_type.HomepageExtensionPoint

func (*DocsAddOnManifest) GetOnFileScopeGrantedTrigger

func (x *DocsAddOnManifest) GetOnFileScopeGrantedTrigger() *DocsExtensionPoint

func (*DocsAddOnManifest) ProtoMessage

func (*DocsAddOnManifest) ProtoMessage()

func (*DocsAddOnManifest) ProtoReflect

func (x *DocsAddOnManifest) ProtoReflect() protoreflect.Message

func (*DocsAddOnManifest) Reset

func (x *DocsAddOnManifest) Reset()

func (*DocsAddOnManifest) String

func (x *DocsAddOnManifest) String() string

type DocsExtensionPoint

type DocsExtensionPoint struct {

	// Required. The endpoint to execute when this extension point is activated.
	RunFunction string `protobuf:"bytes,1,opt,name=run_function,json=runFunction,proto3" json:"run_function,omitempty"`
	// contains filtered or unexported fields
}

Common format for declaring a Docs add-on's triggers.

func (*DocsExtensionPoint) Descriptor deprecated

func (*DocsExtensionPoint) Descriptor() ([]byte, []int)

Deprecated: Use DocsExtensionPoint.ProtoReflect.Descriptor instead.

func (*DocsExtensionPoint) GetRunFunction

func (x *DocsExtensionPoint) GetRunFunction() string

func (*DocsExtensionPoint) ProtoMessage

func (*DocsExtensionPoint) ProtoMessage()

func (*DocsExtensionPoint) ProtoReflect

func (x *DocsExtensionPoint) ProtoReflect() protoreflect.Message

func (*DocsExtensionPoint) Reset

func (x *DocsExtensionPoint) Reset()

func (*DocsExtensionPoint) String

func (x *DocsExtensionPoint) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL