Skip to content

Commit f05a313

Browse files
feat(playintegrity): update the api
#### playintegrity:v1 The following keys were added: - resources.deviceRecall.methods.write (Total Keys: 12) - schemas.Values (Total Keys: 5) - schemas.WriteDeviceRecallRequest (Total Keys: 4) - schemas.WriteDeviceRecallResponse (Total Keys: 2)
1 parent 83553a2 commit f05a313

File tree

3 files changed

+197
-1
lines changed

3 files changed

+197
-1
lines changed
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="playintegrity_v1.html">Google Play Integrity API</a> . <a href="playintegrity_v1.deviceRecall.html">deviceRecall</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#write">write(packageName, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Writes recall bits for the device where Play Integrity API token is obtained. The endpoint is available to select Play partners in an early access program (EAP).</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="close">close()</code>
86+
<pre>Close httplib2 connections.</pre>
87+
</div>
88+
89+
<div class="method">
90+
<code class="details" id="write">write(packageName, body=None, x__xgafv=None)</code>
91+
<pre>Writes recall bits for the device where Play Integrity API token is obtained. The endpoint is available to select Play partners in an early access program (EAP).
92+
93+
Args:
94+
packageName: string, Required. Package name of the app the attached integrity token belongs to. (required)
95+
body: object, The request body.
96+
The object takes the form of:
97+
98+
{ # Request to write device recall bits.
99+
&quot;integrityToken&quot;: &quot;A String&quot;, # Required. Integrity token obtained from calling Play Integrity API. Note that the integrity token contains the existing device recall bits. The write will only succeed if those bits in the integrity token are up to date.
100+
&quot;newValues&quot;: { # Contains the recall bits values. # Required. The new values for the device recall bits to be written.
101+
&quot;bitFirst&quot;: True or False, # Required. First recall bit value.
102+
&quot;bitSecond&quot;: True or False, # Required. Second recall bit value.
103+
&quot;bitThird&quot;: True or False, # Required. Third recall bit value.
104+
},
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 the Write Device Recall action. Currently empty.
116+
}</pre>
117+
</div>
118+
119+
</body></html>

docs/dyn/playintegrity_v1.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474

7575
<h1><a href="playintegrity_v1.html">Google Play Integrity API</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="playintegrity_v1.deviceRecall.html">deviceRecall()</a></code>
79+
</p>
80+
<p class="firstline">Returns the deviceRecall Resource.</p>
81+
7782
<p class="toc_element">
7883
<code><a href="playintegrity_v1.v1.html">v1()</a></code>
7984
</p>

googleapiclient/discovery_cache/documents/playintegrity.v1.json

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,38 @@
105105
},
106106
"protocol": "rest",
107107
"resources": {
108+
"deviceRecall": {
109+
"methods": {
110+
"write": {
111+
"description": "Writes recall bits for the device where Play Integrity API token is obtained. The endpoint is available to select Play partners in an early access program (EAP).",
112+
"flatPath": "v1/{v1Id}/deviceRecall:write",
113+
"httpMethod": "POST",
114+
"id": "playintegrity.deviceRecall.write",
115+
"parameterOrder": [
116+
"packageName"
117+
],
118+
"parameters": {
119+
"packageName": {
120+
"description": "Required. Package name of the app the attached integrity token belongs to.",
121+
"location": "path",
122+
"pattern": "^[^/]+$",
123+
"required": true,
124+
"type": "string"
125+
}
126+
},
127+
"path": "v1/{+packageName}/deviceRecall:write",
128+
"request": {
129+
"$ref": "WriteDeviceRecallRequest"
130+
},
131+
"response": {
132+
"$ref": "WriteDeviceRecallResponse"
133+
},
134+
"scopes": [
135+
"https://www.googleapis.com/auth/playintegrity"
136+
]
137+
}
138+
}
139+
},
108140
"v1": {
109141
"methods": {
110142
"decodeIntegrityToken": {
@@ -138,7 +170,7 @@
138170
}
139171
}
140172
},
141-
"revision": "20240707",
173+
"revision": "20240711",
142174
"rootUrl": "https://playintegrity.googleapis.com/",
143175
"schemas": {
144176
"AccountActivity": {
@@ -491,6 +523,46 @@
491523
}
492524
},
493525
"type": "object"
526+
},
527+
"Values": {
528+
"description": "Contains the recall bits values.",
529+
"id": "Values",
530+
"properties": {
531+
"bitFirst": {
532+
"description": "Required. First recall bit value.",
533+
"type": "boolean"
534+
},
535+
"bitSecond": {
536+
"description": "Required. Second recall bit value.",
537+
"type": "boolean"
538+
},
539+
"bitThird": {
540+
"description": "Required. Third recall bit value.",
541+
"type": "boolean"
542+
}
543+
},
544+
"type": "object"
545+
},
546+
"WriteDeviceRecallRequest": {
547+
"description": "Request to write device recall bits.",
548+
"id": "WriteDeviceRecallRequest",
549+
"properties": {
550+
"integrityToken": {
551+
"description": "Required. Integrity token obtained from calling Play Integrity API. Note that the integrity token contains the existing device recall bits. The write will only succeed if those bits in the integrity token are up to date.",
552+
"type": "string"
553+
},
554+
"newValues": {
555+
"$ref": "Values",
556+
"description": "Required. The new values for the device recall bits to be written."
557+
}
558+
},
559+
"type": "object"
560+
},
561+
"WriteDeviceRecallResponse": {
562+
"description": "Response for the Write Device Recall action. Currently empty.",
563+
"id": "WriteDeviceRecallResponse",
564+
"properties": {},
565+
"type": "object"
494566
}
495567
},
496568
"servicePath": "",

0 commit comments

Comments
 (0)