Documentation ¶
Index ¶
- Variables
- type CalendarAddOnManifest
- func (*CalendarAddOnManifest) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarAddOnManifest) GetConferenceSolution() []*ConferenceSolution
- func (x *CalendarAddOnManifest) GetCreateSettingsUrlFunction() string
- func (x *CalendarAddOnManifest) GetCurrentEventAccess() CalendarAddOnManifest_EventAccess
- func (x *CalendarAddOnManifest) GetEventOpenTrigger() *CalendarExtensionPoint
- func (x *CalendarAddOnManifest) GetEventUpdateTrigger() *CalendarExtensionPoint
- func (x *CalendarAddOnManifest) GetHomepageTrigger() *_type.HomepageExtensionPoint
- func (*CalendarAddOnManifest) ProtoMessage()
- func (x *CalendarAddOnManifest) ProtoReflect() protoreflect.Message
- func (x *CalendarAddOnManifest) Reset()
- func (x *CalendarAddOnManifest) String() string
- type CalendarAddOnManifest_EventAccess
- func (CalendarAddOnManifest_EventAccess) Descriptor() protoreflect.EnumDescriptor
- func (x CalendarAddOnManifest_EventAccess) Enum() *CalendarAddOnManifest_EventAccess
- func (CalendarAddOnManifest_EventAccess) EnumDescriptor() ([]byte, []int)deprecated
- func (x CalendarAddOnManifest_EventAccess) Number() protoreflect.EnumNumber
- func (x CalendarAddOnManifest_EventAccess) String() string
- func (CalendarAddOnManifest_EventAccess) Type() protoreflect.EnumType
- type CalendarExtensionPoint
- func (*CalendarExtensionPoint) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarExtensionPoint) GetRunFunction() string
- func (*CalendarExtensionPoint) ProtoMessage()
- func (x *CalendarExtensionPoint) ProtoReflect() protoreflect.Message
- func (x *CalendarExtensionPoint) Reset()
- func (x *CalendarExtensionPoint) String() string
- type ConferenceSolution
- func (*ConferenceSolution) Descriptor() ([]byte, []int)deprecated
- func (x *ConferenceSolution) GetId() string
- func (x *ConferenceSolution) GetLogoUrl() string
- func (x *ConferenceSolution) GetName() string
- func (x *ConferenceSolution) GetOnCreateFunction() string
- func (*ConferenceSolution) ProtoMessage()
- func (x *ConferenceSolution) ProtoReflect() protoreflect.Message
- func (x *ConferenceSolution) Reset()
- func (x *ConferenceSolution) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CalendarAddOnManifest_EventAccess_name = map[int32]string{ 0: "UNSPECIFIED", 1: "METADATA", 3: "READ", 4: "WRITE", 5: "READ_WRITE", } CalendarAddOnManifest_EventAccess_value = map[string]int32{ "UNSPECIFIED": 0, "METADATA": 1, "READ": 3, "WRITE": 4, "READ_WRITE": 5, } )
Enum value maps for CalendarAddOnManifest_EventAccess.
View Source
var File_google_apps_script_type_calendar_calendar_addon_manifest_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CalendarAddOnManifest ¶
type CalendarAddOnManifest struct { // Defines an endpoint that will be executed contexts that don't // match a declared contextual trigger. Any cards generated by this function // will always be available to the user, but may be eclipsed by contextual // content when this add-on declares more targeted triggers. // // If present, this overrides the configuration from // `addOns.common.homepageTrigger`. HomepageTrigger *_type.HomepageExtensionPoint `protobuf:"bytes,6,opt,name=homepage_trigger,json=homepageTrigger,proto3" json:"homepage_trigger,omitempty"` // Defines conference solutions provided by this add-on. ConferenceSolution []*ConferenceSolution `protobuf:"bytes,3,rep,name=conference_solution,json=conferenceSolution,proto3" json:"conference_solution,omitempty"` // An endpoint to execute that creates a URL to the add-on's settings page. CreateSettingsUrlFunction string `` /* 140-byte string literal not displayed */ // An endpoint to trigger when an event is opened (viewed/edited). EventOpenTrigger *CalendarExtensionPoint `protobuf:"bytes,10,opt,name=event_open_trigger,json=eventOpenTrigger,proto3" json:"event_open_trigger,omitempty"` // An endpoint to trigger when the open event is updated. EventUpdateTrigger *CalendarExtensionPoint `protobuf:"bytes,11,opt,name=event_update_trigger,json=eventUpdateTrigger,proto3" json:"event_update_trigger,omitempty"` // Define the level of data access when an event addon is triggered. CurrentEventAccess CalendarAddOnManifest_EventAccess `` /* 191-byte string literal not displayed */ // contains filtered or unexported fields }
Calendar add-on manifest.
func (*CalendarAddOnManifest) Descriptor
deprecated
func (*CalendarAddOnManifest) Descriptor() ([]byte, []int)
Deprecated: Use CalendarAddOnManifest.ProtoReflect.Descriptor instead.
func (*CalendarAddOnManifest) GetConferenceSolution ¶
func (x *CalendarAddOnManifest) GetConferenceSolution() []*ConferenceSolution
func (*CalendarAddOnManifest) GetCreateSettingsUrlFunction ¶
func (x *CalendarAddOnManifest) GetCreateSettingsUrlFunction() string
func (*CalendarAddOnManifest) GetCurrentEventAccess ¶
func (x *CalendarAddOnManifest) GetCurrentEventAccess() CalendarAddOnManifest_EventAccess
func (*CalendarAddOnManifest) GetEventOpenTrigger ¶
func (x *CalendarAddOnManifest) GetEventOpenTrigger() *CalendarExtensionPoint
func (*CalendarAddOnManifest) GetEventUpdateTrigger ¶
func (x *CalendarAddOnManifest) GetEventUpdateTrigger() *CalendarExtensionPoint
func (*CalendarAddOnManifest) GetHomepageTrigger ¶
func (x *CalendarAddOnManifest) GetHomepageTrigger() *_type.HomepageExtensionPoint
func (*CalendarAddOnManifest) ProtoMessage ¶
func (*CalendarAddOnManifest) ProtoMessage()
func (*CalendarAddOnManifest) ProtoReflect ¶
func (x *CalendarAddOnManifest) ProtoReflect() protoreflect.Message
func (*CalendarAddOnManifest) Reset ¶
func (x *CalendarAddOnManifest) Reset()
func (*CalendarAddOnManifest) String ¶
func (x *CalendarAddOnManifest) String() string
type CalendarAddOnManifest_EventAccess ¶
type CalendarAddOnManifest_EventAccess int32
An enum defining the level of data access event triggers require.
const ( // Default value when nothing is set for EventAccess. CalendarAddOnManifest_UNSPECIFIED CalendarAddOnManifest_EventAccess = 0 // METADATA gives event triggers the permission to access the metadata of // events such as event id and calendar id. CalendarAddOnManifest_METADATA CalendarAddOnManifest_EventAccess = 1 // READ gives event triggers access to all provided event fields including // the metadata, attendees, and conference data. CalendarAddOnManifest_READ CalendarAddOnManifest_EventAccess = 3 // WRITE gives event triggers access to the metadata of events and the // ability to perform all actions, including adding attendees and setting // conference data. CalendarAddOnManifest_WRITE CalendarAddOnManifest_EventAccess = 4 // READ_WRITE gives event triggers access to all provided event fields // including the metadata, attendees, and conference data and the ability to // perform all actions. CalendarAddOnManifest_READ_WRITE CalendarAddOnManifest_EventAccess = 5 )
func (CalendarAddOnManifest_EventAccess) Descriptor ¶
func (CalendarAddOnManifest_EventAccess) Descriptor() protoreflect.EnumDescriptor
func (CalendarAddOnManifest_EventAccess) Enum ¶
func (x CalendarAddOnManifest_EventAccess) Enum() *CalendarAddOnManifest_EventAccess
func (CalendarAddOnManifest_EventAccess) EnumDescriptor
deprecated
func (CalendarAddOnManifest_EventAccess) EnumDescriptor() ([]byte, []int)
Deprecated: Use CalendarAddOnManifest_EventAccess.Descriptor instead.
func (CalendarAddOnManifest_EventAccess) Number ¶
func (x CalendarAddOnManifest_EventAccess) Number() protoreflect.EnumNumber
func (CalendarAddOnManifest_EventAccess) String ¶
func (x CalendarAddOnManifest_EventAccess) String() string
func (CalendarAddOnManifest_EventAccess) Type ¶
func (CalendarAddOnManifest_EventAccess) Type() protoreflect.EnumType
type CalendarExtensionPoint ¶
type CalendarExtensionPoint 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 calendar add-on's triggers.
func (*CalendarExtensionPoint) Descriptor
deprecated
func (*CalendarExtensionPoint) Descriptor() ([]byte, []int)
Deprecated: Use CalendarExtensionPoint.ProtoReflect.Descriptor instead.
func (*CalendarExtensionPoint) GetRunFunction ¶
func (x *CalendarExtensionPoint) GetRunFunction() string
func (*CalendarExtensionPoint) ProtoMessage ¶
func (*CalendarExtensionPoint) ProtoMessage()
func (*CalendarExtensionPoint) ProtoReflect ¶
func (x *CalendarExtensionPoint) ProtoReflect() protoreflect.Message
func (*CalendarExtensionPoint) Reset ¶
func (x *CalendarExtensionPoint) Reset()
func (*CalendarExtensionPoint) String ¶
func (x *CalendarExtensionPoint) String() string
type ConferenceSolution ¶
type ConferenceSolution struct { // Required. The endpoint to call when ConferenceData should be created. OnCreateFunction string `protobuf:"bytes,1,opt,name=on_create_function,json=onCreateFunction,proto3" json:"on_create_function,omitempty"` // Required. IDs should be unique across ConferenceSolutions within one // add-on, but this is not strictly enforced. It is up to the add-on developer // to assign them uniquely, otherwise the wrong ConferenceSolution may be // used when the add-on is triggered. While the developer may change the // display name of an add-on, the ID should not be changed. Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` // Required. The display name of the ConferenceSolution. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // Required. The URL for the logo image of the ConferenceSolution. LogoUrl string `protobuf:"bytes,6,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"` // contains filtered or unexported fields }
Defines conference related values.
func (*ConferenceSolution) Descriptor
deprecated
func (*ConferenceSolution) Descriptor() ([]byte, []int)
Deprecated: Use ConferenceSolution.ProtoReflect.Descriptor instead.
func (*ConferenceSolution) GetId ¶
func (x *ConferenceSolution) GetId() string
func (*ConferenceSolution) GetLogoUrl ¶
func (x *ConferenceSolution) GetLogoUrl() string
func (*ConferenceSolution) GetName ¶
func (x *ConferenceSolution) GetName() string
func (*ConferenceSolution) GetOnCreateFunction ¶
func (x *ConferenceSolution) GetOnCreateFunction() string
func (*ConferenceSolution) ProtoMessage ¶
func (*ConferenceSolution) ProtoMessage()
func (*ConferenceSolution) ProtoReflect ¶
func (x *ConferenceSolution) ProtoReflect() protoreflect.Message
func (*ConferenceSolution) Reset ¶
func (x *ConferenceSolution) Reset()
func (*ConferenceSolution) String ¶
func (x *ConferenceSolution) String() string
Click to show internal directories.
Click to hide internal directories.