Skip to content

Commit 3620d11

Browse files
feat(androidpublisher): update the api
#### androidpublisher:v3 The following keys were added: - resources.applications.methods.dataSafety (Total Keys: 11) - schemas.SafetyLabelsUpdateRequest (Total Keys: 3) - schemas.SafetyLabelsUpdateResponse (Total Keys: 2)
1 parent 901407b commit 3620d11

File tree

2 files changed

+75
-1
lines changed

2 files changed

+75
-1
lines changed

docs/dyn/androidpublisher_v3.applications.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,38 @@ <h2>Instance Methods</h2>
8282
<p class="toc_element">
8383
<code><a href="#close">close()</a></code></p>
8484
<p class="firstline">Close httplib2 connections.</p>
85+
<p class="toc_element">
86+
<code><a href="#dataSafety">dataSafety(packageName, body=None, x__xgafv=None)</a></code></p>
87+
<p class="firstline">Writes the Safety Labels declaration of an app.</p>
8588
<h3>Method Details</h3>
8689
<div class="method">
8790
<code class="details" id="close">close()</code>
8891
<pre>Close httplib2 connections.</pre>
8992
</div>
9093

94+
<div class="method">
95+
<code class="details" id="dataSafety">dataSafety(packageName, body=None, x__xgafv=None)</code>
96+
<pre>Writes the Safety Labels declaration of an app.
97+
98+
Args:
99+
packageName: string, Required. Package name of the app. (required)
100+
body: object, The request body.
101+
The object takes the form of:
102+
103+
{ # Request to update Safety Labels of an app.
104+
&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
105+
}
106+
107+
x__xgafv: string, V1 error format.
108+
Allowed values
109+
1 - v1 error format
110+
2 - v2 error format
111+
112+
Returns:
113+
An object of the form:
114+
115+
{ # Response for SafetyLabelsUpdate rpc.
116+
}</pre>
117+
</div>
118+
91119
</body></html>

googleapiclient/discovery_cache/documents/androidpublisher.v3.json

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,35 @@
105105
"protocol": "rest",
106106
"resources": {
107107
"applications": {
108+
"methods": {
109+
"dataSafety": {
110+
"description": "Writes the Safety Labels declaration of an app.",
111+
"flatPath": "androidpublisher/v3/applications/{packageName}/dataSafety",
112+
"httpMethod": "POST",
113+
"id": "androidpublisher.applications.dataSafety",
114+
"parameterOrder": [
115+
"packageName"
116+
],
117+
"parameters": {
118+
"packageName": {
119+
"description": "Required. Package name of the app.",
120+
"location": "path",
121+
"required": true,
122+
"type": "string"
123+
}
124+
},
125+
"path": "androidpublisher/v3/applications/{packageName}/dataSafety",
126+
"request": {
127+
"$ref": "SafetyLabelsUpdateRequest"
128+
},
129+
"response": {
130+
"$ref": "SafetyLabelsUpdateResponse"
131+
},
132+
"scopes": [
133+
"https://www.googleapis.com/auth/androidpublisher"
134+
]
135+
}
136+
},
108137
"resources": {
109138
"deviceTierConfigs": {
110139
"methods": {
@@ -4695,7 +4724,7 @@
46954724
}
46964725
}
46974726
},
4698-
"revision": "20240123",
4727+
"revision": "20240129",
46994728
"rootUrl": "https://androidpublisher.googleapis.com/",
47004729
"schemas": {
47014730
"Abi": {
@@ -8067,6 +8096,23 @@ false
80678096
"properties": {},
80688097
"type": "object"
80698098
},
8099+
"SafetyLabelsUpdateRequest": {
8100+
"description": "Request to update Safety Labels of an app.",
8101+
"id": "SafetyLabelsUpdateRequest",
8102+
"properties": {
8103+
"safetyLabels": {
8104+
"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",
8105+
"type": "string"
8106+
}
8107+
},
8108+
"type": "object"
8109+
},
8110+
"SafetyLabelsUpdateResponse": {
8111+
"description": "Response for SafetyLabelsUpdate rpc.",
8112+
"id": "SafetyLabelsUpdateResponse",
8113+
"properties": {},
8114+
"type": "object"
8115+
},
80708116
"ScreenDensity": {
80718117
"description": "Represents a screen density.",
80728118
"id": "ScreenDensity",

0 commit comments

Comments
 (0)