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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > > |
|
virtual UpdatePrivateCloud(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > > |
|
virtual DeletePrivateCloud(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > > |
|
virtual UndeletePrivateCloud(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::Cluster > > |
|
virtual UpdateCluster(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::Cluster > > |
|
virtual DeleteCluster(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::ExternalAddress > > |
|
virtual UpdateExternalAddress(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::ExternalAddress > > |
|
virtual DeleteExternalAddress(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::ExternalAccessRule > > |
|
virtual UpdateExternalAccessRule(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::ExternalAccessRule > > |
|
virtual DeleteExternalAccessRule(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::LoggingServer > > |
|
virtual UpdateLoggingServer(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::LoggingServer > > |
|
virtual DeleteLoggingServer(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > > |
|
virtual ResetVcenterCredentials(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::NetworkPeering > > |
|
virtual DeleteNetworkPeering(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > > |
|
virtual UpdateNetworkPeering(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::NetworkPolicy > > |
|
virtual UpdateNetworkPolicy(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::NetworkPolicy > > |
|
virtual DeleteNetworkPolicy(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > > |
|
virtual UpdateManagementDnsZoneBinding(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > > |
|
virtual DeleteManagementDnsZoneBinding(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > > |
|
virtual RepairManagementDnsZoneBinding(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > > |
|
virtual CreateVmwareEngineNetwork(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::VmwareEngineNetwork > > |
|
virtual UpdateVmwareEngineNetwork(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::VmwareEngineNetwork > > |
|
virtual DeleteVmwareEngineNetwork(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::PrivateConnection > > |
|
virtual DeletePrivateConnection(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
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(google::longrunning::Operation const &)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameter |
Name |
Description |
operation |
google::longrunning::Operation const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::DnsBindPermission > > |
|