3.14.0-rc 3.13.0 (latest) 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 2.48.0-rc 2.47.1 2.46.0 2.45.0 2.44.0 2.43.0 2.42.0 2.41.0 2.40.0 2.39.0 2.38.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.29.0 2.28.0 2.27.0 2.26.0 2.25.1 2.24.0 2.23.0 2.22.1 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.1 2.14.0 2.13.0 2.12.0 2.11.0 VMwareEngine manages VMware's private clusters in the Cloud.

###### Equality

Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal `std::shared_ptr<*Connection>` objects compare equal. Objects that compare equal share the same underlying resources.

###### Performance

Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.

###### Thread Safety

Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.

## Constructors

### VmwareEngineClient(VmwareEngineClient const \&)

Copy and move support

| **Parameter** ||
|---|---|
| **Name** | **Description** |
|   | `VmwareEngineClient const &` |

### VmwareEngineClient(VmwareEngineClient \&\&)

Copy and move support

| **Parameter** ||
|---|---|
| **Name** | **Description** |
|   | `VmwareEngineClient &&` |

### VmwareEngineClient(std::shared_ptr\< VmwareEngineConnection \>, Options)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `std::shared_ptr< VmwareEngineConnection >` |
| `opts` | `Options` |

## Operators

### operator=(VmwareEngineClient const \&)

Copy and move support

| **Parameter** ||
|---|---|
| **Name** | **Description** |
|   | `VmwareEngineClient const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `VmwareEngineClient &` |   |

### operator=(VmwareEngineClient \&\&)

Copy and move support

| **Parameter** ||
|---|---|
| **Name** | **Description** |
|   | `VmwareEngineClient &&` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `VmwareEngineClient &` |   |

## Functions

### ListPrivateClouds(std::string const \&, Options)

Lists `PrivateCloud` resources in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the private cloud to be queried for clusters. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::PrivateCloud >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListPrivateClouds(google::cloud::vmwareengine::v1::ListPrivateCloudsRequest, Options)

Lists `PrivateCloud` resources in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListPrivateCloudsRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListPrivateCloudsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1021). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::PrivateCloud >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetPrivateCloud(std::string const \&, Options)

Retrieves a `PrivateCloud` resource by its resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the private cloud 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/us-central1-a/privateClouds/my-cloud` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::PrivateCloud >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetPrivateCloud(google::cloud::vmwareengine::v1::GetPrivateCloudRequest const \&, Options)

Retrieves a `PrivateCloud` resource by its resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetPrivateCloudRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetPrivateCloudRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1100). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::PrivateCloud >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### CreatePrivateCloud(std::string const \&, google::cloud::vmwareengine::v1::PrivateCloud const \&, std::string const \&, Options)

Creates a new `PrivateCloud` resource in a given project and location.
Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are regional. Creating a private cloud also creates a [management cluster](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components) for that private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the location to create the new private cloud in. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a` |
| `private_cloud` | `google::cloud::vmwareengine::v1::PrivateCloud const &` Required. The initial description of the new private cloud. |
| `private_cloud_id` | `std::string const &` Required. The user-provided identifier of the private cloud to be created. This identifier must be unique among each `PrivateCloud` 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) |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreatePrivateCloud(NoAwaitTag, std::string const \&, google::cloud::vmwareengine::v1::PrivateCloud const \&, std::string const \&, Options)

Creates a new `PrivateCloud` resource in a given project and location.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `parent` | `std::string const &` |
| `private_cloud` | `google::cloud::vmwareengine::v1::PrivateCloud const &` |
| `private_cloud_id` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreatePrivateCloud(google::cloud::vmwareengine::v1::CreatePrivateCloudRequest const \&, Options)

Creates a new `PrivateCloud` resource in a given project and location.
Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are regional. Creating a private cloud also creates a [management cluster](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components) for that private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::CreatePrivateCloudRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.CreatePrivateCloudRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1116). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreatePrivateCloud(NoAwaitTag, google::cloud::vmwareengine::v1::CreatePrivateCloudRequest const \&, Options)

Creates a new `PrivateCloud` resource in a given project and location.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::CreatePrivateCloudRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreatePrivateCloud(google::longrunning::Operation const \&, Options)

Creates a new `PrivateCloud` resource in a given project and location.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` |   |

### UpdatePrivateCloud(google::cloud::vmwareengine::v1::PrivateCloud const \&, google::protobuf::FieldMask const \&, Options)

Modifies a `PrivateCloud` resource.
Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied.

During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `private_cloud` | `google::cloud::vmwareengine::v1::PrivateCloud const &` Required. Private cloud description. |
| `update_mask` | `google::protobuf::FieldMask const &` Required. Field mask is used to specify the fields to be overwritten in the `PrivateCloud` resource by the update. The fields specified in `updateMask` 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. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdatePrivateCloud(NoAwaitTag, google::cloud::vmwareengine::v1::PrivateCloud const \&, google::protobuf::FieldMask const \&, Options)

Modifies a `PrivateCloud` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `private_cloud` | `google::cloud::vmwareengine::v1::PrivateCloud const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdatePrivateCloud(google::cloud::vmwareengine::v1::UpdatePrivateCloudRequest const \&, Options)

Modifies a `PrivateCloud` resource.
Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied.

During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::UpdatePrivateCloudRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.UpdatePrivateCloudRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1156). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdatePrivateCloud(NoAwaitTag, google::cloud::vmwareengine::v1::UpdatePrivateCloudRequest const \&, Options)

Modifies a `PrivateCloud` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::UpdatePrivateCloudRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdatePrivateCloud(google::longrunning::Operation const \&, Options)

Modifies a `PrivateCloud` resource.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` |   |

### DeletePrivateCloud(std::string const \&, Options)

Schedules a `PrivateCloud` resource for deletion.
A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `expireTime` set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the `PrivateCloud` is successfully scheduled for deletion (this also applies when `delayHours` is set to zero), and the operation is not kept in pending state until `PrivateCloud` is purged. `PrivateCloud` can be restored using `UndeletePrivateCloud` method before the `expireTime` elapses. When `expireTime` is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, `PrivateCloud.state` is set to `PURGING`. `PrivateCloud` can be polled using standard `GET` method for the whole period of deletion and purging. It will not be returned only when it is completely purged.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the private cloud to delete. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeletePrivateCloud(NoAwaitTag, std::string const \&, Options)

Schedules a `PrivateCloud` resource for deletion.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeletePrivateCloud(google::cloud::vmwareengine::v1::DeletePrivateCloudRequest const \&, Options)

Schedules a `PrivateCloud` resource for deletion.
A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `expireTime` set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the `PrivateCloud` is successfully scheduled for deletion (this also applies when `delayHours` is set to zero), and the operation is not kept in pending state until `PrivateCloud` is purged. `PrivateCloud` can be restored using `UndeletePrivateCloud` method before the `expireTime` elapses. When `expireTime` is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, `PrivateCloud.state` is set to `PURGING`. `PrivateCloud` can be polled using standard `GET` method for the whole period of deletion and purging. It will not be returned only when it is completely purged.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::DeletePrivateCloudRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.DeletePrivateCloudRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1175). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeletePrivateCloud(NoAwaitTag, google::cloud::vmwareengine::v1::DeletePrivateCloudRequest const \&, Options)

Schedules a `PrivateCloud` resource for deletion.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::DeletePrivateCloudRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeletePrivateCloud(google::longrunning::Operation const \&, Options)

Schedules a `PrivateCloud` resource for deletion.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` |   |

### UndeletePrivateCloud(std::string const \&, Options)

Restores a private cloud that was previously scheduled for deletion by `DeletePrivateCloud`.
A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `PrivateCloud.expireTime` set to the time when deletion can no longer be reversed.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the private cloud scheduled for deletion. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UndeletePrivateCloud(NoAwaitTag, std::string const \&, Options)

Restores a private cloud that was previously scheduled for deletion by `DeletePrivateCloud`.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UndeletePrivateCloud(google::cloud::vmwareengine::v1::UndeletePrivateCloudRequest const \&, Options)

Restores a private cloud that was previously scheduled for deletion by `DeletePrivateCloud`.
A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `PrivateCloud.expireTime` set to the time when deletion can no longer be reversed.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::UndeletePrivateCloudRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.UndeletePrivateCloudRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1212). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UndeletePrivateCloud(NoAwaitTag, google::cloud::vmwareengine::v1::UndeletePrivateCloudRequest const \&, Options)

Restores a private cloud that was previously scheduled for deletion by `DeletePrivateCloud`.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::UndeletePrivateCloudRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UndeletePrivateCloud(google::longrunning::Operation const \&, Options)

Restores a private cloud that was previously scheduled for deletion by `DeletePrivateCloud`.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` |   |

### ListClusters(std::string const \&, Options)

Lists `Cluster` resources in a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the private cloud to query for clusters. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::Cluster >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.Cluster](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L252), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListClusters(google::cloud::vmwareengine::v1::ListClustersRequest, Options)

Lists `Cluster` resources in a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListClustersRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListClustersRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1232). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::Cluster >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.Cluster](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L252), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetCluster(std::string const \&, Options)

Retrieves a `Cluster` resource by its resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The cluster resource name 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/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::Cluster >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.Cluster](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L252)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetCluster(google::cloud::vmwareengine::v1::GetClusterRequest const \&, Options)

Retrieves a `Cluster` resource by its resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetClusterRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetClusterRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1299). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::Cluster >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.Cluster](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L252)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### CreateCluster(std::string const \&, google::cloud::vmwareengine::v1::Cluster const \&, std::string const \&, Options)

Creates a new cluster in a given private cloud.
Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient [node quota](https://cloud.google.com/vmware-engine/quotas).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` |
| `cluster` | `google::cloud::vmwareengine::v1::Cluster const &` Required. The initial description of the new cluster. |
| `cluster_id` | `std::string const &` Required. The user-provided identifier of the new `Cluster`. This identifier must be unique among clusters 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) |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::Cluster > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.Cluster](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L252) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateCluster(NoAwaitTag, std::string const \&, google::cloud::vmwareengine::v1::Cluster const \&, std::string const \&, Options)

