blob: 9c88ffc6fd144844ae7925799ff28ef14ec1168f [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></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="firebase_v1beta1.projects.androidApps.html">androidApps()</a></code>
79</p>
80<p class="firstline">Returns the androidApps Resource.</p>
81
82<p class="toc_element">
83 <code><a href="firebase_v1beta1.projects.availableLocations.html">availableLocations()</a></code>
84</p>
85<p class="firstline">Returns the availableLocations Resource.</p>
86
87<p class="toc_element">
88 <code><a href="firebase_v1beta1.projects.defaultLocation.html">defaultLocation()</a></code>
89</p>
90<p class="firstline">Returns the defaultLocation Resource.</p>
91
92<p class="toc_element">
93 <code><a href="firebase_v1beta1.projects.iosApps.html">iosApps()</a></code>
94</p>
95<p class="firstline">Returns the iosApps Resource.</p>
96
97<p class="toc_element">
98 <code><a href="firebase_v1beta1.projects.webApps.html">webApps()</a></code>
99</p>
100<p class="firstline">Returns the webApps Resource.</p>
101
102<p class="toc_element">
103 <code><a href="#addFirebase">addFirebase(project, body=None, x__xgafv=None)</a></code></p>
104<p class="firstline">Adds Firebase resources to the specified existing</p>
105<p class="toc_element">
106 <code><a href="#addGoogleAnalytics">addGoogleAnalytics(parent, body=None, x__xgafv=None)</a></code></p>
107<p class="firstline">Links a FirebaseProject with an existing</p>
108<p class="toc_element">
109 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
110<p class="firstline">Gets the FirebaseProject identified by the specified resource name.</p>
111<p class="toc_element">
112 <code><a href="#getAdminSdkConfig">getAdminSdkConfig(name, x__xgafv=None)</a></code></p>
113<p class="firstline">Gets the configuration artifact used by servers to simplify initialization.</p>
114<p class="toc_element">
115 <code><a href="#getAnalyticsDetails">getAnalyticsDetails(name, x__xgafv=None)</a></code></p>
116<p class="firstline">Gets the Google Analytics details currently associated with a</p>
117<p class="toc_element">
118 <code><a href="#list">list(pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
119<p class="firstline">Lists each FirebaseProject accessible to the caller.</p>
120<p class="toc_element">
121 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
122<p class="firstline">Retrieves the next page of results.</p>
123<p class="toc_element">
124 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
125<p class="firstline">Updates the attributes of the FirebaseProject identified by the</p>
126<p class="toc_element">
127 <code><a href="#removeAnalytics">removeAnalytics(parent, body=None, x__xgafv=None)</a></code></p>
128<p class="firstline">Unlinks the specified `FirebaseProject` from its Google Analytics account.</p>
129<p class="toc_element">
130 <code><a href="#searchApps">searchApps(parent, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
131<p class="firstline">A convenience method that lists all available Apps for the specified</p>
132<p class="toc_element">
133 <code><a href="#searchApps_next">searchApps_next(previous_request, previous_response)</a></code></p>
134<p class="firstline">Retrieves the next page of results.</p>
135<h3>Method Details</h3>
136<div class="method">
137 <code class="details" id="addFirebase">addFirebase(project, body=None, x__xgafv=None)</code>
138 <pre>Adds Firebase resources to the specified existing
139[Google Cloud Platform (GCP) `Project`]
140(https://cloud.google.com/resource-manager/reference/rest/v1/projects).
141&lt;br&gt;
142&lt;br&gt;Since a FirebaseProject is actually also a GCP `Project`, a
143`FirebaseProject` uses underlying GCP identifiers (most importantly,
144the `projectId`) as its own for easy interop with GCP APIs.
145&lt;br&gt;
146&lt;br&gt;The result of this call is an [`Operation`](../../v1beta1/operations).
147Poll the `Operation` to track the provisioning process by calling
148GetOperation until
149[`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When
150`done` is `true`, the `Operation` has either succeeded or failed. If the
151`Operation` succeeded, its
152[`response`](../../v1beta1/operations#Operation.FIELDS.response) is set to
153a FirebaseProject; if the `Operation` failed, its
154[`error`](../../v1beta1/operations#Operation.FIELDS.error) is set to a
155google.rpc.Status. The `Operation` is automatically deleted after
156completion, so there is no need to call
157DeleteOperation.
158&lt;br&gt;
159&lt;br&gt;This method does not modify any billing account information on the
160underlying GCP `Project`.
161&lt;br&gt;
162&lt;br&gt;To call `AddFirebase`, a project member or service account must have
163the following permissions (the IAM roles of Editor and Owner contain these
164permissions):
165`firebase.projects.update`, `resourcemanager.projects.get`,
166`serviceusage.services.enable`, and `serviceusage.services.get`.
167
168Args:
169 project: string, The resource name of the GCP `Project` to which Firebase resources will be
170added, in the format:
171&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt;
172After calling `AddFirebase`, the
173[`projectId`](https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_id)
174of the GCP `Project` is also the `projectId` of the FirebaseProject. (required)
175 body: object, The request body.
176 The object takes the form of:
177
178{ # All fields are required.
179 &quot;locationId&quot;: &quot;A String&quot;, # Deprecated. Instead, to set your project&#x27;s default GCP resource location,
180 # call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize)
181 # after you add Firebase resources to your project.
182 # &lt;br&gt;
183 # &lt;br&gt;The ID of the project&#x27;s default GCP resource location. The location
184 # must be one of the available
185 # [GCP resource
186 # locations](https://firebase.google.com/docs/projects/locations).
187 &quot;regionCode&quot;: &quot;A String&quot;, # Deprecated. Instead, to link your Project with a Google Analytics account,
188 # call [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics)
189 # after you add Firebase resources to your Project.
190 # &lt;br&gt;
191 # &lt;br&gt;The region code (CLDR) that the account will use for Firebase Analytics
192 # data.
193 # &lt;br&gt;For example: US, GB, or DE
194 # &lt;br&gt;
195 # &lt;br&gt;In Java, use `com.google.i18n.identifiers.RegionCode`.
196 &quot;timeZone&quot;: &quot;A String&quot;, # Deprecated. Instead, to link your Project with a Google Analytics account,
197 # call [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics)
198 # after you add Firebase resources to your Project.
199 # &lt;br&gt;
200 # &lt;br&gt;The time zone that the account will use for Firebase Analytics data.
201 # &lt;br&gt;For example: America/Los_Angeles or Africa/Abidjan
202 }
203
204 x__xgafv: string, V1 error format.
205 Allowed values
206 1 - v1 error format
207 2 - v2 error format
208
209Returns:
210 An object of the form:
211
212 { # This resource represents a long-running operation that is the result of a
213 # network API call.
214 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
215 # If `true`, the operation is completed, and either `error` or `response` is
216 # available.
217 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
218 # method returns no data on success, such as `Delete`, the response is
219 # `google.protobuf.Empty`. If the original method is standard
220 # `Get`/`Create`/`Update`, the response should be the resource. For other
221 # methods, the response should have the type `XxxResponse`, where `Xxx`
222 # is the original method name. For example, if the original method name
223 # is `TakeSnapshot()`, the inferred response type is
224 # `TakeSnapshotResponse`.
225 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
226 },
227 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
228 # originally returns it. If you use the default HTTP mapping, the
229 # `name` should be a resource name ending with `operations/{unique_id}`.
230 &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.
231 # different programming environments, including REST APIs and RPC APIs. It is
232 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
233 # three pieces of data: error code, error message, and error details.
234 #
235 # You can find out more about this error model and how to work with it in the
236 # [API Design Guide](https://cloud.google.com/apis/design/errors).
237 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
238 # user-facing error message should be localized and sent in the
239 # google.rpc.Status.details field, or localized by the client.
240 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
241 # message types for APIs to use.
242 {
243 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
244 },
245 ],
246 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
247 },
248 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
249 # contains progress information and common metadata such as create time.
250 # Some services might not provide such metadata. Any method that returns a
251 # long-running operation should document the metadata type, if any.
252 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
253 },
254 }</pre>
255</div>
256
257<div class="method">
258 <code class="details" id="addGoogleAnalytics">addGoogleAnalytics(parent, body=None, x__xgafv=None)</code>
259 <pre>Links a FirebaseProject with an existing
260[Google Analytics account](http://www.google.com/analytics/).
261&lt;br&gt;
262&lt;br&gt;Using this call, you can either:
263&lt;ul&gt;
264&lt;li&gt;Specify an `analyticsAccountId` to provision a new Google Analytics
265property within the specified account and associate the new property with
266your `FirebaseProject`.&lt;/li&gt;
267&lt;li&gt;Specify an existing `analyticsPropertyId` to associate the property
268with your `FirebaseProject`.&lt;/li&gt;
269&lt;/ul&gt;
270&lt;br&gt;
271Note that when you call `AddGoogleAnalytics`:
272&lt;ol&gt;
273&lt;li&gt;The first check determines if any existing data streams in the
274Google Analytics property correspond to any existing Firebase Apps in your
275`FirebaseProject` (based on the `packageName` or `bundleId` associated with
276the data stream). Then, as applicable, the data streams and apps are
277linked. Note that this auto-linking only applies to Android Apps and iOS
278Apps.&lt;/li&gt;
279&lt;li&gt;If no corresponding data streams are found for your Firebase Apps,
280new data streams are provisioned in the Google Analytics property
281for each of your Firebase Apps. Note that a new data stream is always
282provisioned for a Web App even if it was previously associated with a
283data stream in your Analytics property.&lt;/li&gt;
284&lt;/ol&gt;
285Learn more about the hierarchy and structure of Google Analytics
286accounts in the
287[Analytics
288documentation](https://support.google.com/analytics/answer/9303323).
289&lt;br&gt;
290&lt;br&gt;The result of this call is an [`Operation`](../../v1beta1/operations).
291Poll the `Operation` to track the provisioning process by calling
292GetOperation until
293[`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When
294`done` is `true`, the `Operation` has either succeeded or failed. If the
295`Operation` succeeded, its
296[`response`](../../v1beta1/operations#Operation.FIELDS.response) is set to
297an AnalyticsDetails; if the `Operation` failed, its
298[`error`](../../v1beta1/operations#Operation.FIELDS.error) is set to a
299google.rpc.Status.
300&lt;br&gt;
301&lt;br&gt;To call `AddGoogleAnalytics`, a member must be an Owner for
302the existing `FirebaseProject` and have the
303[`Edit` permission](https://support.google.com/analytics/answer/2884495)
304for the Google Analytics account.
305&lt;br&gt;
306&lt;br&gt;If a `FirebaseProject` already has Google Analytics enabled, and you
307call `AddGoogleAnalytics` using an `analyticsPropertyId` that&#x27;s different
308from the currently associated property, then the call will fail. Analytics
309may have already been enabled in the Firebase console or by specifying
310`timeZone` and `regionCode` in the call to
311[`AddFirebase`](../../v1beta1/projects/addFirebase).
312
313Args:
314 parent: string, The parent `FirebaseProject` to link to an existing Google Analytics
315account, in the format:
316&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt; (required)
317 body: object, The request body.
318 The object takes the form of:
319
320{
321 &quot;analyticsPropertyId&quot;: &quot;A String&quot;, # The ID for the existing Google Analytics property that you want to
322 # associate with your `FirebaseProject`.
323 &quot;analyticsAccountId&quot;: &quot;A String&quot;, # The ID for the existing
324 # [Google Analytics account](http://www.google.com/analytics/) that you
325 # want to link with your `FirebaseProject`.
326 # &lt;br&gt;
327 # &lt;br&gt;Specifying this field will provision a new Google Analytics
328 # property in your Google Analytics account and associate the new property
329 # with your `FirebaseProject`.
330 }
331
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 { # This resource represents a long-running operation that is the result of a
341 # network API call.
342 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
343 # If `true`, the operation is completed, and either `error` or `response` is
344 # available.
345 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
346 # method returns no data on success, such as `Delete`, the response is
347 # `google.protobuf.Empty`. If the original method is standard
348 # `Get`/`Create`/`Update`, the response should be the resource. For other
349 # methods, the response should have the type `XxxResponse`, where `Xxx`
350 # is the original method name. For example, if the original method name
351 # is `TakeSnapshot()`, the inferred response type is
352 # `TakeSnapshotResponse`.
353 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
354 },
355 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
356 # originally returns it. If you use the default HTTP mapping, the
357 # `name` should be a resource name ending with `operations/{unique_id}`.
358 &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.
359 # different programming environments, including REST APIs and RPC APIs. It is
360 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
361 # three pieces of data: error code, error message, and error details.
362 #
363 # You can find out more about this error model and how to work with it in the
364 # [API Design Guide](https://cloud.google.com/apis/design/errors).
365 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
366 # user-facing error message should be localized and sent in the
367 # google.rpc.Status.details field, or localized by the client.
368 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
369 # message types for APIs to use.
370 {
371 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
372 },
373 ],
374 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
375 },
376 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
377 # contains progress information and common metadata such as create time.
378 # Some services might not provide such metadata. Any method that returns a
379 # long-running operation should document the metadata type, if any.
380 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
381 },
382 }</pre>
383</div>
384
385<div class="method">
386 <code class="details" id="get">get(name, x__xgafv=None)</code>
387 <pre>Gets the FirebaseProject identified by the specified resource name.
388
389Args:
390 name: string, The fully qualified resource name of the Project, in the format:
391&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt; (required)
392 x__xgafv: string, V1 error format.
393 Allowed values
394 1 - v1 error format
395 2 - v2 error format
396
397Returns:
398 An object of the form:
399
400 { # A `FirebaseProject` is the top-level Firebase entity. It is the container for
401 # Firebase Apps, Firebase Hosting sites, storage systems (Firebase Realtime
402 # Database, Cloud Firestore, Cloud Storage buckets) and other Firebase and
403 # Google Cloud Platform (GCP) resources.
404 # &lt;br&gt;
405 # &lt;br&gt;You can create a new `FirebaseProject` in the
406 # [Firebase console](https://console.firebase.google.com/),
407 # or you can add Firebase resources to an existing
408 # [GCP
409 # `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/projects)
410 # by calling
411 # AddFirebase.
412 # &lt;br&gt;
413 # &lt;br&gt;A `FirebaseProject` is actually also a GCP `Project`, so a
414 # `FirebaseProject` uses underlying GCP identifiers (most importantly,
415 # `projectId`) as its own for easy interop with GCP APIs.
416 &quot;name&quot;: &quot;A String&quot;, # The fully qualified resource name of the Project, in the format:
417 # &lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt;
418 &quot;displayName&quot;: &quot;A String&quot;, # The user-assigned display name of the Project.
419 &quot;projectId&quot;: &quot;A String&quot;, # Immutable. The globally unique, user-assigned ID of the Project.
420 &quot;projectNumber&quot;: &quot;A String&quot;, # The globally unique, Google-assigned identifier of the Project.
421 &quot;resources&quot;: { # The default resources associated with a `FirebaseProject`. # The default Firebase resources associated with the Project.
422 &quot;realtimeDatabaseInstance&quot;: &quot;A String&quot;, # The default Firebase Realtime Database instance name, in the format:
423 # &lt;br&gt;&lt;code&gt;&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt;
424 # &lt;br&gt;Though rare, your `projectId` might already be used as the name for an
425 # existing Realtime Database instance in another project (learn more about
426 # [database
427 # sharding](https://firebase.google.com/docs/database/usage/sharding)). In
428 # these cases, your `projectId` is appended with a hyphen then five
429 # alphanumeric characters to create your default Realtime Database instance
430 # name. For example, if your `projectId` is `myproject123`, your default
431 # database instance name might be:
432 # &lt;br&gt;&lt;code&gt;myproject123-a5c16&lt;/code&gt;
433 &quot;locationId&quot;: &quot;A String&quot;, # The ID of the project&#x27;s default GCP resource location. The location is one
434 # of the available
435 # [GCP resource
436 # locations](https://firebase.google.com/docs/projects/locations). &lt;br&gt;
437 # &lt;br&gt;This field is omitted if the default GCP resource location has not been
438 # finalized yet. To set your project&#x27;s default GCP resource location,
439 # call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize)
440 # after you add Firebase services to your project.
441 &quot;hostingSite&quot;: &quot;A String&quot;, # The default Firebase Hosting site name, in the format:
442 # &lt;br&gt;&lt;code&gt;&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt;
443 # &lt;br&gt;Though rare, your `projectId` might already be used as the name for an
444 # existing Hosting site in another project (learn more about creating
445 # non-default,
446 # [additional sites](https://firebase.google.com/docs/hosting/multisites)).
447 # In these cases, your `projectId` is appended with a hyphen then five
448 # alphanumeric characters to create your default Hosting site name. For
449 # example, if your `projectId` is `myproject123`, your default Hosting site
450 # name might be:
451 # &lt;br&gt;&lt;code&gt;myproject123-a5c16&lt;/code&gt;
452 &quot;storageBucket&quot;: &quot;A String&quot;, # The default Cloud Storage for Firebase storage bucket, in the format:
453 # &lt;br&gt;&lt;code&gt;&lt;var&gt;projectId&lt;/var&gt;.appspot.com&lt;/code&gt;
454 },
455 }</pre>
456</div>
457
458<div class="method">
459 <code class="details" id="getAdminSdkConfig">getAdminSdkConfig(name, x__xgafv=None)</code>
460 <pre>Gets the configuration artifact used by servers to simplify initialization.
461&lt;br&gt;
462&lt;br&gt;Typically, this configuration is used with the Firebase Admin SDK
463[initializeApp](https://firebase.google.com/docs/admin/setup#initialize_the_sdk)
464command.
465
466Args:
467 name: string, The fully qualified resource name of the Project, in the format:
468&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/adminSdkConfig&lt;/code&gt; (required)
469 x__xgafv: string, V1 error format.
470 Allowed values
471 1 - v1 error format
472 2 - v2 error format
473
474Returns:
475 An object of the form:
476
477 {
478 &quot;locationId&quot;: &quot;A String&quot;, # The ID of the project&#x27;s default GCP resource location. The location is one
479 # of the available
480 # [GCP resource
481 # locations](https://firebase.google.com/docs/projects/locations). &lt;br&gt;
482 # &lt;br&gt;This field is omitted if the default GCP resource location has not been
483 # finalized yet. To set your project&#x27;s default GCP resource location,
484 # call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize)
485 # after you add Firebase services to your project.
486 &quot;projectId&quot;: &quot;A String&quot;, # Immutable. The globally unique, user-assigned project ID of the parent
487 # Project.
488 &quot;databaseURL&quot;: &quot;A String&quot;, # The default Firebase Realtime Database URL.
489 &quot;storageBucket&quot;: &quot;A String&quot;, # The default Cloud Storage for Firebase storage bucket name.
490 }</pre>
491</div>
492
493<div class="method">
494 <code class="details" id="getAnalyticsDetails">getAnalyticsDetails(name, x__xgafv=None)</code>
495 <pre>Gets the Google Analytics details currently associated with a
496FirebaseProject.
497&lt;br&gt;
498&lt;br&gt;If the `FirebaseProject` is not yet linked to Google Analytics, then
499the response to `GetAnalyticsDetails` is NOT_FOUND.
500
501Args:
502 name: string, The fully qualified resource name, in the format:
503&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/analyticsDetails&lt;/code&gt; (required)
504 x__xgafv: string, V1 error format.
505 Allowed values
506 1 - v1 error format
507 2 - v2 error format
508
509Returns:
510 An object of the form:
511
512 {
513 &quot;analyticsProperty&quot;: { # Details of a Google Analytics property # The Analytics Property object associated with the specified
514 # `FirebaseProject`.
515 # &lt;br&gt;
516 # &lt;br&gt;This object contains the details of the Google Analytics property
517 # associated with the specified `FirebaseProject`.
518 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the Google Analytics property associated with the
519 # specified `FirebaseProject`.
520 &quot;id&quot;: &quot;A String&quot;, # The globally unique, Google-assigned identifier of the Google Analytics
521 # property associated with the specified `FirebaseProject`.
522 # &lt;br&gt;
523 # &lt;br&gt;If you called
524 # [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics) to link
525 # your `FirebaseProject` with a Google Analytics account, the value in this
526 # `id` field is the same as the ID of the property either specified or
527 # provisioned with that call to `AddGoogleAnalytics`.
528 },
529 &quot;streamMappings&quot;: [ # For Android Apps and iOS Apps: A map of `app` to `streamId` for each
530 # Firebase App in the specified `FirebaseProject`. Each `app` and
531 # `streamId` appears only once.&lt;br&gt;
532 # &lt;br&gt;
533 # For Web Apps: A map of `app` to `streamId` and `measurementId` for each
534 # Firebase App in the specified `FirebaseProject`. Each `app`, `streamId`,
535 # and `measurementId` appears only once.
536 { # A mapping of a Firebase App to a Google Analytics data stream
537 &quot;streamId&quot;: &quot;A String&quot;, # The unique Google-assigned identifier of the Google Analytics data stream
538 # associated with the Firebase App.
539 # &lt;br&gt;
540 # &lt;br&gt;Learn more about Google Analytics data streams in the
541 # [Analytics
542 # documentation](https://support.google.com/analytics/answer/9303323).
543 &quot;app&quot;: &quot;A String&quot;, # The fully qualified resource name of the Firebase App associated with the
544 # Google Analytics data stream, in the format:
545 # &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;
546 # or
547 # &lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/iosApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt;
548 # or
549 # &lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/webApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt;
550 &quot;measurementId&quot;: &quot;A String&quot;, # Applicable for Firebase Web Apps only.&lt;br&gt;
551 # &lt;br&gt;The unique Google-assigned identifier of the Google Analytics web
552 # stream associated with the Firebase Web App. Firebase SDKs use this ID to
553 # interact with Google Analytics APIs.
554 # &lt;br&gt;
555 # &lt;br&gt;Learn more about this ID and Google Analytics web streams in the
556 # [Analytics
557 # documentation](https://support.google.com/analytics/topic/9303475).
558 },
559 ],
560 }</pre>
561</div>
562
563<div class="method">
564 <code class="details" id="list">list(pageSize=None, pageToken=None, x__xgafv=None)</code>
565 <pre>Lists each FirebaseProject accessible to the caller.
566&lt;br&gt;
567&lt;br&gt;The elements are returned in no particular order, but they will be a
568consistent view of the Projects when additional requests are made with a
569`pageToken`.
570&lt;br&gt;
571&lt;br&gt;This method is eventually consistent with Project mutations, which
572means newly provisioned Projects and recent modifications to existing
573Projects might not be reflected in the set of Projects. The list will
574include only ACTIVE Projects.
575&lt;br&gt;
576&lt;br&gt;Use
577GetFirebaseProject
578for consistent reads as well as for additional Project details.
579
580Args:
581 pageSize: integer, The maximum number of Projects to return in the response.
582&lt;br&gt;
583&lt;br&gt;The server may return fewer than this at its discretion.
584If no value is specified (or too large a value is specified), the server
585will impose its own limit.
586&lt;br&gt;
587&lt;br&gt;This value cannot be negative.
588 pageToken: string, Token returned from a previous call to `ListFirebaseProjects` indicating
589where in the set of Projects to resume listing.
590 x__xgafv: string, V1 error format.
591 Allowed values
592 1 - v1 error format
593 2 - v2 error format
594
595Returns:
596 An object of the form:
597
598 {
599 &quot;nextPageToken&quot;: &quot;A String&quot;, # If the result list is too large to fit in a single response, then a token
600 # is returned. If the string is empty, then this response is the last page of
601 # results.
602 # &lt;br&gt;
603 # &lt;br&gt;This token can be used in a subsequent calls to `ListFirebaseProjects`
604 # to find the next group of Projects.
605 # &lt;br&gt;
606 # &lt;br&gt;Page tokens are short-lived and should not be persisted.
607 &quot;results&quot;: [ # One page of the list of Projects that are accessible to the caller.
608 { # A `FirebaseProject` is the top-level Firebase entity. It is the container for
609 # Firebase Apps, Firebase Hosting sites, storage systems (Firebase Realtime
610 # Database, Cloud Firestore, Cloud Storage buckets) and other Firebase and
611 # Google Cloud Platform (GCP) resources.
612 # &lt;br&gt;
613 # &lt;br&gt;You can create a new `FirebaseProject` in the
614 # [Firebase console](https://console.firebase.google.com/),
615 # or you can add Firebase resources to an existing
616 # [GCP
617 # `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/projects)
618 # by calling
619 # AddFirebase.
620 # &lt;br&gt;
621 # &lt;br&gt;A `FirebaseProject` is actually also a GCP `Project`, so a
622 # `FirebaseProject` uses underlying GCP identifiers (most importantly,
623 # `projectId`) as its own for easy interop with GCP APIs.
624 &quot;name&quot;: &quot;A String&quot;, # The fully qualified resource name of the Project, in the format:
625 # &lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt;
626 &quot;displayName&quot;: &quot;A String&quot;, # The user-assigned display name of the Project.
627 &quot;projectId&quot;: &quot;A String&quot;, # Immutable. The globally unique, user-assigned ID of the Project.
628 &quot;projectNumber&quot;: &quot;A String&quot;, # The globally unique, Google-assigned identifier of the Project.
629 &quot;resources&quot;: { # The default resources associated with a `FirebaseProject`. # The default Firebase resources associated with the Project.
630 &quot;realtimeDatabaseInstance&quot;: &quot;A String&quot;, # The default Firebase Realtime Database instance name, in the format:
631 # &lt;br&gt;&lt;code&gt;&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt;
632 # &lt;br&gt;Though rare, your `projectId` might already be used as the name for an
633 # existing Realtime Database instance in another project (learn more about
634 # [database
635 # sharding](https://firebase.google.com/docs/database/usage/sharding)). In
636 # these cases, your `projectId` is appended with a hyphen then five
637 # alphanumeric characters to create your default Realtime Database instance
638 # name. For example, if your `projectId` is `myproject123`, your default
639 # database instance name might be:
640 # &lt;br&gt;&lt;code&gt;myproject123-a5c16&lt;/code&gt;
641 &quot;locationId&quot;: &quot;A String&quot;, # The ID of the project&#x27;s default GCP resource location. The location is one
642 # of the available
643 # [GCP resource
644 # locations](https://firebase.google.com/docs/projects/locations). &lt;br&gt;
645 # &lt;br&gt;This field is omitted if the default GCP resource location has not been
646 # finalized yet. To set your project&#x27;s default GCP resource location,
647 # call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize)
648 # after you add Firebase services to your project.
649 &quot;hostingSite&quot;: &quot;A String&quot;, # The default Firebase Hosting site name, in the format:
650 # &lt;br&gt;&lt;code&gt;&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt;
651 # &lt;br&gt;Though rare, your `projectId` might already be used as the name for an
652 # existing Hosting site in another project (learn more about creating
653 # non-default,
654 # [additional sites](https://firebase.google.com/docs/hosting/multisites)).
655 # In these cases, your `projectId` is appended with a hyphen then five
656 # alphanumeric characters to create your default Hosting site name. For
657 # example, if your `projectId` is `myproject123`, your default Hosting site
658 # name might be:
659 # &lt;br&gt;&lt;code&gt;myproject123-a5c16&lt;/code&gt;
660 &quot;storageBucket&quot;: &quot;A String&quot;, # The default Cloud Storage for Firebase storage bucket, in the format:
661 # &lt;br&gt;&lt;code&gt;&lt;var&gt;projectId&lt;/var&gt;.appspot.com&lt;/code&gt;
662 },
663 },
664 ],
665 }</pre>
666</div>
667
668<div class="method">
669 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
670 <pre>Retrieves the next page of results.
671
672Args:
673 previous_request: The request for the previous page. (required)
674 previous_response: The response from the request for the previous page. (required)
675
676Returns:
677 A request object that you can call &#x27;execute()&#x27; on to request the next
678 page. Returns None if there are no more items in the collection.
679 </pre>
680</div>
681
682<div class="method">
683 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
684 <pre>Updates the attributes of the FirebaseProject identified by the
685specified resource name.
686&lt;br&gt;
687&lt;br&gt;All [query parameters](#query-parameters) are required.
688
689Args:
690 name: string, The fully qualified resource name of the Project, in the format:
691&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt; (required)
692 body: object, The request body.
693 The object takes the form of:
694
695{ # A `FirebaseProject` is the top-level Firebase entity. It is the container for
696 # Firebase Apps, Firebase Hosting sites, storage systems (Firebase Realtime
697 # Database, Cloud Firestore, Cloud Storage buckets) and other Firebase and
698 # Google Cloud Platform (GCP) resources.
699 # &lt;br&gt;
700 # &lt;br&gt;You can create a new `FirebaseProject` in the
701 # [Firebase console](https://console.firebase.google.com/),
702 # or you can add Firebase resources to an existing
703 # [GCP
704 # `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/projects)
705 # by calling
706 # AddFirebase.
707 # &lt;br&gt;
708 # &lt;br&gt;A `FirebaseProject` is actually also a GCP `Project`, so a
709 # `FirebaseProject` uses underlying GCP identifiers (most importantly,
710 # `projectId`) as its own for easy interop with GCP APIs.
711 &quot;name&quot;: &quot;A String&quot;, # The fully qualified resource name of the Project, in the format:
712 # &lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt;
713 &quot;displayName&quot;: &quot;A String&quot;, # The user-assigned display name of the Project.
714 &quot;projectId&quot;: &quot;A String&quot;, # Immutable. The globally unique, user-assigned ID of the Project.
715 &quot;projectNumber&quot;: &quot;A String&quot;, # The globally unique, Google-assigned identifier of the Project.
716 &quot;resources&quot;: { # The default resources associated with a `FirebaseProject`. # The default Firebase resources associated with the Project.
717 &quot;realtimeDatabaseInstance&quot;: &quot;A String&quot;, # The default Firebase Realtime Database instance name, in the format:
718 # &lt;br&gt;&lt;code&gt;&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt;
719 # &lt;br&gt;Though rare, your `projectId` might already be used as the name for an
720 # existing Realtime Database instance in another project (learn more about
721 # [database
722 # sharding](https://firebase.google.com/docs/database/usage/sharding)). In
723 # these cases, your `projectId` is appended with a hyphen then five
724 # alphanumeric characters to create your default Realtime Database instance
725 # name. For example, if your `projectId` is `myproject123`, your default
726 # database instance name might be:
727 # &lt;br&gt;&lt;code&gt;myproject123-a5c16&lt;/code&gt;
728 &quot;locationId&quot;: &quot;A String&quot;, # The ID of the project&#x27;s default GCP resource location. The location is one
729 # of the available
730 # [GCP resource
731 # locations](https://firebase.google.com/docs/projects/locations). &lt;br&gt;
732 # &lt;br&gt;This field is omitted if the default GCP resource location has not been
733 # finalized yet. To set your project&#x27;s default GCP resource location,
734 # call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize)
735 # after you add Firebase services to your project.
736 &quot;hostingSite&quot;: &quot;A String&quot;, # The default Firebase Hosting site name, in the format:
737 # &lt;br&gt;&lt;code&gt;&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt;
738 # &lt;br&gt;Though rare, your `projectId` might already be used as the name for an
739 # existing Hosting site in another project (learn more about creating
740 # non-default,
741 # [additional sites](https://firebase.google.com/docs/hosting/multisites)).
742 # In these cases, your `projectId` is appended with a hyphen then five
743 # alphanumeric characters to create your default Hosting site name. For
744 # example, if your `projectId` is `myproject123`, your default Hosting site
745 # name might be:
746 # &lt;br&gt;&lt;code&gt;myproject123-a5c16&lt;/code&gt;
747 &quot;storageBucket&quot;: &quot;A String&quot;, # The default Cloud Storage for Firebase storage bucket, in the format:
748 # &lt;br&gt;&lt;code&gt;&lt;var&gt;projectId&lt;/var&gt;.appspot.com&lt;/code&gt;
749 },
750 }
751
752 updateMask: string, Specifies which fields to update.
753&lt;br&gt;
754&lt;br&gt;If this list is empty, then no state will be updated.
755&lt;br&gt;Note that the fields `name`, `project_id`, and `project_number` are all
756immutable.
757 x__xgafv: string, V1 error format.
758 Allowed values
759 1 - v1 error format
760 2 - v2 error format
761
762Returns:
763 An object of the form:
764
765 { # A `FirebaseProject` is the top-level Firebase entity. It is the container for
766 # Firebase Apps, Firebase Hosting sites, storage systems (Firebase Realtime
767 # Database, Cloud Firestore, Cloud Storage buckets) and other Firebase and
768 # Google Cloud Platform (GCP) resources.
769 # &lt;br&gt;
770 # &lt;br&gt;You can create a new `FirebaseProject` in the
771 # [Firebase console](https://console.firebase.google.com/),
772 # or you can add Firebase resources to an existing
773 # [GCP
774 # `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/projects)
775 # by calling
776 # AddFirebase.
777 # &lt;br&gt;
778 # &lt;br&gt;A `FirebaseProject` is actually also a GCP `Project`, so a
779 # `FirebaseProject` uses underlying GCP identifiers (most importantly,
780 # `projectId`) as its own for easy interop with GCP APIs.
781 &quot;name&quot;: &quot;A String&quot;, # The fully qualified resource name of the Project, in the format:
782 # &lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt;
783 &quot;displayName&quot;: &quot;A String&quot;, # The user-assigned display name of the Project.
784 &quot;projectId&quot;: &quot;A String&quot;, # Immutable. The globally unique, user-assigned ID of the Project.
785 &quot;projectNumber&quot;: &quot;A String&quot;, # The globally unique, Google-assigned identifier of the Project.
786 &quot;resources&quot;: { # The default resources associated with a `FirebaseProject`. # The default Firebase resources associated with the Project.
787 &quot;realtimeDatabaseInstance&quot;: &quot;A String&quot;, # The default Firebase Realtime Database instance name, in the format:
788 # &lt;br&gt;&lt;code&gt;&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt;
789 # &lt;br&gt;Though rare, your `projectId` might already be used as the name for an
790 # existing Realtime Database instance in another project (learn more about
791 # [database
792 # sharding](https://firebase.google.com/docs/database/usage/sharding)). In
793 # these cases, your `projectId` is appended with a hyphen then five
794 # alphanumeric characters to create your default Realtime Database instance
795 # name. For example, if your `projectId` is `myproject123`, your default
796 # database instance name might be:
797 # &lt;br&gt;&lt;code&gt;myproject123-a5c16&lt;/code&gt;
798 &quot;locationId&quot;: &quot;A String&quot;, # The ID of the project&#x27;s default GCP resource location. The location is one
799 # of the available
800 # [GCP resource
801 # locations](https://firebase.google.com/docs/projects/locations). &lt;br&gt;
802 # &lt;br&gt;This field is omitted if the default GCP resource location has not been
803 # finalized yet. To set your project&#x27;s default GCP resource location,
804 # call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize)
805 # after you add Firebase services to your project.
806 &quot;hostingSite&quot;: &quot;A String&quot;, # The default Firebase Hosting site name, in the format:
807 # &lt;br&gt;&lt;code&gt;&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt;
808 # &lt;br&gt;Though rare, your `projectId` might already be used as the name for an
809 # existing Hosting site in another project (learn more about creating
810 # non-default,
811 # [additional sites](https://firebase.google.com/docs/hosting/multisites)).
812 # In these cases, your `projectId` is appended with a hyphen then five
813 # alphanumeric characters to create your default Hosting site name. For
814 # example, if your `projectId` is `myproject123`, your default Hosting site
815 # name might be:
816 # &lt;br&gt;&lt;code&gt;myproject123-a5c16&lt;/code&gt;
817 &quot;storageBucket&quot;: &quot;A String&quot;, # The default Cloud Storage for Firebase storage bucket, in the format:
818 # &lt;br&gt;&lt;code&gt;&lt;var&gt;projectId&lt;/var&gt;.appspot.com&lt;/code&gt;
819 },
820 }</pre>
821</div>
822
823<div class="method">
824 <code class="details" id="removeAnalytics">removeAnalytics(parent, body=None, x__xgafv=None)</code>
825 <pre>Unlinks the specified `FirebaseProject` from its Google Analytics account.
826&lt;br&gt;
827&lt;br&gt;This call removes the association of the specified `FirebaseProject`
828with its current Google Analytics property. However, this call does not
829delete the Google Analytics resources, such as the Google Analytics
830property or any data streams.
831&lt;br&gt;
832&lt;br&gt;These resources may be re-associated later to the `FirebaseProject` by
833calling
834[`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics) and
835specifying the same `analyticsPropertyId`. For Android Apps and iOS Apps,
836this call re-links data streams with their corresponding apps. However,
837for Web Apps, this call provisions a &lt;em&gt;new&lt;/em&gt; data stream for each Web
838App.
839&lt;br&gt;
840&lt;br&gt;To call `RemoveAnalytics`, a member must be an Owner for
841the `FirebaseProject`.
842
843Args:
844 parent: string, The parent `FirebaseProject` to unlink from its Google Analytics account,
845in the format:
846&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt; (required)
847 body: object, The request body.
848 The object takes the form of:
849
850{
851 &quot;analyticsPropertyId&quot;: &quot;A String&quot;, # Optional. The ID of the Google Analytics property associated with the
852 # specified `FirebaseProject`.
853 # &lt;ul&gt;
854 # &lt;li&gt;If not set, then the Google Analytics property that is currently
855 # associated with the specified `FirebaseProject` is removed.&lt;/li&gt;
856 # &lt;li&gt;If set, and the specified `FirebaseProject` is currently associated
857 # with a &lt;em&gt;different&lt;/em&gt; Google Analytics property, then the response is a
858 # `412 Precondition Failed` error.&lt;/li&gt;
859 # &lt;/ul&gt;
860 }
861
862 x__xgafv: string, V1 error format.
863 Allowed values
864 1 - v1 error format
865 2 - v2 error format
866
867Returns:
868 An object of the form:
869
870 { # A generic empty message that you can re-use to avoid defining duplicated
871 # empty messages in your APIs. A typical example is to use it as the request
872 # or the response type of an API method. For instance:
873 #
874 # service Foo {
875 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
876 # }
877 #
878 # The JSON representation for `Empty` is empty JSON object `{}`.
879 }</pre>
880</div>
881
882<div class="method">
883 <code class="details" id="searchApps">searchApps(parent, pageToken=None, pageSize=None, x__xgafv=None)</code>
884 <pre>A convenience method that lists all available Apps for the specified
885FirebaseProject.
886&lt;br&gt;
887&lt;br&gt;Typically, interaction with an App should be done using the
888platform-specific service, but some tool use-cases require a summary of all
889known Apps (such as for App selector interfaces).
890
891Args:
892 parent: string, The parent Project for which to list Apps, in the format:
893&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt; (required)
894 pageToken: string, Token returned from a previous call to `SearchFirebaseApps` indicating
895where in the set of Apps to resume listing.
896 pageSize: integer, The maximum number of Apps to return in the response.
897&lt;br&gt;
898&lt;br&gt;The server may return fewer than this value at its discretion.
899If no value is specified (or too large a value is specified), then the
900server will impose its own limit.
901&lt;br&gt;
902&lt;br&gt;This value cannot be negative.
903 x__xgafv: string, V1 error format.
904 Allowed values
905 1 - v1 error format
906 2 - v2 error format
907
908Returns:
909 An object of the form:
910
911 {
912 &quot;apps&quot;: [ # One page of results from a call to `SearchFirebaseApps`.
913 { # A high-level summary of an App.
914 &quot;displayName&quot;: &quot;A String&quot;, # The user-assigned display name of the Firebase App.
915 &quot;appId&quot;: &quot;A String&quot;, # Immutable. The globally unique, Firebase-assigned identifier of the App.
916 # &lt;br&gt;
917 # &lt;br&gt;This identifier should be treated as an opaque token, as the data
918 # format is not specified.
919 &quot;platform&quot;: &quot;A String&quot;, # The platform of the Firebase App.
920 &quot;name&quot;: &quot;A String&quot;, # The fully qualified resource name of the Firebase App, in the format:
921 # &lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/iosApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt;
922 # or &lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/androidApps/&lt;var&gt;appId&lt;/var&gt;
923 # &lt;/code&gt;
924 },
925 ],
926 &quot;nextPageToken&quot;: &quot;A String&quot;, # If the result list is too large to fit in a single response, then a token
927 # is returned.
928 # &lt;br&gt;
929 # &lt;br&gt;This token can be used in a subsequent calls to `SearchFirebaseApps`
930 # to find the next group of Apps.
931 # &lt;br&gt;If the string is empty, then this response is the last page of results.
932 # &lt;br&gt;Page tokens are short-lived and should not be persisted.
933 }</pre>
934</div>
935
936<div class="method">
937 <code class="details" id="searchApps_next">searchApps_next(previous_request, previous_response)</code>
938 <pre>Retrieves the next page of results.
939
940Args:
941 previous_request: The request for the previous page. (required)
942 previous_response: The response from the request for the previous page. (required)
943
944Returns:
945 A request object that you can call &#x27;execute()&#x27; on to request the next
946 page. Returns None if there are no more items in the collection.
947 </pre>
948</div>
949
950</body></html>