Class protos.google.cloud.talent.v4beta1.ProfileService (4.1.1)

Represents a ProfileService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.talent.v4beta1.ProfileService

Package

@google-cloud/talent

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new ProfileService service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ProfileService;

Creates new ProfileService service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
ProfileService

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

createProfile(request, callback)

public createProfile(request: google.cloud.talent.v4beta1.ICreateProfileRequest, callback: google.cloud.talent.v4beta1.ProfileService.CreateProfileCallback): void;

Calls CreateProfile.

Parameters
NameDescription
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
TypeDescription
void

createProfile(request)

public createProfile(request: google.cloud.talent.v4beta1.ICreateProfileRequest): Promise<google.cloud.talent.v4beta1.Profile>;

Calls CreateProfile.

Parameter
NameDescription
request google.cloud.talent.v4beta1.ICreateProfileRequest

CreateProfileRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.talent.v4beta1.Profile>

Promise

deleteProfile(request, callback)

public deleteProfile(request: google.cloud.talent.v4beta1.IDeleteProfileRequest, callback: google.cloud.talent.v4beta1.ProfileService.DeleteProfileCallback): void;

Calls DeleteProfile.

Parameters
NameDescription
request 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
TypeDescription
void

deleteProfile(request)

public deleteProfile(request: google.cloud.talent.v4beta1.IDeleteProfileRequest): Promise<google.protobuf.Empty>;

Calls DeleteProfile.

Parameter
NameDescription
request IDeleteProfileRequest

DeleteProfileRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getProfile(request, callback)

public getProfile(request: google.cloud.talent.v4beta1.IGetProfileRequest, callback: google.cloud.talent.v4beta1.ProfileService.GetProfileCallback): void;

Calls GetProfile.

Parameters
NameDescription
request 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
TypeDescription
void

getProfile(request)

public getProfile(request: google.cloud.talent.v4beta1.IGetProfileRequest): Promise<google.cloud.talent.v4beta1.Profile>;

Calls GetProfile.

Parameter
NameDescription
request IGetProfileRequest

GetProfileRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.talent.v4beta1.Profile>

Promise

listProfiles(request, callback)

public listProfiles(request: google.cloud.talent.v4beta1.IListProfilesRequest, callback: google.cloud.talent.v4beta1.ProfileService.ListProfilesCallback): void;

Calls ListProfiles.

Parameters
NameDescription
request 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
TypeDescription
void

listProfiles(request)

public listProfiles(request: google.cloud.talent.v4beta1.IListProfilesRequest): Promise<google.cloud.talent.v4beta1.ListProfilesResponse>;

Calls ListProfiles.

Parameter
NameDescription
request IListProfilesRequest

ListProfilesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.talent.v4beta1.ListProfilesResponse>

Promise

searchProfiles(request, callback)

public searchProfiles(request: google.cloud.talent.v4beta1.ISearchProfilesRequest, callback: google.cloud.talent.v4beta1.ProfileService.SearchProfilesCallback): void;

Calls SearchProfiles.

Parameters
NameDescription
request 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
TypeDescription
void

searchProfiles(request)

public searchProfiles(request: google.cloud.talent.v4beta1.ISearchProfilesRequest): Promise<google.cloud.talent.v4beta1.SearchProfilesResponse>;

Calls SearchProfiles.

Parameter
NameDescription
request ISearchProfilesRequest

SearchProfilesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.talent.v4beta1.SearchProfilesResponse>

Promise

updateProfile(request, callback)

public updateProfile(request: google.cloud.talent.v4beta1.IUpdateProfileRequest, callback: google.cloud.talent.v4beta1.ProfileService.UpdateProfileCallback): void;

Calls UpdateProfile.

Parameters
NameDescription
request 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
TypeDescription
void

updateProfile(request)

public updateProfile(request: google.cloud.talent.v4beta1.IUpdateProfileRequest): Promise<google.cloud.talent.v4beta1.Profile>;

Calls UpdateProfile.

Parameter
NameDescription
request IUpdateProfileRequest

UpdateProfileRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.talent.v4beta1.Profile>

Promise