The OAuth profiles API permits Hybrid Data Pipeline access to Google Analytics through the creation of an OAuth profile object. To complete OAuth authorization, the OAuth profile object provides OAuth refresh and access tokens to Google Analytics. OAuth profiles are created or selected for data sources, and a single OAuth profile can be used for multiple data sources on a Google Analytics data store. Since OAuth profiles are associated with data sources, a user must have a corresponding data source permission to create, view, modify, or delete OAuth profiles. For example, to create an OAuth profile, a user must have the CreateDataSource (1) permission.
The following table lists the operations that can be performed with the OAuth profiles API.