# Google Workspace Add-ons V1 API - Class Google::Apps::Script::Type::HttpOptions (v1.7.0)

1.7.0 (latest) 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Google Workspace Add-ons V1 API class Google::Apps::Script::Type::HttpOptions.

Options for sending requests to add-on HTTP endpoints

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #authorization_header

    def authorization_header() -> ::Google::Apps::Script::Type::HttpAuthorizationHeader

**Returns**

- ([::Google::Apps::Script::Type::HttpAuthorizationHeader](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gsuite_add_ons-v1/latest/Google-Apps-Script-Type-HttpAuthorizationHeader)) --- Configuration for the token sent in the HTTP Authorization header

### #authorization_header=

    def authorization_header=(value) -> ::Google::Apps::Script::Type::HttpAuthorizationHeader

**Parameter**

- **value** ([::Google::Apps::Script::Type::HttpAuthorizationHeader](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gsuite_add_ons-v1/latest/Google-Apps-Script-Type-HttpAuthorizationHeader)) --- Configuration for the token sent in the HTTP Authorization header
**Returns**

- ([::Google::Apps::Script::Type::HttpAuthorizationHeader](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gsuite_add_ons-v1/latest/Google-Apps-Script-Type-HttpAuthorizationHeader)) --- Configuration for the token sent in the HTTP Authorization header