Creates a new cluster in a given private cloud.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `parent` | `std::string const &` |
| `cluster` | `google::cloud::vmwareengine::v1::Cluster const &` |
| `cluster_id` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateCluster(google::cloud::vmwareengine::v1::CreateClusterRequest const \&, Options)

Creates a new cluster in a given private cloud.
Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient [node quota](https://cloud.google.com/vmware-engine/quotas).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::CreateClusterRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.CreateClusterRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1315). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::Cluster > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.Cluster](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L252) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateCluster(NoAwaitTag, google::cloud::vmwareengine::v1::CreateClusterRequest const \&, Options)

Creates a new cluster in a given private cloud.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::CreateClusterRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateCluster(google::longrunning::Operation const \&, Options)

Creates a new cluster in a given private cloud.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::Cluster > >` |   |

### UpdateCluster(google::cloud::vmwareengine::v1::Cluster const \&, google::protobuf::FieldMask const \&, Options)

Modifies a `Cluster` resource.
Only fields specified in `updateMask` are applied.

During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `cluster` | `google::cloud::vmwareengine::v1::Cluster const &` Required. The description of the cluster. |
| `update_mask` | `google::protobuf::FieldMask const &` Required. Field mask is used to specify the fields to be overwritten in the `Cluster` resource by the update. The fields specified in the `updateMask` 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. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::Cluster > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.Cluster](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L252) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateCluster(NoAwaitTag, google::cloud::vmwareengine::v1::Cluster const \&, google::protobuf::FieldMask const \&, Options)

Modifies a `Cluster` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `cluster` | `google::cloud::vmwareengine::v1::Cluster const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateCluster(google::cloud::vmwareengine::v1::UpdateClusterRequest const \&, Options)

Modifies a `Cluster` resource.
Only fields specified in `updateMask` are applied.

During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::UpdateClusterRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.UpdateClusterRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1355). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::Cluster > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.Cluster](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L252) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateCluster(NoAwaitTag, google::cloud::vmwareengine::v1::UpdateClusterRequest const \&, Options)

Modifies a `Cluster` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::UpdateClusterRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateCluster(google::longrunning::Operation const \&, Options)

Modifies a `Cluster` resource.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::Cluster > >` |   |

### DeleteCluster(std::string const \&, Options)

Deletes a `Cluster` resource.
To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management cluster of a private cloud using this method.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the cluster to delete. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteCluster(NoAwaitTag, std::string const \&, Options)

Deletes a `Cluster` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteCluster(google::cloud::vmwareengine::v1::DeleteClusterRequest const \&, Options)

Deletes a `Cluster` resource.
To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management cluster of a private cloud using this method.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::DeleteClusterRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.DeleteClusterRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1378). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteCluster(NoAwaitTag, google::cloud::vmwareengine::v1::DeleteClusterRequest const \&, Options)

Deletes a `Cluster` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::DeleteClusterRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteCluster(google::longrunning::Operation const \&, Options)

Deletes a `Cluster` resource.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` |   |

### ListNodes(std::string const \&, Options)

Lists nodes in a given cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the cluster to be queried for nodes. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::Node >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.Node](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L323), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListNodes(google::cloud::vmwareengine::v1::ListNodesRequest, Options)

Lists nodes in a given cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListNodesRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListNodesRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1398). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::Node >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.Node](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L323), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetNode(std::string const \&, Options)

Gets details of a single node.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the node to retrieve. For example: `projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}/nodes/{node}` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::Node >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.Node](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L323)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetNode(google::cloud::vmwareengine::v1::GetNodeRequest const \&, Options)

Gets details of a single node.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetNodeRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetNodeRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1439). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::Node >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.Node](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L323)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### ListExternalAddresses(std::string const \&, Options)

Lists external IP addresses assigned to VMware workload VMs in a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the private cloud to be queried for external IP addresses. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::ExternalAddress >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.ExternalAddress](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L378), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListExternalAddresses(google::cloud::vmwareengine::v1::ListExternalAddressesRequest, Options)

Lists external IP addresses assigned to VMware workload VMs in a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListExternalAddressesRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListExternalAddressesRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1453). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::ExternalAddress >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.ExternalAddress](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L378), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### FetchNetworkPolicyExternalAddresses(std::string const \&, Options)

Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `network_policy` | `std::string const &` Required. The resource name of the network policy to query for assigned external IP addresses. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::ExternalAddress >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.ExternalAddress](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L378), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### FetchNetworkPolicyExternalAddresses(google::cloud::vmwareengine::v1::FetchNetworkPolicyExternalAddressesRequest, Options)

Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::FetchNetworkPolicyExternalAddressesRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.FetchNetworkPolicyExternalAddressesRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1532). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::ExternalAddress >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.ExternalAddress](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L378), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetExternalAddress(std::string const \&, Options)

Gets details of a single external IP address.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the external IP address 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/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::ExternalAddress >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.ExternalAddress](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L378)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetExternalAddress(google::cloud::vmwareengine::v1::GetExternalAddressRequest const \&, Options)

Gets details of a single external IP address.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetExternalAddressRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetExternalAddressRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1575). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::ExternalAddress >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.ExternalAddress](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L378)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### CreateExternalAddress(std::string const \&, google::cloud::vmwareengine::v1::ExternalAddress const \&, std::string const \&, Options)

Creates a new `ExternalAddress` resource in a given private cloud.
The network policy that corresponds to the private cloud must have the external IP address network service enabled (`NetworkPolicy.external_ip`).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the private cloud to create a new external IP address in. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` |
| `external_address` | `google::cloud::vmwareengine::v1::ExternalAddress const &` Required. The initial description of a new external IP address. |
| `external_address_id` | `std::string const &` Required. The user-provided identifier of the `ExternalAddress` to be created. This identifier must be unique among `ExternalAddress` 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) |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ExternalAddress > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.ExternalAddress](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L378) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateExternalAddress(NoAwaitTag, std::string const \&, google::cloud::vmwareengine::v1::ExternalAddress const \&, std::string const \&, Options)

Creates a new `ExternalAddress` resource in a given private cloud.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `parent` | `std::string const &` |
| `external_address` | `google::cloud::vmwareengine::v1::ExternalAddress const &` |
| `external_address_id` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateExternalAddress(google::cloud::vmwareengine::v1::CreateExternalAddressRequest const \&, Options)

Creates a new `ExternalAddress` resource in a given private cloud.
The network policy that corresponds to the private cloud must have the external IP address network service enabled (`NetworkPolicy.external_ip`).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::CreateExternalAddressRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.CreateExternalAddressRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1591). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ExternalAddress > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.ExternalAddress](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L378) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateExternalAddress(NoAwaitTag, google::cloud::vmwareengine::v1::CreateExternalAddressRequest const \&, Options)

Creates a new `ExternalAddress` resource in a given private cloud.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::CreateExternalAddressRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateExternalAddress(google::longrunning::Operation const \&, Options)

Creates a new `ExternalAddress` resource in a given private cloud.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ExternalAddress > >` |   |

### UpdateExternalAddress(google::cloud::vmwareengine::v1::ExternalAddress const \&, google::protobuf::FieldMask const \&, Options)

Updates the parameters of a single external IP address.
Only fields specified in `update_mask` are applied.

During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `external_address` | `google::cloud::vmwareengine::v1::ExternalAddress const &` Required. External IP address description. |
| `update_mask` | `google::protobuf::FieldMask const &` Required. Field mask is used to specify the fields to be overwritten in the `ExternalAddress` 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. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ExternalAddress > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.ExternalAddress](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L378) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateExternalAddress(NoAwaitTag, google::cloud::vmwareengine::v1::ExternalAddress const \&, google::protobuf::FieldMask const \&, Options)

Updates the parameters of a single external IP address.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `external_address` | `google::cloud::vmwareengine::v1::ExternalAddress const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateExternalAddress(google::cloud::vmwareengine::v1::UpdateExternalAddressRequest const \&, Options)

Updates the parameters of a single external IP address.
Only fields specified in `update_mask` are applied.

During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::UpdateExternalAddressRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.UpdateExternalAddressRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1640). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ExternalAddress > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.ExternalAddress](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L378) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateExternalAddress(NoAwaitTag, google::cloud::vmwareengine::v1::UpdateExternalAddressRequest const \&, Options)

Updates the parameters of a single external IP address.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::UpdateExternalAddressRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateExternalAddress(google::longrunning::Operation const \&, Options)

Updates the parameters of a single external IP address.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ExternalAddress > >` |   |

### DeleteExternalAddress(std::string const \&, Options)

Deletes a single external IP address.
When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the external IP address to delete. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteExternalAddress(NoAwaitTag, std::string const \&, Options)

Deletes a single external IP address.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteExternalAddress(google::cloud::vmwareengine::v1::DeleteExternalAddressRequest const \&, Options)

Deletes a single external IP address.
When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::DeleteExternalAddressRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.DeleteExternalAddressRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1671). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteExternalAddress(NoAwaitTag, google::cloud::vmwareengine::v1::DeleteExternalAddressRequest const \&, Options)

Deletes a single external IP address.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::DeleteExternalAddressRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteExternalAddress(google::longrunning::Operation const \&, Options)

Deletes a single external IP address.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` |   |

### ListSubnets(std::string const \&, Options)

Lists subnets in a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the private cloud to be queried for subnets. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::Subnet >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.Subnet](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L435), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListSubnets(google::cloud::vmwareengine::v1::ListSubnetsRequest, Options)

Lists subnets in a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListSubnetsRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListSubnetsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1703). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::Subnet >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.Subnet](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L435), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetSubnet(std::string const \&, Options)

Gets details of a single subnet.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the subnet 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/us-central1-a/privateClouds/my-cloud/subnets/my-subnet` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::Subnet >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.Subnet](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L435)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetSubnet(google::cloud::vmwareengine::v1::GetSubnetRequest const \&, Options)

