ProfileService

google.cloud.talent.v4beta1. ProfileService

Represents a ProfileService

Constructor

new ProfileService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new ProfileService service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {ProfileService}

Creates new ProfileService service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
ProfileService

RPC service. Useful where requests and/or responses are streamed.

createProfile(request, callback) → {undefined}

Calls CreateProfile.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.ICreateProfileRequest

CreateProfileRequest message or plain object

callback google.cloud.talent.v4beta1.ProfileService.CreateProfileCallback

Node-style callback called with the error, if any, and Profile

Returns:
Type Description
undefined

createProfile(request) → {Promise.<google.cloud.talent.v4beta1.Profile>}

Calls CreateProfile.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.ICreateProfileRequest

CreateProfileRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.talent.v4beta1.Profile>

Promise

deleteProfile(request, callback) → {undefined}

Calls DeleteProfile.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.IDeleteProfileRequest

DeleteProfileRequest message or plain object

callback google.cloud.talent.v4beta1.ProfileService.DeleteProfileCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

deleteProfile(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteProfile.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.IDeleteProfileRequest

DeleteProfileRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

getProfile(request, callback) → {undefined}

Calls GetProfile.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.IGetProfileRequest

GetProfileRequest message or plain object

callback google.cloud.talent.v4beta1.ProfileService.GetProfileCallback

Node-style callback called with the error, if any, and Profile

Returns:
Type Description
undefined

getProfile(request) → {Promise.<google.cloud.talent.v4beta1.Profile>}

Calls GetProfile.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.IGetProfileRequest

GetProfileRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.talent.v4beta1.Profile>

Promise

listProfiles(request, callback) → {undefined}

Calls ListProfiles.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.IListProfilesRequest

ListProfilesRequest message or plain object

callback google.cloud.talent.v4beta1.ProfileService.ListProfilesCallback

Node-style callback called with the error, if any, and ListProfilesResponse

Returns:
Type Description
undefined

listProfiles(request) → {Promise.<google.cloud.talent.v4beta1.ListProfilesResponse>}

Calls ListProfiles.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.IListProfilesRequest

ListProfilesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.talent.v4beta1.ListProfilesResponse>

Promise

searchProfiles(request, callback) → {undefined}

Calls SearchProfiles.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.ISearchProfilesRequest

SearchProfilesRequest message or plain object

callback google.cloud.talent.v4beta1.ProfileService.SearchProfilesCallback

Node-style callback called with the error, if any, and SearchProfilesResponse

Returns:
Type Description
undefined

searchProfiles(request) → {Promise.<google.cloud.talent.v4beta1.SearchProfilesResponse>}

Calls SearchProfiles.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.ISearchProfilesRequest

SearchProfilesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.talent.v4beta1.SearchProfilesResponse>

Promise

updateProfile(request, callback) → {undefined}

Calls UpdateProfile.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.IUpdateProfileRequest

UpdateProfileRequest message or plain object

callback google.cloud.talent.v4beta1.ProfileService.UpdateProfileCallback

Node-style callback called with the error, if any, and Profile

Returns:
Type Description
undefined

updateProfile(request) → {Promise.<google.cloud.talent.v4beta1.Profile>}

Calls UpdateProfile.

Parameters:
Name Type Description
request google.cloud.talent.v4beta1.IUpdateProfileRequest

UpdateProfileRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.talent.v4beta1.Profile>

Promise

Type Definitions

CreateProfileCallback(error, responseopt)

Callback as used by google.cloud.talent.v4beta1.ProfileService#createProfile.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.talent.v4beta1.Profile <optional>

Profile

DeleteProfileCallback(error, responseopt)

Callback as used by google.cloud.talent.v4beta1.ProfileService#deleteProfile.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

GetProfileCallback(error, responseopt)

Callback as used by google.cloud.talent.v4beta1.ProfileService#getProfile.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.talent.v4beta1.Profile <optional>

Profile

ListProfilesCallback(error, responseopt)

Callback as used by google.cloud.talent.v4beta1.ProfileService#listProfiles.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.talent.v4beta1.ListProfilesResponse <optional>

ListProfilesResponse

SearchProfilesCallback(error, responseopt)

Callback as used by google.cloud.talent.v4beta1.ProfileService#searchProfiles.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.talent.v4beta1.SearchProfilesResponse <optional>

SearchProfilesResponse

UpdateProfileCallback(error, responseopt)

Callback as used by google.cloud.talent.v4beta1.ProfileService#updateProfile.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.talent.v4beta1.Profile <optional>

Profile