public abstract class TenantServiceClient
TenantService client wrapper, for convenient use.
Inheritance
System.Object > TenantServiceClientNamespace
Google.Cloud.Talent.V4Assembly
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 | |
---|---|
Type | Description |
System.String |
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }
The default TenantService scopes.
Property Value | |
---|---|
Type | Description |
System.Collections.Generic.IReadOnlyList<System.String> |
The default TenantService scopes are:
GrpcClient
public virtual TenantService.TenantServiceClient GrpcClient { get; }
The underlying gRPC TenantService client
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
cancellationToken | System.Threading.CancellationToken The System.Threading.CancellationToken to use while creating the client. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | Google.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". |
tenant | Tenant Required. The tenant to be created. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Tenant | The RPC response. |
CreateTenant(CreateTenantRequest, CallSettings)
public virtual 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. |
CreateTenant(String, Tenant, CallSettings)
public virtual Tenant CreateTenant(string parent, Tenant tenant, CallSettings callSettings = null)
Creates a new tenant entity.
Parameters | |
---|---|
Name | Description |
parent | System.String Required. Resource name of the project under which the tenant is created. The format is "projects/{project_id}", for example, "projects/foo". |
tenant | Tenant Required. The tenant to be created. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | Google.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". |
tenant | Tenant Required. The tenant to be created. |
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. |
CreateTenantAsync(ProjectName, Tenant, CancellationToken)
public virtual Task<Tenant> CreateTenantAsync(ProjectName parent, Tenant tenant, CancellationToken cancellationToken)
Creates a new tenant entity.
Parameters | |
---|---|
Name | Description |
parent | Google.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". |
tenant | Tenant Required. The tenant to be created. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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. |
CreateTenantAsync(CreateTenantRequest, CancellationToken)
public virtual Task<Tenant> CreateTenantAsync(CreateTenantRequest request, CancellationToken cancellationToken)
Creates a new tenant entity.
Parameters | |
---|---|
Name | Description |
request | CreateTenantRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.String Required. Resource name of the project under which the tenant is created. The format is "projects/{project_id}", for example, "projects/foo". |
tenant | Tenant Required. The tenant to be created. |
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. |
CreateTenantAsync(String, Tenant, CancellationToken)
public virtual Task<Tenant> CreateTenantAsync(string parent, Tenant tenant, CancellationToken cancellationToken)
Creates a new tenant entity.
Parameters | |
---|---|
Name | Description |
parent | System.String Required. Resource name of the project under which the tenant is created. The format is "projects/{project_id}", for example, "projects/foo". |
tenant | Tenant Required. The tenant to be created. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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. |
DeleteTenant(TenantName, CallSettings)
public virtual void DeleteTenant(TenantName name, CallSettings callSettings = null)
Deletes specified tenant.
Parameters | |
---|---|
Name | Description |
name | TenantName 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". |
callSettings | Google.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 | |
---|---|
Name | Description |
name | System.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". |
callSettings | Google.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 | |
---|---|
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. |
DeleteTenantAsync(DeleteTenantRequest, CancellationToken)
public virtual Task DeleteTenantAsync(DeleteTenantRequest request, CancellationToken cancellationToken)
Deletes specified tenant.
Parameters | |
---|---|
Name | Description |
request | DeleteTenantRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | TenantName 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". |
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. |
DeleteTenantAsync(TenantName, CancellationToken)
public virtual Task DeleteTenantAsync(TenantName name, CancellationToken cancellationToken)
Deletes specified tenant.
Parameters | |
---|---|
Name | Description |
name | TenantName 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". |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.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". |
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. |
DeleteTenantAsync(String, CancellationToken)
public virtual Task DeleteTenantAsync(string name, CancellationToken cancellationToken)
Deletes specified tenant.
Parameters | |
---|---|
Name | Description |
name | System.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". |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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. |
GetTenant(TenantName, CallSettings)
public virtual Tenant GetTenant(TenantName name, CallSettings callSettings = null)
Retrieves specified tenant.
Parameters | |
---|---|
Name | Description |
name | TenantName 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". |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Tenant | The RPC response. |
GetTenant(String, CallSettings)
public virtual Tenant GetTenant(string name, CallSettings callSettings = null)
Retrieves specified tenant.
Parameters | |
---|---|
Name | Description |
name | System.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". |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Tenant | The RPC response. |
GetTenantAsync(GetTenantRequest, CallSettings)
public virtual 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. |
GetTenantAsync(GetTenantRequest, CancellationToken)
public virtual Task<Tenant> GetTenantAsync(GetTenantRequest request, CancellationToken cancellationToken)
Retrieves specified tenant.
Parameters | |
---|---|
Name | Description |
request | GetTenantRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | TenantName 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". |
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. |
GetTenantAsync(TenantName, CancellationToken)
public virtual Task<Tenant> GetTenantAsync(TenantName name, CancellationToken cancellationToken)
Retrieves specified tenant.
Parameters | |
---|---|
Name | Description |
name | TenantName 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". |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
name | System.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". |
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. |
GetTenantAsync(String, CancellationToken)
public virtual Task<Tenant> GetTenantAsync(string name, CancellationToken cancellationToken)
Retrieves specified tenant.
Parameters | |
---|---|
Name | Description |
name | System.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". |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | Google.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". |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
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. |
ListTenants(ListTenantsRequest, CallSettings)
public virtual 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. |
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 | |
---|---|
Name | Description |
parent | System.String Required. Resource name of the project under which the tenant is created. The format is "projects/{project_id}", for example, "projects/foo". |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
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. |
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 | |
---|---|
Name | Description |
parent | Google.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". |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
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. |
ListTenantsAsync(ListTenantsRequest, CallSettings)
public virtual 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. |
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 | |
---|---|
Name | Description |
parent | System.String Required. Resource name of the project under which the tenant is created. The format is "projects/{project_id}", for example, "projects/foo". |
pageToken | System.String The token returned from the previous request. A value of |
pageSize | System.Nullable<System.Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
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. |
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 | |
---|---|
Type | Description |
System.Threading.Tasks.Task | A task representing the asynchronous shutdown operation. |
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 | |
---|---|
Name | Description |
tenant | Tenant Required. The tenant resource to replace the current resource in the system. |
updateMask | Google.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. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Tenant | The RPC response. |
UpdateTenant(UpdateTenantRequest, CallSettings)
public virtual 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. |
UpdateTenantAsync(Tenant, FieldMask, CallSettings)
public virtual Task<Tenant> UpdateTenantAsync(Tenant tenant, FieldMask updateMask, CallSettings callSettings = null)
Updates specified tenant.
Parameters | |
---|---|
Name | Description |
tenant | Tenant Required. The tenant resource to replace the current resource in the system. |
updateMask | Google.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. |
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. |
UpdateTenantAsync(Tenant, FieldMask, CancellationToken)
public virtual Task<Tenant> UpdateTenantAsync(Tenant tenant, FieldMask updateMask, CancellationToken cancellationToken)
Updates specified tenant.
Parameters | |
---|---|
Name | Description |
tenant | Tenant Required. The tenant resource to replace the current resource in the system. |
updateMask | Google.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. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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. |
UpdateTenantAsync(UpdateTenantRequest, CancellationToken)
public virtual Task<Tenant> UpdateTenantAsync(UpdateTenantRequest request, CancellationToken cancellationToken)
Updates specified tenant.
Parameters | |
---|---|
Name | Description |
request | UpdateTenantRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<Tenant> | A Task containing the RPC response. |