Skip to content

Commit

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

The following keys were added:
- resources.applications.methods.dataSafety (Total Keys: 11)
- schemas.SafetyLabelsUpdateRequest (Total Keys: 3)
- schemas.SafetyLabelsUpdateResponse (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Jan 30, 2024
1 parent 901407b commit 3620d11
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 1 deletion.
28 changes: 28 additions & 0 deletions docs/dyn/androidpublisher_v3.applications.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,38 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#dataSafety">dataSafety(packageName, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Writes the Safety Labels declaration of an app.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>

<div class="method">
<code class="details" id="dataSafety">dataSafety(packageName, body=None, x__xgafv=None)</code>
<pre>Writes the Safety Labels declaration of an app.

Args:
packageName: string, Required. Package name of the app. (required)
body: object, The request body.
The object takes the form of:

{ # Request to update Safety Labels of an app.
&quot;safetyLabels&quot;: &quot;A String&quot;, # Required. Contents of the CSV file containing Data Safety responses. For the format of this file, see the Help Center documentation at https://support.google.com/googleplay/android-developer/answer/10787469?hl=en#zippy=%2Cunderstand-the-csv-format To download an up to date template, follow the steps at https://support.google.com/googleplay/android-developer/answer/10787469?hl=en#zippy=%2Cexport-to-a-csv-file
}

x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Response for SafetyLabelsUpdate rpc.
}</pre>
</div>

</body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,35 @@
"protocol": "rest",
"resources": {
"applications": {
"methods": {
"dataSafety": {
"description": "Writes the Safety Labels declaration of an app.",
"flatPath": "androidpublisher/v3/applications/{packageName}/dataSafety",
"httpMethod": "POST",
"id": "androidpublisher.applications.dataSafety",
"parameterOrder": [
"packageName"
],
"parameters": {
"packageName": {
"description": "Required. Package name of the app.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "androidpublisher/v3/applications/{packageName}/dataSafety",
"request": {
"$ref": "SafetyLabelsUpdateRequest"
},
"response": {
"$ref": "SafetyLabelsUpdateResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
},
"resources": {
"deviceTierConfigs": {
"methods": {
Expand Down Expand Up @@ -4695,7 +4724,7 @@
}
}
},
"revision": "20240123",
"revision": "20240129",
"rootUrl": "https://androidpublisher.googleapis.com/",
"schemas": {
"Abi": {
Expand Down Expand Up @@ -8067,6 +8096,23 @@ false
"properties": {},
"type": "object"
},
"SafetyLabelsUpdateRequest": {
"description": "Request to update Safety Labels of an app.",
"id": "SafetyLabelsUpdateRequest",
"properties": {
"safetyLabels": {
"description": "Required. Contents of the CSV file containing Data Safety responses. For the format of this file, see the Help Center documentation at https://support.google.com/googleplay/android-developer/answer/10787469?hl=en#zippy=%2Cunderstand-the-csv-format To download an up to date template, follow the steps at https://support.google.com/googleplay/android-developer/answer/10787469?hl=en#zippy=%2Cexport-to-a-csv-file",
"type": "string"
}
},
"type": "object"
},
"SafetyLabelsUpdateResponse": {
"description": "Response for SafetyLabelsUpdate rpc.",
"id": "SafetyLabelsUpdateResponse",
"properties": {},
"type": "object"
},
"ScreenDensity": {
"description": "Represents a screen density.",
"id": "ScreenDensity",
Expand Down

0 comments on commit 3620d11

Please sign in to comment.