Skip to content

Commit

Permalink
feat(analyticsadmin): update the api
Browse files Browse the repository at this point in the history
#### analyticsadmin:v1alpha

The following keys were added:
- resources.properties.methods.acknowledgeUserDataCollection (Total Keys: 12)
- schemas.GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest (Total Keys: 3)
- schemas.GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Oct 12, 2021
1 parent 2a8ae7c commit be347fe
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 1 deletion.
28 changes: 28 additions & 0 deletions docs/dyn/analyticsadmin_v1alpha.properties.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ <h2>Instance Methods</h2>
</p>
<p class="firstline">Returns the webDataStreams Resource.</p>

<p class="toc_element">
<code><a href="#acknowledgeUserDataCollection">acknowledgeUserDataCollection(property, body=None, x__xgafv=None)</a></code></p>
<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>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
Expand Down Expand Up @@ -163,6 +166,31 @@ <h2>Instance Methods</h2>
<code><a href="#updateGoogleSignalsSettings">updateGoogleSignalsSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates Google Signals settings for a property.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="acknowledgeUserDataCollection">acknowledgeUserDataCollection(property, body=None, x__xgafv=None)</code>
<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.

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.
&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;
}

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.
}</pre>
</div>

<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -3152,7 +3180,7 @@
}
}
},
"revision": "20211002",
"revision": "20211008",
"rootUrl": "https://analyticsadmin.googleapis.com/",
"schemas": {
"GoogleAnalyticsAdminV1alphaAccount": {
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit be347fe

Please sign in to comment.