Gets details of a single subnet.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetSubnetRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetSubnetRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1748). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::Subnet >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.Subnet](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L435)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### UpdateSubnet(google::cloud::vmwareengine::v1::Subnet const \&, google::protobuf::FieldMask const \&, Options)

Updates the parameters of a single subnet.
Only fields specified in `update_mask` are applied.

*Note* : This API is synchronous and always returns a successful `google.longrunning.Operation` (LRO). The returned LRO will only have `done` and `response` fields.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `subnet` | `google::cloud::vmwareengine::v1::Subnet const &` Required. Subnet description. |
| `update_mask` | `google::protobuf::FieldMask const &` Required. Field mask is used to specify the fields to be overwritten in the `Subnet` 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. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::Subnet > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.Subnet](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L435) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateSubnet(NoAwaitTag, google::cloud::vmwareengine::v1::Subnet const \&, google::protobuf::FieldMask const \&, Options)

Updates the parameters of a single subnet.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `subnet` | `google::cloud::vmwareengine::v1::Subnet const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateSubnet(google::cloud::vmwareengine::v1::UpdateSubnetRequest const \&, Options)

Updates the parameters of a single subnet.
Only fields specified in `update_mask` are applied.

*Note* : This API is synchronous and always returns a successful `google.longrunning.Operation` (LRO). The returned LRO will only have `done` and `response` fields.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::UpdateSubnetRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.UpdateSubnetRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1764). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::Subnet > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.Subnet](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L435) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateSubnet(NoAwaitTag, google::cloud::vmwareengine::v1::UpdateSubnetRequest const \&, Options)

Updates the parameters of a single subnet.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::UpdateSubnetRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateSubnet(google::longrunning::Operation const \&, Options)

Updates the parameters of a single subnet.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::Subnet > >` |   |

### ListExternalAccessRules(std::string const \&, Options)

Lists `ExternalAccessRule` resources in the specified network policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the network policy to query for external access firewall rules. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::ExternalAccessRule >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.ExternalAccessRule](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L493), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListExternalAccessRules(google::cloud::vmwareengine::v1::ListExternalAccessRulesRequest, Options)

Lists `ExternalAccessRule` resources in the specified network policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListExternalAccessRulesRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListExternalAccessRulesRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1779). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::ExternalAccessRule >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.ExternalAccessRule](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L493), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetExternalAccessRule(std::string const \&, Options)

Gets details of a single external access rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the external access firewall rule 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/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::ExternalAccessRule >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.ExternalAccessRule](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L493)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetExternalAccessRule(google::cloud::vmwareengine::v1::GetExternalAccessRuleRequest const \&, Options)

Gets details of a single external access rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetExternalAccessRuleRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetExternalAccessRuleRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1858). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::ExternalAccessRule >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.ExternalAccessRule](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L493)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### CreateExternalAccessRule(std::string const \&, google::cloud::vmwareengine::v1::ExternalAccessRule const \&, std::string const \&, Options)

Creates a new external access rule in a given network policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the network policy to create a new external access firewall rule in. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy` |
| `external_access_rule` | `google::cloud::vmwareengine::v1::ExternalAccessRule const &` Required. The initial description of a new external access rule. |
| `external_access_rule_id` | `std::string const &` Required. The user-provided identifier of the `ExternalAccessRule` to be created. This identifier must be unique among `ExternalAccessRule` 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) |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ExternalAccessRule > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.ExternalAccessRule](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L493) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateExternalAccessRule(NoAwaitTag, std::string const \&, google::cloud::vmwareengine::v1::ExternalAccessRule const \&, std::string const \&, Options)

Creates a new external access rule in a given network policy.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `parent` | `std::string const &` |
| `external_access_rule` | `google::cloud::vmwareengine::v1::ExternalAccessRule const &` |
| `external_access_rule_id` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateExternalAccessRule(google::cloud::vmwareengine::v1::CreateExternalAccessRuleRequest const \&, Options)

Creates a new external access rule in a given network policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::CreateExternalAccessRuleRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.CreateExternalAccessRuleRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1874). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ExternalAccessRule > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.ExternalAccessRule](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L493) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateExternalAccessRule(NoAwaitTag, google::cloud::vmwareengine::v1::CreateExternalAccessRuleRequest const \&, Options)

Creates a new external access rule in a given network policy.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::CreateExternalAccessRuleRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateExternalAccessRule(google::longrunning::Operation const \&, Options)

Creates a new external access rule in a given network policy.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ExternalAccessRule > >` |   |

### UpdateExternalAccessRule(google::cloud::vmwareengine::v1::ExternalAccessRule const \&, google::protobuf::FieldMask const \&, Options)

Updates the parameters of a single external access rule.
Only fields specified in `update_mask` are applied.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `external_access_rule` | `google::cloud::vmwareengine::v1::ExternalAccessRule const &` Required. Description of the external access rule. |
| `update_mask` | `google::protobuf::FieldMask const &` Required. Field mask is used to specify the fields to be overwritten in the `ExternalAccessRule` 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. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ExternalAccessRule > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.ExternalAccessRule](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L493) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateExternalAccessRule(NoAwaitTag, google::cloud::vmwareengine::v1::ExternalAccessRule const \&, google::protobuf::FieldMask const \&, Options)

Updates the parameters of a single external access rule.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `external_access_rule` | `google::cloud::vmwareengine::v1::ExternalAccessRule const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateExternalAccessRule(google::cloud::vmwareengine::v1::UpdateExternalAccessRuleRequest const \&, Options)

Updates the parameters of a single external access rule.
Only fields specified in `update_mask` are applied.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::UpdateExternalAccessRuleRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.UpdateExternalAccessRuleRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1924). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ExternalAccessRule > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.ExternalAccessRule](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L493) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateExternalAccessRule(NoAwaitTag, google::cloud::vmwareengine::v1::UpdateExternalAccessRuleRequest const \&, Options)

Updates the parameters of a single external access rule.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::UpdateExternalAccessRuleRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateExternalAccessRule(google::longrunning::Operation const \&, Options)

Updates the parameters of a single external access rule.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ExternalAccessRule > >` |   |

### DeleteExternalAccessRule(std::string const \&, Options)

Deletes a single external access rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the external access firewall rule to delete. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteExternalAccessRule(NoAwaitTag, std::string const \&, Options)

Deletes a single external access rule.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteExternalAccessRule(google::cloud::vmwareengine::v1::DeleteExternalAccessRuleRequest const \&, Options)

Deletes a single external access rule.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::DeleteExternalAccessRuleRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.DeleteExternalAccessRuleRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1956). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteExternalAccessRule(NoAwaitTag, google::cloud::vmwareengine::v1::DeleteExternalAccessRuleRequest const \&, Options)

Deletes a single external access rule.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::DeleteExternalAccessRuleRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteExternalAccessRule(google::longrunning::Operation const \&, Options)

Deletes a single external access rule.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` |   |

### ListLoggingServers(std::string const \&, Options)

Lists logging servers configured for a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the private cloud to be queried for logging servers. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::LoggingServer >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.LoggingServer](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L625), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListLoggingServers(google::cloud::vmwareengine::v1::ListLoggingServersRequest, Options)

Lists logging servers configured for a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListLoggingServersRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListLoggingServersRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L1988). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::LoggingServer >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.LoggingServer](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L625), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetLoggingServer(std::string const \&, Options)

Gets details of a logging server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the Logging Server 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/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::LoggingServer >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.LoggingServer](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L625)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetLoggingServer(google::cloud::vmwareengine::v1::GetLoggingServerRequest const \&, Options)

Gets details of a logging server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetLoggingServerRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetLoggingServerRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2068). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::LoggingServer >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.LoggingServer](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L625)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### CreateLoggingServer(std::string const \&, google::cloud::vmwareengine::v1::LoggingServer const \&, std::string const \&, Options)

Create a new logging server for a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the private cloud to create a new Logging Server in. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` |
| `logging_server` | `google::cloud::vmwareengine::v1::LoggingServer const &` Required. The initial description of a new logging server. |
| `logging_server_id` | `std::string const &` Required. The user-provided identifier of the `LoggingServer` to be created. This identifier must be unique among `LoggingServer` 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) |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::LoggingServer > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.LoggingServer](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L625) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateLoggingServer(NoAwaitTag, std::string const \&, google::cloud::vmwareengine::v1::LoggingServer const \&, std::string const \&, Options)

Create a new logging server for a given private cloud.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `parent` | `std::string const &` |
| `logging_server` | `google::cloud::vmwareengine::v1::LoggingServer const &` |
| `logging_server_id` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateLoggingServer(google::cloud::vmwareengine::v1::CreateLoggingServerRequest const \&, Options)

Create a new logging server for a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::CreateLoggingServerRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.CreateLoggingServerRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2084). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::LoggingServer > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.LoggingServer](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L625) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateLoggingServer(NoAwaitTag, google::cloud::vmwareengine::v1::CreateLoggingServerRequest const \&, Options)

Create a new logging server for a given private cloud.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::CreateLoggingServerRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateLoggingServer(google::longrunning::Operation const \&, Options)

