Class PropertiesResource.AcknowledgeUserDataCollectionRequest
Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or through this API) before MeasurementProtocolSecret resources may be created.
Inheritance
GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse>
PropertiesResource.AcknowledgeUserDataCollectionRequest
Implements
Inherited Members
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1alpha
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1alpha.dll
Syntax
public class PropertiesResource.AcknowledgeUserDataCollectionRequest : GoogleAnalyticsAdminBaseServiceRequest<GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse>, IClientServiceRequest<GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse>, IClientServiceRequest
Constructors
AcknowledgeUserDataCollectionRequest(IClientService, GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest, string)
Constructs a new AcknowledgeUserDataCollection request.
Declaration
public AcknowledgeUserDataCollectionRequest(IClientService service, GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest body, string property)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest | body | |
string | property |
Properties
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
Property
Required. The property for which to acknowledge user data collection.
Declaration
[RequestParameter("property", RequestParameterType.Path)]
public virtual string Property { get; }
Property Value
Type | Description |
---|---|
string |
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 AcknowledgeUserDataCollection parameter list.
Declaration
protected override void InitParameters()