public sealed class ProfileServiceClientImpl : ProfileServiceClient
ProfileService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Talent.V4Beta1Assembly
Google.Cloud.Talent.V4Beta1.dll
Remarks
A service that handles profile management, including profile CRUD, enumeration and search.
Constructors
ProfileServiceClientImpl(ProfileService.ProfileServiceClient, ProfileServiceSettings)
public ProfileServiceClientImpl(ProfileService.ProfileServiceClient grpcClient, ProfileServiceSettings settings)
Constructs a client wrapper for the ProfileService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | ProfileService.ProfileServiceClient The underlying gRPC client. |
settings | ProfileServiceSettings The base ProfileServiceSettings used within this client. |
Properties
GrpcClient
public override ProfileService.ProfileServiceClient GrpcClient { get; }
The underlying gRPC ProfileService client
Property Value | |
---|---|
Type | Description |
ProfileService.ProfileServiceClient |
Methods
CreateProfile(CreateProfileRequest, CallSettings)
public override Profile CreateProfile(CreateProfileRequest request, CallSettings callSettings = null)
Creates and returns a new profile.
Parameters | |
---|---|
Name | Description |
request | CreateProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Profile | The RPC response. |
CreateProfileAsync(CreateProfileRequest, CallSettings)
public override Task<Profile> CreateProfileAsync(CreateProfileRequest request, CallSettings callSettings = null)
Creates and returns a new profile.
Parameters | |
---|---|
Name | Description |
request | CreateProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Profile> | A Task containing the RPC response. |
DeleteProfile(DeleteProfileRequest, CallSettings)
public override void DeleteProfile(DeleteProfileRequest request, CallSettings callSettings = null)
Deletes the specified profile. Prerequisite: The profile has no associated applications or assignments associated.
Parameters | |
---|---|
Name | Description |
request | DeleteProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteProfileAsync(DeleteProfileRequest, CallSettings)
public override Task DeleteProfileAsync(DeleteProfileRequest request, CallSettings callSettings = null)
Deletes the specified profile. Prerequisite: The profile has no associated applications or assignments associated.
Parameters | |
---|---|
Name | Description |
request | DeleteProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
GetProfile(GetProfileRequest, CallSettings)
public override Profile GetProfile(GetProfileRequest request, CallSettings callSettings = null)
Gets the specified profile.
Parameters | |
---|---|
Name | Description |
request | GetProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Profile | The RPC response. |
GetProfileAsync(GetProfileRequest, CallSettings)
public override Task<Profile> GetProfileAsync(GetProfileRequest request, CallSettings callSettings = null)
Gets the specified profile.
Parameters | |
---|---|
Name | Description |
request | GetProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Profile> | A Task containing the RPC response. |
ListProfiles(ListProfilesRequest, CallSettings)
public override PagedEnumerable<ListProfilesResponse, Profile> ListProfiles(ListProfilesRequest request, CallSettings callSettings = null)
Lists profiles by filter. The order is unspecified.
Parameters | |
---|---|
Name | Description |
request | ListProfilesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListProfilesResponse, Profile> | A pageable sequence of Profile resources. |
ListProfilesAsync(ListProfilesRequest, CallSettings)
public override PagedAsyncEnumerable<ListProfilesResponse, Profile> ListProfilesAsync(ListProfilesRequest request, CallSettings callSettings = null)
Lists profiles by filter. The order is unspecified.
Parameters | |
---|---|
Name | Description |
request | ListProfilesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListProfilesResponse, Profile> | A pageable asynchronous sequence of Profile resources. |
SearchProfiles(SearchProfilesRequest, CallSettings)
public override SearchProfilesResponse SearchProfiles(SearchProfilesRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
SearchProfilesResponse | The RPC response. |
SearchProfilesAsync(SearchProfilesRequest, CallSettings)
public override Task<SearchProfilesResponse> SearchProfilesAsync(SearchProfilesRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<SearchProfilesResponse> | A Task containing the RPC response. |
UpdateProfile(UpdateProfileRequest, CallSettings)
public override Profile UpdateProfile(UpdateProfileRequest request, CallSettings callSettings = null)
Updates the specified profile and returns the updated result.
Parameters | |
---|---|
Name | Description |
request | UpdateProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Profile | The RPC response. |
UpdateProfileAsync(UpdateProfileRequest, CallSettings)
public override Task<Profile> UpdateProfileAsync(UpdateProfileRequest request, CallSettings callSettings = null)
Updates the specified profile and returns the updated result.
Parameters | |
---|---|
Name | Description |
request | UpdateProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Profile> | A Task containing the RPC response. |