| <html><body> | |
| <style> | |
| body, h1, h2, h3, div, span, p, pre, a { | |
| margin: 0; | |
| padding: 0; | |
| border: 0; | |
| font-weight: inherit; | |
| font-style: inherit; | |
| font-size: 100%; | |
| font-family: inherit; | |
| vertical-align: baseline; | |
| } | |
| body { | |
| font-size: 13px; | |
| padding: 1em; | |
| } | |
| h1 { | |
| font-size: 26px; | |
| margin-bottom: 1em; | |
| } | |
| h2 { | |
| font-size: 24px; | |
| margin-bottom: 1em; | |
| } | |
| h3 { | |
| font-size: 20px; | |
| margin-bottom: 1em; | |
| margin-top: 1em; | |
| } | |
| pre, code { | |
| line-height: 1.5; | |
| font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; | |
| } | |
| pre { | |
| margin-top: 0.5em; | |
| } | |
| h1, h2, h3, p { | |
| font-family: Arial, sans serif; | |
| } | |
| h1, h2, h3 { | |
| border-bottom: solid #CCC 1px; | |
| } | |
| .toc_element { | |
| margin-top: 0.5em; | |
| } | |
| .firstline { | |
| margin-left: 2 em; | |
| } | |
| .method { | |
| margin-top: 1em; | |
| border: solid 1px #CCC; | |
| padding: 1em; | |
| background: #EEE; | |
| } | |
| .details { | |
| font-weight: bold; | |
| font-size: 14px; | |
| } | |
| </style> | |
| <h1><a href="firebase_v1beta1.html">Firebase Management API</a> . <a href="firebase_v1beta1.projects.html">projects</a> . <a href="firebase_v1beta1.projects.availableLocations.html">availableLocations</a></h1> | |
| <h2>Instance Methods</h2> | |
| <p class="toc_element"> | |
| <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> | |
| <p class="firstline">Returns a list of valid Google Cloud Platform (GCP) resource locations for</p> | |
| <p class="toc_element"> | |
| <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> | |
| <p class="firstline">Retrieves the next page of results.</p> | |
| <h3>Method Details</h3> | |
| <div class="method"> | |
| <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code> | |
| <pre>Returns a list of valid Google Cloud Platform (GCP) resource locations for | |
| the specified Project (including a FirebaseProject). | |
| <br> | |
| <br>One of these locations can be selected as the Project's [_default_ GCP | |
| resource location](https://firebase.google.com/docs/projects/locations), | |
| which is the geographical location where project resources, such as Cloud | |
| Firestore, will be provisioned by default. However, if the default GCP | |
| resource location has already been set for the Project, then this setting | |
| cannot be changed. | |
| <br> | |
| <br>This call checks for any possible | |
| [location | |
| restrictions](https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations) | |
| for the specified Project and, thus, might return a subset of all possible | |
| GCP resource locations. To list all GCP resource locations (regardless of | |
| any restrictions), call the endpoint without specifying a `projectId` (that | |
| is, `/v1beta1/{parent=projects/-}/listAvailableLocations`). | |
| <br> | |
| <br>To call `ListAvailableLocations` with a specified project, a member | |
| must be at minimum a Viewer of the project. Calls without a specified | |
| project do not require any specific project permissions. | |
| Args: | |
| parent: string, The Project for which to list GCP resource locations, in the format: | |
| <br><code>projects/<var>projectId</var></code> | |
| <br>If no project is specified (that is, `projects/-`), the returned list | |
| does not take into account org-specific or project-specific location | |
| restrictions. (required) | |
| pageSize: integer, The maximum number of locations to return in the response. | |
| <br> | |
| <br>The server may return fewer than this value at its discretion. | |
| If no value is specified (or too large a value is specified), then the | |
| server will impose its own limit. | |
| <br> | |
| <br>This value cannot be negative. | |
| pageToken: string, Token returned from a previous call to `ListAvailableLocations` indicating | |
| where in the list of locations to resume listing. | |
| x__xgafv: string, V1 error format. | |
| Allowed values | |
| 1 - v1 error format | |
| 2 - v2 error format | |
| Returns: | |
| An object of the form: | |
| { | |
| "nextPageToken": "A String", # If the result list is too large to fit in a single response, then a token | |
| # is returned. If the string is empty, then this response is the last page of | |
| # results and all available locations have been listed. | |
| # <br> | |
| # <br>This token can be used in a subsequent call to | |
| # `ListAvailableLocations` to find more locations. | |
| # <br> | |
| # <br>Page tokens are short-lived and should not be persisted. | |
| "locations": [ # One page of results from a call to `ListAvailableLocations`. | |
| { # A GCP resource location that can be selected for a Project. | |
| "features": [ # Products and services that are available in the GCP resource location. | |
| "A String", | |
| ], | |
| "locationId": "A String", # The ID of the GCP resource location. It will be one of the available [GCP | |
| # resource | |
| # locations](https://firebase.google.com/docs/projects/locations#types). | |
| "type": "A String", # Indicates whether the GCP resource location is a [regional or | |
| # multi-regional | |
| # location](https://firebase.google.com/docs/projects/locations#types) | |
| # for data replication. | |
| }, | |
| ], | |
| }</pre> | |
| </div> | |
| <div class="method"> | |
| <code class="details" id="list_next">list_next(previous_request, previous_response)</code> | |
| <pre>Retrieves the next page of results. | |
| Args: | |
| previous_request: The request for the previous page. (required) | |
| previous_response: The response from the request for the previous page. (required) | |
| Returns: | |
| A request object that you can call 'execute()' on to request the next | |
| page. Returns None if there are no more items in the collection. | |
| </pre> | |
| </div> | |
| </body></html> |