Debian Codegraph @

docs/dyn/cloudlocationfinder_v1.projects.locations.cloudLocations.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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="cloudlocationfinder_v1.html">Cloud Location Finder API</a> . <a href="cloudlocationfinder_v1.projects.html">projects</a> . <a href="cloudlocationfinder_v1.projects.locations.html">locations</a> . <a href="cloudlocationfinder_v1.projects.locations.cloudLocations.html">cloudLocations</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82 <p class="firstline">Retrieves a resource containing information about a cloud location.</p>
83 <p class="toc_element">
84 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Lists cloud locations under a given project and location.</p>
86 <p class="toc_element">
87 <code><a href="#list_next">list_next()</a></code></p>
88 <p class="firstline">Retrieves the next page of results.</p>
89 <p class="toc_element">
90 <code><a href="#search">search(parent, pageSize=None, pageToken=None, query=None, sourceCloudLocation=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Searches for cloud locations from a given source location.</p>
92 <p class="toc_element">
93 <code><a href="#search_next">search_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="get">get(name, x__xgafv=None)</code>
103 <pre>Retrieves a resource containing information about a cloud location.
104
105 Args:
106 name: string, Required. Name of the resource. (required)
107 x__xgafv: string, V1 error format.
108 Allowed values
109 1 - v1 error format
110 2 - v2 error format
111
112 Returns:
113 An object of the form:
114
115 { # Represents resource cloud locations.
116 &quot;carbonFreeEnergyPercentage&quot;: 3.14, # Optional. The carbon free energy percentage of the cloud location. This represents the average percentage of time customers&#x27; application will be running on carbon-free energy. See https://cloud.google.com/sustainability/region-carbon for more details. There is a difference between default value 0 and unset value. 0 means the carbon free energy percentage is 0%, while unset value means the carbon footprint data is not available.
117 &quot;cloudLocationType&quot;: &quot;A String&quot;, # Optional. The type of the cloud location.
118 &quot;cloudProvider&quot;: &quot;A String&quot;, # Optional. The provider of the cloud location. Values can be Google Cloud or third-party providers, including AWS, Azure, or Oracle Cloud Infrastructure.
119 &quot;containingCloudLocation&quot;: &quot;A String&quot;, # Output only. The containing cloud location in the strict nesting hierarchy. For example, the containing cloud location of a zone is a region.
120 &quot;displayName&quot;: &quot;A String&quot;, # Optional. The human-readable name of the cloud location. Example: us-east-2, us-east1.
121 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the cloud location. Unique name of the cloud location including project and location using the form: `projects/{project_id}/locations/{location}/cloudLocations/{cloud_location}`
122 &quot;territoryCode&quot;: &quot;A String&quot;, # Optional. The two-letter ISO 3166-1 alpha-2 code of the cloud location. Examples: US, JP, KR.
123 }</pre>
124 </div>
125
126 <div class="method">
127 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
128 <pre>Lists cloud locations under a given project and location.
129
130 Args:
131 parent: string, Required. The parent, which owns this collection of cloud locations. Format: projects/{project}/locations/{location} (required)
132 filter: string, Optional. A filter expression that filters resources listed in the response. The expression is in the form of field=value. For example, &#x27;cloud_location_type=CLOUD_LOCATION_TYPE_REGION&#x27;. Multiple filter queries are space-separated. For example, &#x27;cloud_location_type=CLOUD_LOCATION_TYPE_REGION territory_code=&quot;US&quot;&#x27; By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly.
133 pageSize: integer, Optional. The maximum number of cloud locations to return per page. The service might return fewer cloud locations than this value. If unspecified, server will pick an appropriate default.
134 pageToken: string, Optional. A token identifying a page of results the server should return. Provide page token returned by a previous &#x27;ListCloudLocations&#x27; call to retrieve the next page of results. When paginating, all other parameters provided to &#x27;ListCloudLocations&#x27; must match the call that provided the page token.
135 x__xgafv: string, V1 error format.
136 Allowed values
137 1 - v1 error format
138 2 - v2 error format
139
140 Returns:
141 An object of the form:
142
143 { # Message for response to listing cloud locations.
144 &quot;cloudLocations&quot;: [ # Output only. List of cloud locations.
145 { # Represents resource cloud locations.
146 &quot;carbonFreeEnergyPercentage&quot;: 3.14, # Optional. The carbon free energy percentage of the cloud location. This represents the average percentage of time customers&#x27; application will be running on carbon-free energy. See https://cloud.google.com/sustainability/region-carbon for more details. There is a difference between default value 0 and unset value. 0 means the carbon free energy percentage is 0%, while unset value means the carbon footprint data is not available.
147 &quot;cloudLocationType&quot;: &quot;A String&quot;, # Optional. The type of the cloud location.
148 &quot;cloudProvider&quot;: &quot;A String&quot;, # Optional. The provider of the cloud location. Values can be Google Cloud or third-party providers, including AWS, Azure, or Oracle Cloud Infrastructure.
149 &quot;containingCloudLocation&quot;: &quot;A String&quot;, # Output only. The containing cloud location in the strict nesting hierarchy. For example, the containing cloud location of a zone is a region.
150 &quot;displayName&quot;: &quot;A String&quot;, # Optional. The human-readable name of the cloud location. Example: us-east-2, us-east1.
151 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the cloud location. Unique name of the cloud location including project and location using the form: `projects/{project_id}/locations/{location}/cloudLocations/{cloud_location}`
152 &quot;territoryCode&quot;: &quot;A String&quot;, # Optional. The two-letter ISO 3166-1 alpha-2 code of the cloud location. Examples: US, JP, KR.
153 },
154 ],
155 &quot;nextPageToken&quot;: &quot;A String&quot;, # Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token in subsequent requests to retrieve the next page. If this field is not present, there are no subsequent results.
156 }</pre>
157 </div>
158
159 <div class="method">
160 <code class="details" id="list_next">list_next()</code>
161 <pre>Retrieves the next page of results.
162
163 Args:
164 previous_request: The request for the previous page. (required)
165 previous_response: The response from the request for the previous page. (required)
166
167 Returns:
168 A request object that you can call &#x27;execute()&#x27; on to request the next
169 page. Returns None if there are no more items in the collection.
170 </pre>
171 </div>
172
173 <div class="method">
174 <code class="details" id="search">search(parent, pageSize=None, pageToken=None, query=None, sourceCloudLocation=None, x__xgafv=None)</code>
175 <pre>Searches for cloud locations from a given source location.
176
177 Args:
178 parent: string, Required. The parent, which owns this collection of cloud locations. Format: projects/{project}/locations/{location} (required)
179 pageSize: integer, Optional. The maximum number of cloud locations to return. The service might return fewer cloud locations than this value. If unspecified, server will pick an appropriate default.
180 pageToken: string, Optional. A token identifying a page of results the server should return. Provide Page token returned by a previous &#x27;ListCloudLocations&#x27; call to retrieve the next page of results. When paginating, all other parameters provided to &#x27;ListCloudLocations&#x27; must match the call that provided the page token.
181 query: string, Optional. The query string in search query syntax. While filter is used to filter the search results by attributes, query is used to specify the search requirements.
182 sourceCloudLocation: string, Required. The source cloud location to search from. Example search can be searching nearby cloud locations from the source cloud location by latency.
183 x__xgafv: string, V1 error format.
184 Allowed values
185 1 - v1 error format
186 2 - v2 error format
187
188 Returns:
189 An object of the form:
190
191 { # Message for response to searching cloud locations.
192 &quot;cloudLocations&quot;: [ # Output only. List of cloud locations.
193 { # Represents resource cloud locations.
194 &quot;carbonFreeEnergyPercentage&quot;: 3.14, # Optional. The carbon free energy percentage of the cloud location. This represents the average percentage of time customers&#x27; application will be running on carbon-free energy. See https://cloud.google.com/sustainability/region-carbon for more details. There is a difference between default value 0 and unset value. 0 means the carbon free energy percentage is 0%, while unset value means the carbon footprint data is not available.
195 &quot;cloudLocationType&quot;: &quot;A String&quot;, # Optional. The type of the cloud location.
196 &quot;cloudProvider&quot;: &quot;A String&quot;, # Optional. The provider of the cloud location. Values can be Google Cloud or third-party providers, including AWS, Azure, or Oracle Cloud Infrastructure.
197 &quot;containingCloudLocation&quot;: &quot;A String&quot;, # Output only. The containing cloud location in the strict nesting hierarchy. For example, the containing cloud location of a zone is a region.
198 &quot;displayName&quot;: &quot;A String&quot;, # Optional. The human-readable name of the cloud location. Example: us-east-2, us-east1.
199 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the cloud location. Unique name of the cloud location including project and location using the form: `projects/{project_id}/locations/{location}/cloudLocations/{cloud_location}`
200 &quot;territoryCode&quot;: &quot;A String&quot;, # Optional. The two-letter ISO 3166-1 alpha-2 code of the cloud location. Examples: US, JP, KR.
201 },
202 ],
203 &quot;nextPageToken&quot;: &quot;A String&quot;, # Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token in subsequent requests to retrieve the next page. If this field is not present, there are no subsequent results.
204 }</pre>
205 </div>
206
207 <div class="method">
208 <code class="details" id="search_next">search_next()</code>
209 <pre>Retrieves the next page of results.
210
211 Args:
212 previous_request: The request for the previous page. (required)
213 previous_response: The response from the request for the previous page. (required)
214
215 Returns:
216 A request object that you can call &#x27;execute()&#x27; on to request the next
217 page. Returns None if there are no more items in the collection.
218 </pre>
219 </div>
220
221 </body></html>