Create a new logging server for a given private cloud.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::LoggingServer > >` |   |

### UpdateLoggingServer(google::cloud::vmwareengine::v1::LoggingServer const \&, google::protobuf::FieldMask const \&, Options)

Updates the parameters of a single logging server.
Only fields specified in `update_mask` are applied.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `logging_server` | `google::cloud::vmwareengine::v1::LoggingServer const &` Required. Logging server description. |
| `update_mask` | `google::protobuf::FieldMask const &` Required. Field mask is used to specify the fields to be overwritten in the `LoggingServer` 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. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::LoggingServer > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.LoggingServer](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L625) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateLoggingServer(NoAwaitTag, google::cloud::vmwareengine::v1::LoggingServer const \&, google::protobuf::FieldMask const \&, Options)

Updates the parameters of a single logging server.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `logging_server` | `google::cloud::vmwareengine::v1::LoggingServer const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateLoggingServer(google::cloud::vmwareengine::v1::UpdateLoggingServerRequest const \&, Options)

Updates the parameters of a single logging server.
Only fields specified in `update_mask` are applied.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::UpdateLoggingServerRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.UpdateLoggingServerRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2133). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::LoggingServer > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.LoggingServer](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L625) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateLoggingServer(NoAwaitTag, google::cloud::vmwareengine::v1::UpdateLoggingServerRequest const \&, Options)

Updates the parameters of a single logging server.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::UpdateLoggingServerRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateLoggingServer(google::longrunning::Operation const \&, Options)

Updates the parameters of a single logging server.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::LoggingServer > >` |   |

### DeleteLoggingServer(std::string const \&, Options)

Deletes a single logging server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the logging server to delete. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteLoggingServer(NoAwaitTag, std::string const \&, Options)

Deletes a single logging server.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteLoggingServer(google::cloud::vmwareengine::v1::DeleteLoggingServerRequest const \&, Options)

Deletes a single logging server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::DeleteLoggingServerRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.DeleteLoggingServerRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2164). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteLoggingServer(NoAwaitTag, google::cloud::vmwareengine::v1::DeleteLoggingServerRequest const \&, Options)

Deletes a single logging server.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::DeleteLoggingServerRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteLoggingServer(google::longrunning::Operation const \&, Options)

Deletes a single logging server.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` |   |

### ListNodeTypes(std::string const \&, Options)

Lists node types.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the location to be queried for node types. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::NodeType >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.NodeType](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L699), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListNodeTypes(google::cloud::vmwareengine::v1::ListNodeTypesRequest, Options)

Lists node types.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListNodeTypesRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListNodeTypesRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2227). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::NodeType >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.NodeType](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L699), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetNodeType(std::string const \&, Options)

Gets details of a single `NodeType`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the node type to retrieve. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::NodeType >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.NodeType](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L699)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetNodeType(google::cloud::vmwareengine::v1::GetNodeTypeRequest const \&, Options)

Gets details of a single `NodeType`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetNodeTypeRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetNodeTypeRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2298). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::NodeType >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.NodeType](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L699)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### ShowNsxCredentials(std::string const \&, Options)

Gets details of credentials for NSX appliance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `private_cloud` | `std::string const &` Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::Credentials >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.Credentials](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L772)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### ShowNsxCredentials(google::cloud::vmwareengine::v1::ShowNsxCredentialsRequest const \&, Options)

Gets details of credentials for NSX appliance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ShowNsxCredentialsRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ShowNsxCredentialsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2314). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::Credentials >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.Credentials](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L772)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### ShowVcenterCredentials(std::string const \&, Options)

Gets details of credentials for Vcenter appliance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `private_cloud` | `std::string const &` Required. The resource name of the private cloud to be queried for credentials. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::Credentials >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.Credentials](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L772)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### ShowVcenterCredentials(google::cloud::vmwareengine::v1::ShowVcenterCredentialsRequest const \&, Options)

Gets details of credentials for Vcenter appliance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ShowVcenterCredentialsRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ShowVcenterCredentialsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2331). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::Credentials >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.Credentials](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L772)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### ResetNsxCredentials(std::string const \&, Options)

Resets credentials of the NSX appliance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `private_cloud` | `std::string const &` Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ResetNsxCredentials(NoAwaitTag, std::string const \&, Options)

Resets credentials of the NSX appliance.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `private_cloud` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### ResetNsxCredentials(google::cloud::vmwareengine::v1::ResetNsxCredentialsRequest const \&, Options)

Resets credentials of the NSX appliance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ResetNsxCredentialsRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ResetNsxCredentialsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2360). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ResetNsxCredentials(NoAwaitTag, google::cloud::vmwareengine::v1::ResetNsxCredentialsRequest const \&, Options)

Resets credentials of the NSX appliance.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::ResetNsxCredentialsRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### ResetNsxCredentials(google::longrunning::Operation const \&, Options)

Resets credentials of the NSX appliance.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` |   |

### ResetVcenterCredentials(std::string const \&, Options)

Resets credentials of the Vcenter appliance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `private_cloud` | `std::string const &` Required. The resource name of the private cloud to reset credentials for. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ResetVcenterCredentials(NoAwaitTag, std::string const \&, Options)

Resets credentials of the Vcenter appliance.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `private_cloud` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### ResetVcenterCredentials(google::cloud::vmwareengine::v1::ResetVcenterCredentialsRequest const \&, Options)

Resets credentials of the Vcenter appliance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ResetVcenterCredentialsRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ResetVcenterCredentialsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2393). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateCloud](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L119) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ResetVcenterCredentials(NoAwaitTag, google::cloud::vmwareengine::v1::ResetVcenterCredentialsRequest const \&, Options)

Resets credentials of the Vcenter appliance.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::ResetVcenterCredentialsRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### ResetVcenterCredentials(google::longrunning::Operation const \&, Options)

Resets credentials of the Vcenter appliance.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >` |   |

### GetDnsForwarding(std::string const \&, Options)

Gets details of the `DnsForwarding` config.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of a `DnsForwarding` 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/us-central1-a/privateClouds/my-cloud/dnsForwarding` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::DnsForwarding >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.DnsForwarding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L995)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetDnsForwarding(google::cloud::vmwareengine::v1::GetDnsForwardingRequest const \&, Options)

Gets details of the `DnsForwarding` config.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetDnsForwardingRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetDnsForwardingRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2548). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::DnsForwarding >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.DnsForwarding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L995)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### UpdateDnsForwarding(google::cloud::vmwareengine::v1::DnsForwarding const \&, google::protobuf::FieldMask const \&, Options)

Updates the parameters of the `DnsForwarding` config, like associated domains.
Only fields specified in `update_mask` are applied.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `dns_forwarding` | `google::cloud::vmwareengine::v1::DnsForwarding const &` Required. DnsForwarding config details. |
| `update_mask` | `google::protobuf::FieldMask const &` Required. Field mask is used to specify the fields to be overwritten in the `DnsForwarding` 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. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::DnsForwarding > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.DnsForwarding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L995) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateDnsForwarding(NoAwaitTag, google::cloud::vmwareengine::v1::DnsForwarding const \&, google::protobuf::FieldMask const \&, Options)

Updates the parameters of the `DnsForwarding` config, like associated domains.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `dns_forwarding` | `google::cloud::vmwareengine::v1::DnsForwarding const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateDnsForwarding(google::cloud::vmwareengine::v1::UpdateDnsForwardingRequest const \&, Options)

Updates the parameters of the `DnsForwarding` config, like associated domains.
Only fields specified in `update_mask` are applied.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::UpdateDnsForwardingRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.UpdateDnsForwardingRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2564). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::DnsForwarding > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.DnsForwarding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L995) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateDnsForwarding(NoAwaitTag, google::cloud::vmwareengine::v1::UpdateDnsForwardingRequest const \&, Options)

Updates the parameters of the `DnsForwarding` config, like associated domains.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::UpdateDnsForwardingRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateDnsForwarding(google::longrunning::Operation const \&, Options)

Updates the parameters of the `DnsForwarding` config, like associated domains.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::DnsForwarding > >` |   |

### GetNetworkPeering(std::string const \&, Options)

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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` 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` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::NetworkPeering >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.NetworkPeering](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1034)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetNetworkPeering(google::cloud::vmwareengine::v1::GetNetworkPeeringRequest const \&, Options)

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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetNetworkPeeringRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetNetworkPeeringRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2675). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::NetworkPeering >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.NetworkPeering](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1034)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### ListNetworkPeerings(std::string const \&, Options)

Lists `NetworkPeering` resources in a given project.
NetworkPeering is a global resource and location can only be global.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` 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` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::NetworkPeering >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.NetworkPeering](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1034), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListNetworkPeerings(google::cloud::vmwareengine::v1::ListNetworkPeeringsRequest, Options)

Lists `NetworkPeering` resources in a given project.
NetworkPeering is a global resource and location can only be global.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListNetworkPeeringsRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListNetworkPeeringsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2691). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::NetworkPeering >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.NetworkPeering](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1034), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateNetworkPeering(std::string const \&, google::cloud::vmwareengine::v1::NetworkPeering const \&, std::string const \&, Options)

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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` 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` |
| `network_peering` | `google::cloud::vmwareengine::v1::NetworkPeering const &` Required. The initial description of the new network peering. |
| `network_peering_id` | `std::string const &` 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) |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::NetworkPeering > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.NetworkPeering](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1034) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateNetworkPeering(NoAwaitTag, std::string const \&, google::cloud::vmwareengine::v1::NetworkPeering const \&, std::string const \&, Options)

Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `parent` | `std::string const &` |
| `network_peering` | `google::cloud::vmwareengine::v1::NetworkPeering const &` |
| `network_peering_id` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateNetworkPeering(google::cloud::vmwareengine::v1::CreateNetworkPeeringRequest const \&, Options)

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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::CreateNetworkPeeringRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.CreateNetworkPeeringRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2595). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::NetworkPeering > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.NetworkPeering](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1034) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateNetworkPeering(NoAwaitTag, google::cloud::vmwareengine::v1::CreateNetworkPeeringRequest const \&, Options)

Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::CreateNetworkPeeringRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateNetworkPeering(google::longrunning::Operation const \&, Options)

Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::NetworkPeering > >` |   |

