Debian Codegraph @

docs/dyn/vmwareengine_v1.projects.locations.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.networkPeerings.html">networkPeerings</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="vmwareengine_v1.projects.locations.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, validateOnly=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. NetworkPeering is a global resource and location can only be global.</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. NetworkPeering is a global resource and location can only be global.</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. NetworkPeering is a global resource and location can only be global.</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. NetworkPeering is a global resource and location can only be global.</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, validateOnly=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. NetworkPeering is a global resource and location can only be global.</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, validateOnly=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. NetworkPeering is a global resource and location can only be global.
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. Identifier. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. 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 validateOnly: boolean, Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request.
140 x__xgafv: string, V1 error format.
141 Allowed values
142 1 - v1 error format
143 2 - v2 error format
144
145 Returns:
146 An object of the form:
147
148 { # This resource represents a long-running operation that is the result of a network API call.
149 &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.
150 &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.
151 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
152 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
153 {
154 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
155 },
156 ],
157 &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.
158 },
159 &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.
160 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
161 },
162 &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}`.
163 &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`.
164 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
165 },
166 }</pre>
167 </div>
168
169 <div class="method">
170 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
171 <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. NetworkPeering is a global resource and location can only be global.
172
173 Args:
174 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)
175 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).
176 x__xgafv: string, V1 error format.
177 Allowed values
178 1 - v1 error format
179 2 - v2 error format
180
181 Returns:
182 An object of the form:
183
184 { # This resource represents a long-running operation that is the result of a network API call.
185 &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.
186 &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.
187 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
188 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
189 {
190 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
191 },
192 ],
193 &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.
194 },
195 &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.
196 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
197 },
198 &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}`.
199 &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`.
200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
201 },
202 }</pre>
203 </div>
204
205 <div class="method">
206 <code class="details" id="get">get(name, x__xgafv=None)</code>
207 <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. NetworkPeering is a global resource and location can only be global.
208
209 Args:
210 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)
211 x__xgafv: string, V1 error format.
212 Allowed values
213 1 - v1 error format
214 2 - v2 error format
215
216 Returns:
217 An object of the form:
218
219 { # Details of a network peering.
220 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
221 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description for this network peering.
222 &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;.
223 &quot;exportCustomRoutes&quot;: True or False, # Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
224 &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.
225 &quot;importCustomRoutes&quot;: True or False, # Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
226 &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.
227 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. 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`
228 &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.
229 &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.
230 &quot;peerNetworkType&quot;: &quot;A String&quot;, # Required. The type of the network to peer with the VMware Engine network.
231 &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.
232 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. Output Only. Details about the current state of the network peering.
233 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-generated unique identifier for the resource.
234 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
235 &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.
236 }</pre>
237 </div>
238
239 <div class="method">
240 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
241 <pre>Lists `NetworkPeering` resources in a given project. NetworkPeering is a global resource and location can only be global.
242
243 Args:
244 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)
245 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;) ```
246 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.
247 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.
248 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.
249 x__xgafv: string, V1 error format.
250 Allowed values
251 1 - v1 error format
252 2 - v2 error format
253
254 Returns:
255 An object of the form:
256
257 { # Response message for VmwareEngine.ListNetworkPeerings
258 &quot;networkPeerings&quot;: [ # A list of network peerings.
259 { # Details of a network peering.
260 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
261 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description for this network peering.
262 &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;.
263 &quot;exportCustomRoutes&quot;: True or False, # Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
264 &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.
265 &quot;importCustomRoutes&quot;: True or False, # Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
266 &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.
267 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. 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`
268 &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.
269 &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.
270 &quot;peerNetworkType&quot;: &quot;A String&quot;, # Required. The type of the network to peer with the VMware Engine network.
271 &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.
272 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. Output Only. Details about the current state of the network peering.
273 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-generated unique identifier for the resource.
274 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
275 &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.
276 },
277 ],
278 &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.
279 &quot;unreachable&quot;: [ # Unreachable resources.
280 &quot;A String&quot;,
281 ],
282 }</pre>
283 </div>
284
285 <div class="method">
286 <code class="details" id="list_next">list_next()</code>
287 <pre>Retrieves the next page of results.
288
289 Args:
290 previous_request: The request for the previous page. (required)
291 previous_response: The response from the request for the previous page. (required)
292
293 Returns:
294 A request object that you can call &#x27;execute()&#x27; on to request the next
295 page. Returns None if there are no more items in the collection.
296 </pre>
297 </div>
298
299 <div class="method">
300 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
301 <pre>Modifies a `NetworkPeering` resource. Only the `description` field can be updated. Only fields specified in `updateMask` are applied. NetworkPeering is a global resource and location can only be global.
302
303 Args:
304 name: string, Output only. Identifier. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. 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)
305 body: object, The request body.
306 The object takes the form of:
307
308 { # Details of a network peering.
309 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
310 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description for this network peering.
311 &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;.
312 &quot;exportCustomRoutes&quot;: True or False, # Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
313 &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.
314 &quot;importCustomRoutes&quot;: True or False, # Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
315 &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.
316 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. 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`
317 &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.
318 &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.
319 &quot;peerNetworkType&quot;: &quot;A String&quot;, # Required. The type of the network to peer with the VMware Engine network.
320 &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.
321 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. Output Only. Details about the current state of the network peering.
322 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-generated unique identifier for the resource.
323 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
324 &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.
325 }
326
327 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).
328 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.
329 validateOnly: boolean, Optional. If set to `true`, only validates the request but doesn’t execute the request. If set to `false`, validates and executes the request.
330 x__xgafv: string, V1 error format.
331 Allowed values
332 1 - v1 error format
333 2 - v2 error format
334
335 Returns:
336 An object of the form:
337
338 { # This resource represents a long-running operation that is the result of a network API call.
339 &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.
340 &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.
341 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
342 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
343 {
344 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
345 },
346 ],
347 &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.
348 },
349 &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.
350 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
351 },
352 &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}`.
353 &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`.
354 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
355 },
356 }</pre>
357 </div>
358
359 </body></html>