Class ProfileServiceGrpc.ProfileServiceBlockingStub (2.2.9)

public static final class ProfileServiceGrpc.ProfileServiceBlockingStub extends AbstractBlockingStub<ProfileServiceGrpc.ProfileServiceBlockingStub>

A service that handles profile management, including profile CRUD, enumeration and search.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ProfileServiceGrpc.ProfileServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected ProfileServiceGrpc.ProfileServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ProfileServiceGrpc.ProfileServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createProfile(CreateProfileRequest request)

public Profile createProfile(CreateProfileRequest request)

Creates and returns a new profile.

Parameter
NameDescription
requestCreateProfileRequest
Returns
TypeDescription
Profile

deleteProfile(DeleteProfileRequest request)

public Empty deleteProfile(DeleteProfileRequest request)

Deletes the specified profile. Prerequisite: The profile has no associated applications or assignments associated.

Parameter
NameDescription
requestDeleteProfileRequest
Returns
TypeDescription
Empty

getProfile(GetProfileRequest request)

public Profile getProfile(GetProfileRequest request)

Gets the specified profile.

Parameter
NameDescription
requestGetProfileRequest
Returns
TypeDescription
Profile

listProfiles(ListProfilesRequest request)

public ListProfilesResponse listProfiles(ListProfilesRequest request)

Lists profiles by filter. The order is unspecified.

Parameter
NameDescription
requestListProfilesRequest
Returns
TypeDescription
ListProfilesResponse

searchProfiles(SearchProfilesRequest request)

public SearchProfilesResponse searchProfiles(SearchProfilesRequest request)

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 for more information.

Parameter
NameDescription
requestSearchProfilesRequest
Returns
TypeDescription
SearchProfilesResponse

updateProfile(UpdateProfileRequest request)

public Profile updateProfile(UpdateProfileRequest request)

Updates the specified profile and returns the updated result.

Parameter
NameDescription
requestUpdateProfileRequest
Returns
TypeDescription
Profile