Enum CalendarAddOnManifest.EventAccess

public enum CalendarAddOnManifest.EventAccess extends Enum<CalendarAddOnManifest.EventAccess> implements ProtocolMessageEnum

An enum defining the level of data access event triggers require.

Protobuf enum google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess

Implements

ProtocolMessageEnum

Static Fields

NameDescription
METADATA

METADATA gives event triggers the permission to access the metadata of events such as event id and calendar id.

METADATA = 1;

METADATA_VALUE

METADATA gives event triggers the permission to access the metadata of events such as event id and calendar id.

METADATA = 1;

READ

READ gives event triggers access to all provided event fields including the metadata, attendees, and conference data.

READ = 3;

READ_VALUE

READ gives event triggers access to all provided event fields including the metadata, attendees, and conference data.

READ = 3;

READ_WRITE

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.

READ_WRITE = 5;

READ_WRITE_VALUE

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.

READ_WRITE = 5;

UNRECOGNIZED
UNSPECIFIED

Default value when nothing is set for EventAccess.

UNSPECIFIED = 0;

UNSPECIFIED_VALUE

Default value when nothing is set for EventAccess.

UNSPECIFIED = 0;

WRITE

WRITE gives event triggers access to the metadata of events and the ability to perform all actions, including adding attendees and setting conference data.

WRITE = 4;

WRITE_VALUE

WRITE gives event triggers access to the metadata of events and the ability to perform all actions, including adding attendees and setting conference data.

WRITE = 4;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()