Skip to content

Commit be347fe

Browse files
feat(analyticsadmin): update the api
#### analyticsadmin:v1alpha The following keys were added: - resources.properties.methods.acknowledgeUserDataCollection (Total Keys: 12) - schemas.GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest (Total Keys: 3) - schemas.GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse (Total Keys: 2)
1 parent 2a8ae7c commit be347fe

File tree

2 files changed

+74
-1
lines changed

2 files changed

+74
-1
lines changed

docs/dyn/analyticsadmin_v1alpha.properties.html

+28
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ <h2>Instance Methods</h2>
129129
</p>
130130
<p class="firstline">Returns the webDataStreams Resource.</p>
131131

132+
<p class="toc_element">
133+
<code><a href="#acknowledgeUserDataCollection">acknowledgeUserDataCollection(property, body=None, x__xgafv=None)</a></code></p>
134+
<p class="firstline">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.</p>
132135
<p class="toc_element">
133136
<code><a href="#close">close()</a></code></p>
134137
<p class="firstline">Close httplib2 connections.</p>
@@ -163,6 +166,31 @@ <h2>Instance Methods</h2>
163166
<code><a href="#updateGoogleSignalsSettings">updateGoogleSignalsSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
164167
<p class="firstline">Updates Google Signals settings for a property.</p>
165168
<h3>Method Details</h3>
169+
<div class="method">
170+
<code class="details" id="acknowledgeUserDataCollection">acknowledgeUserDataCollection(property, body=None, x__xgafv=None)</code>
171+
<pre>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.
172+
173+
Args:
174+
property: string, Required. The property for which to acknowledge user data collection. (required)
175+
body: object, The request body.
176+
The object takes the form of:
177+
178+
{ # Request message for AcknowledgeUserDataCollection RPC.
179+
&quot;acknowledgement&quot;: &quot;A String&quot;, # Required. An acknowledgement that the caller of this method understands the terms of user data collection. This field must contain the exact value: &quot;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.&quot;
180+
}
181+
182+
x__xgafv: string, V1 error format.
183+
Allowed values
184+
1 - v1 error format
185+
2 - v2 error format
186+
187+
Returns:
188+
An object of the form:
189+
190+
{ # Response message for AcknowledgeUserDataCollection RPC.
191+
}</pre>
192+
</div>
193+
166194
<div class="method">
167195
<code class="details" id="close">close()</code>
168196
<pre>Close httplib2 connections.</pre>

googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json

+46-1
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,34 @@
642642
},
643643
"properties": {
644644
"methods": {
645+
"acknowledgeUserDataCollection": {
646+
"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.",
647+
"flatPath": "v1alpha/properties/{propertiesId}:acknowledgeUserDataCollection",
648+
"httpMethod": "POST",
649+
"id": "analyticsadmin.properties.acknowledgeUserDataCollection",
650+
"parameterOrder": [
651+
"property"
652+
],
653+
"parameters": {
654+
"property": {
655+
"description": "Required. The property for which to acknowledge user data collection.",
656+
"location": "path",
657+
"pattern": "^properties/[^/]+$",
658+
"required": true,
659+
"type": "string"
660+
}
661+
},
662+
"path": "v1alpha/{+property}:acknowledgeUserDataCollection",
663+
"request": {
664+
"$ref": "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest"
665+
},
666+
"response": {
667+
"$ref": "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse"
668+
},
669+
"scopes": [
670+
"https://www.googleapis.com/auth/analytics.edit"
671+
]
672+
},
645673
"create": {
646674
"description": "Creates an \"GA4\" property with the specified location and attributes.",
647675
"flatPath": "v1alpha/properties",
@@ -3152,7 +3180,7 @@
31523180
}
31533181
}
31543182
},
3155-
"revision": "20211002",
3183+
"revision": "20211008",
31563184
"rootUrl": "https://analyticsadmin.googleapis.com/",
31573185
"schemas": {
31583186
"GoogleAnalyticsAdminV1alphaAccount": {
@@ -3218,6 +3246,23 @@
32183246
},
32193247
"type": "object"
32203248
},
3249+
"GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest": {
3250+
"description": "Request message for AcknowledgeUserDataCollection RPC.",
3251+
"id": "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest",
3252+
"properties": {
3253+
"acknowledgement": {
3254+
"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.\"",
3255+
"type": "string"
3256+
}
3257+
},
3258+
"type": "object"
3259+
},
3260+
"GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse": {
3261+
"description": "Response message for AcknowledgeUserDataCollection RPC.",
3262+
"id": "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse",
3263+
"properties": {},
3264+
"type": "object"
3265+
},
32213266
"GoogleAnalyticsAdminV1alphaAndroidAppDataStream": {
32223267
"description": "A resource message representing a Google Analytics Android app stream.",
32233268
"id": "GoogleAnalyticsAdminV1alphaAndroidAppDataStream",

0 commit comments

Comments
 (0)