package sheets

import "google.golang.org/genproto/googleapis/apps/script/type/sheets"

Index

Variables

var File_google_apps_script_type_sheets_sheets_addon_manifest_proto protoreflect.FileDescriptor

Types

type SheetsAddOnManifest

type SheetsAddOnManifest struct {

	// If present, this overrides the configuration from
	// `addOns.common.homepageTrigger`.
	HomepageTrigger *_type.HomepageExtensionPoint `protobuf:"bytes,3,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 *SheetsExtensionPoint `protobuf:"bytes,5,opt,name=on_file_scope_granted_trigger,json=onFileScopeGrantedTrigger,proto3" json:"on_file_scope_granted_trigger,omitempty"`
	// contains filtered or unexported fields
}

Sheets add-on manifest.

func (*SheetsAddOnManifest) Descriptor

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

Deprecated: Use SheetsAddOnManifest.ProtoReflect.Descriptor instead.

func (*SheetsAddOnManifest) GetHomepageTrigger

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

func (*SheetsAddOnManifest) GetOnFileScopeGrantedTrigger

func (x *SheetsAddOnManifest) GetOnFileScopeGrantedTrigger() *SheetsExtensionPoint

func (*SheetsAddOnManifest) ProtoMessage

func (*SheetsAddOnManifest) ProtoMessage()

func (*SheetsAddOnManifest) ProtoReflect

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

func (*SheetsAddOnManifest) Reset

func (x *SheetsAddOnManifest) Reset()

func (*SheetsAddOnManifest) String

func (x *SheetsAddOnManifest) String() string

type SheetsExtensionPoint

type SheetsExtensionPoint 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 Sheets add-on's triggers.

func (*SheetsExtensionPoint) Descriptor

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

Deprecated: Use SheetsExtensionPoint.ProtoReflect.Descriptor instead.

func (*SheetsExtensionPoint) GetRunFunction

func (x *SheetsExtensionPoint) GetRunFunction() string

func (*SheetsExtensionPoint) ProtoMessage

func (*SheetsExtensionPoint) ProtoMessage()

func (*SheetsExtensionPoint) ProtoReflect

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

func (*SheetsExtensionPoint) Reset

func (x *SheetsExtensionPoint) Reset()

func (*SheetsExtensionPoint) String

func (x *SheetsExtensionPoint) String() string

Source Files

sheets_addon_manifest.pb.go

Version
v0.0.0-20250219182151-9fdb1cabc7b2 (latest)
Published
Feb 19, 2025
Platform
linux/amd64
Imports
6 packages
Last checked
1 hour ago

Tools for package owners.