Represents a ProfileService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.talent.v4beta1.ProfileServicePackage
@google-cloud/talentConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ProfileService service.
Name | Description |
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.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
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.
Name | 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 |
Type | Description |
void |
createProfile(request)
public createProfile(request: google.cloud.talent.v4beta1.ICreateProfileRequest): Promise<google.cloud.talent.v4beta1.Profile>;
Calls CreateProfile.
Name | Description |
request |
google.cloud.talent.v4beta1.ICreateProfileRequest
CreateProfileRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
deleteProfile(request)
public deleteProfile(request: google.cloud.talent.v4beta1.IDeleteProfileRequest): Promise<google.protobuf.Empty>;
Calls DeleteProfile.
Name | Description |
request |
IDeleteProfileRequest
DeleteProfileRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
getProfile(request)
public getProfile(request: google.cloud.talent.v4beta1.IGetProfileRequest): Promise<google.cloud.talent.v4beta1.Profile>;
Calls GetProfile.
Name | Description |
request |
IGetProfileRequest
GetProfileRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
listProfiles(request)
public listProfiles(request: google.cloud.talent.v4beta1.IListProfilesRequest): Promise<google.cloud.talent.v4beta1.ListProfilesResponse>;
Calls ListProfiles.
Name | Description |
request |
IListProfilesRequest
ListProfilesRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
searchProfiles(request)
public searchProfiles(request: google.cloud.talent.v4beta1.ISearchProfilesRequest): Promise<google.cloud.talent.v4beta1.SearchProfilesResponse>;
Calls SearchProfiles.
Name | Description |
request |
ISearchProfilesRequest
SearchProfilesRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
updateProfile(request)
public updateProfile(request: google.cloud.talent.v4beta1.IUpdateProfileRequest): Promise<google.cloud.talent.v4beta1.Profile>;
Calls UpdateProfile.
Name | Description |
request |
IUpdateProfileRequest
UpdateProfileRequest message or plain object |
Type | Description |
Promise<google.cloud.talent.v4beta1.Profile> | Promise |