Class TenantServiceClientImpl (1.4.0)

public sealed class TenantServiceClientImpl : TenantServiceClient

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(TenantService.TenantServiceClient, TenantServiceSettings)

public TenantServiceClientImpl(TenantService.TenantServiceClient grpcClient, TenantServiceSettings settings)

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

Parameters
NameDescription
grpcClientTenantService.TenantServiceClient

The underlying gRPC client.

settingsTenantServiceSettings

The base TenantServiceSettings used within this client.

Properties

GrpcClient

public override TenantService.TenantServiceClient GrpcClient { get; }

The underlying gRPC TenantService client

Property Value
TypeDescription
TenantService.TenantServiceClient
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
Task<Tenant>

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
Task<Tenant>

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
PagedEnumerable<ListTenantsResponse, Tenant>

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
PagedAsyncEnumerable<ListTenantsResponse, Tenant>

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
Task<Tenant>

A Task containing the RPC response.

Overrides