Class TenantServiceClient (1.0.0)

public abstract class TenantServiceClient

TenantService client wrapper, for convenient use.

Inheritance

System.Object > TenantServiceClient

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.dll

Remarks

A service that handles tenant management, including CRUD and enumeration.

Properties

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the TenantService service, which is a host of "jobs.googleapis.com" and a port of 443.

Property Value
TypeDescription
System.String

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default TenantService scopes.

Property Value
TypeDescription
System.Collections.Generic.IReadOnlyList<System.String>
Remarks

GrpcClient

public virtual TenantService.TenantServiceClient GrpcClient { get; }

The underlying gRPC TenantService client

Property Value
TypeDescription
TenantService.TenantServiceClient

Methods

Create()

public static TenantServiceClient Create()

Synchronously creates a TenantServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use TenantServiceClientBuilder.

Returns
TypeDescription
TenantServiceClient

The created TenantServiceClient.

CreateAsync(CancellationToken)

public static Task<TenantServiceClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))

Asynchronously creates a TenantServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use TenantServiceClientBuilder.

Parameter
NameDescription
cancellationTokenSystem.Threading.CancellationToken

The System.Threading.CancellationToken to use while creating the client.

Returns
TypeDescription
System.Threading.Tasks.Task<TenantServiceClient>

The task representing the created TenantServiceClient.

CreateTenant(ProjectName, Tenant, CallSettings)

public virtual Tenant CreateTenant(ProjectName parent, Tenant tenant, CallSettings callSettings = null)

Creates a new tenant entity.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.ProjectName

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo".

tenantTenant

Required. The tenant to be created.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Tenant

The RPC response.

CreateTenant(CreateTenantRequest, CallSettings)

public virtual 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Tenant

The RPC response.

CreateTenant(String, Tenant, CallSettings)

public virtual Tenant CreateTenant(string parent, Tenant tenant, CallSettings callSettings = null)

Creates a new tenant entity.

Parameters
NameDescription
parentSystem.String

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo".

tenantTenant

Required. The tenant to be created.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Tenant

The RPC response.

CreateTenantAsync(ProjectName, Tenant, CallSettings)

public virtual Task<Tenant> CreateTenantAsync(ProjectName parent, Tenant tenant, CallSettings callSettings = null)

Creates a new tenant entity.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.ProjectName

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo".

tenantTenant

Required. The tenant to be created.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

CreateTenantAsync(ProjectName, Tenant, CancellationToken)

public virtual Task<Tenant> CreateTenantAsync(ProjectName parent, Tenant tenant, CancellationToken cancellationToken)

Creates a new tenant entity.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.ProjectName

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo".

tenantTenant

Required. The tenant to be created.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

CreateTenantAsync(CreateTenantRequest, CallSettings)

public virtual 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

CreateTenantAsync(CreateTenantRequest, CancellationToken)

public virtual Task<Tenant> CreateTenantAsync(CreateTenantRequest request, CancellationToken cancellationToken)

Creates a new tenant entity.

Parameters
NameDescription
requestCreateTenantRequest

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

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

CreateTenantAsync(String, Tenant, CallSettings)

public virtual Task<Tenant> CreateTenantAsync(string parent, Tenant tenant, CallSettings callSettings = null)

Creates a new tenant entity.

Parameters
NameDescription
parentSystem.String

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo".

tenantTenant

Required. The tenant to be created.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

CreateTenantAsync(String, Tenant, CancellationToken)

public virtual Task<Tenant> CreateTenantAsync(string parent, Tenant tenant, CancellationToken cancellationToken)

Creates a new tenant entity.

Parameters
NameDescription
parentSystem.String

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo".

tenantTenant

Required. The tenant to be created.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

DeleteTenant(DeleteTenantRequest, CallSettings)

public virtual 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteTenant(TenantName, CallSettings)

public virtual void DeleteTenant(TenantName name, CallSettings callSettings = null)

