Cloud Controls Partner v1 API - Class CloudControlsPartnerCore.CloudControlsPartnerCoreBase (1.0.0-beta02)

[BindServiceMethod(typeof(CloudControlsPartnerCore), "BindService")]
public abstract class CloudControlsPartnerCore.CloudControlsPartnerCoreBase

Reference documentation and code samples for the Cloud Controls Partner v1 API class CloudControlsPartnerCore.CloudControlsPartnerCoreBase.

Base class for server-side implementations of CloudControlsPartnerCore

Inheritance

object > CloudControlsPartnerCore.CloudControlsPartnerCoreBase

Namespace

Google.Cloud.CloudControlsPartner.V1

Assembly

Google.Cloud.CloudControlsPartner.V1.dll

Methods

GetCustomer(GetCustomerRequest, ServerCallContext)

public virtual Task<Customer> GetCustomer(GetCustomerRequest request, ServerCallContext context)

Gets details of a single customer

Parameters
Name Description
request GetCustomerRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskCustomer

The response to send back to the client (wrapped by a task).

GetEkmConnections(GetEkmConnectionsRequest, ServerCallContext)

public virtual Task<EkmConnections> GetEkmConnections(GetEkmConnectionsRequest request, ServerCallContext context)

Gets the EKM connections associated with a workload

Parameters
Name Description
request GetEkmConnectionsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEkmConnections

The response to send back to the client (wrapped by a task).

GetPartner(GetPartnerRequest, ServerCallContext)

public virtual Task<Partner> GetPartner(GetPartnerRequest request, ServerCallContext context)

Get details of a Partner.

Parameters
Name Description
request GetPartnerRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskPartner

The response to send back to the client (wrapped by a task).

GetPartnerPermissions(GetPartnerPermissionsRequest, ServerCallContext)

public virtual Task<PartnerPermissions> GetPartnerPermissions(GetPartnerPermissionsRequest request, ServerCallContext context)

Gets the partner permissions granted for a workload

Parameters
Name Description
request GetPartnerPermissionsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskPartnerPermissions

The response to send back to the client (wrapped by a task).

GetWorkload(GetWorkloadRequest, ServerCallContext)

public virtual Task<Workload> GetWorkload(GetWorkloadRequest request, ServerCallContext context)

Gets details of a single workload

Parameters
Name Description
request GetWorkloadRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskWorkload

The response to send back to the client (wrapped by a task).

ListAccessApprovalRequests(ListAccessApprovalRequestsRequest, ServerCallContext)

public virtual Task<ListAccessApprovalRequestsResponse> ListAccessApprovalRequests(ListAccessApprovalRequestsRequest request, ServerCallContext context)

Lists access requests associated with a workload

Parameters
Name Description
request ListAccessApprovalRequestsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListAccessApprovalRequestsResponse

The response to send back to the client (wrapped by a task).

ListCustomers(ListCustomersRequest, ServerCallContext)

public virtual Task<ListCustomersResponse> ListCustomers(ListCustomersRequest request, ServerCallContext context)

Lists customers of a partner identified by its Google Cloud organization ID

Parameters
Name Description
request ListCustomersRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListCustomersResponse

The response to send back to the client (wrapped by a task).

ListWorkloads(ListWorkloadsRequest, ServerCallContext)

public virtual Task<ListWorkloadsResponse> ListWorkloads(ListWorkloadsRequest request, ServerCallContext context)

Lists customer workloads for a given customer org id

Parameters
Name Description
request ListWorkloadsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListWorkloadsResponse

The response to send back to the client (wrapped by a task).