| 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="networkconnectivity_v1.html">Network Connectivity API</a> . <a href="networkconnectivity_v1.projects.html">projects</a> . <a href="networkconnectivity_v1.projects.locations.html">locations</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="networkconnectivity_v1.projects.locations.automatedDnsRecords.html">automatedDnsRecords()</a></code> |
| 79 |
</p> |
| 80 |
<p class="firstline">Returns the automatedDnsRecords Resource.</p> |
| 81 |
|
| 82 |
<p class="toc_element"> |
| 83 |
<code><a href="networkconnectivity_v1.projects.locations.global_.html">global_()</a></code> |
| 84 |
</p> |
| 85 |
<p class="firstline">Returns the global_ Resource.</p> |
| 86 |
|
| 87 |
<p class="toc_element"> |
| 88 |
<code><a href="networkconnectivity_v1.projects.locations.internalRanges.html">internalRanges()</a></code> |
| 89 |
</p> |
| 90 |
<p class="firstline">Returns the internalRanges Resource.</p> |
| 91 |
|
| 92 |
<p class="toc_element"> |
| 93 |
<code><a href="networkconnectivity_v1.projects.locations.multicloudDataTransferConfigs.html">multicloudDataTransferConfigs()</a></code> |
| 94 |
</p> |
| 95 |
<p class="firstline">Returns the multicloudDataTransferConfigs Resource.</p> |
| 96 |
|
| 97 |
<p class="toc_element"> |
| 98 |
<code><a href="networkconnectivity_v1.projects.locations.multicloudDataTransferSupportedServices.html">multicloudDataTransferSupportedServices()</a></code> |
| 99 |
</p> |
| 100 |
<p class="firstline">Returns the multicloudDataTransferSupportedServices Resource.</p> |
| 101 |
|
| 102 |
<p class="toc_element"> |
| 103 |
<code><a href="networkconnectivity_v1.projects.locations.operations.html">operations()</a></code> |
| 104 |
</p> |
| 105 |
<p class="firstline">Returns the operations Resource.</p> |
| 106 |
|
| 107 |
<p class="toc_element"> |
| 108 |
<code><a href="networkconnectivity_v1.projects.locations.regionalEndpoints.html">regionalEndpoints()</a></code> |
| 109 |
</p> |
| 110 |
<p class="firstline">Returns the regionalEndpoints Resource.</p> |
| 111 |
|
| 112 |
<p class="toc_element"> |
| 113 |
<code><a href="networkconnectivity_v1.projects.locations.remoteTransportProfiles.html">remoteTransportProfiles()</a></code> |
| 114 |
</p> |
| 115 |
<p class="firstline">Returns the remoteTransportProfiles Resource.</p> |
| 116 |
|
| 117 |
<p class="toc_element"> |
| 118 |
<code><a href="networkconnectivity_v1.projects.locations.serviceClasses.html">serviceClasses()</a></code> |
| 119 |
</p> |
| 120 |
<p class="firstline">Returns the serviceClasses Resource.</p> |
| 121 |
|
| 122 |
<p class="toc_element"> |
| 123 |
<code><a href="networkconnectivity_v1.projects.locations.serviceConnectionMaps.html">serviceConnectionMaps()</a></code> |
| 124 |
</p> |
| 125 |
<p class="firstline">Returns the serviceConnectionMaps Resource.</p> |
| 126 |
|
| 127 |
<p class="toc_element"> |
| 128 |
<code><a href="networkconnectivity_v1.projects.locations.serviceConnectionPolicies.html">serviceConnectionPolicies()</a></code> |
| 129 |
</p> |
| 130 |
<p class="firstline">Returns the serviceConnectionPolicies Resource.</p> |
| 131 |
|
| 132 |
<p class="toc_element"> |
| 133 |
<code><a href="networkconnectivity_v1.projects.locations.serviceConnectionTokens.html">serviceConnectionTokens()</a></code> |
| 134 |
</p> |
| 135 |
<p class="firstline">Returns the serviceConnectionTokens Resource.</p> |
| 136 |
|
| 137 |
<p class="toc_element"> |
| 138 |
<code><a href="networkconnectivity_v1.projects.locations.spokes.html">spokes()</a></code> |
| 139 |
</p> |
| 140 |
<p class="firstline">Returns the spokes Resource.</p> |
| 141 |
|
| 142 |
<p class="toc_element"> |
| 143 |
<code><a href="networkconnectivity_v1.projects.locations.transports.html">transports()</a></code> |
| 144 |
</p> |
| 145 |
<p class="firstline">Returns the transports Resource.</p> |
| 146 |
|
| 147 |
<p class="toc_element"> |
| 148 |
<code><a href="#checkConsumerConfig">checkConsumerConfig(location, body=None, x__xgafv=None)</a></code></p> |
| 149 |
<p class="firstline">CheckConsumerConfig validates the consumer network and project for potential PSC connection creation. This method performs several checks, including: - Validating the existence and permissions of the service class. - Ensuring the consumer network exists and is accessible. - Verifying XPN relationships if applicable. - Checking for compatible IP versions between the consumer network and the requested version. This method performs a dynamic IAM check for the `networkconnectivity.serviceClasses.use` permission on the service class resource in the Prepare phase.</p> |
| 150 |
<p class="toc_element"> |
| 151 |
<code><a href="#close">close()</a></code></p> |
| 152 |
<p class="firstline">Close httplib2 connections.</p> |
| 153 |
<p class="toc_element"> |
| 154 |
<code><a href="#get">get(name, x__xgafv=None)</a></code></p> |
| 155 |
<p class="firstline">Gets information about a location.</p> |
| 156 |
<p class="toc_element"> |
| 157 |
<code><a href="#list">list(name, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> |
| 158 |
<p class="firstline">Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.</p> |
| 159 |
<p class="toc_element"> |
| 160 |
<code><a href="#list_next">list_next()</a></code></p> |
| 161 |
<p class="firstline">Retrieves the next page of results.</p> |
| 162 |
<h3>Method Details</h3> |
| 163 |
<div class="method"> |
| 164 |
<code class="details" id="checkConsumerConfig">checkConsumerConfig(location, body=None, x__xgafv=None)</code> |
| 165 |
<pre>CheckConsumerConfig validates the consumer network and project for potential PSC connection creation. This method performs several checks, including: - Validating the existence and permissions of the service class. - Ensuring the consumer network exists and is accessible. - Verifying XPN relationships if applicable. - Checking for compatible IP versions between the consumer network and the requested version. This method performs a dynamic IAM check for the `networkconnectivity.serviceClasses.use` permission on the service class resource in the Prepare phase. |
| 166 |
|
| 167 |
Args: |
| 168 |
location: string, Required. The location resource path. Example: - projects/{project}/locations/{location} (required) |
| 169 |
body: object, The request body. |
| 170 |
The object takes the form of: |
| 171 |
|
| 172 |
{ # Request for CheckConsumerConfig. |
| 173 |
"consumerNetwork": "A String", # Required. Full resource name of the consumer network. Example: - projects/{project}/global/networks/{network}. |
| 174 |
"endpointProject": "A String", # The project number or ID where the PSC endpoint is to be created. |
| 175 |
"requestedIpVersion": "A String", # The requested IP Version |
| 176 |
"serviceClass": "A String", # Required. The service class identifier of the producer. |
| 177 |
} |
| 178 |
|
| 179 |
x__xgafv: string, V1 error format. |
| 180 |
Allowed values |
| 181 |
1 - v1 error format |
| 182 |
2 - v2 error format |
| 183 |
|
| 184 |
Returns: |
| 185 |
An object of the form: |
| 186 |
|
| 187 |
{ # Response for CheckConsumerConfig. |
| 188 |
"errors": [ # List of validation errors. If the list is empty, the consumer config is valid. |
| 189 |
"A String", |
| 190 |
], |
| 191 |
}</pre> |
| 192 |
</div> |
| 193 |
|
| 194 |
<div class="method"> |
| 195 |
<code class="details" id="close">close()</code> |
| 196 |
<pre>Close httplib2 connections.</pre> |
| 197 |
</div> |
| 198 |
|
| 199 |
<div class="method"> |
| 200 |
<code class="details" id="get">get(name, x__xgafv=None)</code> |
| 201 |
<pre>Gets information about a location. |
| 202 |
|
| 203 |
Args: |
| 204 |
name: string, Resource name for the location. (required) |
| 205 |
x__xgafv: string, V1 error format. |
| 206 |
Allowed values |
| 207 |
1 - v1 error format |
| 208 |
2 - v2 error format |
| 209 |
|
| 210 |
Returns: |
| 211 |
An object of the form: |
| 212 |
|
| 213 |
{ # A resource that represents a Google Cloud location. |
| 214 |
"displayName": "A String", # The friendly name for this location, typically a nearby city name. For example, "Tokyo". |
| 215 |
"labels": { # Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} |
| 216 |
"a_key": "A String", |
| 217 |
}, |
| 218 |
"locationId": "A String", # The canonical id for this location. For example: `"us-east1"`. |
| 219 |
"metadata": { # Service-specific metadata. For example the available capacity at the given location. |
| 220 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 221 |
}, |
| 222 |
"name": "A String", # Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` |
| 223 |
}</pre> |
| 224 |
</div> |
| 225 |
|
| 226 |
<div class="method"> |
| 227 |
<code class="details" id="list">list(name, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code> |
| 228 |
<pre>Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. |
| 229 |
|
| 230 |
Args: |
| 231 |
name: string, The resource that owns the locations collection, if applicable. (required) |
| 232 |
extraLocationTypes: string, Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. (repeated) |
| 233 |
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). |
| 234 |
pageSize: integer, The maximum number of results to return. If not set, the service selects a default. |
| 235 |
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. |
| 236 |
x__xgafv: string, V1 error format. |
| 237 |
Allowed values |
| 238 |
1 - v1 error format |
| 239 |
2 - v2 error format |
| 240 |
|
| 241 |
Returns: |
| 242 |
An object of the form: |
| 243 |
|
| 244 |
{ # The response message for Locations.ListLocations. |
| 245 |
"locations": [ # A list of locations that matches the specified filter in the request. |
| 246 |
{ # A resource that represents a Google Cloud location. |
| 247 |
"displayName": "A String", # The friendly name for this location, typically a nearby city name. For example, "Tokyo". |
| 248 |
"labels": { # Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} |
| 249 |
"a_key": "A String", |
| 250 |
}, |
| 251 |
"locationId": "A String", # The canonical id for this location. For example: `"us-east1"`. |
| 252 |
"metadata": { # Service-specific metadata. For example the available capacity at the given location. |
| 253 |
"a_key": "", # Properties of the object. Contains field @type with type URL. |
| 254 |
}, |
| 255 |
"name": "A String", # Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` |
| 256 |
}, |
| 257 |
], |
| 258 |
"nextPageToken": "A String", # The standard List next-page token. |
| 259 |
}</pre> |
| 260 |
</div> |
| 261 |
|
| 262 |
<div class="method"> |
| 263 |
<code class="details" id="list_next">list_next()</code> |
| 264 |
<pre>Retrieves the next page of results. |
| 265 |
|
| 266 |
Args: |
| 267 |
previous_request: The request for the previous page. (required) |
| 268 |
previous_response: The response from the request for the previous page. (required) |
| 269 |
|
| 270 |
Returns: |
| 271 |
A request object that you can call 'execute()' on to request the next |
| 272 |
page. Returns None if there are no more items in the collection. |
| 273 |
</pre> |
| 274 |
</div> |
| 275 |
|
| 276 |
</body></html> |