Deletes specified tenant.

Parameters
NameDescription
nameTenantName

Required. The resource name of the tenant to be deleted.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteTenant(String, CallSettings)

public virtual void DeleteTenant(string name, CallSettings callSettings = null)

Deletes specified tenant.

Parameters
NameDescription
nameSystem.String

Required. The resource name of the tenant to be deleted.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteTenantAsync(DeleteTenantRequest, CallSettings)

public virtual 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteTenantAsync(DeleteTenantRequest, CancellationToken)

public virtual Task DeleteTenantAsync(DeleteTenantRequest request, CancellationToken cancellationToken)

Deletes specified tenant.

Parameters
NameDescription
requestDeleteTenantRequest

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

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteTenantAsync(TenantName, CallSettings)

public virtual Task DeleteTenantAsync(TenantName name, CallSettings callSettings = null)

Deletes specified tenant.

Parameters
NameDescription
nameTenantName

Required. The resource name of the tenant to be deleted.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteTenantAsync(TenantName, CancellationToken)

public virtual Task DeleteTenantAsync(TenantName name, CancellationToken cancellationToken)

Deletes specified tenant.

Parameters
NameDescription
nameTenantName

Required. The resource name of the tenant to be deleted.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteTenantAsync(String, CallSettings)

public virtual Task DeleteTenantAsync(string name, CallSettings callSettings = null)

Deletes specified tenant.

Parameters
NameDescription
nameSystem.String

Required. The resource name of the tenant to be deleted.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteTenantAsync(String, CancellationToken)

public virtual Task DeleteTenantAsync(string name, CancellationToken cancellationToken)

Deletes specified tenant.

Parameters
NameDescription
nameSystem.String

Required. The resource name of the tenant to be deleted.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

GetTenant(GetTenantRequest, CallSettings)

public virtual 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Tenant

The RPC response.

GetTenant(TenantName, CallSettings)

public virtual Tenant GetTenant(TenantName name, CallSettings callSettings = null)

Retrieves specified tenant.

Parameters
NameDescription
nameTenantName

Required. The resource name of the tenant to be retrieved.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Tenant

The RPC response.

GetTenant(String, CallSettings)

public virtual Tenant GetTenant(string name, CallSettings callSettings = null)

Retrieves specified tenant.

Parameters
NameDescription
nameSystem.String

Required. The resource name of the tenant to be retrieved.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Tenant

The RPC response.

GetTenantAsync(GetTenantRequest, CallSettings)

public virtual 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

GetTenantAsync(GetTenantRequest, CancellationToken)

public virtual Task<Tenant> GetTenantAsync(GetTenantRequest request, CancellationToken cancellationToken)

Retrieves specified tenant.

Parameters
NameDescription
requestGetTenantRequest

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

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

GetTenantAsync(TenantName, CallSettings)

public virtual Task<Tenant> GetTenantAsync(TenantName name, CallSettings callSettings = null)

Retrieves specified tenant.

Parameters
NameDescription
nameTenantName

Required. The resource name of the tenant to be retrieved.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

GetTenantAsync(TenantName, CancellationToken)

public virtual Task<Tenant> GetTenantAsync(TenantName name, CancellationToken cancellationToken)

Retrieves specified tenant.

Parameters
NameDescription
nameTenantName

Required. The resource name of the tenant to be retrieved.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

GetTenantAsync(String, CallSettings)

public virtual Task<Tenant> GetTenantAsync(string name, CallSettings callSettings = null)

Retrieves specified tenant.

Parameters
NameDescription
nameSystem.String

Required. The resource name of the tenant to be retrieved.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

GetTenantAsync(String, CancellationToken)

public virtual Task<Tenant> GetTenantAsync(string name, CancellationToken cancellationToken)

Retrieves specified tenant.

Parameters
NameDescription
nameSystem.String

Required. The resource name of the tenant to be retrieved.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

