Class TenantServiceClientImpl (1.0.0)

public sealed class TenantServiceClientImpl : TenantServiceClient

TenantService client wrapper implementation, for convenient use.

Inheritance

System.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
Name Description
grpcClient TenantService.TenantServiceClient

The underlying gRPC client.

settings TenantServiceSettings

The base TenantServiceSettings used within this client.

Properties

GrpcClient

public override TenantService.TenantServiceClient GrpcClient { get; }

The underlying gRPC TenantService client

Property Value
Type Description
TenantService.TenantServiceClient
Overrides

Methods

CreateTenant(CreateTenantRequest, CallSettings)

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

Creates a new tenant entity.

Parameters
Name Description
request CreateTenantRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Tenant

The RPC response.

Overrides

CreateTenantAsync(CreateTenantRequest, CallSettings)

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

Creates a new tenant entity.

Parameters
Name Description
request CreateTenantRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
System.Threading.Tasks.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
Name Description
request DeleteTenantRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

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
Name Description
request DeleteTenantRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
System.Threading.Tasks.Task

A Task containing the RPC response.

Overrides

GetTenant(GetTenantRequest, CallSettings)

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

Retrieves specified tenant.

Parameters
Name Description
request GetTenantRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Tenant

The RPC response.

Overrides

GetTenantAsync(GetTenantRequest, CallSettings)

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

Retrieves specified tenant.

Parameters
Name Description
request GetTenantRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
System.Threading.Tasks.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
Name Description
request ListTenantsRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Google.Api.Gax.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
Name Description
request ListTenantsRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Google.Api.Gax.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
Name Description
request UpdateTenantRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Tenant

The RPC response.

Overrides

UpdateTenantAsync(UpdateTenantRequest, CallSettings)

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

Updates specified tenant.

Parameters
Name Description
request UpdateTenantRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

Overrides