### DeleteNetworkPeering(std::string const \&, Options)

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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` 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` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteNetworkPeering(NoAwaitTag, std::string const \&, Options)

Deletes a `NetworkPeering` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteNetworkPeering(google::cloud::vmwareengine::v1::DeleteNetworkPeeringRequest const \&, Options)

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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::DeleteNetworkPeeringRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.DeleteNetworkPeeringRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2643). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteNetworkPeering(NoAwaitTag, google::cloud::vmwareengine::v1::DeleteNetworkPeeringRequest const \&, Options)

Deletes a `NetworkPeering` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::DeleteNetworkPeeringRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteNetworkPeering(google::longrunning::Operation const \&, Options)

Deletes a `NetworkPeering` resource.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` |   |

### UpdateNetworkPeering(google::cloud::vmwareengine::v1::NetworkPeering const \&, google::protobuf::FieldMask const \&, Options)

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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `network_peering` | `google::cloud::vmwareengine::v1::NetworkPeering const &` Required. Network peering description. |
| `update_mask` | `google::protobuf::FieldMask const &` 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. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::NetworkPeering > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.NetworkPeering](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1034) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateNetworkPeering(NoAwaitTag, google::cloud::vmwareengine::v1::NetworkPeering const \&, google::protobuf::FieldMask const \&, Options)

Modifies a `NetworkPeering` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `network_peering` | `google::cloud::vmwareengine::v1::NetworkPeering const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateNetworkPeering(google::cloud::vmwareengine::v1::UpdateNetworkPeeringRequest const \&, Options)

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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::UpdateNetworkPeeringRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.UpdateNetworkPeeringRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2753). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::NetworkPeering > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.NetworkPeering](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1034) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateNetworkPeering(NoAwaitTag, google::cloud::vmwareengine::v1::UpdateNetworkPeeringRequest const \&, Options)

Modifies a `NetworkPeering` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::UpdateNetworkPeeringRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateNetworkPeering(google::longrunning::Operation const \&, Options)

Modifies a `NetworkPeering` resource.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::NetworkPeering > >` |   |

### ListPeeringRoutes(std::string const \&, Options)

Lists the network peering routes exchanged over a peering connection.
NetworkPeering is a global resource and location can only be global.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the network peering to retrieve peering routes from. 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` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::PeeringRoute >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.PeeringRoute](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1185), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListPeeringRoutes(google::cloud::vmwareengine::v1::ListPeeringRoutesRequest, Options)

Lists the network peering routes exchanged over a peering connection.
NetworkPeering is a global resource and location can only be global.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListPeeringRoutesRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListPeeringRoutesRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2798). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::PeeringRoute >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.PeeringRoute](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1185), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateHcxActivationKey(std::string const \&, google::cloud::vmwareengine::v1::HcxActivationKey const \&, std::string const \&, Options)

Creates a new HCX activation key in a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the private cloud to create the key for. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1/privateClouds/my-cloud` |
| `hcx_activation_key` | `google::cloud::vmwareengine::v1::HcxActivationKey const &` Required. The initial description of a new HCX activation key. When creating a new key, this field must be an empty object. |
| `hcx_activation_key_id` | `std::string const &` Required. The user-provided identifier of the `HcxActivationKey` to be created. This identifier must be unique among `HcxActivationKey` 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) |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::HcxActivationKey > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.HcxActivationKey](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L788) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateHcxActivationKey(NoAwaitTag, std::string const \&, google::cloud::vmwareengine::v1::HcxActivationKey const \&, std::string const \&, Options)

Creates a new HCX activation key in a given private cloud.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `parent` | `std::string const &` |
| `hcx_activation_key` | `google::cloud::vmwareengine::v1::HcxActivationKey const &` |
| `hcx_activation_key_id` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateHcxActivationKey(google::cloud::vmwareengine::v1::CreateHcxActivationKeyRequest const \&, Options)

Creates a new HCX activation key in a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::CreateHcxActivationKeyRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.CreateHcxActivationKeyRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2498). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::HcxActivationKey > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.HcxActivationKey](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L788) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateHcxActivationKey(NoAwaitTag, google::cloud::vmwareengine::v1::CreateHcxActivationKeyRequest const \&, Options)

Creates a new HCX activation key in a given private cloud.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::CreateHcxActivationKeyRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateHcxActivationKey(google::longrunning::Operation const \&, Options)

Creates a new HCX activation key in a given private cloud.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::HcxActivationKey > >` |   |

### ListHcxActivationKeys(std::string const \&, Options)

Lists `HcxActivationKey` resources in a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the private cloud to be queried for HCX activation keys. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1/privateClouds/my-cloud` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::HcxActivationKey >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.HcxActivationKey](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L788), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListHcxActivationKeys(google::cloud::vmwareengine::v1::ListHcxActivationKeysRequest, Options)

Lists `HcxActivationKey` resources in a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListHcxActivationKeysRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListHcxActivationKeysRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2452). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::HcxActivationKey >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.HcxActivationKey](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L788), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetHcxActivationKey(std::string const \&, Options)

Retrieves a `HcxActivationKey` resource by its resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the HCX activation key 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/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::HcxActivationKey >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.HcxActivationKey](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L788)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetHcxActivationKey(google::cloud::vmwareengine::v1::GetHcxActivationKeyRequest const \&, Options)

Retrieves a `HcxActivationKey` resource by its resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetHcxActivationKeyRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetHcxActivationKeyRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2482). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::HcxActivationKey >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.HcxActivationKey](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L788)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetNetworkPolicy(std::string const \&, Options)

Retrieves a `NetworkPolicy` resource by its resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the network policy 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/us-central1/networkPolicies/my-network-policy` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::NetworkPolicy >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.NetworkPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1249)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetNetworkPolicy(google::cloud::vmwareengine::v1::GetNetworkPolicyRequest const \&, Options)

Retrieves a `NetworkPolicy` resource by its resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetNetworkPolicyRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetNetworkPolicyRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2921). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::NetworkPolicy >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.NetworkPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1249)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### ListNetworkPolicies(std::string const \&, Options)

Lists `NetworkPolicy` resources in a specified project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the location (region) to query for network policies. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::NetworkPolicy >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.NetworkPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1249), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListNetworkPolicies(google::cloud::vmwareengine::v1::ListNetworkPoliciesRequest, Options)

Lists `NetworkPolicy` resources in a specified project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListNetworkPoliciesRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListNetworkPoliciesRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2843). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::NetworkPolicy >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.NetworkPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1249), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateNetworkPolicy(std::string const \&, google::cloud::vmwareengine::v1::NetworkPolicy const \&, std::string const \&, Options)

Creates a new network policy in a given VMware Engine network of a project and location (region).
A new network policy cannot be created if another network policy already exists in the same scope.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the location (region) to create the new network policy in. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1` |
| `network_policy` | `google::cloud::vmwareengine::v1::NetworkPolicy const &` Required. The network policy configuration to use in the request. |
| `network_policy_id` | `std::string const &` Required. The user-provided identifier of the network policy to be created. This identifier must be unique within parent `projects/{my-project}/locations/{us-central1}/networkPolicies` 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) |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::NetworkPolicy > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.NetworkPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1249) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateNetworkPolicy(NoAwaitTag, std::string const \&, google::cloud::vmwareengine::v1::NetworkPolicy const \&, std::string const \&, Options)

Creates a new network policy in a given VMware Engine network of a project and location (region).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `parent` | `std::string const &` |
| `network_policy` | `google::cloud::vmwareengine::v1::NetworkPolicy const &` |
| `network_policy_id` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateNetworkPolicy(google::cloud::vmwareengine::v1::CreateNetworkPolicyRequest const \&, Options)

Creates a new network policy in a given VMware Engine network of a project and location (region).
A new network policy cannot be created if another network policy already exists in the same scope.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::CreateNetworkPolicyRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.CreateNetworkPolicyRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2968). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::NetworkPolicy > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.NetworkPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1249) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateNetworkPolicy(NoAwaitTag, google::cloud::vmwareengine::v1::CreateNetworkPolicyRequest const \&, Options)

Creates a new network policy in a given VMware Engine network of a project and location (region).
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::CreateNetworkPolicyRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateNetworkPolicy(google::longrunning::Operation const \&, Options)

Creates a new network policy in a given VMware Engine network of a project and location (region).
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::NetworkPolicy > >` |   |

### UpdateNetworkPolicy(google::cloud::vmwareengine::v1::NetworkPolicy const \&, google::protobuf::FieldMask const \&, Options)

Modifies a `NetworkPolicy` resource.
Only the following fields can be updated: `internet_access`, `external_ip`, `edge_services_cidr`. Only fields specified in `updateMask` are applied. When updating a network policy, the external IP network service can only be disabled if there are no external IP addresses present in the scope of the policy. Also, a `NetworkService` cannot be updated when `NetworkService.state` is set to `RECONCILING`.

During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `network_policy` | `google::cloud::vmwareengine::v1::NetworkPolicy const &` Required. Network policy description. |
| `update_mask` | `google::protobuf::FieldMask const &` Required. Field mask is used to specify the fields to be overwritten in the `NetworkPolicy` 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. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::NetworkPolicy > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.NetworkPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1249) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateNetworkPolicy(NoAwaitTag, google::cloud::vmwareengine::v1::NetworkPolicy const \&, google::protobuf::FieldMask const \&, Options)

