public class ProfileServiceClient : ClientBase<ProfileService.ProfileServiceClient>
Client for ProfileService
Inheritance
Object > ClientBase > ClientBase<ProfileService.ProfileServiceClient> > ProfileService.ProfileServiceClientNamespace
Google.Cloud.Talent.V4Beta1Assembly
Google.Cloud.Talent.V4Beta1.dll
Constructors
ProfileServiceClient()
protected ProfileServiceClient()
Protected parameterless constructor to allow creation of test doubles.
ProfileServiceClient(CallInvoker)
public ProfileServiceClient(CallInvoker callInvoker)
Creates a new client for ProfileService that uses a custom CallInvoker
.
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
ProfileServiceClient(ChannelBase)
public ProfileServiceClient(ChannelBase channel)
Creates a new client for ProfileService
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
ProfileServiceClient(ClientBase.ClientBaseConfiguration)
protected ProfileServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateProfile(CreateProfileRequest, CallOptions)
public virtual Profile CreateProfile(CreateProfileRequest request, CallOptions options)
Creates and returns a new profile.
Name | Description |
request | CreateProfileRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
Profile | The response received from the server. |
CreateProfile(CreateProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Profile CreateProfile(CreateProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates and returns a new profile.
Name | Description |
request | CreateProfileRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Type | Description |
Profile | The response received from the server. |
CreateProfileAsync(CreateProfileRequest, CallOptions)
public virtual AsyncUnaryCall<Profile> CreateProfileAsync(CreateProfileRequest request, CallOptions options)
Creates and returns a new profile.
Name | Description |
request | CreateProfileRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
AsyncUnaryCall<Profile> | The call object. |
CreateProfileAsync(CreateProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Profile> CreateProfileAsync(CreateProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Creates and returns a new profile.
Name | Description |
request | CreateProfileRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Type | Description |
AsyncUnaryCall<Profile> | The call object. |
DeleteProfile(DeleteProfileRequest, CallOptions)
public virtual Empty DeleteProfile(DeleteProfileRequest request, CallOptions options)
Deletes the specified profile. Prerequisite: The profile has no associated applications or assignments associated.
Name | Description |
request | DeleteProfileRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
Empty | The response received from the server. |
DeleteProfile(DeleteProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteProfile(DeleteProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified profile. Prerequisite: The profile has no associated applications or assignments associated.
Name | Description |
request | DeleteProfileRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Type | Description |
Empty | The response received from the server. |
DeleteProfileAsync(DeleteProfileRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteProfileAsync(DeleteProfileRequest request, CallOptions options)
Deletes the specified profile. Prerequisite: The profile has no associated applications or assignments associated.
Name | Description |
request | DeleteProfileRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteProfileAsync(DeleteProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteProfileAsync(DeleteProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified profile. Prerequisite: The profile has no associated applications or assignments associated.
Name | Description |
request | DeleteProfileRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
GetProfile(GetProfileRequest, CallOptions)
public virtual Profile GetProfile(GetProfileRequest request, CallOptions options)
Gets the specified profile.
Name | Description |
request | GetProfileRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
Profile | The response received from the server. |
GetProfile(GetProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Profile GetProfile(GetProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets the specified profile.
Name | Description |
request | GetProfileRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Type | Description |
Profile | The response received from the server. |
GetProfileAsync(GetProfileRequest, CallOptions)
public virtual AsyncUnaryCall<Profile> GetProfileAsync(GetProfileRequest request, CallOptions options)
Gets the specified profile.
Name | Description |
request | GetProfileRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
AsyncUnaryCall<Profile> | The call object. |
GetProfileAsync(GetProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Profile> GetProfileAsync(GetProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Gets the specified profile.
Name | Description |
request | GetProfileRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Type | Description |
AsyncUnaryCall<Profile> | The call object. |
ListProfiles(ListProfilesRequest, CallOptions)
public virtual ListProfilesResponse ListProfiles(ListProfilesRequest request, CallOptions options)
Lists profiles by filter. The order is unspecified.
Name | Description |
request | ListProfilesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
ListProfilesResponse | The response received from the server. |
ListProfiles(ListProfilesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListProfilesResponse ListProfiles(ListProfilesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists profiles by filter. The order is unspecified.
Name | Description |
request | ListProfilesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Type | Description |
ListProfilesResponse | The response received from the server. |
ListProfilesAsync(ListProfilesRequest, CallOptions)
public virtual AsyncUnaryCall<ListProfilesResponse> ListProfilesAsync(ListProfilesRequest request, CallOptions options)
Lists profiles by filter. The order is unspecified.
Name | Description |
request | ListProfilesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
AsyncUnaryCall<ListProfilesResponse> | The call object. |
ListProfilesAsync(ListProfilesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListProfilesResponse> ListProfilesAsync(ListProfilesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Lists profiles by filter. The order is unspecified.
Name | Description |
request | ListProfilesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Type | Description |
AsyncUnaryCall<ListProfilesResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override ProfileService.ProfileServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Type | Description |
ProfileService.ProfileServiceClient |
SearchProfiles(SearchProfilesRequest, CallOptions)
public virtual SearchProfilesResponse SearchProfiles(SearchProfilesRequest request, CallOptions options)
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.
Name | Description |
request | SearchProfilesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
SearchProfilesResponse | The response received from the server. |
SearchProfiles(SearchProfilesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual SearchProfilesResponse SearchProfiles(SearchProfilesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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.
Name | Description |
request | SearchProfilesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Type | Description |
SearchProfilesResponse | The response received from the server. |
SearchProfilesAsync(SearchProfilesRequest, CallOptions)
public virtual AsyncUnaryCall<SearchProfilesResponse> SearchProfilesAsync(SearchProfilesRequest request, CallOptions options)
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.
Name | Description |
request | SearchProfilesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
AsyncUnaryCall<SearchProfilesResponse> | The call object. |
SearchProfilesAsync(SearchProfilesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<SearchProfilesResponse> SearchProfilesAsync(SearchProfilesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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.
Name | Description |
request | SearchProfilesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Type | Description |
AsyncUnaryCall<SearchProfilesResponse> | The call object. |
UpdateProfile(UpdateProfileRequest, CallOptions)
public virtual Profile UpdateProfile(UpdateProfileRequest request, CallOptions options)
Updates the specified profile and returns the updated result.
Name | Description |
request | UpdateProfileRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
Profile | The response received from the server. |
UpdateProfile(UpdateProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Profile UpdateProfile(UpdateProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates the specified profile and returns the updated result.
Name | Description |
request | UpdateProfileRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Type | Description |
Profile | The response received from the server. |
UpdateProfileAsync(UpdateProfileRequest, CallOptions)
public virtual AsyncUnaryCall<Profile> UpdateProfileAsync(UpdateProfileRequest request, CallOptions options)
Updates the specified profile and returns the updated result.
Name | Description |
request | UpdateProfileRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
AsyncUnaryCall<Profile> | The call object. |
UpdateProfileAsync(UpdateProfileRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Profile> UpdateProfileAsync(UpdateProfileRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Updates the specified profile and returns the updated result.
Name | Description |
request | UpdateProfileRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Type | Description |
AsyncUnaryCall<Profile> | The call object. |