blob: b6bf12eaeab5fbd36bdbb9bb6beaf1ea2579bee3 [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">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#accept">accept(androidId=None, serial=None, manufacturer=None, model=None, offerId=None, product=None, device=None, volumeId=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Accepts the promo offer.</p>
Craig Citro065b5302014-08-14 00:47:23 -070080<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#dismiss">dismiss(androidId=None, manufacturer=None, offerId=None, device=None, serial=None, model=None, product=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Marks the promo offer as dismissed.</p>
Craig Citro065b5302014-08-14 00:47:23 -070083<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#get">get(manufacturer=None, serial=None, product=None, device=None, model=None, androidId=None, x__xgafv=None)</a></code></p>
Craig Citro065b5302014-08-14 00:47:23 -070085<p class="firstline">Returns a list of promo offers available to the user</p>
86<h3>Method Details</h3>
87<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070088 <code class="details" id="accept">accept(androidId=None, serial=None, manufacturer=None, model=None, offerId=None, product=None, device=None, volumeId=None, x__xgafv=None)</code>
89 <pre>Accepts the promo offer.
Craig Citro065b5302014-08-14 00:47:23 -070090
91Args:
Bu Sun Kim65020912020-05-20 12:08:20 -070092 androidId: string, device android_id
Bu Sun Kimd059ad82020-07-22 17:02:09 -070093 serial: string, device serial
Bu Sun Kim65020912020-05-20 12:08:20 -070094 manufacturer: string, device manufacturer
95 model: string, device model
Craig Citro065b5302014-08-14 00:47:23 -070096 offerId: string, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -070097 product: string, device product
Bu Sun Kimd059ad82020-07-22 17:02:09 -070098 device: string, device device
Bu Sun Kim65020912020-05-20 12:08:20 -070099 volumeId: string, Volume id to exercise the offer
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700100 x__xgafv: string, V1 error format.
101 Allowed values
102 1 - v1 error format
103 2 - v2 error format
104
105Returns:
106 An object of the form:
107
108 { # 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 `{}`.
109 }</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700110</div>
111
112<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700113 <code class="details" id="dismiss">dismiss(androidId=None, manufacturer=None, offerId=None, device=None, serial=None, model=None, product=None, x__xgafv=None)</code>
114 <pre>Marks the promo offer as dismissed.
Craig Citro065b5302014-08-14 00:47:23 -0700115
116Args:
Craig Citro065b5302014-08-14 00:47:23 -0700117 androidId: string, device android_id
Craig Citro065b5302014-08-14 00:47:23 -0700118 manufacturer: string, device manufacturer
Bu Sun Kim65020912020-05-20 12:08:20 -0700119 offerId: string, Offer to dimiss
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700120 device: string, device device
Bu Sun Kim65020912020-05-20 12:08:20 -0700121 serial: string, device serial
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700122 model: string, device model
123 product: string, device product
124 x__xgafv: string, V1 error format.
125 Allowed values
126 1 - v1 error format
127 2 - v2 error format
128
129Returns:
130 An object of the form:
131
132 { # 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 `{}`.
133 }</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700134</div>
135
136<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700137 <code class="details" id="get">get(manufacturer=None, serial=None, product=None, device=None, model=None, androidId=None, x__xgafv=None)</code>
Craig Citro065b5302014-08-14 00:47:23 -0700138 <pre>Returns a list of promo offers available to the user
139
140Args:
Craig Citro065b5302014-08-14 00:47:23 -0700141 manufacturer: string, device manufacturer
Bu Sun Kim65020912020-05-20 12:08:20 -0700142 serial: string, device serial
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700143 product: string, device product
144 device: string, device device
145 model: string, device model
146 androidId: string, device android_id
147 x__xgafv: string, V1 error format.
148 Allowed values
149 1 - v1 error format
150 2 - v2 error format
Craig Citro065b5302014-08-14 00:47:23 -0700151
152Returns:
153 An object of the form:
154
155 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700156 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Bu Sun Kim65020912020-05-20 12:08:20 -0700157 &quot;items&quot;: [ # A list of offers.
Craig Citro065b5302014-08-14 00:47:23 -0700158 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700159 &quot;artUrl&quot;: &quot;A String&quot;,
160 &quot;gservicesKey&quot;: &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700161 &quot;items&quot;: [
Craig Citro065b5302014-08-14 00:47:23 -0700162 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700163 &quot;author&quot;: &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700164 &quot;volumeId&quot;: &quot;A String&quot;,
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700165 &quot;description&quot;: &quot;A String&quot;,
166 &quot;coverUrl&quot;: &quot;A String&quot;,
167 &quot;title&quot;: &quot;A String&quot;,
168 &quot;canonicalVolumeLink&quot;: &quot;A String&quot;,
Craig Citro065b5302014-08-14 00:47:23 -0700169 },
170 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700171 &quot;id&quot;: &quot;A String&quot;,
Craig Citro065b5302014-08-14 00:47:23 -0700172 },
173 ],
Craig Citro065b5302014-08-14 00:47:23 -0700174 }</pre>
175</div>
176
177</body></html>