Class VmwareEngineClient (2.27.0-rc)

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 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. The value type for this iterator is a StatusOr 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<T> contains elements of type google.cloud.vmwareengine.v1.PrivateCloud, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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 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. The value type for this iterator is a StatusOr 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<T> contains elements of type google.cloud.vmwareengine.v1.PrivateCloud, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

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) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr 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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr 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 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 (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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreatePrivateCloud(ExperimentalTag, 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 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
ExperimentalTag
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 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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

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

Creates a new PrivateCloud resource in a given project and location.

Specifying the NoAwaitTag 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
ExperimentalTag
NoAwaitTag
request google::cloud::vmwareengine::v1::CreatePrivateCloudRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreatePrivateCloud(ExperimentalTag, 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
ExperimentalTag
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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

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

Modifies a PrivateCloud resource.

Specifying the NoAwaitTag 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
ExperimentalTag
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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

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

Modifies a PrivateCloud resource.

Specifying the NoAwaitTag 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
ExperimentalTag
NoAwaitTag
request google::cloud::vmwareengine::v1::UpdatePrivateCloudRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdatePrivateCloud(ExperimentalTag, 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
ExperimentalTag
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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeletePrivateCloud(ExperimentalTag, NoAwaitTag, std::string const &, Options)

Schedules a PrivateCloud resource for deletion.

Specifying the NoAwaitTag 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
ExperimentalTag
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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

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

Schedules a PrivateCloud resource for deletion.

Specifying the NoAwaitTag 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
ExperimentalTag
NoAwaitTag
request google::cloud::vmwareengine::v1::DeletePrivateCloudRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeletePrivateCloud(ExperimentalTag, 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
ExperimentalTag
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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UndeletePrivateCloud(ExperimentalTag, NoAwaitTag, std::string const &, Options)

Restores a private cloud that was previously scheduled for deletion by DeletePrivateCloud.

Specifying the NoAwaitTag 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
ExperimentalTag
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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

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

Restores a private cloud that was previously scheduled for deletion by DeletePrivateCloud.

Specifying the NoAwaitTag 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
ExperimentalTag
NoAwaitTag
request google::cloud::vmwareengine::v1::UndeletePrivateCloudRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UndeletePrivateCloud(ExperimentalTag, 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
ExperimentalTag
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 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. The value type for this iterator is a StatusOr 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<T> contains elements of type google.cloud.vmwareengine.v1.Cluster, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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 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. The value type for this iterator is a StatusOr 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<T> contains elements of type google.cloud.vmwareengine.v1.Cluster, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

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) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr 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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr 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.

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 (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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateCluster(ExperimentalTag, 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 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
ExperimentalTag
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.

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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

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

Creates a new cluster in a given private cloud.

Specifying the NoAwaitTag 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
ExperimentalTag
NoAwaitTag
request google::cloud::vmwareengine::v1::CreateClusterRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateCluster(ExperimentalTag, 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
ExperimentalTag
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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

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

Modifies a Cluster resource.

Specifying the NoAwaitTag 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
ExperimentalTag
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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

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

Modifies a Cluster resource.

Specifying the NoAwaitTag 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
ExperimentalTag
NoAwaitTag
request google::cloud::vmwareengine::v1::UpdateClusterRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateCluster(ExperimentalTag, 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
ExperimentalTag
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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteCluster(ExperimentalTag, NoAwaitTag, std::string const &, Options)

Deletes a Cluster resource.

Specifying the NoAwaitTag 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
ExperimentalTag
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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

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

Deletes a Cluster resource.

Specifying the NoAwaitTag 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
ExperimentalTag
NoAwaitTag
request google::cloud::vmwareengine::v1::DeleteClusterRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteCluster(ExperimentalTag, 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
ExperimentalTag
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 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. The value type for this iterator is a StatusOr 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<T> contains elements of type google.cloud.vmwareengine.v1.Node, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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 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. The value type for this iterator is a StatusOr 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<T> contains elements of type google.cloud.vmwareengine.v1.Node, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

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) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr 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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr 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 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. The value type for this iterator is a StatusOr 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<T> contains elements of type google.cloud.vmwareengine.v1.ExternalAddress, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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 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. The value type for this iterator is a StatusOr 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<T> contains elements of type google.cloud.vmwareengine.v1.ExternalAddress, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

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 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. The value type for this iterator is a StatusOr 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<T> contains elements of type google.cloud.vmwareengine.v1.ExternalAddress, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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 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. The value type for this iterator is a StatusOr 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<T> contains elements of type google.cloud.vmwareengine.v1.ExternalAddress, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

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) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr 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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr 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 (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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateExternalAddress(ExperimentalTag, 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 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
ExperimentalTag
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. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

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 that becomes satisfied when the LRO (Long Running Operation) 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 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 proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

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

Creates a new ExternalAddress resource in a given private cloud.

Specifying the NoAwaitTag 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
ExperimentalTag
NoAwaitTag
request google::cloud::vmwareengine::v1::CreateExternalAddressRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateExternalAddress(ExperimentalTag, 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
ExperimentalTag
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