/// <summary> /// Gets a list of Analytics accounts of the authenticated user. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>Returns an instance of <code>SocialHttpResponse</code> representing the response.</returns> public SocialHttpResponse GetAccounts(AnalyticsAccountsOptions options) { if (options == null) throw new ArgumentNullException("options"); return Client.DoAuthenticatedGetRequest("https://www.googleapis.com/analytics/v3/management/accounts", options); }
/// <summary> /// Gets a list of Analytics accounts of the authenticated user matching the specified <code>options</code>. /// </summary> public AnalyticsAccountsResponse GetAccounts(AnalyticsAccountsOptions options) { if (options == null) throw new ArgumentNullException("options"); return AnalyticsAccountsResponse.ParseResponse(Raw.GetAccounts(options)); }