Modifies a `NetworkPolicy` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `network_policy` | `google::cloud::vmwareengine::v1::NetworkPolicy const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateNetworkPolicy(google::cloud::vmwareengine::v1::UpdateNetworkPolicyRequest const \&, Options)

Modifies a `NetworkPolicy` resource.
Only the following fields can be updated: `internet_access`, `external_ip`, `edge_services_cidr`. Only fields specified in `updateMask` are applied. When updating a network policy, the external IP network service can only be disabled if there are no external IP addresses present in the scope of the policy. Also, a `NetworkService` cannot be updated when `NetworkService.state` is set to `RECONCILING`.

During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::UpdateNetworkPolicyRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.UpdateNetworkPolicyRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2937). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::NetworkPolicy > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.NetworkPolicy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1249) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateNetworkPolicy(NoAwaitTag, google::cloud::vmwareengine::v1::UpdateNetworkPolicyRequest const \&, Options)

Modifies a `NetworkPolicy` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::UpdateNetworkPolicyRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateNetworkPolicy(google::longrunning::Operation const \&, Options)

Modifies a `NetworkPolicy` resource.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::NetworkPolicy > >` |   |

### DeleteNetworkPolicy(std::string const \&, Options)

Deletes a `NetworkPolicy` resource.
A network policy cannot be deleted when `NetworkService.state` is set to `RECONCILING` for either its external IP or internet access service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the network policy to delete. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteNetworkPolicy(NoAwaitTag, std::string const \&, Options)

Deletes a `NetworkPolicy` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteNetworkPolicy(google::cloud::vmwareengine::v1::DeleteNetworkPolicyRequest const \&, Options)

Deletes a `NetworkPolicy` resource.
A network policy cannot be deleted when `NetworkService.state` is set to `RECONCILING` for either its external IP or internet access service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::DeleteNetworkPolicyRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.DeleteNetworkPolicyRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3018). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteNetworkPolicy(NoAwaitTag, google::cloud::vmwareengine::v1::DeleteNetworkPolicyRequest const \&, Options)

Deletes a `NetworkPolicy` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::DeleteNetworkPolicyRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteNetworkPolicy(google::longrunning::Operation const \&, Options)

Deletes a `NetworkPolicy` resource.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` |   |

### ListManagementDnsZoneBindings(std::string const \&, Options)

Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the private cloud to be queried for management DNS zone bindings. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.ManagementDnsZoneBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1346), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListManagementDnsZoneBindings(google::cloud::vmwareengine::v1::ListManagementDnsZoneBindingsRequest, Options)

Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListManagementDnsZoneBindingsRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListManagementDnsZoneBindingsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3050). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.ManagementDnsZoneBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1346), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetManagementDnsZoneBinding(std::string const \&, Options)

Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the management DNS zone binding 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/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.ManagementDnsZoneBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1346)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetManagementDnsZoneBinding(google::cloud::vmwareengine::v1::GetManagementDnsZoneBindingRequest const \&, Options)

Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetManagementDnsZoneBindingRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetManagementDnsZoneBindingRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3130). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.ManagementDnsZoneBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1346)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### CreateManagementDnsZoneBinding(std::string const \&, google::cloud::vmwareengine::v1::ManagementDnsZoneBinding const \&, std::string const \&, Options)

Creates a new `ManagementDnsZoneBinding` resource in a private cloud.
This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the private cloud to create a new management DNS zone binding for. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` |
| `management_dns_zone_binding` | `google::cloud::vmwareengine::v1::ManagementDnsZoneBinding const &` Required. The initial values for a new management DNS zone binding. |
| `management_dns_zone_binding_id` | `std::string const &` Required. The user-provided identifier of the `ManagementDnsZoneBinding` resource to be created. This identifier must be unique among `ManagementDnsZoneBinding` 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) |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.ManagementDnsZoneBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1346) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateManagementDnsZoneBinding(NoAwaitTag, std::string const \&, google::cloud::vmwareengine::v1::ManagementDnsZoneBinding const \&, std::string const \&, Options)

Creates a new `ManagementDnsZoneBinding` resource in a private cloud.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `parent` | `std::string const &` |
| `management_dns_zone_binding` | `google::cloud::vmwareengine::v1::ManagementDnsZoneBinding const &` |
| `management_dns_zone_binding_id` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateManagementDnsZoneBinding(google::cloud::vmwareengine::v1::CreateManagementDnsZoneBindingRequest const \&, Options)

Creates a new `ManagementDnsZoneBinding` resource in a private cloud.
This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::CreateManagementDnsZoneBindingRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.CreateManagementDnsZoneBindingRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3145). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.ManagementDnsZoneBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1346) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateManagementDnsZoneBinding(NoAwaitTag, google::cloud::vmwareengine::v1::CreateManagementDnsZoneBindingRequest const \&, Options)

Creates a new `ManagementDnsZoneBinding` resource in a private cloud.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::CreateManagementDnsZoneBindingRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateManagementDnsZoneBinding(google::longrunning::Operation const \&, Options)

Creates a new `ManagementDnsZoneBinding` resource in a private cloud.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > >` |   |

### UpdateManagementDnsZoneBinding(google::cloud::vmwareengine::v1::ManagementDnsZoneBinding const \&, google::protobuf::FieldMask const \&, Options)

Updates a `ManagementDnsZoneBinding` resource.
Only fields specified in `update_mask` are applied.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `management_dns_zone_binding` | `google::cloud::vmwareengine::v1::ManagementDnsZoneBinding const &` Required. New values to update the management DNS zone binding with. |
| `update_mask` | `google::protobuf::FieldMask const &` Required. Field mask is used to specify the fields to be overwritten in the `ManagementDnsZoneBinding` 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. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.ManagementDnsZoneBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1346) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateManagementDnsZoneBinding(NoAwaitTag, google::cloud::vmwareengine::v1::ManagementDnsZoneBinding const \&, google::protobuf::FieldMask const \&, Options)

Updates a `ManagementDnsZoneBinding` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `management_dns_zone_binding` | `google::cloud::vmwareengine::v1::ManagementDnsZoneBinding const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateManagementDnsZoneBinding(google::cloud::vmwareengine::v1::UpdateManagementDnsZoneBindingRequest const \&, Options)

Updates a `ManagementDnsZoneBinding` resource.
Only fields specified in `update_mask` are applied.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::UpdateManagementDnsZoneBindingRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.UpdateManagementDnsZoneBindingRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3197). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.ManagementDnsZoneBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1346) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateManagementDnsZoneBinding(NoAwaitTag, google::cloud::vmwareengine::v1::UpdateManagementDnsZoneBindingRequest const \&, Options)

Updates a `ManagementDnsZoneBinding` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::UpdateManagementDnsZoneBindingRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateManagementDnsZoneBinding(google::longrunning::Operation const \&, Options)

Updates a `ManagementDnsZoneBinding` resource.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > >` |   |

### DeleteManagementDnsZoneBinding(std::string const \&, Options)

Deletes a `ManagementDnsZoneBinding` resource.
When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the management DNS zone binding to delete. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteManagementDnsZoneBinding(NoAwaitTag, std::string const \&, Options)

Deletes a `ManagementDnsZoneBinding` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteManagementDnsZoneBinding(google::cloud::vmwareengine::v1::DeleteManagementDnsZoneBindingRequest const \&, Options)

Deletes a `ManagementDnsZoneBinding` resource.
When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::DeleteManagementDnsZoneBindingRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.DeleteManagementDnsZoneBindingRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3229). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteManagementDnsZoneBinding(NoAwaitTag, google::cloud::vmwareengine::v1::DeleteManagementDnsZoneBindingRequest const \&, Options)

Deletes a `ManagementDnsZoneBinding` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::DeleteManagementDnsZoneBindingRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteManagementDnsZoneBinding(google::longrunning::Operation const \&, Options)

Deletes a `ManagementDnsZoneBinding` resource.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` |   |

### RepairManagementDnsZoneBinding(std::string const \&, Options)

Retries to create a `ManagementDnsZoneBinding` resource that is in failed state.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the management DNS zone binding to repair. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.ManagementDnsZoneBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1346) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### RepairManagementDnsZoneBinding(NoAwaitTag, std::string const \&, Options)

Retries to create a `ManagementDnsZoneBinding` resource that is in failed state.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### RepairManagementDnsZoneBinding(google::cloud::vmwareengine::v1::RepairManagementDnsZoneBindingRequest const \&, Options)

Retries to create a `ManagementDnsZoneBinding` resource that is in failed state.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::RepairManagementDnsZoneBindingRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.RepairManagementDnsZoneBindingRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3260). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.ManagementDnsZoneBinding](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1346) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### RepairManagementDnsZoneBinding(NoAwaitTag, google::cloud::vmwareengine::v1::RepairManagementDnsZoneBindingRequest const \&, Options)

Retries to create a `ManagementDnsZoneBinding` resource that is in failed state.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::RepairManagementDnsZoneBindingRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### RepairManagementDnsZoneBinding(google::longrunning::Operation const \&, Options)

Retries to create a `ManagementDnsZoneBinding` resource that is in failed state.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > >` |   |

### CreateVmwareEngineNetwork(std::string const \&, google::cloud::vmwareengine::v1::VmwareEngineNetwork const \&, std::string const \&, Options)

Creates a new VMware Engine network that can be used by a private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the location to create the new VMware Engine network in. A VMware Engine network of type `LEGACY` is a regional resource, and a VMware Engine network of type `STANDARD` 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` |
| `vmware_engine_network` | `google::cloud::vmwareengine::v1::VmwareEngineNetwork const &` Required. The initial description of the new VMware Engine network. |
| `vmware_engine_network_id` | `std::string const &` Required. The user-provided identifier of the new VMware Engine network. This identifier must be unique among VMware Engine network resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: - For networks of type LEGACY, adheres to the format: `{region-id}-default`. Replace `{region-id}` with the region where you want to create the VMware Engine network. For example, "us-central1-default". - 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) |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::VmwareEngineNetwork > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.VmwareEngineNetwork](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1422) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateVmwareEngineNetwork(NoAwaitTag, std::string const \&, google::cloud::vmwareengine::v1::VmwareEngineNetwork const \&, std::string const \&, Options)

