Cloud Controls Partner v1 API - Class CloudControlsPartnerCoreClientImpl (1.0.0-beta02)

public sealed class CloudControlsPartnerCoreClientImpl : CloudControlsPartnerCoreClient

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

CloudControlsPartnerCore client wrapper implementation, for convenient use.

Inheritance

object > CloudControlsPartnerCoreClient > CloudControlsPartnerCoreClientImpl

Namespace

Google.Cloud.CloudControlsPartner.V1

Assembly

Google.Cloud.CloudControlsPartner.V1.dll

Remarks

Service describing handlers for resources

Constructors

CloudControlsPartnerCoreClientImpl(CloudControlsPartnerCoreClient, CloudControlsPartnerCoreSettings, ILogger)

public CloudControlsPartnerCoreClientImpl(CloudControlsPartnerCore.CloudControlsPartnerCoreClient grpcClient, CloudControlsPartnerCoreSettings settings, ILogger logger)

Constructs a client wrapper for the CloudControlsPartnerCore service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient CloudControlsPartnerCoreCloudControlsPartnerCoreClient

The underlying gRPC client.

settings CloudControlsPartnerCoreSettings

The base CloudControlsPartnerCoreSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override CloudControlsPartnerCore.CloudControlsPartnerCoreClient GrpcClient { get; }

The underlying gRPC CloudControlsPartnerCore client

Property Value
Type Description
CloudControlsPartnerCoreCloudControlsPartnerCoreClient
Overrides

Methods

GetCustomer(GetCustomerRequest, CallSettings)

public override Customer GetCustomer(GetCustomerRequest request, CallSettings callSettings = null)

Gets details of a single customer

Parameters
Name Description
request GetCustomerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Customer

The RPC response.

Overrides

GetCustomerAsync(GetCustomerRequest, CallSettings)

public override Task<Customer> GetCustomerAsync(GetCustomerRequest request, CallSettings callSettings = null)

Gets details of a single customer

Parameters
Name Description
request GetCustomerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCustomer

A Task containing the RPC response.

Overrides

GetEkmConnections(GetEkmConnectionsRequest, CallSettings)

public override EkmConnections GetEkmConnections(GetEkmConnectionsRequest request, CallSettings callSettings = null)

Gets the EKM connections associated with a workload

Parameters
Name Description
request GetEkmConnectionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
EkmConnections

The RPC response.

Overrides

GetEkmConnectionsAsync(GetEkmConnectionsRequest, CallSettings)

public override Task<EkmConnections> GetEkmConnectionsAsync(GetEkmConnectionsRequest request, CallSettings callSettings = null)

Gets the EKM connections associated with a workload

Parameters
Name Description
request GetEkmConnectionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEkmConnections

A Task containing the RPC response.

Overrides

GetPartner(GetPartnerRequest, CallSettings)

public override Partner GetPartner(GetPartnerRequest request, CallSettings callSettings = null)

Get details of a Partner.

Parameters
Name Description
request GetPartnerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Partner

The RPC response.

Overrides

GetPartnerAsync(GetPartnerRequest, CallSettings)

public override Task<Partner> GetPartnerAsync(GetPartnerRequest request, CallSettings callSettings = null)

Get details of a Partner.

Parameters
Name Description
request GetPartnerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPartner

A Task containing the RPC response.

Overrides

GetPartnerPermissions(GetPartnerPermissionsRequest, CallSettings)

public override PartnerPermissions GetPartnerPermissions(GetPartnerPermissionsRequest request, CallSettings callSettings = null)

Gets the partner permissions granted for a workload

Parameters
Name Description
request GetPartnerPermissionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PartnerPermissions

The RPC response.

Overrides

GetPartnerPermissionsAsync(GetPartnerPermissionsRequest, CallSettings)

public override Task<PartnerPermissions> GetPartnerPermissionsAsync(GetPartnerPermissionsRequest request, CallSettings callSettings = null)

Gets the partner permissions granted for a workload

Parameters
Name Description
request GetPartnerPermissionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPartnerPermissions

A Task containing the RPC response.

Overrides

GetWorkload(GetWorkloadRequest, CallSettings)

public override Workload GetWorkload(GetWorkloadRequest request, CallSettings callSettings = null)

Gets details of a single workload

Parameters
Name Description
request GetWorkloadRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Workload

The RPC response.

Overrides

GetWorkloadAsync(GetWorkloadRequest, CallSettings)

public override Task<Workload> GetWorkloadAsync(GetWorkloadRequest request, CallSettings callSettings = null)

Gets details of a single workload

Parameters
Name Description
request GetWorkloadRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkload

A Task containing the RPC response.

Overrides

ListAccessApprovalRequests(ListAccessApprovalRequestsRequest, CallSettings)

public override PagedEnumerable<ListAccessApprovalRequestsResponse, AccessApprovalRequest> ListAccessApprovalRequests(ListAccessApprovalRequestsRequest request, CallSettings callSettings = null)

Lists access requests associated with a workload

Parameters
Name Description
request ListAccessApprovalRequestsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAccessApprovalRequestsResponseAccessApprovalRequest

A pageable sequence of AccessApprovalRequest resources.

Overrides

ListAccessApprovalRequestsAsync(ListAccessApprovalRequestsRequest, CallSettings)

public override PagedAsyncEnumerable<ListAccessApprovalRequestsResponse, AccessApprovalRequest> ListAccessApprovalRequestsAsync(ListAccessApprovalRequestsRequest request, CallSettings callSettings = null)

Lists access requests associated with a workload

Parameters
Name Description
request ListAccessApprovalRequestsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAccessApprovalRequestsResponseAccessApprovalRequest

A pageable asynchronous sequence of AccessApprovalRequest resources.

Overrides

ListCustomers(ListCustomersRequest, CallSettings)

public override PagedEnumerable<ListCustomersResponse, Customer> ListCustomers(ListCustomersRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListCustomersRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListCustomersResponseCustomer

A pageable sequence of Customer resources.

Overrides

ListCustomersAsync(ListCustomersRequest, CallSettings)

public override PagedAsyncEnumerable<ListCustomersResponse, Customer> ListCustomersAsync(ListCustomersRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListCustomersRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListCustomersResponseCustomer

A pageable asynchronous sequence of Customer resources.

Overrides

ListWorkloads(ListWorkloadsRequest, CallSettings)

public override PagedEnumerable<ListWorkloadsResponse, Workload> ListWorkloads(ListWorkloadsRequest request, CallSettings callSettings = null)

Lists customer workloads for a given customer org id

Parameters
Name Description
request ListWorkloadsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListWorkloadsResponseWorkload

A pageable sequence of Workload resources.

Overrides

ListWorkloadsAsync(ListWorkloadsRequest, CallSettings)

public override PagedAsyncEnumerable<ListWorkloadsResponse, Workload> ListWorkloadsAsync(ListWorkloadsRequest request, CallSettings callSettings = null)

Lists customer workloads for a given customer org id

Parameters
Name Description
request ListWorkloadsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListWorkloadsResponseWorkload

A pageable asynchronous sequence of Workload resources.

Overrides