GetInstance

GetInstance (1 of 4)

Gets instance of Gmail client

Returns: Returns instance of Gmail client

GetInstance(System::String accessToken, System::SharedPtr < System::Net::IWebProxy > proxy, System::String defaultEmail)
ParameterDescription
accessTokenOAuth 2.0 access token
proxyIWebProxy for Gmail client
defaultEmailDefault email address

GetInstance (2 of 4)

Gets instance of Gmail client

Returns: Returns instance of Gmail client

GetInstance(System::String accessToken, System::String defaultEmail)
ParameterDescription
accessTokenOAuth 2.0 access token
defaultEmailDefault email address

GetInstance (3 of 4)

Gets instance of Gmail client

Returns: Returns instance of Gmail client

GetInstance(System::String clientId, System::String clientSecret, System::String refreshToken, System::SharedPtr < System::Net::IWebProxy > proxy, System::String defaultEmail)
ParameterDescription
clientIdThe client ID obtained from the Google Cloud Console during application registration.
clientSecretThe client secret obtained during application registration.
refreshTokenOAuth 2.0 refresh token
proxyIWebProxy for Gmail client
defaultEmailDefault email address

GetInstance (4 of 4)

Gets instance of Gmail client

Returns: Returns instance of Gmail client

GetInstance(System::String clientId, System::String clientSecret, System::String refreshToken, System::String defaultEmail)
ParameterDescription
clientIdThe client ID obtained from the Google Cloud Console during application registration.
clientSecretThe client secret obtained during application registration.
refreshTokenOAuth 2.0 refresh token
defaultEmailDefault email address