blob: 0109ab6d86d2a71d64f883e1b9df8790c834b2cf [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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
Bu Sun Kim65020912020-05-20 12:08:20 -070075<h1><a href="gamesManagement_v1management.html">Google Play Game Management</a> . <a href="gamesManagement_v1management.achievements.html">achievements</a></h1>
John Asmuth614db982014-04-24 15:46:26 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070078 <code><a href="#reset">reset(achievementId, x__xgafv=None)</a></code></p>
79<p class="firstline">Resets the achievement with the given ID for the currently authenticated</p>
John Asmuth614db982014-04-24 15:46:26 -040080<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070081 <code><a href="#resetAll">resetAll(x__xgafv=None)</a></code></p>
82<p class="firstline">Resets all achievements for the currently authenticated player for your</p>
John Asmuth614db982014-04-24 15:46:26 -040083<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070084 <code><a href="#resetAllForAllPlayers">resetAllForAllPlayers(x__xgafv=None)</a></code></p>
85<p class="firstline">Resets all draft achievements for all players. This method is only</p>
Craig Citro0e5b9bf2014-10-15 10:26:14 -070086<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070087 <code><a href="#resetForAllPlayers">resetForAllPlayers(achievementId, x__xgafv=None)</a></code></p>
88<p class="firstline">Resets the achievement with the given ID for all players. This method is</p>
Craig Citro0e5b9bf2014-10-15 10:26:14 -070089<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070090 <code><a href="#resetMultipleForAllPlayers">resetMultipleForAllPlayers(body=None, x__xgafv=None)</a></code></p>
91<p class="firstline">Resets achievements with the given IDs for all players. This method is only</p>
John Asmuth614db982014-04-24 15:46:26 -040092<h3>Method Details</h3>
93<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -070094 <code class="details" id="reset">reset(achievementId, x__xgafv=None)</code>
95 <pre>Resets the achievement with the given ID for the currently authenticated
96player. This method is only accessible to whitelisted tester accounts for
97your application.
John Asmuth614db982014-04-24 15:46:26 -040098
99Args:
100 achievementId: string, The ID of the achievement used by this method. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700101 x__xgafv: string, V1 error format.
102 Allowed values
103 1 - v1 error format
104 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400105
106Returns:
107 An object of the form:
108
Bu Sun Kim65020912020-05-20 12:08:20 -0700109 { # An achievement reset response.
Bu Sun Kim65020912020-05-20 12:08:20 -0700110 &quot;currentState&quot;: &quot;A String&quot;, # The current state of the achievement. This is the same as the initial
111 # state of the achievement. &lt;br/&gt;Possible values are: &lt;ul&gt;
112 # &lt;li&gt;&quot;`HIDDEN`&quot;- Achievement is hidden.&lt;/li&gt;
113 # &lt;li&gt;&quot;`REVEALED`&quot; - Achievement is revealed.&lt;/li&gt;
114 # &lt;li&gt;&quot;`UNLOCKED`&quot; - Achievement is unlocked.&lt;/li&gt; &lt;/ul&gt;
115 &quot;kind&quot;: &quot;A String&quot;, # Uniquely identifies the type of this resource. Value is always the fixed
116 # string `gamesManagement#achievementResetResponse`.
117 &quot;updateOccurred&quot;: True or False, # Flag to indicate if the requested update actually occurred.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700118 &quot;definitionId&quot;: &quot;A String&quot;, # The ID of an achievement for which player state has been updated.
John Asmuth614db982014-04-24 15:46:26 -0400119 }</pre>
120</div>
121
122<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700123 <code class="details" id="resetAll">resetAll(x__xgafv=None)</code>
124 <pre>Resets all achievements for the currently authenticated player for your
125application. This method is only accessible to whitelisted tester accounts
126for your application.
John Asmuth614db982014-04-24 15:46:26 -0400127
128Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700129 x__xgafv: string, V1 error format.
130 Allowed values
131 1 - v1 error format
132 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400133
134Returns:
135 An object of the form:
136
Bu Sun Kim65020912020-05-20 12:08:20 -0700137 { # Achievement reset all response.
138 &quot;kind&quot;: &quot;A String&quot;, # Uniquely identifies the type of this resource. Value is always the fixed
139 # string `gamesManagement#achievementResetAllResponse`.
140 &quot;results&quot;: [ # The achievement reset results.
141 { # An achievement reset response.
Bu Sun Kim65020912020-05-20 12:08:20 -0700142 &quot;currentState&quot;: &quot;A String&quot;, # The current state of the achievement. This is the same as the initial
143 # state of the achievement. &lt;br/&gt;Possible values are: &lt;ul&gt;
144 # &lt;li&gt;&quot;`HIDDEN`&quot;- Achievement is hidden.&lt;/li&gt;
145 # &lt;li&gt;&quot;`REVEALED`&quot; - Achievement is revealed.&lt;/li&gt;
146 # &lt;li&gt;&quot;`UNLOCKED`&quot; - Achievement is unlocked.&lt;/li&gt; &lt;/ul&gt;
147 &quot;kind&quot;: &quot;A String&quot;, # Uniquely identifies the type of this resource. Value is always the fixed
148 # string `gamesManagement#achievementResetResponse`.
149 &quot;updateOccurred&quot;: True or False, # Flag to indicate if the requested update actually occurred.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700150 &quot;definitionId&quot;: &quot;A String&quot;, # The ID of an achievement for which player state has been updated.
John Asmuth614db982014-04-24 15:46:26 -0400151 },
152 ],
153 }</pre>
154</div>
155
156<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700157 <code class="details" id="resetAllForAllPlayers">resetAllForAllPlayers(x__xgafv=None)</code>
158 <pre>Resets all draft achievements for all players. This method is only
159available to user accounts for your developer console.
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700160
161Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700162 x__xgafv: string, V1 error format.
163 Allowed values
164 1 - v1 error format
165 2 - v2 error format
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700166</pre>
167</div>
168
169<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700170 <code class="details" id="resetForAllPlayers">resetForAllPlayers(achievementId, x__xgafv=None)</code>
171 <pre>Resets the achievement with the given ID for all players. This method is
172only available to user accounts for your developer console. Only draft
173achievements can be reset.
John Asmuth614db982014-04-24 15:46:26 -0400174
175Args:
176 achievementId: string, The ID of the achievement used by this method. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700177 x__xgafv: string, V1 error format.
178 Allowed values
179 1 - v1 error format
180 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400181</pre>
182</div>
183
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700184<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700185 <code class="details" id="resetMultipleForAllPlayers">resetMultipleForAllPlayers(body=None, x__xgafv=None)</code>
186 <pre>Resets achievements with the given IDs for all players. This method is only
187available to user accounts for your developer console. Only draft
188achievements may be reset.
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700189
190Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700191 body: object, The request body.
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700192 The object takes the form of:
193
Bu Sun Kim65020912020-05-20 12:08:20 -0700194{
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700195 &quot;kind&quot;: &quot;A String&quot;, # Uniquely identifies the type of this resource. Value is always the fixed
196 # string `gamesManagement#achievementResetMultipleForAllRequest`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700197 &quot;achievement_ids&quot;: [ # The IDs of achievements to reset.
198 &quot;A String&quot;,
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700199 ],
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700200 }
201
Bu Sun Kim65020912020-05-20 12:08:20 -0700202 x__xgafv: string, V1 error format.
203 Allowed values
204 1 - v1 error format
205 2 - v2 error format
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700206</pre>
207</div>
208
John Asmuth614db982014-04-24 15:46:26 -0400209</body></html>