Class CloudControlsPartnerCoreConnection (2.29.0-rc)

This interface defines virtual methods for each of the user-facing overload sets in CloudControlsPartnerCoreClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type CloudControlsPartnerCoreClient.

To create a concrete instance, see MakeCloudControlsPartnerCoreConnection().

For mocking, see cloudcontrolspartner_v1_mocks::MockCloudControlsPartnerCoreConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual GetWorkload(google::cloud::cloudcontrolspartner::v1::GetWorkloadRequest const &)

Parameter
Name Description
request google::cloud::cloudcontrolspartner::v1::GetWorkloadRequest const &
Returns
Type Description
StatusOr< google::cloud::cloudcontrolspartner::v1::Workload >

virtual ListWorkloads(google::cloud::cloudcontrolspartner::v1::ListWorkloadsRequest)

Parameter
Name Description
request google::cloud::cloudcontrolspartner::v1::ListWorkloadsRequest
Returns
Type Description
StreamRange< google::cloud::cloudcontrolspartner::v1::Workload >

virtual GetCustomer(google::cloud::cloudcontrolspartner::v1::GetCustomerRequest const &)

Parameter
Name Description
request google::cloud::cloudcontrolspartner::v1::GetCustomerRequest const &
Returns
Type Description
StatusOr< google::cloud::cloudcontrolspartner::v1::Customer >

virtual ListCustomers(google::cloud::cloudcontrolspartner::v1::ListCustomersRequest)

Parameter
Name Description
request google::cloud::cloudcontrolspartner::v1::ListCustomersRequest
Returns
Type Description
StreamRange< google::cloud::cloudcontrolspartner::v1::Customer >

virtual GetEkmConnections(google::cloud::cloudcontrolspartner::v1::GetEkmConnectionsRequest const &)

Parameter
Name Description
request google::cloud::cloudcontrolspartner::v1::GetEkmConnectionsRequest const &
Returns
Type Description
StatusOr< google::cloud::cloudcontrolspartner::v1::EkmConnections >

virtual GetPartnerPermissions(google::cloud::cloudcontrolspartner::v1::GetPartnerPermissionsRequest const &)

Parameter
Name Description
request google::cloud::cloudcontrolspartner::v1::GetPartnerPermissionsRequest const &
Returns
Type Description
StatusOr< google::cloud::cloudcontrolspartner::v1::PartnerPermissions >

virtual ListAccessApprovalRequests(google::cloud::cloudcontrolspartner::v1::ListAccessApprovalRequestsRequest)

Parameter
Name Description
request google::cloud::cloudcontrolspartner::v1::ListAccessApprovalRequestsRequest
Returns
Type Description
StreamRange< google::cloud::cloudcontrolspartner::v1::AccessApprovalRequest >

virtual GetPartner(google::cloud::cloudcontrolspartner::v1::GetPartnerRequest const &)

Parameter
Name Description
request google::cloud::cloudcontrolspartner::v1::GetPartnerRequest const &
Returns
Type Description
StatusOr< google::cloud::cloudcontrolspartner::v1::Partner >