public sealed class TenantServiceClientImpl : TenantServiceClientReference documentation and code samples for the Google Cloud Talent Solution v4beta1 API class TenantServiceClientImpl.
TenantService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Talent.V4Beta1Assembly
Google.Cloud.Talent.V4Beta1.dll
Remarks
A service that handles tenant management, including CRUD and enumeration.
Constructors
TenantServiceClientImpl(TenantServiceClient, TenantServiceSettings, ILogger)
public TenantServiceClientImpl(TenantService.TenantServiceClient grpcClient, TenantServiceSettings settings, ILogger logger)Constructs a client wrapper for the TenantService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
TenantServiceTenantServiceClientThe underlying gRPC client. |
settings |
TenantServiceSettingsThe base TenantServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override TenantService.TenantServiceClient GrpcClient { get; }The underlying gRPC TenantService client
| Property Value | |
|---|---|
| Type | Description |
TenantServiceTenantServiceClient |
|
Methods
CreateTenant(CreateTenantRequest, CallSettings)
public override Tenant CreateTenant(CreateTenantRequest request, CallSettings callSettings = null)Creates a new tenant entity.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTenantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Tenant |
The RPC response. |
CreateTenantAsync(CreateTenantRequest, CallSettings)
public override Task<Tenant> CreateTenantAsync(CreateTenantRequest request, CallSettings callSettings = null)Creates a new tenant entity.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTenantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTenant |
A Task containing the RPC response. |
DeleteTenant(DeleteTenantRequest, CallSettings)
public override void DeleteTenant(DeleteTenantRequest request, CallSettings callSettings = null)Deletes specified tenant.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTenantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteTenantAsync(DeleteTenantRequest, CallSettings)
public override Task DeleteTenantAsync(DeleteTenantRequest request, CallSettings callSettings = null)Deletes specified tenant.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTenantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetTenant(GetTenantRequest, CallSettings)
public override Tenant GetTenant(GetTenantRequest request, CallSettings callSettings = null)Retrieves specified tenant.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTenantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Tenant |
The RPC response. |
GetTenantAsync(GetTenantRequest, CallSettings)
public override Task<Tenant> GetTenantAsync(GetTenantRequest request, CallSettings callSettings = null)Retrieves specified tenant.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTenantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTenant |
A Task containing the RPC response. |
ListTenants(ListTenantsRequest, CallSettings)
public override PagedEnumerable<ListTenantsResponse, Tenant> ListTenants(ListTenantsRequest request, CallSettings callSettings = null)Lists all tenants associated with the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTenantsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListTenantsResponseTenant |
A pageable sequence of Tenant resources. |
ListTenantsAsync(ListTenantsRequest, CallSettings)
public override PagedAsyncEnumerable<ListTenantsResponse, Tenant> ListTenantsAsync(ListTenantsRequest request, CallSettings callSettings = null)Lists all tenants associated with the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTenantsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListTenantsResponseTenant |
A pageable asynchronous sequence of Tenant resources. |
UpdateTenant(UpdateTenantRequest, CallSettings)
public override Tenant UpdateTenant(UpdateTenantRequest request, CallSettings callSettings = null)Updates specified tenant.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTenantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Tenant |
The RPC response. |
UpdateTenantAsync(UpdateTenantRequest, CallSettings)
public override Task<Tenant> UpdateTenantAsync(UpdateTenantRequest request, CallSettings callSettings = null)Updates specified tenant.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTenantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTenant |
A Task containing the RPC response. |