blob: 15cdaee69404b21c4a6417341d3a1da3cc74f13e [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.availableLocations.html">availableLocations</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Returns a list of valid Google Cloud Platform (GCP) resource locations for</p>
80<p class="toc_element">
81 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
82<p class="firstline">Retrieves the next page of results.</p>
83<h3>Method Details</h3>
84<div class="method">
85 <code class="details" id="list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</code>
86 <pre>Returns a list of valid Google Cloud Platform (GCP) resource locations for
87the specified Project (including a FirebaseProject).
88&lt;br&gt;
89&lt;br&gt;One of these locations can be selected as the Project&#x27;s [_default_ GCP
90resource location](https://firebase.google.com/docs/projects/locations),
91which is the geographical location where project resources, such as Cloud
92Firestore, will be provisioned by default. However, if the default GCP
93resource location has already been set for the Project, then this setting
94cannot be changed.
95&lt;br&gt;
96&lt;br&gt;This call checks for any possible
97[location
98restrictions](https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations)
99for the specified Project and, thus, might return a subset of all possible
100GCP resource locations. To list all GCP resource locations (regardless of
101any restrictions), call the endpoint without specifying a `projectId` (that
102is, `/v1beta1/{parent=projects/-}/listAvailableLocations`).
103&lt;br&gt;
104&lt;br&gt;To call `ListAvailableLocations` with a specified project, a member
105must be at minimum a Viewer of the project. Calls without a specified
106project do not require any specific project permissions.
107
108Args:
109 parent: string, The Project for which to list GCP resource locations, in the format:
110&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;&lt;/code&gt;
111&lt;br&gt;If no project is specified (that is, `projects/-`), the returned list
112does not take into account org-specific or project-specific location
113restrictions. (required)
114 pageToken: string, Token returned from a previous call to `ListAvailableLocations` indicating
115where in the list of locations to resume listing.
116 pageSize: integer, The maximum number of locations to return in the response.
117&lt;br&gt;
118&lt;br&gt;The server may return fewer than this value at its discretion.
119If no value is specified (or too large a value is specified), then the
120server will impose its own limit.
121&lt;br&gt;
122&lt;br&gt;This value cannot be negative.
123 x__xgafv: string, V1 error format.
124 Allowed values
125 1 - v1 error format
126 2 - v2 error format
127
128Returns:
129 An object of the form:
130
131 {
132 &quot;nextPageToken&quot;: &quot;A String&quot;, # If the result list is too large to fit in a single response, then a token
133 # is returned. If the string is empty, then this response is the last page of
134 # results and all available locations have been listed.
135 # &lt;br&gt;
136 # &lt;br&gt;This token can be used in a subsequent call to
137 # `ListAvailableLocations` to find more locations.
138 # &lt;br&gt;
139 # &lt;br&gt;Page tokens are short-lived and should not be persisted.
140 &quot;locations&quot;: [ # One page of results from a call to `ListAvailableLocations`.
141 { # A GCP resource location that can be selected for a Project.
142 &quot;locationId&quot;: &quot;A String&quot;, # The ID of the GCP resource location. It will be one of the available [GCP
143 # resource
144 # locations](https://firebase.google.com/docs/projects/locations#types).
145 &quot;type&quot;: &quot;A String&quot;, # Indicates whether the GCP resource location is a [regional or
146 # multi-regional
147 # location](https://firebase.google.com/docs/projects/locations#types)
148 # for data replication.
149 &quot;features&quot;: [ # Products and services that are available in the GCP resource location.
150 &quot;A String&quot;,
151 ],
152 },
153 ],
154 }</pre>
155</div>
156
157<div class="method">
158 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
159 <pre>Retrieves the next page of results.
160
161Args:
162 previous_request: The request for the previous page. (required)
163 previous_response: The response from the request for the previous page. (required)
164
165Returns:
166 A request object that you can call &#x27;execute()&#x27; on to request the next
167 page. Returns None if there are no more items in the collection.
168 </pre>
169</div>
170
171</body></html>