Creates a new VMware Engine network that can be used by a private cloud.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `parent` | `std::string const &` |
| `vmware_engine_network` | `google::cloud::vmwareengine::v1::VmwareEngineNetwork const &` |
| `vmware_engine_network_id` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateVmwareEngineNetwork(google::cloud::vmwareengine::v1::CreateVmwareEngineNetworkRequest const \&, Options)

Creates a new VMware Engine network that can be used by a private cloud.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::CreateVmwareEngineNetworkRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.CreateVmwareEngineNetworkRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3292). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::VmwareEngineNetwork > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.VmwareEngineNetwork](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1422) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreateVmwareEngineNetwork(NoAwaitTag, google::cloud::vmwareengine::v1::CreateVmwareEngineNetworkRequest const \&, Options)

Creates a new VMware Engine network that can be used by a private cloud.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::CreateVmwareEngineNetworkRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreateVmwareEngineNetwork(google::longrunning::Operation const \&, Options)

Creates a new VMware Engine network that can be used by a private cloud.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::VmwareEngineNetwork > >` |   |

### UpdateVmwareEngineNetwork(google::cloud::vmwareengine::v1::VmwareEngineNetwork const \&, google::protobuf::FieldMask const \&, Options)

Modifies a VMware Engine network resource.
Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `vmware_engine_network` | `google::cloud::vmwareengine::v1::VmwareEngineNetwork const &` Required. VMware Engine network description. |
| `update_mask` | `google::protobuf::FieldMask const &` Required. Field mask is used to specify the fields to be overwritten in the VMware Engine network 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. Only the following fields can be updated: `description`. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::VmwareEngineNetwork > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.VmwareEngineNetwork](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1422) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateVmwareEngineNetwork(NoAwaitTag, google::cloud::vmwareengine::v1::VmwareEngineNetwork const \&, google::protobuf::FieldMask const \&, Options)

Modifies a VMware Engine network resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `vmware_engine_network` | `google::cloud::vmwareengine::v1::VmwareEngineNetwork const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateVmwareEngineNetwork(google::cloud::vmwareengine::v1::UpdateVmwareEngineNetworkRequest const \&, Options)

Modifies a VMware Engine network resource.
Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::UpdateVmwareEngineNetworkRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.UpdateVmwareEngineNetworkRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3346). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::VmwareEngineNetwork > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.VmwareEngineNetwork](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1422) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdateVmwareEngineNetwork(NoAwaitTag, google::cloud::vmwareengine::v1::UpdateVmwareEngineNetworkRequest const \&, Options)

Modifies a VMware Engine network resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::UpdateVmwareEngineNetworkRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdateVmwareEngineNetwork(google::longrunning::Operation const \&, Options)

Modifies a VMware Engine network resource.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::VmwareEngineNetwork > >` |   |

### DeleteVmwareEngineNetwork(std::string const \&, Options)

Deletes a `VmwareEngineNetwork` resource.
You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the VMware Engine network 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/vmwareEngineNetworks/my-network` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteVmwareEngineNetwork(NoAwaitTag, std::string const \&, Options)

Deletes a `VmwareEngineNetwork` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteVmwareEngineNetwork(google::cloud::vmwareengine::v1::DeleteVmwareEngineNetworkRequest const \&, Options)

Deletes a `VmwareEngineNetwork` resource.
You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::DeleteVmwareEngineNetworkRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.DeleteVmwareEngineNetworkRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3379). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeleteVmwareEngineNetwork(NoAwaitTag, google::cloud::vmwareengine::v1::DeleteVmwareEngineNetworkRequest const \&, Options)

Deletes a `VmwareEngineNetwork` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::DeleteVmwareEngineNetworkRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeleteVmwareEngineNetwork(google::longrunning::Operation const \&, Options)

Deletes a `VmwareEngineNetwork` resource.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` |   |

### GetVmwareEngineNetwork(std::string const \&, Options)

Retrieves a `VmwareEngineNetwork` resource by its resource name.
The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, `CREATING`, `ACTIVE`, `DELETING`).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the VMware Engine network 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/vmwareEngineNetworks/my-network` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::VmwareEngineNetwork >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.VmwareEngineNetwork](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1422)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetVmwareEngineNetwork(google::cloud::vmwareengine::v1::GetVmwareEngineNetworkRequest const \&, Options)

Retrieves a `VmwareEngineNetwork` resource by its resource name.
The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, `CREATING`, `ACTIVE`, `DELETING`).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetVmwareEngineNetworkRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetVmwareEngineNetworkRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3417). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::VmwareEngineNetwork >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.VmwareEngineNetwork](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1422)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### ListVmwareEngineNetworks(std::string const \&, Options)

Lists `VmwareEngineNetwork` resources in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the location to query for VMware Engine networks. 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` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::VmwareEngineNetwork >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.VmwareEngineNetwork](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1422), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListVmwareEngineNetworks(google::cloud::vmwareengine::v1::ListVmwareEngineNetworksRequest, Options)

Lists `VmwareEngineNetwork` resources in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListVmwareEngineNetworksRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListVmwareEngineNetworksRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3433). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::VmwareEngineNetwork >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.VmwareEngineNetwork](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1422), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreatePrivateConnection(std::string const \&, google::cloud::vmwareengine::v1::PrivateConnection const \&, std::string const \&, Options)

Creates a new private connection that can be used for accessing private Clouds.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the location to create the new private connection in. Private connection is a regional 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/us-central1` |
| `private_connection` | `google::cloud::vmwareengine::v1::PrivateConnection const &` Required. The initial description of the new private connection. |
| `private_connection_id` | `std::string const &` Required. The user-provided identifier of the new private connection. This identifier must be unique among private connection 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) |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateConnection > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateConnection](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1540) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreatePrivateConnection(NoAwaitTag, std::string const \&, google::cloud::vmwareengine::v1::PrivateConnection const \&, std::string const \&, Options)

Creates a new private connection that can be used for accessing private Clouds.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `parent` | `std::string const &` |
| `private_connection` | `google::cloud::vmwareengine::v1::PrivateConnection const &` |
| `private_connection_id` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreatePrivateConnection(google::cloud::vmwareengine::v1::CreatePrivateConnectionRequest const \&, Options)

Creates a new private connection that can be used for accessing private Clouds.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::CreatePrivateConnectionRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.CreatePrivateConnectionRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3509). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateConnection > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateConnection](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1540) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### CreatePrivateConnection(NoAwaitTag, google::cloud::vmwareengine::v1::CreatePrivateConnectionRequest const \&, Options)

Creates a new private connection that can be used for accessing private Clouds.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::CreatePrivateConnectionRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### CreatePrivateConnection(google::longrunning::Operation const \&, Options)

Creates a new private connection that can be used for accessing private Clouds.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateConnection > >` |   |

### GetPrivateConnection(std::string const \&, Options)

Retrieves a `PrivateConnection` resource by its resource name.
The resource contains details of the private connection, such as connected network, routing mode and state.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the private connection 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/us-central1/privateConnections/my-connection` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::PrivateConnection >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.PrivateConnection](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1540)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetPrivateConnection(google::cloud::vmwareengine::v1::GetPrivateConnectionRequest const \&, Options)

Retrieves a `PrivateConnection` resource by its resource name.
The resource contains details of the private connection, such as connected network, routing mode and state.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetPrivateConnectionRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetPrivateConnectionRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3558). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::PrivateConnection >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.PrivateConnection](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1540)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### ListPrivateConnections(std::string const \&, Options)

Lists `PrivateConnection` resources in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the location to query for private connections. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-central1` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::PrivateConnection >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.PrivateConnection](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1540), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListPrivateConnections(google::cloud::vmwareengine::v1::ListPrivateConnectionsRequest, Options)

Lists `PrivateConnection` resources in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListPrivateConnectionsRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListPrivateConnectionsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3574). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::PrivateConnection >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.PrivateConnection](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1540), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdatePrivateConnection(google::cloud::vmwareengine::v1::PrivateConnection const \&, google::protobuf::FieldMask const \&, Options)

Modifies a `PrivateConnection` resource.
Only `description` and `routing_mode` fields can be updated. Only fields specified in `updateMask` are applied.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `private_connection` | `google::cloud::vmwareengine::v1::PrivateConnection const &` Required. Private connection description. |
| `update_mask` | `google::protobuf::FieldMask const &` Required. Field mask is used to specify the fields to be overwritten in the `PrivateConnection` 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. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateConnection > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateConnection](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1540) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdatePrivateConnection(NoAwaitTag, google::cloud::vmwareengine::v1::PrivateConnection const \&, google::protobuf::FieldMask const \&, Options)

Modifies a `PrivateConnection` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `private_connection` | `google::cloud::vmwareengine::v1::PrivateConnection const &` |
| `update_mask` | `google::protobuf::FieldMask const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdatePrivateConnection(google::cloud::vmwareengine::v1::UpdatePrivateConnectionRequest const \&, Options)

Modifies a `PrivateConnection` resource.
Only `description` and `routing_mode` fields can be updated. Only fields specified in `updateMask` are applied.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::UpdatePrivateConnectionRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.UpdatePrivateConnectionRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3650). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateConnection > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.PrivateConnection](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1540) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### UpdatePrivateConnection(NoAwaitTag, google::cloud::vmwareengine::v1::UpdatePrivateConnectionRequest const \&, Options)

Modifies a `PrivateConnection` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::UpdatePrivateConnectionRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### UpdatePrivateConnection(google::longrunning::Operation const \&, Options)

Modifies a `PrivateConnection` resource.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::PrivateConnection > >` |   |

### DeletePrivateConnection(std::string const \&, Options)

Deletes a `PrivateConnection` resource.
When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The resource name of the private connection 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/us-central1/privateConnections/my-connection` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeletePrivateConnection(NoAwaitTag, std::string const \&, Options)

Deletes a `PrivateConnection` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeletePrivateConnection(google::cloud::vmwareengine::v1::DeletePrivateConnectionRequest const \&, Options)

