Class AccountsResource.RunAccessReportRequest
Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include GA UI Reporting, GA UI Explorations, GA Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see searchChangeHistoryEvents. To give your feedback on this API, complete the Google Analytics Access Reports feedback form.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1alpha
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1alpha.dll
Syntax
public class AccountsResource.RunAccessReportRequest : GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1alphaRunAccessReportResponse>, IClientServiceRequest<GoogleAnalyticsAdminV1alphaRunAccessReportResponse>, IClientServiceRequest
Constructors
RunAccessReportRequest(IClientService, GoogleAnalyticsAdminV1alphaRunAccessReportRequest, string)
Constructs a new RunAccessReport request.
Declaration
public RunAccessReportRequest(IClientService service, GoogleAnalyticsAdminV1alphaRunAccessReportRequest body, string entity)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleAnalyticsAdminV1alphaRunAccessReportRequest | body | |
string | entity |
Properties
Entity
The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if "123" is your Google Analytics property ID. To request at the account level, entity should be for example 'accounts/1234' if "1234" is your Google Analytics Account ID.
Declaration
[RequestParameter("entity", RequestParameterType.Path)]
public virtual string Entity { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes RunAccessReport parameter list.
Declaration
protected override void InitParameters()