Debian Codegraph @

docs/dyn/vmwareengine_v1.projects.locations.global_.networkPeerings.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="vmwareengine_v1.html">VMware Engine API</a> . <a href="vmwareengine_v1.projects.html">projects</a> . <a href="vmwareengine_v1.projects.locations.html">locations</a> . <a href="vmwareengine_v1.projects.locations.global_.html">global_</a> . <a href="vmwareengine_v1.projects.locations.global_.networkPeerings.html">networkPeerings</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="vmwareengine_v1.projects.locations.global_.networkPeerings.peeringRoutes.html">peeringRoutes()</a></code>
79 </p>
80 <p class="firstline">Returns the peeringRoutes Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, networkPeeringId=None, requestId=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes a `NetworkPeering` resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Retrieves a `NetworkPeering` resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Lists `NetworkPeering` resources in a given project.</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <p class="toc_element">
101 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Modifies a `NetworkPeering` resource. Only the `description` field can be updated. Only fields specified in `updateMask` are applied.</p>
103 <h3>Method Details</h3>
104 <div class="method">
105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107 </div>
108
109 <div class="method">
110 <code class="details" id="create">create(parent, body=None, networkPeeringId=None, requestId=None, x__xgafv=None)</code>
111 <pre>Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource.
112
113 Args:
114 parent: string, Required. The resource name of the location to create the new network peering in. This value is always `global`, because `NetworkPeering` is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global` (required)
115 body: object, The request body.
116 The object takes the form of:
117
118 { # Details of a network peering.
119 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
120 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description for this network peering.
121 &quot;exchangeSubnetRoutes&quot;: True or False, # Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is &#x27;ACTIVE&#x27;.
122 &quot;exportCustomRoutes&quot;: True or False, # Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
123 &quot;exportCustomRoutesWithPublicIp&quot;: True or False, # Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
124 &quot;importCustomRoutes&quot;: True or False, # Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
125 &quot;importCustomRoutesWithPublicIp&quot;: True or False, # Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.
126 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`
127 &quot;peerMtu&quot;: 42, # Optional. Maximum transmission unit (MTU) in bytes. The default value is `1500`. If a value of `0` is provided for this field, VMware Engine uses the default value instead.
128 &quot;peerNetwork&quot;: &quot;A String&quot;, # Required. The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the `peer_network_type` is VMWARE_ENGINE_NETWORK, specify the name in the form: `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. Otherwise specify the name in the form: `projects/{project}/global/networks/{network_id}`, where `{project}` can either be a project number or a project ID.
129 &quot;peerNetworkType&quot;: &quot;A String&quot;, # Required. The type of the network to peer with the VMware Engine network.
130 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the network peering. This field has a value of &#x27;ACTIVE&#x27; when there&#x27;s a matching configuration in the peer network. New values may be added to this enum when appropriate.
131 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. Output Only. Details about the current state of the network peering.
132 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-generated unique identifier for the resource.
133 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
134 &quot;vmwareEngineNetwork&quot;: &quot;A String&quot;, # Required. The relative resource name of the VMware Engine network. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.
135 }
136
137 networkPeeringId: string, Required. The user-provided identifier of the new `NetworkPeering`. This identifier must be unique among `NetworkPeering` resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
138 requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn&#x27;t result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
139 x__xgafv: string, V1 error format.
140 Allowed values
141 1 - v1 error format
142 2 - v2 error format
143
144 Returns:
145 An object of the form:
146
147 { # This resource represents a long-running operation that is the result of a network API call.
148 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
149 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
150 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
151 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
152 {
153 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
154 },
155 ],
156 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
157 },
158 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
159 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
160 },
161 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
162 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
163 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
164 },
165 }</pre>
166 </div>
167
168 <div class="method">
169 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
170 <pre>Deletes a `NetworkPeering` resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network.
171
172 Args:
173 name: string, Required. The resource name of the network peering to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering` (required)
174 requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn&#x27;t result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
175 x__xgafv: string, V1 error format.
176 Allowed values
177 1 - v1 error format
178 2 - v2 error format
179
180 Returns:
181 An object of the form:
182
183 { # This resource represents a long-running operation that is the result of a network API call.
184 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
185 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
186 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
187 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
188 {
189 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
190 },
191 ],
192 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
193 },
194 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
195 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
196 },
197 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
198 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
199 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
200 },
201 }</pre>
202 </div>
203
204 <div class="method">
205 <code class="details" id="get">get(name, x__xgafv=None)</code>
206 <pre>Retrieves a `NetworkPeering` resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state.
207
208 Args:
209 name: string, Required. The resource name of the network peering to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering` (required)
210 x__xgafv: string, V1 error format.
211 Allowed values
212 1 - v1 error format
213 2 - v2 error format
214
215 Returns:
216 An object of the form:
217
218 { # Details of a network peering.
219 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
220 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description for this network peering.
221 &quot;exchangeSubnetRoutes&quot;: True or False, # Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is &#x27;ACTIVE&#x27;.
222 &quot;exportCustomRoutes&quot;: True or False, # Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
223 &quot;exportCustomRoutesWithPublicIp&quot;: True or False, # Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
224 &quot;importCustomRoutes&quot;: True or False, # Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
225 &quot;importCustomRoutesWithPublicIp&quot;: True or False, # Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.
226 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`
227 &quot;peerMtu&quot;: 42, # Optional. Maximum transmission unit (MTU) in bytes. The default value is `1500`. If a value of `0` is provided for this field, VMware Engine uses the default value instead.
228 &quot;peerNetwork&quot;: &quot;A String&quot;, # Required. The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the `peer_network_type` is VMWARE_ENGINE_NETWORK, specify the name in the form: `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. Otherwise specify the name in the form: `projects/{project}/global/networks/{network_id}`, where `{project}` can either be a project number or a project ID.
229 &quot;peerNetworkType&quot;: &quot;A String&quot;, # Required. The type of the network to peer with the VMware Engine network.
230 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the network peering. This field has a value of &#x27;ACTIVE&#x27; when there&#x27;s a matching configuration in the peer network. New values may be added to this enum when appropriate.
231 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. Output Only. Details about the current state of the network peering.
232 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-generated unique identifier for the resource.
233 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
234 &quot;vmwareEngineNetwork&quot;: &quot;A String&quot;, # Required. The relative resource name of the VMware Engine network. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.
235 }</pre>
236 </div>
237
238 <div class="method">
239 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
240 <pre>Lists `NetworkPeering` resources in a given project.
241
242 Args:
243 parent: string, Required. The resource name of the location (global) to query for network peerings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global` (required)
244 filter: string, A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `&gt;`, or `&lt;`. For example, if you are filtering a list of network peerings, you can exclude the ones named `example-peering` by specifying `name != &quot;example-peering&quot;`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = &quot;example-peering&quot;) (createTime &gt; &quot;2021-04-12T08:15:10.40Z&quot;) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = &quot;example-peering-1&quot;) AND (createTime &gt; &quot;2021-04-12T08:15:10.40Z&quot;) OR (name = &quot;example-peering-2&quot;) ```
245 orderBy: string, Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=&quot;name desc&quot;`. Currently, only ordering by `name` is supported.
246 pageSize: integer, The maximum number of network peerings to return in one page. The maximum value is coerced to 1000. The default value of this field is 500.
247 pageToken: string, A page token, received from a previous `ListNetworkPeerings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNetworkPeerings` must match the call that provided the page token.
248 x__xgafv: string, V1 error format.
249 Allowed values
250 1 - v1 error format
251 2 - v2 error format
252
253 Returns:
254 An object of the form:
255
256 { # Response message for VmwareEngine.ListNetworkPeerings
257 &quot;networkPeerings&quot;: [ # A list of network peerings.
258 { # Details of a network peering.
259 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
260 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description for this network peering.
261 &quot;exchangeSubnetRoutes&quot;: True or False, # Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is &#x27;ACTIVE&#x27;.
262 &quot;exportCustomRoutes&quot;: True or False, # Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
263 &quot;exportCustomRoutesWithPublicIp&quot;: True or False, # Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
264 &quot;importCustomRoutes&quot;: True or False, # Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
265 &quot;importCustomRoutesWithPublicIp&quot;: True or False, # Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.
266 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`
267 &quot;peerMtu&quot;: 42, # Optional. Maximum transmission unit (MTU) in bytes. The default value is `1500`. If a value of `0` is provided for this field, VMware Engine uses the default value instead.
268 &quot;peerNetwork&quot;: &quot;A String&quot;, # Required. The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the `peer_network_type` is VMWARE_ENGINE_NETWORK, specify the name in the form: `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. Otherwise specify the name in the form: `projects/{project}/global/networks/{network_id}`, where `{project}` can either be a project number or a project ID.
269 &quot;peerNetworkType&quot;: &quot;A String&quot;, # Required. The type of the network to peer with the VMware Engine network.
270 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the network peering. This field has a value of &#x27;ACTIVE&#x27; when there&#x27;s a matching configuration in the peer network. New values may be added to this enum when appropriate.
271 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. Output Only. Details about the current state of the network peering.
272 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-generated unique identifier for the resource.
273 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
274 &quot;vmwareEngineNetwork&quot;: &quot;A String&quot;, # Required. The relative resource name of the VMware Engine network. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.
275 },
276 ],
277 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
278 &quot;unreachable&quot;: [ # Unreachable resources.
279 &quot;A String&quot;,
280 ],
281 }</pre>
282 </div>
283
284 <div class="method">
285 <code class="details" id="list_next">list_next()</code>
286 <pre>Retrieves the next page of results.
287
288 Args:
289 previous_request: The request for the previous page. (required)
290 previous_response: The response from the request for the previous page. (required)
291
292 Returns:
293 A request object that you can call &#x27;execute()&#x27; on to request the next
294 page. Returns None if there are no more items in the collection.
295 </pre>
296 </div>
297
298 <div class="method">
299 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
300 <pre>Modifies a `NetworkPeering` resource. Only the `description` field can be updated. Only fields specified in `updateMask` are applied.
301
302 Args:
303 name: string, Output only. The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering` (required)
304 body: object, The request body.
305 The object takes the form of:
306
307 { # Details of a network peering.
308 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
309 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description for this network peering.
310 &quot;exchangeSubnetRoutes&quot;: True or False, # Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is &#x27;ACTIVE&#x27;.
311 &quot;exportCustomRoutes&quot;: True or False, # Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
312 &quot;exportCustomRoutesWithPublicIp&quot;: True or False, # Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
313 &quot;importCustomRoutes&quot;: True or False, # Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
314 &quot;importCustomRoutesWithPublicIp&quot;: True or False, # Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.
315 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`
316 &quot;peerMtu&quot;: 42, # Optional. Maximum transmission unit (MTU) in bytes. The default value is `1500`. If a value of `0` is provided for this field, VMware Engine uses the default value instead.
317 &quot;peerNetwork&quot;: &quot;A String&quot;, # Required. The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the `peer_network_type` is VMWARE_ENGINE_NETWORK, specify the name in the form: `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. Otherwise specify the name in the form: `projects/{project}/global/networks/{network_id}`, where `{project}` can either be a project number or a project ID.
318 &quot;peerNetworkType&quot;: &quot;A String&quot;, # Required. The type of the network to peer with the VMware Engine network.
319 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the network peering. This field has a value of &#x27;ACTIVE&#x27; when there&#x27;s a matching configuration in the peer network. New values may be added to this enum when appropriate.
320 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. Output Only. Details about the current state of the network peering.
321 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-generated unique identifier for the resource.
322 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
323 &quot;vmwareEngineNetwork&quot;: &quot;A String&quot;, # Required. The relative resource name of the VMware Engine network. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.
324 }
325
326 requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn&#x27;t result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
327 updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the `NetworkPeering` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
328 x__xgafv: string, V1 error format.
329 Allowed values
330 1 - v1 error format
331 2 - v2 error format
332
333 Returns:
334 An object of the form:
335
336 { # This resource represents a long-running operation that is the result of a network API call.
337 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
338 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
339 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
340 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
341 {
342 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
343 },
344 ],
345 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
346 },
347 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
348 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
349 },
350 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
351 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
352 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
353 },
354 }</pre>
355 </div>
356
357 </body></html>