blob: b51526e27c3a7ba4caf7dc282c46dda179d76a77 [file] [log] [blame]
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001<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="compute_alpha.html">Compute Engine API</a> . <a href="compute_alpha.interconnectLocations.html">interconnectLocations</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
yoshi-code-bot36591372021-06-16 00:22:06 -070081 <code><a href="#get">get(project, interconnectLocation, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070082<p class="firstline">Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request.</p>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -040083<p class="toc_element">
yoshi-code-bot36591372021-06-16 00:22:06 -070084 <code><a href="#list">list(project, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -040085<p class="firstline">Retrieves the list of interconnect locations available to the specified project.</p>
86<p class="toc_element">
87 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
88<p class="firstline">Retrieves the next page of results.</p>
89<p class="toc_element">
yoshi-code-bot36591372021-06-16 00:22:06 -070090 <code><a href="#testIamPermissions">testIamPermissions(project, resource, body=None, x__xgafv=None)</a></code></p>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -040091<p class="firstline">Returns permissions that a caller has on the specified resource.</p>
92<h3>Method Details</h3>
93<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070094 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96</div>
97
98<div class="method">
yoshi-code-bot36591372021-06-16 00:22:06 -070099 <code class="details" id="get">get(project, interconnectLocation, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700100 <pre>Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400101
102Args:
103 project: string, Project ID for this request. (required)
104 interconnectLocation: string, Name of the interconnect location to return. (required)
yoshi-code-bot36591372021-06-16 00:22:06 -0700105 x__xgafv: string, V1 error format.
106 Allowed values
107 1 - v1 error format
108 2 - v2 error format
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400109
110Returns:
111 An object of the form:
112
yoshi-code-bot36591372021-06-16 00:22:06 -0700113 { # Represents an Interconnect Attachment (VLAN) Location resource. You can use this resource to find location details about an Interconnect attachment (VLAN). For more information about interconnect attachments, read Creating VLAN Attachments.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800114 &quot;address&quot;: &quot;A String&quot;, # [Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.
115 &quot;availabilityZone&quot;: &quot;A String&quot;, # [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: &quot;zone1&quot; or &quot;zone2&quot;.
116 &quot;city&quot;: &quot;A String&quot;, # [Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: &quot;Chicago, IL&quot;, &quot;Amsterdam, Netherlands&quot;.
yoshi-code-bot36591372021-06-16 00:22:06 -0700117 &quot;continent&quot;: &quot;A String&quot;, # [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800118 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
119 &quot;description&quot;: &quot;A String&quot;, # [Output Only] An optional description of the resource.
120 &quot;facilityProvider&quot;: &quot;A String&quot;, # [Output Only] The name of the provider for this facility (e.g., EQUINIX).
121 &quot;facilityProviderFacilityId&quot;: &quot;A String&quot;, # [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1).
122 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
123 &quot;kind&quot;: &quot;compute#interconnectLocation&quot;, # [Output Only] Type of the resource. Always compute#interconnectLocation for interconnect locations.
124 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the resource.
125 &quot;peeringdbFacilityId&quot;: &quot;A String&quot;, # [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).
126 &quot;regionInfos&quot;: [ # [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
127 { # Information about any potential InterconnectAttachments between an Interconnect at a specific InterconnectLocation, and a specific Cloud Region.
128 &quot;expectedRttMs&quot;: &quot;A String&quot;, # Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.
129 &quot;locationPresence&quot;: &quot;A String&quot;, # Identifies the network presence of this location.
130 &quot;region&quot;: &quot;A String&quot;, # URL for the region of this location.
131 },
132 ],
133 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
134 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
yoshi-code-bot36591372021-06-16 00:22:06 -0700135 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700136 &quot;supportsPzs&quot;: True or False, # [Output Only] Set to true for locations that support physical zone separation. Defaults to false if the field is not present.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800137}</pre>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400138</div>
139
140<div class="method">
yoshi-code-bot36591372021-06-16 00:22:06 -0700141 <code class="details" id="list">list(project, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400142 <pre>Retrieves the list of interconnect locations available to the specified project.
143
144Args:
145 project: string, Project ID for this request. (required)
yoshi-code-bot85954412021-12-06 23:26:37 -0800146 filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = &quot;Intel Skylake&quot;) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = &quot;Intel Skylake&quot;) OR (cpuPlatform = &quot;Intel Broadwell&quot;) AND (scheduling.automaticRestart = true) ```
Bu Sun Kim65020912020-05-20 12:08:20 -0700147 maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
yoshi-code-bot36591372021-06-16 00:22:06 -0700148 orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
Bu Sun Kim65020912020-05-20 12:08:20 -0700149 pageToken: string, Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800150 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
yoshi-code-bot36591372021-06-16 00:22:06 -0700151 x__xgafv: string, V1 error format.
152 Allowed values
153 1 - v1 error format
154 2 - v2 error format
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400155
156Returns:
157 An object of the form:
158
159 { # Response to the list request, and contains a list of interconnect locations.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800160 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
161 &quot;items&quot;: [ # A list of InterconnectLocation resources.
yoshi-code-bot36591372021-06-16 00:22:06 -0700162 { # Represents an Interconnect Attachment (VLAN) Location resource. You can use this resource to find location details about an Interconnect attachment (VLAN). For more information about interconnect attachments, read Creating VLAN Attachments.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800163 &quot;address&quot;: &quot;A String&quot;, # [Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.
164 &quot;availabilityZone&quot;: &quot;A String&quot;, # [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: &quot;zone1&quot; or &quot;zone2&quot;.
165 &quot;city&quot;: &quot;A String&quot;, # [Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: &quot;Chicago, IL&quot;, &quot;Amsterdam, Netherlands&quot;.
yoshi-code-bot36591372021-06-16 00:22:06 -0700166 &quot;continent&quot;: &quot;A String&quot;, # [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800167 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
168 &quot;description&quot;: &quot;A String&quot;, # [Output Only] An optional description of the resource.
169 &quot;facilityProvider&quot;: &quot;A String&quot;, # [Output Only] The name of the provider for this facility (e.g., EQUINIX).
170 &quot;facilityProviderFacilityId&quot;: &quot;A String&quot;, # [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1).
171 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
172 &quot;kind&quot;: &quot;compute#interconnectLocation&quot;, # [Output Only] Type of the resource. Always compute#interconnectLocation for interconnect locations.
173 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the resource.
174 &quot;peeringdbFacilityId&quot;: &quot;A String&quot;, # [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).
175 &quot;regionInfos&quot;: [ # [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
176 { # Information about any potential InterconnectAttachments between an Interconnect at a specific InterconnectLocation, and a specific Cloud Region.
177 &quot;expectedRttMs&quot;: &quot;A String&quot;, # Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.
178 &quot;locationPresence&quot;: &quot;A String&quot;, # Identifies the network presence of this location.
179 &quot;region&quot;: &quot;A String&quot;, # URL for the region of this location.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700180 },
181 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800182 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
183 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
yoshi-code-bot36591372021-06-16 00:22:06 -0700184 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700185 &quot;supportsPzs&quot;: True or False, # [Output Only] Set to true for locations that support physical zone separation. Defaults to false if the field is not present.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700186 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800187 ],
188 &quot;kind&quot;: &quot;compute#interconnectLocationList&quot;, # [Output Only] Type of resource. Always compute#interconnectLocationList for lists of interconnect locations.
189 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
190 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
191 &quot;warning&quot;: { # [Output Only] Informational warning message.
192 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
yoshi-code-bot36591372021-06-16 00:22:06 -0700193 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example: &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800194 {
195 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
196 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
197 },
198 ],
199 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
200 },
201}</pre>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400202</div>
203
204<div class="method">
205 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
206 <pre>Retrieves the next page of results.
207
208Args:
209 previous_request: The request for the previous page. (required)
210 previous_response: The response from the request for the previous page. (required)
211
212Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700213 A request object that you can call &#x27;execute()&#x27; on to request the next
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400214 page. Returns None if there are no more items in the collection.
215 </pre>
216</div>
217
218<div class="method">
yoshi-code-bot36591372021-06-16 00:22:06 -0700219 <code class="details" id="testIamPermissions">testIamPermissions(project, resource, body=None, x__xgafv=None)</code>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400220 <pre>Returns permissions that a caller has on the specified resource.
221
222Args:
223 project: string, Project ID for this request. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700224 resource: string, Name or id of the resource for this request. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700225 body: object, The request body.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400226 The object takes the form of:
227
228{
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800229 &quot;permissions&quot;: [ # The set of permissions to check for the &#x27;resource&#x27;. Permissions with wildcards (such as &#x27;*&#x27; or &#x27;storage.*&#x27;) are not allowed.
230 &quot;A String&quot;,
231 ],
232}
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400233
yoshi-code-bot36591372021-06-16 00:22:06 -0700234 x__xgafv: string, V1 error format.
235 Allowed values
236 1 - v1 error format
237 2 - v2 error format
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400238
239Returns:
240 An object of the form:
241
242 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800243 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
244 &quot;A String&quot;,
245 ],
246}</pre>
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400247</div>
248
249</body></html>