Interface IGmailClientAsync

IGmailClientAsync interface

Represents the interface with asynchronous operations for Gmail client.

public interface IGmailClientAsync : IGmailClient

Methods

NameDescription
AppendMessageAsync(MailMessage, CancellationToken)Asynchronously appends a message to the default “INBOX” label.
AppendMessageAsync(MailMessage, string, CancellationToken)Asynchronously appends a message to the specified label.
ClearCalendarAsync(string, CancellationToken)Asynchronously clears all events from the specified calendar.
CreateAccessRuleAsync(string, AccessControlRule, CancellationToken)Asynchronously creates an access control rule for a calendar.
CreateAppointmentAsync(string, Appointment, CancellationToken)Asynchronously creates an appointment in the specified calendar.
CreateCalendarAsync(Calendar, CancellationToken)Asynchronously creates a calendar.
CreateCalendarAsync(Calendar, bool, CancellationToken)Asynchronously creates a calendar and optionally an extended calendar.
CreateContactAsync(Contact, CancellationToken)Asynchronously creates a contact using the default email address.
CreateContactAsync(Contact, string, CancellationToken)Asynchronously creates a contact with the specified email address.
CreateContactPhotoAsync(Contact, byte[], CancellationToken)Asynchronously creates a contact photo.
CreateExtCalendarAsync(ExtendedCalendar, CancellationToken)Asynchronously creates an extended calendar.
CreateExtCalendarAsync(ExtendedCalendar, bool, CancellationToken)Asynchronously creates an extended calendar with color format option.
CreateFilterAsync(Filter, CancellationToken)Asynchronously creates a Gmail filter.
DeleteAccessRuleAsync(string, string, CancellationToken)Asynchronously deletes an access control rule from a calendar.
DeleteAppointmentAsync(string, string, CancellationToken)Asynchronously deletes an appointment from the specified calendar.
DeleteCalendarAsync(string, CancellationToken)Asynchronously deletes a calendar by its ID.
DeleteContactAsync(string, CancellationToken)Asynchronously deletes a contact by its URI.
DeleteContactPhotoAsync(ContactPhoto, CancellationToken)Asynchronously deletes a contact photo.
DeleteExtCalendarAsync(string, CancellationToken)Asynchronously deletes an extended calendar by its ID.
DeleteFilterAsync(string, CancellationToken)Asynchronously deletes a Gmail filter by its ID.
DeleteMessageAsync(string, CancellationToken)Asynchronously deletes a message by its ID, moving it to trash by default.
DeleteMessageAsync(string, bool, CancellationToken)Asynchronously deletes a message by its ID, with an option to move to trash.
FetchAccessRuleAsync(string, string, CancellationToken)Asynchronously fetches an access control rule by its ID from a calendar.
FetchAppointmentAsync(string, string, CancellationToken)Asynchronously fetches an appointment by its ID from the specified calendar.
FetchCalendar2Async(string, CancellationToken)Asynchronously fetches a calendar by its ID.
FetchCalendarAsync(string, CancellationToken)Asynchronously fetches an extended calendar by its ID.
FetchExtCalendarAsync(string, CancellationToken)Asynchronously fetches an extended calendar by its ID.
FetchMessageAsync(string, CancellationToken)Asynchronously fetches a Gmail message by its ID.
GetAllContactsAsync(CancellationToken)Asynchronously retrieves all contacts for the user.
GetAllGroupsAsync(CancellationToken)Asynchronously retrieves all contact groups for the user.
GetColorsAsync(CancellationToken)Asynchronously retrieves color information for the user.
GetContactAsync(Contact, CancellationToken)Asynchronously retrieves a contact by its object.
GetContactAsync(string, CancellationToken)Asynchronously retrieves a contact by its URI.
GetContactsFromGroupAsync(GoogleContactGroup, CancellationToken)Asynchronously retrieves contacts from a contact group.
GetContactsFromGroupAsync(string, CancellationToken)Asynchronously retrieves contacts from a contact group by group ID.
GetFilterAsync(string, CancellationToken)Asynchronously retrieves a Gmail filter by its ID.
GetFreebusyInfoAsync(FreebusyQuery, CancellationToken)Asynchronously retrieves free/busy information for the specified query.
GetSettingAsync(string, CancellationToken)Asynchronously retrieves a specific setting by name.
GetSettingsAsync(CancellationToken)Asynchronously retrieves all settings for the user.
ImportAppointmentAsync(string, Appointment, CancellationToken)Asynchronously imports an appointment into the specified calendar.
ListAccessRulesAsync(string, CancellationToken)Asynchronously retrieves all access control rules for a calendar.
ListAppointmentInstancesAsync(string, string, CancellationToken)Asynchronously retrieves all instances of a recurring appointment.
ListAppointmentsAsync(string, CancellationToken)Asynchronously retrieves all appointments from the specified calendar.
ListCalendarsAsync(CancellationToken)Asynchronously retrieves the list of calendars for the user.
ListCalendarsAsync(AccessRole, bool, CancellationToken)Asynchronously retrieves the list of calendars for the user.
ListFiltersAsync(CancellationToken)Asynchronously retrieves a list of Gmail filters.
ListMessagesAsync(CancellationToken)Asynchronously retrieves a list of Gmail messages.
MoveAppointmentAsync(string, string, string, CancellationToken)Asynchronously moves an appointment to another calendar.
MoveAppointmentAsync(string, string, string, bool, CancellationToken)Asynchronously moves an appointment to another calendar with notification option.
SendMessageAsync(MailMessage, CancellationToken)Asynchronously sends a Gmail message.
UpdateAccessRuleAsync(string, AccessControlRule, CancellationToken)Asynchronously updates an access control rule for a calendar.
UpdateAppointmentAsync(string, Appointment, CancellationToken)Asynchronously updates an appointment in the specified calendar.
UpdateCalendarAsync(Calendar, CancellationToken)Asynchronously updates a calendar.
UpdateContactAsync(Contact, CancellationToken)Asynchronously updates a contact.
UpdateContactPhotoAsync(ContactPhoto, CancellationToken)Asynchronously updates a contact photo.
UpdateExtCalendarAsync(ExtendedCalendar, CancellationToken)Asynchronously updates an extended calendar.
UpdateExtCalendarAsync(ExtendedCalendar, bool, CancellationToken)Asynchronously updates an extended calendar with color format option.

See Also