blob: 78e06e04400c683647c6f4cedc20ec7d8c23db89 [file] [log] [blame]
Craig Citro065b5302014-08-14 00:47:23 -07001<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
75<h1><a href="books_v1.html">Books API</a> . <a href="books_v1.promooffer.html">promooffer</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080078 <code><a href="#accept">accept(serial=None, offerId=None, device=None, manufacturer=None, androidId=None, volumeId=None, model=None, product=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070079<p class="firstline">Accepts the promo offer.</p>
Craig Citro065b5302014-08-14 00:47:23 -070080<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070081 <code><a href="#close">close()</a></code></p>
82<p class="firstline">Close httplib2 connections.</p>
83<p class="toc_element">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080084 <code><a href="#dismiss">dismiss(device=None, offerId=None, androidId=None, model=None, serial=None, manufacturer=None, product=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070085<p class="firstline">Marks the promo offer as dismissed.</p>
Craig Citro065b5302014-08-14 00:47:23 -070086<p class="toc_element">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080087 <code><a href="#get">get(product=None, androidId=None, serial=None, device=None, model=None, manufacturer=None, x__xgafv=None)</a></code></p>
Craig Citro065b5302014-08-14 00:47:23 -070088<p class="firstline">Returns a list of promo offers available to the user</p>
89<h3>Method Details</h3>
90<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080091 <code class="details" id="accept">accept(serial=None, offerId=None, device=None, manufacturer=None, androidId=None, volumeId=None, model=None, product=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070092 <pre>Accepts the promo offer.
Craig Citro065b5302014-08-14 00:47:23 -070093
94Args:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070095 serial: string, device serial
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080096 offerId: string, A parameter
97 device: string, device device
98 manufacturer: string, device manufacturer
99 androidId: string, device android_id
100 volumeId: string, Volume id to exercise the offer
101 model: string, device model
102 product: string, device product
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700103 x__xgafv: string, V1 error format.
104 Allowed values
105 1 - v1 error format
106 2 - v2 error format
107
108Returns:
109 An object of the form:
110
111 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
112 }</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700113</div>
114
115<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700116 <code class="details" id="close">close()</code>
117 <pre>Close httplib2 connections.</pre>
118</div>
119
120<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800121 <code class="details" id="dismiss">dismiss(device=None, offerId=None, androidId=None, model=None, serial=None, manufacturer=None, product=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700122 <pre>Marks the promo offer as dismissed.
Craig Citro065b5302014-08-14 00:47:23 -0700123
124Args:
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800125 device: string, device device
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800126 offerId: string, Offer to dimiss
127 androidId: string, device android_id
128 model: string, device model
129 serial: string, device serial
130 manufacturer: string, device manufacturer
131 product: string, device product
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700132 x__xgafv: string, V1 error format.
133 Allowed values
134 1 - v1 error format
135 2 - v2 error format
136
137Returns:
138 An object of the form:
139
140 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
141 }</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700142</div>
143
144<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800145 <code class="details" id="get">get(product=None, androidId=None, serial=None, device=None, model=None, manufacturer=None, x__xgafv=None)</code>
Craig Citro065b5302014-08-14 00:47:23 -0700146 <pre>Returns a list of promo offers available to the user
147
148Args:
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800149 product: string, device product
150 androidId: string, device android_id
151 serial: string, device serial
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700152 device: string, device device
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800153 model: string, device model
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800154 manufacturer: string, device manufacturer
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700155 x__xgafv: string, V1 error format.
156 Allowed values
157 1 - v1 error format
158 2 - v2 error format
Craig Citro065b5302014-08-14 00:47:23 -0700159
160Returns:
161 An object of the form:
162
163 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800164 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Bu Sun Kim65020912020-05-20 12:08:20 -0700165 &quot;items&quot;: [ # A list of offers.
Craig Citro065b5302014-08-14 00:47:23 -0700166 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800167 &quot;id&quot;: &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800168 &quot;artUrl&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700169 &quot;gservicesKey&quot;: &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700170 &quot;items&quot;: [
Craig Citro065b5302014-08-14 00:47:23 -0700171 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700172 &quot;volumeId&quot;: &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800173 &quot;description&quot;: &quot;A String&quot;,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800174 &quot;author&quot;: &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800175 &quot;canonicalVolumeLink&quot;: &quot;A String&quot;,
176 &quot;coverUrl&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700177 &quot;title&quot;: &quot;A String&quot;,
Craig Citro065b5302014-08-14 00:47:23 -0700178 },
179 ],
Craig Citro065b5302014-08-14 00:47:23 -0700180 },
181 ],
Craig Citro065b5302014-08-14 00:47:23 -0700182 }</pre>
183</div>
184
185</body></html>