Google Cloud Talent Solution v4 API - Class TenantServiceClientImpl (2.3.0)

public sealed class TenantServiceClientImpl : TenantServiceClient

Reference documentation and code samples for the Google Cloud Talent Solution v4 API class TenantServiceClientImpl.

TenantService client wrapper implementation, for convenient use.

Inheritance

object > TenantServiceClient > TenantServiceClientImpl

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.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
NameDescription
grpcClientTenantServiceTenantServiceClient

The underlying gRPC client.

settingsTenantServiceSettings

The base TenantServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override TenantService.TenantServiceClient GrpcClient { get; }

The underlying gRPC TenantService client

Property Value
TypeDescription
TenantServiceTenantServiceClient
Overrides

Methods

CreateTenant(CreateTenantRequest, CallSettings)

public override Tenant CreateTenant(CreateTenantRequest request, CallSettings callSettings = null)

Creates a new tenant entity.

Parameters
NameDescription
requestCreateTenantRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Tenant

The RPC response.

Overrides

CreateTenantAsync(CreateTenantRequest, CallSettings)

public override Task<Tenant> CreateTenantAsync(CreateTenantRequest request, CallSettings callSettings = null)

Creates a new tenant entity.

Parameters
NameDescription
requestCreateTenantRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskTenant

A Task containing the RPC response.

Overrides

DeleteTenant(DeleteTenantRequest, CallSettings)

public override void DeleteTenant(DeleteTenantRequest request, CallSettings callSettings = null)

Deletes specified tenant.

Parameters
NameDescription
requestDeleteTenantRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteTenantAsync(DeleteTenantRequest, CallSettings)

public override Task DeleteTenantAsync(DeleteTenantRequest request, CallSettings callSettings = null)

Deletes specified tenant.

Parameters
NameDescription
requestDeleteTenantRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetTenant(GetTenantRequest, CallSettings)

public override Tenant GetTenant(GetTenantRequest request, CallSettings callSettings = null)

Retrieves specified tenant.

Parameters
NameDescription
requestGetTenantRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Tenant

The RPC response.

Overrides

GetTenantAsync(GetTenantRequest, CallSettings)

public override Task<Tenant> GetTenantAsync(GetTenantRequest request, CallSettings callSettings = null)

Retrieves specified tenant.

Parameters
NameDescription
requestGetTenantRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskTenant

A Task containing the RPC response.

Overrides

ListTenants(ListTenantsRequest, CallSettings)

public override PagedEnumerable<ListTenantsResponse, Tenant> ListTenants(ListTenantsRequest request, CallSettings callSettings = null)

Lists all tenants associated with the project.

Parameters
NameDescription
requestListTenantsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListTenantsResponseTenant

A pageable sequence of Tenant resources.

Overrides

ListTenantsAsync(ListTenantsRequest, CallSettings)

public override PagedAsyncEnumerable<ListTenantsResponse, Tenant> ListTenantsAsync(ListTenantsRequest request, CallSettings callSettings = null)

Lists all tenants associated with the project.

Parameters
NameDescription
requestListTenantsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListTenantsResponseTenant

A pageable asynchronous sequence of Tenant resources.

Overrides

UpdateTenant(UpdateTenantRequest, CallSettings)

public override Tenant UpdateTenant(UpdateTenantRequest request, CallSettings callSettings = null)

Updates specified tenant.

Parameters
NameDescription
requestUpdateTenantRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Tenant

The RPC response.

Overrides

UpdateTenantAsync(UpdateTenantRequest, CallSettings)

public override Task<Tenant> UpdateTenantAsync(UpdateTenantRequest request, CallSettings callSettings = null)

Updates specified tenant.

Parameters
NameDescription
requestUpdateTenantRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskTenant

A Task containing the RPC response.

Overrides