Class ProfileService.ProfileServiceClient

public class ProfileServiceClient : ClientBase<ProfileService.ProfileServiceClient>

Client for ProfileService

Inheritance

Object > ClientBase > ClientBase<ProfileService.ProfileServiceClient> > ProfileService.ProfileServiceClient

Namespace

Google.Cloud.Talent.V4Beta1

Assembly

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.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ProfileServiceClient(ChannelBase)

public ProfileServiceClient(ChannelBase channel)

Creates a new client for ProfileService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ProfileServiceClient(ClientBase.ClientBaseConfiguration)

protected ProfileServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateProfile(CreateProfileRequest, CallOptions)

public virtual Profile CreateProfile(CreateProfileRequest request, CallOptions options)

Creates and returns a new profile.

Parameters
NameDescription
requestCreateProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestCreateProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestCreateProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestCreateProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestDeleteProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestDeleteProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestDeleteProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestDeleteProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

GetProfile(GetProfileRequest, CallOptions)

public virtual Profile GetProfile(GetProfileRequest request, CallOptions options)

Gets the specified profile.

Parameters
NameDescription
requestGetProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestGetProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Profile

The response received from the server.

GetProfileAsync(GetProfileRequest, CallOptions)

public virtual AsyncUnaryCall<Profile> GetProfileAsync(GetProfileRequest request, CallOptions options)

Gets the specified profile.

Parameters
NameDescription
requestGetProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestGetProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Profile>

The call object.

ListProfiles(ListProfilesRequest, CallOptions)

public virtual ListProfilesResponse ListProfiles(ListProfilesRequest request, CallOptions options)

Lists profiles by filter. The order is unspecified.

Parameters
NameDescription
requestListProfilesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestListProfilesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestListProfilesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestListProfilesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
ProfileService.ProfileServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Talent.V4Beta1.ProfileService.ProfileServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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.

Parameters
NameDescription
requestSearchProfilesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestSearchProfilesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestSearchProfilesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestSearchProfilesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestUpdateProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestUpdateProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestUpdateProfileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestUpdateProfileRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Profile>

The call object.