Enum HttpAuthorizationHeader (2.52.0)

public enum HttpAuthorizationHeader extends Enum<HttpAuthorizationHeader> implements ProtocolMessageEnum

Authorization header sent in add-on HTTP requests

Protobuf enum google.apps.script.type.HttpAuthorizationHeader

Implements

ProtocolMessageEnum

Static Fields

Name Description
HTTP_AUTHORIZATION_HEADER_UNSPECIFIED

Default value, equivalent to SYSTEM_ID_TOKEN

HTTP_AUTHORIZATION_HEADER_UNSPECIFIED = 0;

HTTP_AUTHORIZATION_HEADER_UNSPECIFIED_VALUE

Default value, equivalent to SYSTEM_ID_TOKEN

HTTP_AUTHORIZATION_HEADER_UNSPECIFIED = 0;

NONE

Do not send an Authentication header

NONE = 3;

NONE_VALUE

Do not send an Authentication header

NONE = 3;

SYSTEM_ID_TOKEN

Send an ID token for the project-specific Google Workspace Add-ons system service account (default)

SYSTEM_ID_TOKEN = 1;

SYSTEM_ID_TOKEN_VALUE

Send an ID token for the project-specific Google Workspace Add-ons system service account (default)

SYSTEM_ID_TOKEN = 1;

UNRECOGNIZED
USER_ID_TOKEN

Send an ID token for the end user

USER_ID_TOKEN = 2;

USER_ID_TOKEN_VALUE

Send an ID token for the end user

USER_ID_TOKEN = 2;

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()