ListTenants(ProjectName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListTenantsResponse, Tenant> ListTenants(ProjectName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all tenants associated with the project.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.ProjectName

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo".

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListTenantsResponse, Tenant>

A pageable sequence of Tenant resources.

ListTenants(ListTenantsRequest, CallSettings)

public virtual 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListTenantsResponse, Tenant>

A pageable sequence of Tenant resources.

ListTenants(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListTenantsResponse, Tenant> ListTenants(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all tenants associated with the project.

Parameters
NameDescription
parentSystem.String

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo".

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListTenantsResponse, Tenant>

A pageable sequence of Tenant resources.

ListTenantsAsync(ProjectName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListTenantsResponse, Tenant> ListTenantsAsync(ProjectName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all tenants associated with the project.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.ProjectName

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo".

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListTenantsResponse, Tenant>

A pageable asynchronous sequence of Tenant resources.

ListTenantsAsync(ListTenantsRequest, CallSettings)

public virtual 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListTenantsResponse, Tenant>

A pageable asynchronous sequence of Tenant resources.

ListTenantsAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListTenantsResponse, Tenant> ListTenantsAsync(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists all tenants associated with the project.

Parameters
NameDescription
parentSystem.String

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo".

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListTenantsResponse, Tenant>

A pageable asynchronous sequence of Tenant resources.

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Returns
TypeDescription
System.Threading.Tasks.Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

UpdateTenant(Tenant, FieldMask, CallSettings)

public virtual Tenant UpdateTenant(Tenant tenant, FieldMask updateMask, CallSettings callSettings = null)

Updates specified tenant.

Parameters
NameDescription
tenantTenant

Required. The tenant resource to replace the current resource in the system.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

Strongly recommended for the best service experience.

If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in [tenant][google.cloud.talent.v4.UpdateTenantRequest.tenant] are updated. Otherwise all the fields are updated.

A field mask to specify the tenant fields to be updated. Only top level fields of [Tenant][google.cloud.talent.v4.Tenant] are supported.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Tenant

The RPC response.

UpdateTenant(UpdateTenantRequest, CallSettings)

public virtual 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Tenant

The RPC response.

UpdateTenantAsync(Tenant, FieldMask, CallSettings)

public virtual Task<Tenant> UpdateTenantAsync(Tenant tenant, FieldMask updateMask, CallSettings callSettings = null)

Updates specified tenant.

Parameters
NameDescription
tenantTenant

Required. The tenant resource to replace the current resource in the system.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

Strongly recommended for the best service experience.

If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in [tenant][google.cloud.talent.v4.UpdateTenantRequest.tenant] are updated. Otherwise all the fields are updated.

A field mask to specify the tenant fields to be updated. Only top level fields of [Tenant][google.cloud.talent.v4.Tenant] are supported.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

UpdateTenantAsync(Tenant, FieldMask, CancellationToken)

public virtual Task<Tenant> UpdateTenantAsync(Tenant tenant, FieldMask updateMask, CancellationToken cancellationToken)

Updates specified tenant.

Parameters
NameDescription
tenantTenant

Required. The tenant resource to replace the current resource in the system.

updateMaskGoogle.Protobuf.WellKnownTypes.FieldMask

Strongly recommended for the best service experience.

If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in [tenant][google.cloud.talent.v4.UpdateTenantRequest.tenant] are updated. Otherwise all the fields are updated.

A field mask to specify the tenant fields to be updated. Only top level fields of [Tenant][google.cloud.talent.v4.Tenant] are supported.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

UpdateTenantAsync(UpdateTenantRequest, CallSettings)

public virtual 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.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.

UpdateTenantAsync(UpdateTenantRequest, CancellationToken)

public virtual Task<Tenant> UpdateTenantAsync(UpdateTenantRequest request, CancellationToken cancellationToken)

Updates specified tenant.

Parameters
NameDescription
requestUpdateTenantRequest

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

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Tenant>

A Task containing the RPC response.