blob: b92ca3a340742cf65d0fbd34aeb72043bc02eb3b [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -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="firebase_v1beta1.html">Firebase Management API</a> . <a href="firebase_v1beta1.projects.html">projects</a> . <a href="firebase_v1beta1.projects.androidApps.html">androidApps</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="firebase_v1beta1.projects.androidApps.sha.html">sha()</a></code>
79</p>
80<p class="firstline">Returns the sha Resource.</p>
81
82<p class="toc_element">
83 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
84<p class="firstline">Requests that a new AndroidApp be created.</p>
85<p class="toc_element">
86 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
87<p class="firstline">Gets the AndroidApp identified by the specified resource name.</p>
88<p class="toc_element">
89 <code><a href="#getConfig">getConfig(name, x__xgafv=None)</a></code></p>
90<p class="firstline">Gets the configuration artifact associated with the specified</p>
91<p class="toc_element">
92 <code><a href="#list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
93<p class="firstline">Lists each AndroidApp associated with the specified parent Project.</p>
94<p class="toc_element">
95 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
96<p class="firstline">Retrieves the next page of results.</p>
97<p class="toc_element">
98 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
99<p class="firstline">Updates the attributes of the AndroidApp identified by the specified</p>
100<h3>Method Details</h3>
101<div class="method">
102 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
103 <pre>Requests that a new AndroidApp be created.
104&lt;br&gt;
105&lt;br&gt;The result of this call is an `Operation` which can be used to track
106the provisioning process. The `Operation` is automatically deleted after
107completion, so there is no need to call `DeleteOperation`.
108
109Args:
110 parent: string, The parent Project in which to create an App, in the format:
111&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt; (required)
112 body: object, The request body.
113 The object takes the form of:
114
115{ # Details of a Firebase App for Android.
116 &quot;name&quot;: &quot;A String&quot;, # The fully qualified resource name of the App, in the format:
117 # &lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/androidApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt;
118 &quot;packageName&quot;: &quot;A String&quot;, # The canonical package name of the Android App as would appear in the
119 # Google Play Developer Console.
120 &quot;displayName&quot;: &quot;A String&quot;, # The user-assigned display name of the App.
121 &quot;appId&quot;: &quot;A String&quot;, # Immutable. The globally unique, Firebase-assigned identifier of the App.
122 # &lt;br&gt;
123 # &lt;br&gt;This identifier should be treated as an opaque token, as the data
124 # format is not specified.
125 &quot;projectId&quot;: &quot;A String&quot;, # The globally unique, user-assigned ID of the parent Project for the App.
126}
127
128 x__xgafv: string, V1 error format.
129 Allowed values
130 1 - v1 error format
131 2 - v2 error format
132
133Returns:
134 An object of the form:
135
136 { # This resource represents a long-running operation that is the result of a
137 # network API call.
138 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
139 # If `true`, the operation is completed, and either `error` or `response` is
140 # available.
141 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
142 # method returns no data on success, such as `Delete`, the response is
143 # `google.protobuf.Empty`. If the original method is standard
144 # `Get`/`Create`/`Update`, the response should be the resource. For other
145 # methods, the response should have the type `XxxResponse`, where `Xxx`
146 # is the original method name. For example, if the original method name
147 # is `TakeSnapshot()`, the inferred response type is
148 # `TakeSnapshotResponse`.
149 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
150 },
151 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
152 # originally returns it. If you use the default HTTP mapping, the
153 # `name` should be a resource name ending with `operations/{unique_id}`.
154 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
155 # different programming environments, including REST APIs and RPC APIs. It is
156 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
157 # three pieces of data: error code, error message, and error details.
158 #
159 # You can find out more about this error model and how to work with it in the
160 # [API Design Guide](https://cloud.google.com/apis/design/errors).
161 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
162 # user-facing error message should be localized and sent in the
163 # google.rpc.Status.details field, or localized by the client.
164 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
165 # message types for APIs to use.
166 {
167 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
168 },
169 ],
170 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
171 },
172 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
173 # contains progress information and common metadata such as create time.
174 # Some services might not provide such metadata. Any method that returns a
175 # long-running operation should document the metadata type, if any.
176 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
177 },
178 }</pre>
179</div>
180
181<div class="method">
182 <code class="details" id="get">get(name, x__xgafv=None)</code>
183 <pre>Gets the AndroidApp identified by the specified resource name.
184
185Args:
186 name: string, The fully qualified resource name of the App, in the format:
187&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/androidApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt;
188&lt;br&gt;As an &lt;var&gt;appId&lt;/var&gt; is a unique identifier, the Unique Resource
189from Sub-Collection access pattern may be used here, in the format:
190&lt;br&gt;&lt;code&gt;projects/-/androidApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt; (required)
191 x__xgafv: string, V1 error format.
192 Allowed values
193 1 - v1 error format
194 2 - v2 error format
195
196Returns:
197 An object of the form:
198
199 { # Details of a Firebase App for Android.
200 &quot;name&quot;: &quot;A String&quot;, # The fully qualified resource name of the App, in the format:
201 # &lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/androidApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt;
202 &quot;packageName&quot;: &quot;A String&quot;, # The canonical package name of the Android App as would appear in the
203 # Google Play Developer Console.
204 &quot;displayName&quot;: &quot;A String&quot;, # The user-assigned display name of the App.
205 &quot;appId&quot;: &quot;A String&quot;, # Immutable. The globally unique, Firebase-assigned identifier of the App.
206 # &lt;br&gt;
207 # &lt;br&gt;This identifier should be treated as an opaque token, as the data
208 # format is not specified.
209 &quot;projectId&quot;: &quot;A String&quot;, # The globally unique, user-assigned ID of the parent Project for the App.
210 }</pre>
211</div>
212
213<div class="method">
214 <code class="details" id="getConfig">getConfig(name, x__xgafv=None)</code>
215 <pre>Gets the configuration artifact associated with the specified
216AndroidApp.
217
218Args:
219 name: string, The resource name of the App configuration to download, in the format:
220&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/androidApps/&lt;var&gt;appId&lt;/var&gt;/config&lt;/code&gt;
221&lt;br&gt;As an &lt;var&gt;appId&lt;/var&gt; is a unique identifier, the Unique Resource
222from Sub-Collection access pattern may be used here, in the format:
223&lt;br&gt;&lt;code&gt;projects/-/androidApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt; (required)
224 x__xgafv: string, V1 error format.
225 Allowed values
226 1 - v1 error format
227 2 - v2 error format
228
229Returns:
230 An object of the form:
231
232 { # Configuration metadata of a single Firebase App for Android.
233 &quot;configFilename&quot;: &quot;A String&quot;, # The filename that the configuration artifact is typically saved as.
234 # &lt;br&gt;For example: `google-services.json`
235 &quot;configFileContents&quot;: &quot;A String&quot;, # The contents of the JSON configuration file.
236 }</pre>
237</div>
238
239<div class="method">
240 <code class="details" id="list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</code>
241 <pre>Lists each AndroidApp associated with the specified parent Project.
242&lt;br&gt;
243&lt;br&gt;The elements are returned in no particular order, but will be a
244consistent view of the Apps when additional requests are made with a
245`pageToken`.
246
247Args:
248 parent: string, The parent Project for which to list Apps, in the format:
249&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt; (required)
250 pageToken: string, Token returned from a previous call to `ListAndroidApps` indicating where
251in the set of Apps to resume listing.
252 pageSize: integer, The maximum number of Apps to return in the response.
253&lt;br&gt;
254&lt;br&gt;The server may return fewer than this at its discretion.
255If no value is specified (or too large a value is specified), then the
256server will impose its own limit.
257 x__xgafv: string, V1 error format.
258 Allowed values
259 1 - v1 error format
260 2 - v2 error format
261
262Returns:
263 An object of the form:
264
265 {
266 &quot;apps&quot;: [ # List of each AndroidApp that is in the parent Firebase Project.
267 { # Details of a Firebase App for Android.
268 &quot;name&quot;: &quot;A String&quot;, # The fully qualified resource name of the App, in the format:
269 # &lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/androidApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt;
270 &quot;packageName&quot;: &quot;A String&quot;, # The canonical package name of the Android App as would appear in the
271 # Google Play Developer Console.
272 &quot;displayName&quot;: &quot;A String&quot;, # The user-assigned display name of the App.
273 &quot;appId&quot;: &quot;A String&quot;, # Immutable. The globally unique, Firebase-assigned identifier of the App.
274 # &lt;br&gt;
275 # &lt;br&gt;This identifier should be treated as an opaque token, as the data
276 # format is not specified.
277 &quot;projectId&quot;: &quot;A String&quot;, # The globally unique, user-assigned ID of the parent Project for the App.
278 },
279 ],
280 &quot;nextPageToken&quot;: &quot;A String&quot;, # If the result list is too large to fit in a single response, then a token
281 # is returned. If the string is empty, then this response is the last page of
282 # results.
283 # &lt;br&gt;
284 # &lt;br&gt;This token can be used in a subsequent call to `ListAndroidApps` to
285 # find the next group of Apps.
286 # &lt;br&gt;
287 # &lt;br&gt;Page tokens are short-lived and should not be persisted.
288 }</pre>
289</div>
290
291<div class="method">
292 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
293 <pre>Retrieves the next page of results.
294
295Args:
296 previous_request: The request for the previous page. (required)
297 previous_response: The response from the request for the previous page. (required)
298
299Returns:
300 A request object that you can call &#x27;execute()&#x27; on to request the next
301 page. Returns None if there are no more items in the collection.
302 </pre>
303</div>
304
305<div class="method">
306 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
307 <pre>Updates the attributes of the AndroidApp identified by the specified
308resource name.
309
310Args:
311 name: string, The fully qualified resource name of the App, in the format:
312&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/androidApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt; (required)
313 body: object, The request body.
314 The object takes the form of:
315
316{ # Details of a Firebase App for Android.
317 &quot;name&quot;: &quot;A String&quot;, # The fully qualified resource name of the App, in the format:
318 # &lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/androidApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt;
319 &quot;packageName&quot;: &quot;A String&quot;, # The canonical package name of the Android App as would appear in the
320 # Google Play Developer Console.
321 &quot;displayName&quot;: &quot;A String&quot;, # The user-assigned display name of the App.
322 &quot;appId&quot;: &quot;A String&quot;, # Immutable. The globally unique, Firebase-assigned identifier of the App.
323 # &lt;br&gt;
324 # &lt;br&gt;This identifier should be treated as an opaque token, as the data
325 # format is not specified.
326 &quot;projectId&quot;: &quot;A String&quot;, # The globally unique, user-assigned ID of the parent Project for the App.
327}
328
329 updateMask: string, Specifies which fields to update.
330&lt;br&gt;Note that the fields `name`, `appId`, `projectId`, and `packageName`
331are all immutable.
332 x__xgafv: string, V1 error format.
333 Allowed values
334 1 - v1 error format
335 2 - v2 error format
336
337Returns:
338 An object of the form:
339
340 { # Details of a Firebase App for Android.
341 &quot;name&quot;: &quot;A String&quot;, # The fully qualified resource name of the App, in the format:
342 # &lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/androidApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt;
343 &quot;packageName&quot;: &quot;A String&quot;, # The canonical package name of the Android App as would appear in the
344 # Google Play Developer Console.
345 &quot;displayName&quot;: &quot;A String&quot;, # The user-assigned display name of the App.
346 &quot;appId&quot;: &quot;A String&quot;, # Immutable. The globally unique, Firebase-assigned identifier of the App.
347 # &lt;br&gt;
348 # &lt;br&gt;This identifier should be treated as an opaque token, as the data
349 # format is not specified.
350 &quot;projectId&quot;: &quot;A String&quot;, # The globally unique, user-assigned ID of the parent Project for the App.
351 }</pre>
352</div>
353
354</body></html>