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.
Namespace
Google.Cloud.CloudControlsPartner.V1Assembly
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 |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
ListAccessApprovalRequests(ListAccessApprovalRequestsRequest, CallSettings)
[Obsolete]
public override PagedEnumerable<ListAccessApprovalRequestsResponse, AccessApprovalRequest> ListAccessApprovalRequests(ListAccessApprovalRequestsRequest request, CallSettings callSettings = null)
Deprecated: Only returns access approval requests directly associated with an assured workload folder.
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. |
ListAccessApprovalRequestsAsync(ListAccessApprovalRequestsRequest, CallSettings)
[Obsolete]
public override PagedAsyncEnumerable<ListAccessApprovalRequestsResponse, AccessApprovalRequest> ListAccessApprovalRequestsAsync(ListAccessApprovalRequestsRequest request, CallSettings callSettings = null)
Deprecated: Only returns access approval requests directly associated with an assured workload folder.
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. |
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. |
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. |
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. |
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. |