IGmailClient Interface

Represents the interface for Gmail client

Namespace:  Aspose.Email.Clients.Google
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public interface IGmailClient : IBaseGmailClient, 
	IDisposable

The IGmailClient type exposes the following members.

Properties
  NameDescription
Public propertyAccessToken
Gets or sets OAuth 2.0 bearer token
(Inherited from IBaseGmailClient.)
Public propertyDefaultEmail
Gets default email address
(Inherited from IBaseGmailClient.)
Public propertyProxy
Gets or sets the proxy.
(Inherited from IBaseGmailClient.)
Public propertyTimeout
Gets or sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).
(Inherited from IBaseGmailClient.)
Methods
  NameDescription
Public methodClearCalendar
Clears a calendar.
Public methodCreateAccessRule
Creates access rule
Public methodCreateAppointment
Creates an appointment.
Public methodCreateCalendar(Calendar)
Creates a calendar.
Public methodCreateCalendar(Calendar, Boolean)
Creates a calendar.
Public methodCreateContact(Contact)
Creates contact for specified email
Public methodCreateContact(Contact, String)
Creates contact for specified email
Public methodCreateContactPhoto
Creates contact photo
Public methodDeleteAccessRule
Deletes access rule
Public methodDeleteAppointment
Deletes an appointment.
Public methodDeleteCalendar
Deletes a calendar.
Public methodDeleteContact
Deletes specified contact
Public methodDeleteContactPhoto
Deletes contact photo
Public methodDispose (Inherited from IDisposable.)
Public methodFetchAccessRule
Fetches access rule
Public methodFetchAppointment
Fetches appointment by identifier.
Public methodFetchCalendar
Fetches calendar by identifier.
Public methodGetAllContacts
Fetches all contacts.
Public methodGetAllGroups
Fetches all contact groups.
Public methodGetColors
Gets color information
Public methodGetContact(String)
Fetches contact
Public methodGetContact(Contact)
Contact to refresh

Return Value

Type: 
Contact object, that represents a contact of gmail when operation fails
Public methodGetContactsFromGroup
Fetches contacts belonging to the group specified.
Public methodGetFreebusyInfo
Gets free/busy information
Public methodGetPhoto(String)
Fetches a contact photo
Public methodGetPhoto(ContactPhoto)
Fetches a contact photo
Public methodGetSetting
Gets settings by the name
Public methodGetSettings
Gets settings dictionary
Public methodImportAppointment
Imports appointment to calendar
Public methodListAccessRules
Gets list of access rules
Public methodListAppointmentInstances
Gets list of an appointment instances for calendar.
Public methodListAppointments
Gets list of an appointments for calendar.
Public methodListCalendars
Gets array of calendars.
Public methodListCalendars(AccessRole, Boolean)
Gets array of calendars.
Public methodMoveAppointment(String, String, String)
Moves an appointment to another calendar.
Public methodMoveAppointment(String, String, String, Boolean)
Moves an appointment to another calendar.
Public methodRefreshToken
Refresh access token
(Inherited from IBaseGmailClient.)
Public methodUpdateAccessRule
Updates access rule
Public methodUpdateAppointment
Updates an appointment.
Public methodUpdateCalendar(Calendar)
Updates a calendar
Public methodUpdateCalendar(Calendar, Boolean)
Updates a calendar
Public methodUpdateContact
Updates contact
Public methodUpdateContactPhoto
Creates or updates contact photo
See Also