Class MockVmwareEngineConnection (2.26.0)

A class to mock VmwareEngineConnection.

Application developers may want to test their code with simulated responses, including errors, from an object of type VmwareEngineClient. To do so, construct an object of type VmwareEngineClient with an instance of this class. Then use the Google Test framework functions to program the behavior of this mock.

See Also

This example for how to test your application with GoogleTest. While the example showcases types from the BigQuery library, the underlying principles apply for any pair of *Client and *Connection.

Functions

virtual options()

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Returns
Type Description
Options

virtual ListPrivateClouds(google::cloud::vmwareengine::v1::ListPrivateCloudsRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListPrivateCloudsRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::PrivateCloud >

virtual GetPrivateCloud(google::cloud::vmwareengine::v1::GetPrivateCloudRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetPrivateCloudRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::PrivateCloud >

virtual CreatePrivateCloud(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >

virtual UpdatePrivateCloud(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >

virtual DeletePrivateCloud(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >

virtual UndeletePrivateCloud(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >

virtual ListClusters(google::cloud::vmwareengine::v1::ListClustersRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListClustersRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::Cluster >

virtual GetCluster(google::cloud::vmwareengine::v1::GetClusterRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetClusterRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::Cluster >

virtual CreateCluster(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::Cluster > >

virtual UpdateCluster(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::Cluster > >

virtual DeleteCluster(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >

virtual ListNodes(google::cloud::vmwareengine::v1::ListNodesRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListNodesRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::Node >

virtual GetNode(google::cloud::vmwareengine::v1::GetNodeRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetNodeRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::Node >

virtual ListExternalAddresses(google::cloud::vmwareengine::v1::ListExternalAddressesRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListExternalAddressesRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::ExternalAddress >

virtual FetchNetworkPolicyExternalAddresses(google::cloud::vmwareengine::v1::FetchNetworkPolicyExternalAddressesRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::FetchNetworkPolicyExternalAddressesRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::ExternalAddress >

virtual GetExternalAddress(google::cloud::vmwareengine::v1::GetExternalAddressRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetExternalAddressRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::ExternalAddress >

virtual CreateExternalAddress(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::ExternalAddress > >

virtual UpdateExternalAddress(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::ExternalAddress > >

virtual DeleteExternalAddress(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >

virtual ListSubnets(google::cloud::vmwareengine::v1::ListSubnetsRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListSubnetsRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::Subnet >

virtual GetSubnet(google::cloud::vmwareengine::v1::GetSubnetRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetSubnetRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::Subnet >

virtual UpdateSubnet(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::Subnet > >

virtual ListExternalAccessRules(google::cloud::vmwareengine::v1::ListExternalAccessRulesRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListExternalAccessRulesRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::ExternalAccessRule >

virtual GetExternalAccessRule(google::cloud::vmwareengine::v1::GetExternalAccessRuleRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetExternalAccessRuleRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::ExternalAccessRule >

virtual CreateExternalAccessRule(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::ExternalAccessRule > >

virtual UpdateExternalAccessRule(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::ExternalAccessRule > >

virtual DeleteExternalAccessRule(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >

virtual ListLoggingServers(google::cloud::vmwareengine::v1::ListLoggingServersRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListLoggingServersRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::LoggingServer >

virtual GetLoggingServer(google::cloud::vmwareengine::v1::GetLoggingServerRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetLoggingServerRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::LoggingServer >

virtual CreateLoggingServer(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::LoggingServer > >

virtual UpdateLoggingServer(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::LoggingServer > >

virtual DeleteLoggingServer(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >

virtual ListNodeTypes(google::cloud::vmwareengine::v1::ListNodeTypesRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListNodeTypesRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::NodeType >

virtual GetNodeType(google::cloud::vmwareengine::v1::GetNodeTypeRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetNodeTypeRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::NodeType >

virtual ShowNsxCredentials(google::cloud::vmwareengine::v1::ShowNsxCredentialsRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ShowNsxCredentialsRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::Credentials >

virtual ShowVcenterCredentials(google::cloud::vmwareengine::v1::ShowVcenterCredentialsRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ShowVcenterCredentialsRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::Credentials >

virtual ResetNsxCredentials(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >

virtual ResetVcenterCredentials(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > >

virtual GetDnsForwarding(google::cloud::vmwareengine::v1::GetDnsForwardingRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetDnsForwardingRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::DnsForwarding >

virtual UpdateDnsForwarding(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::DnsForwarding > >

virtual GetNetworkPeering(google::cloud::vmwareengine::v1::GetNetworkPeeringRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetNetworkPeeringRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::NetworkPeering >

virtual ListNetworkPeerings(google::cloud::vmwareengine::v1::ListNetworkPeeringsRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListNetworkPeeringsRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::NetworkPeering >

virtual CreateNetworkPeering(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::NetworkPeering > >

virtual DeleteNetworkPeering(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >

virtual UpdateNetworkPeering(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::NetworkPeering > >

virtual ListPeeringRoutes(google::cloud::vmwareengine::v1::ListPeeringRoutesRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListPeeringRoutesRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::PeeringRoute >

virtual CreateHcxActivationKey(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::HcxActivationKey > >

virtual ListHcxActivationKeys(google::cloud::vmwareengine::v1::ListHcxActivationKeysRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListHcxActivationKeysRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::HcxActivationKey >

virtual GetHcxActivationKey(google::cloud::vmwareengine::v1::GetHcxActivationKeyRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetHcxActivationKeyRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::HcxActivationKey >

virtual GetNetworkPolicy(google::cloud::vmwareengine::v1::GetNetworkPolicyRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetNetworkPolicyRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::NetworkPolicy >

virtual ListNetworkPolicies(google::cloud::vmwareengine::v1::ListNetworkPoliciesRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListNetworkPoliciesRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::NetworkPolicy >

virtual CreateNetworkPolicy(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::NetworkPolicy > >

virtual UpdateNetworkPolicy(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::NetworkPolicy > >

virtual DeleteNetworkPolicy(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >

virtual ListManagementDnsZoneBindings(google::cloud::vmwareengine::v1::ListManagementDnsZoneBindingsRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListManagementDnsZoneBindingsRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding >

virtual GetManagementDnsZoneBinding(google::cloud::vmwareengine::v1::GetManagementDnsZoneBindingRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetManagementDnsZoneBindingRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding >

virtual CreateManagementDnsZoneBinding(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > >

virtual UpdateManagementDnsZoneBinding(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > >

virtual DeleteManagementDnsZoneBinding(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >

virtual RepairManagementDnsZoneBinding(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > >

virtual CreateVmwareEngineNetwork(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::VmwareEngineNetwork > >

virtual UpdateVmwareEngineNetwork(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::VmwareEngineNetwork > >

virtual DeleteVmwareEngineNetwork(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >

virtual GetVmwareEngineNetwork(google::cloud::vmwareengine::v1::GetVmwareEngineNetworkRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetVmwareEngineNetworkRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::VmwareEngineNetwork >

virtual ListVmwareEngineNetworks(google::cloud::vmwareengine::v1::ListVmwareEngineNetworksRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListVmwareEngineNetworksRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::VmwareEngineNetwork >

virtual CreatePrivateConnection(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::PrivateConnection > >

virtual GetPrivateConnection(google::cloud::vmwareengine::v1::GetPrivateConnectionRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetPrivateConnectionRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::PrivateConnection >

virtual ListPrivateConnections(google::cloud::vmwareengine::v1::ListPrivateConnectionsRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListPrivateConnectionsRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::PrivateConnection >

virtual UpdatePrivateConnection(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::PrivateConnection > >

virtual DeletePrivateConnection(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > >

virtual ListPrivateConnectionPeeringRoutes(google::cloud::vmwareengine::v1::ListPrivateConnectionPeeringRoutesRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::ListPrivateConnectionPeeringRoutesRequest
Returns
Type Description
StreamRange< google::cloud::vmwareengine::v1::PeeringRoute >

virtual GrantDnsBindPermission(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::DnsBindPermission > >

virtual GetDnsBindPermission(google::cloud::vmwareengine::v1::GetDnsBindPermissionRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::vmwareengine::v1::GetDnsBindPermissionRequest const &
Returns
Type Description
StatusOr< google::cloud::vmwareengine::v1::DnsBindPermission >

virtual RevokeDnsBindPermission(ExperimentalTag, google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vmwareengine::v1::DnsBindPermission > >