Table of Contents

Class VacationSettings

Namespace
Google.Apis.Gmail.v1.Data
Assembly
Google.Apis.Gmail.v1.dll

Vacation auto-reply settings for an account. These settings correspond to the "Vacation responder" feature in the web interface.

public class VacationSettings : IDirectResponseSchema
Inheritance
VacationSettings
Implements
IDirectResponseSchema
Inherited Members

Constructors

VacationSettings()

public VacationSettings()

Properties

ETag

The ETag of the item.

public virtual string ETag { get; set; }

Property Value

string

EnableAutoReply

Flag that controls whether Gmail automatically replies to messages.

public virtual bool? EnableAutoReply { get; set; }

Property Value

bool?

EndTime

An optional end time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives before the end time. If both startTime and endTime are specified, startTime must precede endTime.

public virtual long? EndTime { get; set; }

Property Value

long?

ResponseBodyHtml

Response body in HTML format. Gmail will sanitize the HTML before storing it. If both response_body_plain_text and response_body_html are specified, response_body_html will be used.

public virtual string ResponseBodyHtml { get; set; }

Property Value

string

ResponseBodyPlainText

Response body in plain text format. If both response_body_plain_text and response_body_html are specified, response_body_html will be used.

public virtual string ResponseBodyPlainText { get; set; }

Property Value

string

ResponseSubject

Optional text to prepend to the subject line in vacation responses. In order to enable auto- replies, either the response subject or the response body must be nonempty.

public virtual string ResponseSubject { get; set; }

Property Value

string

RestrictToContacts

Flag that determines whether responses are sent to recipients who are not in the user's list of contacts.

public virtual bool? RestrictToContacts { get; set; }

Property Value

bool?

RestrictToDomain

Flag that determines whether responses are sent to recipients who are outside of the user's domain. This feature is only available for G Suite users.

public virtual bool? RestrictToDomain { get; set; }

Property Value

bool?

StartTime

An optional start time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives after the start time. If both startTime and endTime are specified, startTime must precede endTime.

public virtual long? StartTime { get; set; }

Property Value

long?