diff --git a/docs/dyn/analyticsadmin_v1alpha.properties.html b/docs/dyn/analyticsadmin_v1alpha.properties.html index be472f87507..c69169d49b6 100644 --- a/docs/dyn/analyticsadmin_v1alpha.properties.html +++ b/docs/dyn/analyticsadmin_v1alpha.properties.html @@ -129,6 +129,9 @@

Instance Methods

Returns the webDataStreams Resource.

+

+ acknowledgeUserDataCollection(property, body=None, x__xgafv=None)

+

Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or via this API) before MeasurementProtocolSecret resources may be created.

close()

Close httplib2 connections.

@@ -163,6 +166,31 @@

Instance Methods

updateGoogleSignalsSettings(name, body=None, updateMask=None, x__xgafv=None)

Updates Google Signals settings for a property.

Method Details

+
+ acknowledgeUserDataCollection(property, body=None, x__xgafv=None) +
Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or via this API) before MeasurementProtocolSecret resources may be created.
+
+Args:
+  property: string, Required. The property for which to acknowledge user data collection. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Request message for AcknowledgeUserDataCollection RPC.
+  "acknowledgement": "A String", # Required. An acknowledgement that the caller of this method understands the terms of user data collection. This field must contain the exact value: "I acknowledge that I have the necessary privacy disclosures and rights from my end users for the collection and processing of their data, including the association of such data with the visitation information Google Analytics collects from my site and/or app property."
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response message for AcknowledgeUserDataCollection RPC.
+}
+
+
close()
Close httplib2 connections.
diff --git a/googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json b/googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json index 8a847396103..8304c45ea03 100644 --- a/googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json @@ -642,6 +642,34 @@ }, "properties": { "methods": { + "acknowledgeUserDataCollection": { + "description": "Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or via this API) before MeasurementProtocolSecret resources may be created.", + "flatPath": "v1alpha/properties/{propertiesId}:acknowledgeUserDataCollection", + "httpMethod": "POST", + "id": "analyticsadmin.properties.acknowledgeUserDataCollection", + "parameterOrder": [ + "property" + ], + "parameters": { + "property": { + "description": "Required. The property for which to acknowledge user data collection.", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+property}:acknowledgeUserDataCollection", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, "create": { "description": "Creates an \"GA4\" property with the specified location and attributes.", "flatPath": "v1alpha/properties", @@ -3152,7 +3180,7 @@ } } }, - "revision": "20211002", + "revision": "20211008", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1alphaAccount": { @@ -3218,6 +3246,23 @@ }, "type": "object" }, + "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest": { + "description": "Request message for AcknowledgeUserDataCollection RPC.", + "id": "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest", + "properties": { + "acknowledgement": { + "description": "Required. An acknowledgement that the caller of this method understands the terms of user data collection. This field must contain the exact value: \"I acknowledge that I have the necessary privacy disclosures and rights from my end users for the collection and processing of their data, including the association of such data with the visitation information Google Analytics collects from my site and/or app property.\"", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse": { + "description": "Response message for AcknowledgeUserDataCollection RPC.", + "id": "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse", + "properties": {}, + "type": "object" + }, "GoogleAnalyticsAdminV1alphaAndroidAppDataStream": { "description": "A resource message representing a Google Analytics Android app stream.", "id": "GoogleAnalyticsAdminV1alphaAndroidAppDataStream",