Class ProfileService.ProfileServiceBase

[BindServiceMethod(typeof(ProfileService), "BindService")]
public abstract class ProfileServiceBase

Base class for server-side implementations of ProfileService

Inheritance

Object > ProfileService.ProfileServiceBase

Namespace

Google.Cloud.Talent.V4Beta1

Assembly

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
TypeNameDescription
CreateProfileRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
TypeNameDescription
DeleteProfileRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
TypeNameDescription
GetProfileRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
TypeNameDescription
ListProfilesRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
TypeNameDescription
SearchProfilesRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
TypeNameDescription
UpdateProfileRequestrequest

The request received from the client.

ServerCallContextcontext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Profile>

The response to send back to the client (wrapped by a task).