Deletes a `PrivateConnection` resource.
When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::DeletePrivateConnectionRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.DeletePrivateConnectionRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3682). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.OperationMetadata](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L2195) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### DeletePrivateConnection(NoAwaitTag, google::cloud::vmwareengine::v1::DeletePrivateConnectionRequest const \&, Options)

Deletes a `PrivateConnection` resource.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::DeletePrivateConnectionRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### DeletePrivateConnection(google::longrunning::Operation const \&, Options)

Deletes a `PrivateConnection` resource.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >` |   |

### ListPrivateConnectionPeeringRoutes(std::string const \&, Options)

Lists the private connection routes exchanged over a peering connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `std::string const &` Required. The resource name of the private connection to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-project/locations/us-west1/privateConnections/my-connection` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::PeeringRoute >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.PeeringRoute](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1185), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListPrivateConnectionPeeringRoutes(google::cloud::vmwareengine::v1::ListPrivateConnectionPeeringRoutesRequest, Options)

Lists the private connection routes exchanged over a peering connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::ListPrivateConnectionPeeringRoutesRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.ListPrivateConnectionPeeringRoutesRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3714). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::vmwareengine::v1::PeeringRoute >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.vmwareengine.v1.PeeringRoute](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1185), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GrantDnsBindPermission(std::string const \&, google::cloud::vmwareengine::v1::Principal const \&, Options)

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project.
DnsBindPermission is a global resource and location can only be global.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission 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/dnsBindPermission` |
| `principal` | `google::cloud::vmwareengine::v1::Principal const &` Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::DnsBindPermission > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.DnsBindPermission](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1719) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GrantDnsBindPermission(NoAwaitTag, std::string const \&, google::cloud::vmwareengine::v1::Principal const \&, Options)

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `principal` | `google::cloud::vmwareengine::v1::Principal const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### GrantDnsBindPermission(google::cloud::vmwareengine::v1::GrantDnsBindPermissionRequest const \&, Options)

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project.
DnsBindPermission is a global resource and location can only be global.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GrantDnsBindPermissionRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GrantDnsBindPermissionRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3752). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::DnsBindPermission > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.DnsBindPermission](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1719) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GrantDnsBindPermission(NoAwaitTag, google::cloud::vmwareengine::v1::GrantDnsBindPermissionRequest const \&, Options)

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::GrantDnsBindPermissionRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### GrantDnsBindPermission(google::longrunning::Operation const \&, Options)

Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::DnsBindPermission > >` |   |

### GetDnsBindPermission(std::string const \&, Options)

Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API.
DnsBindPermission is a global resource and location can only be global.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission 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/dnsBindPermission` |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::DnsBindPermission >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.DnsBindPermission](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1719)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetDnsBindPermission(google::cloud::vmwareengine::v1::GetDnsBindPermissionRequest const \&, Options)

Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API.
DnsBindPermission is a global resource and location can only be global.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::GetDnsBindPermissionRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.GetDnsBindPermissionRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3828). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::vmwareengine::v1::DnsBindPermission >` | the result of the RPC. The response message type ([google.cloud.vmwareengine.v1.DnsBindPermission](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1719)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### RevokeDnsBindPermission(std::string const \&, google::cloud::vmwareengine::v1::Principal const \&, Options)

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project.
DnsBindPermission is a global resource and location can only be global.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission 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/dnsBindPermission` |
| `principal` | `google::cloud::vmwareengine::v1::Principal const &` Required. The consumer provided user/service account which needs to be granted permission to bind with the intranet VPC corresponding to the consumer project. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::DnsBindPermission > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.DnsBindPermission](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1719) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### RevokeDnsBindPermission(NoAwaitTag, std::string const \&, google::cloud::vmwareengine::v1::Principal const \&, Options)

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `name` | `std::string const &` |
| `principal` | `google::cloud::vmwareengine::v1::Principal const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### RevokeDnsBindPermission(google::cloud::vmwareengine::v1::RevokeDnsBindPermissionRequest const \&, Options)

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project.
DnsBindPermission is a global resource and location can only be global.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::vmwareengine::v1::RevokeDnsBindPermissionRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.vmwareengine.v1.RevokeDnsBindPermissionRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine.proto#L3790). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::DnsBindPermission > >` | A [`future`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1future.html) that becomes satisfied when the LRO ([Long Running Operation](https://google.aip.dev/151)) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.vmwareengine.v1.DnsBindPermission](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/vmwareengine/v1/vmwareengine_resources.proto#L1719) proto message. The C++ class representing this message is created by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### RevokeDnsBindPermission(NoAwaitTag, google::cloud::vmwareengine::v1::RevokeDnsBindPermissionRequest const \&, Options)

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project.
Specifying the [`NoAwaitTag`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1NoAwaitTag.html) immediately returns the \[`google::longrunning::Operation`\] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::vmwareengine::v1::RevokeDnsBindPermissionRequest const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` |   |

### RevokeDnsBindPermission(google::longrunning::Operation const \&, Options)

Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project.
This method accepts a `google::longrunning::Operation` that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::longrunning::Operation const &` |
| `opts` | `Options` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::vmwareengine::v1::DnsBindPermission > >` |   |

### ListLocations(google::cloud::location::ListLocationsRequest, Options)

Lists information about the supported locations for this service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::location::ListLocationsRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.location.ListLocationsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/location/locations.proto#L58). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::location::Location >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.cloud.location.Location](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/location/locations.proto#L88), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetLocation(google::cloud::location::GetLocationRequest const \&, Options)

Gets information about a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::location::GetLocationRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.cloud.location.GetLocationRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/location/locations.proto#L82). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::location::Location >` | the result of the RPC. The response message type ([google.cloud.location.Location](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/location/locations.proto#L88)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### SetIamPolicy(google::iam::v1::SetIamPolicyRequest const \&, Options)

Sets the access control policy on the specified resource.
Replaces any existing policy.

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::iam::v1::SetIamPolicyRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.iam.v1.SetIamPolicyRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/iam/v1/iam_policy.proto#L100). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::iam::v1::Policy >` | the result of the RPC. The response message type ([google.iam.v1.Policy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/iam/v1/policy.proto#L102)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetIamPolicy(google::iam::v1::GetIamPolicyRequest const \&, Options)

Gets the access control policy for a resource.
Returns an empty policy if the resource exists and does not have a policy set.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::iam::v1::GetIamPolicyRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.iam.v1.GetIamPolicyRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/iam/v1/iam_policy.proto#L123). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::iam::v1::Policy >` | the result of the RPC. The response message type ([google.iam.v1.Policy](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/iam/v1/policy.proto#L102)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const \&, Options)

Returns permissions that a caller has on the specified resource.
If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error.

Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::iam::v1::TestIamPermissionsRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.iam.v1.TestIamPermissionsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/iam/v1/iam_policy.proto#L137). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::iam::v1::TestIamPermissionsResponse >` | the result of the RPC. The response message type ([google.iam.v1.TestIamPermissionsResponse](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/iam/v1/iam_policy.proto#L153)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### ListOperations(std::string const \&, std::string const \&, Options)

Lists operations that match the specified filter in the request.
If the server doesn't support this method, it returns `UNIMPLEMENTED`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` The name of the operation's parent resource. |
| `filter` | `std::string const &` The standard list filter. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::longrunning::Operation >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.longrunning.Operation](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/longrunning/operations.proto#L121), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### ListOperations(google::longrunning::ListOperationsRequest, Options)

Lists operations that match the specified filter in the request.
If the server doesn't support this method, it returns `UNIMPLEMENTED`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::longrunning::ListOperationsRequest` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.longrunning.ListOperationsRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/longrunning/operations.proto#L167). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::longrunning::Operation >` | a [StreamRange](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StreamRange.html) to iterate of the results. See the documentation of this type for details. In brief, this class has `begin()` and `end()` member functions returning a iterator class meeting the [input iterator requirements](https://en.cppreference.com/w/cpp/named_req/InputIterator). The value type for this iterator is a [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html)`<T>` contains elements of type [google.longrunning.Operation](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/longrunning/operations.proto#L121), or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |

### GetOperation(std::string const \&, Options)

Gets the latest state of a long-running operation.
Clients can use this method to poll the operation result at intervals as recommended by the API service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` The name of the operation resource. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` | the result of the RPC. The response message type ([google.longrunning.Operation](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/longrunning/operations.proto#L121)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### GetOperation(google::longrunning::GetOperationRequest const \&, Options)

Gets the latest state of a long-running operation.
Clients can use this method to poll the operation result at intervals as recommended by the API service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::longrunning::GetOperationRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.longrunning.GetOperationRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/longrunning/operations.proto#L160). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::longrunning::Operation >` | the result of the RPC. The response message type ([google.longrunning.Operation](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/longrunning/operations.proto#L121)) is mapped to a C++ class using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). If the request fails, the [`StatusOr`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1StatusOr.html) contains the error details. |

### DeleteOperation(std::string const \&, Options)

Deletes a long-running operation.
This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `std::string const &` The name of the operation resource to be deleted. |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Status` | a [`Status`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Status.html) object. If the request failed, the status contains the details of the failure. |

### DeleteOperation(google::longrunning::DeleteOperationRequest const \&, Options)

Deletes a long-running operation.
This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::longrunning::DeleteOperationRequest const &` Unary RPCs, such as the one wrapped by this function, receive a single `request` proto message which includes all the inputs for the RPC. In this case, the proto message is a [google.longrunning.DeleteOperationRequest](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/longrunning/operations.proto#L219). Proto messages are converted to C++ classes by Protobuf, using the [Protobuf mapping rules](https://protobuf.dev/reference/cpp/cpp-generated/). |
| `opts` | `Options` Optional. Override the class-level options, such as retry and backoff policies. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Status` | a [`Status`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Status.html) object. If the request failed, the status contains the details of the failure. |