public enum HttpAuthorizationHeader extends Enum<HttpAuthorizationHeader> implements ProtocolMessageEnum
Authorization header sent in add-on HTTP requests
Protobuf enum google.apps.script.type.HttpAuthorizationHeader
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
HTTP_AUTHORIZATION_HEADER_UNSPECIFIED |
Default value, equivalent to |
HTTP_AUTHORIZATION_HEADER_UNSPECIFIED_VALUE |
Default value, equivalent to |
NONE |
Do not send an Authentication header |
NONE_VALUE |
Do not send an Authentication header |
SYSTEM_ID_TOKEN |
Send an ID token for the project-specific Google Workspace Add-ons system service account (default) |
SYSTEM_ID_TOKEN_VALUE |
Send an ID token for the project-specific Google Workspace Add-ons system service account (default) |
UNRECOGNIZED |
|
USER_ID_TOKEN |
Send an ID token for the end user |
USER_ID_TOKEN_VALUE |
Send an ID token for the end user |
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() |