package drive

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

Index

Variables

var File_google_apps_script_type_drive_drive_addon_manifest_proto protoreflect.FileDescriptor

Types

type DriveAddOnManifest

type DriveAddOnManifest 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"`
	// Corresponds to behvior that should execute when items are selected
	// in relevant Drive view (e.g. the My Drive Doclist).
	OnItemsSelectedTrigger *DriveExtensionPoint `protobuf:"bytes,2,opt,name=on_items_selected_trigger,json=onItemsSelectedTrigger,proto3" json:"on_items_selected_trigger,omitempty"`
	// contains filtered or unexported fields
}

Drive add-on manifest.

func (*DriveAddOnManifest) Descriptor

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

Deprecated: Use DriveAddOnManifest.ProtoReflect.Descriptor instead.

func (*DriveAddOnManifest) GetHomepageTrigger

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

func (*DriveAddOnManifest) GetOnItemsSelectedTrigger

func (x *DriveAddOnManifest) GetOnItemsSelectedTrigger() *DriveExtensionPoint

func (*DriveAddOnManifest) ProtoMessage

func (*DriveAddOnManifest) ProtoMessage()

func (*DriveAddOnManifest) ProtoReflect

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

func (*DriveAddOnManifest) Reset

func (x *DriveAddOnManifest) Reset()

func (*DriveAddOnManifest) String

func (x *DriveAddOnManifest) String() string

type DriveExtensionPoint

type DriveExtensionPoint 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
}

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

func (*DriveExtensionPoint) Descriptor

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

Deprecated: Use DriveExtensionPoint.ProtoReflect.Descriptor instead.

func (*DriveExtensionPoint) GetRunFunction

func (x *DriveExtensionPoint) GetRunFunction() string

func (*DriveExtensionPoint) ProtoMessage

func (*DriveExtensionPoint) ProtoMessage()

func (*DriveExtensionPoint) ProtoReflect

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

func (*DriveExtensionPoint) Reset

func (x *DriveExtensionPoint) Reset()

func (*DriveExtensionPoint) String

func (x *DriveExtensionPoint) String() string

Source Files

drive_addon_manifest.pb.go

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

Tools for package owners.