[BindServiceMethod(typeof(ProfileService), "BindService")]
public abstract class ProfileServiceBase
Base class for server-side implementations of ProfileService
Namespace
Google.Cloud.Talent.V4Beta1Assembly
Google.Cloud.Talent.V4Beta1.dll
Methods
CreateProfile(CreateProfileRequest, ServerCallContext)
public virtual Task<Profile> CreateProfile(CreateProfileRequest request, ServerCallContext context)
Creates and returns a new profile.
Parameters | |
---|---|
Name | Description |
request | CreateProfileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Profile> | The response to send back to the client (wrapped by a task). |
DeleteProfile(DeleteProfileRequest, ServerCallContext)
public virtual Task<Empty> DeleteProfile(DeleteProfileRequest request, ServerCallContext context)
Deletes the specified profile. Prerequisite: The profile has no associated applications or assignments associated.
Parameters | |
---|---|
Name | Description |
request | DeleteProfileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Empty> | The response to send back to the client (wrapped by a task). |
GetProfile(GetProfileRequest, ServerCallContext)
public virtual Task<Profile> GetProfile(GetProfileRequest request, ServerCallContext context)
Gets the specified profile.
Parameters | |
---|---|
Name | Description |
request | GetProfileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Profile> | The response to send back to the client (wrapped by a task). |
ListProfiles(ListProfilesRequest, ServerCallContext)
public virtual Task<ListProfilesResponse> ListProfiles(ListProfilesRequest request, ServerCallContext context)
Lists profiles by filter. The order is unspecified.
Parameters | |
---|---|
Name | Description |
request | ListProfilesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListProfilesResponse> | The response to send back to the client (wrapped by a task). |
SearchProfiles(SearchProfilesRequest, ServerCallContext)
public virtual Task<SearchProfilesResponse> SearchProfiles(SearchProfilesRequest request, ServerCallContext context)
Searches for profiles within a tenant.
For example, search by raw queries "software engineer in Mountain View" or search by structured filters (location filter, education filter, etc.).
See [SearchProfilesRequest][google.cloud.talent.v4beta1.SearchProfilesRequest] for more information.
Parameters | |
---|---|
Name | Description |
request | SearchProfilesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<SearchProfilesResponse> | The response to send back to the client (wrapped by a task). |
UpdateProfile(UpdateProfileRequest, ServerCallContext)
public virtual Task<Profile> UpdateProfile(UpdateProfileRequest request, ServerCallContext context)
Updates the specified profile and returns the updated result.
Parameters | |
---|---|
Name | Description |
request | UpdateProfileRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Profile> | The response to send back to the client (wrapped by a task). |