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