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::cloud::vmwareengine::v1::CreatePrivateCloudRequest 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::CreatePrivateCloudRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > > |
|
virtual UpdatePrivateCloud(google::cloud::vmwareengine::v1::UpdatePrivateCloudRequest 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::UpdatePrivateCloudRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > > |
|
virtual DeletePrivateCloud(google::cloud::vmwareengine::v1::DeletePrivateCloudRequest 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::DeletePrivateCloudRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > > |
|
virtual UndeletePrivateCloud(google::cloud::vmwareengine::v1::UndeletePrivateCloudRequest 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::UndeletePrivateCloudRequest 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::cloud::vmwareengine::v1::CreateClusterRequest 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::CreateClusterRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::Cluster > > |
|
virtual UpdateCluster(google::cloud::vmwareengine::v1::UpdateClusterRequest 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::UpdateClusterRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::Cluster > > |
|
virtual DeleteCluster(google::cloud::vmwareengine::v1::DeleteClusterRequest 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::DeleteClusterRequest 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::cloud::vmwareengine::v1::CreateExternalAddressRequest 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::CreateExternalAddressRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::ExternalAddress > > |
|
virtual UpdateExternalAddress(google::cloud::vmwareengine::v1::UpdateExternalAddressRequest 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::UpdateExternalAddressRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::ExternalAddress > > |
|
virtual DeleteExternalAddress(google::cloud::vmwareengine::v1::DeleteExternalAddressRequest 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::DeleteExternalAddressRequest 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::cloud::vmwareengine::v1::UpdateSubnetRequest 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::UpdateSubnetRequest 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::cloud::vmwareengine::v1::CreateExternalAccessRuleRequest 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::CreateExternalAccessRuleRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::ExternalAccessRule > > |
|
virtual UpdateExternalAccessRule(google::cloud::vmwareengine::v1::UpdateExternalAccessRuleRequest 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::UpdateExternalAccessRuleRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::ExternalAccessRule > > |
|
virtual DeleteExternalAccessRule(google::cloud::vmwareengine::v1::DeleteExternalAccessRuleRequest 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::DeleteExternalAccessRuleRequest 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::cloud::vmwareengine::v1::CreateLoggingServerRequest 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::CreateLoggingServerRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::LoggingServer > > |
|
virtual UpdateLoggingServer(google::cloud::vmwareengine::v1::UpdateLoggingServerRequest 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::UpdateLoggingServerRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::LoggingServer > > |
|
virtual DeleteLoggingServer(google::cloud::vmwareengine::v1::DeleteLoggingServerRequest 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::DeleteLoggingServerRequest 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::cloud::vmwareengine::v1::ResetNsxCredentialsRequest 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::ResetNsxCredentialsRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::PrivateCloud > > |
|
virtual ResetVcenterCredentials(google::cloud::vmwareengine::v1::ResetVcenterCredentialsRequest 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::ResetVcenterCredentialsRequest 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::cloud::vmwareengine::v1::UpdateDnsForwardingRequest 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::UpdateDnsForwardingRequest 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::cloud::vmwareengine::v1::CreateNetworkPeeringRequest 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::CreateNetworkPeeringRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::NetworkPeering > > |
|
virtual DeleteNetworkPeering(google::cloud::vmwareengine::v1::DeleteNetworkPeeringRequest 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::DeleteNetworkPeeringRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > > |
|
virtual UpdateNetworkPeering(google::cloud::vmwareengine::v1::UpdateNetworkPeeringRequest 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::UpdateNetworkPeeringRequest 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::cloud::vmwareengine::v1::CreateHcxActivationKeyRequest 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::CreateHcxActivationKeyRequest 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::cloud::vmwareengine::v1::CreateNetworkPolicyRequest 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::CreateNetworkPolicyRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::NetworkPolicy > > |
|
virtual UpdateNetworkPolicy(google::cloud::vmwareengine::v1::UpdateNetworkPolicyRequest 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::UpdateNetworkPolicyRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::NetworkPolicy > > |
|
virtual DeleteNetworkPolicy(google::cloud::vmwareengine::v1::DeleteNetworkPolicyRequest 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::DeleteNetworkPolicyRequest 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::cloud::vmwareengine::v1::CreateManagementDnsZoneBindingRequest 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::CreateManagementDnsZoneBindingRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > > |
|
virtual UpdateManagementDnsZoneBinding(google::cloud::vmwareengine::v1::UpdateManagementDnsZoneBindingRequest 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::UpdateManagementDnsZoneBindingRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > > |
|
virtual DeleteManagementDnsZoneBinding(google::cloud::vmwareengine::v1::DeleteManagementDnsZoneBindingRequest 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::DeleteManagementDnsZoneBindingRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::OperationMetadata > > |
|
virtual RepairManagementDnsZoneBinding(google::cloud::vmwareengine::v1::RepairManagementDnsZoneBindingRequest 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::RepairManagementDnsZoneBindingRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::ManagementDnsZoneBinding > > |
|
virtual CreateVmwareEngineNetwork(google::cloud::vmwareengine::v1::CreateVmwareEngineNetworkRequest 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::CreateVmwareEngineNetworkRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::VmwareEngineNetwork > > |
|
virtual UpdateVmwareEngineNetwork(google::cloud::vmwareengine::v1::UpdateVmwareEngineNetworkRequest 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::UpdateVmwareEngineNetworkRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::VmwareEngineNetwork > > |
|
virtual DeleteVmwareEngineNetwork(google::cloud::vmwareengine::v1::DeleteVmwareEngineNetworkRequest 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::DeleteVmwareEngineNetworkRequest 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::cloud::vmwareengine::v1::CreatePrivateConnectionRequest 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::CreatePrivateConnectionRequest 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::cloud::vmwareengine::v1::UpdatePrivateConnectionRequest 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::UpdatePrivateConnectionRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::PrivateConnection > > |
|
virtual DeletePrivateConnection(google::cloud::vmwareengine::v1::DeletePrivateConnectionRequest 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::DeletePrivateConnectionRequest 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::cloud::vmwareengine::v1::GrantDnsBindPermissionRequest 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::GrantDnsBindPermissionRequest 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::cloud::vmwareengine::v1::RevokeDnsBindPermissionRequest 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::RevokeDnsBindPermissionRequest const &
|
Returns |
Type |
Description |
future< StatusOr< google::cloud::vmwareengine::v1::DnsBindPermission > > |
|