public sealed class UserLicenseServiceClientImpl : UserLicenseServiceClient
Reference documentation and code samples for the Discovery Engine v1 API class UserLicenseServiceClientImpl.
UserLicenseService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Remarks
Service for managing User Licenses.
Constructors
UserLicenseServiceClientImpl(UserLicenseServiceClient, UserLicenseServiceSettings, ILogger)
public UserLicenseServiceClientImpl(UserLicenseService.UserLicenseServiceClient grpcClient, UserLicenseServiceSettings settings, ILogger logger)
Constructs a client wrapper for the UserLicenseService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient |
UserLicenseServiceUserLicenseServiceClient The underlying gRPC client. |
settings |
UserLicenseServiceSettings The base UserLicenseServiceSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
BatchUpdateUserLicensesOperationsClient
public override OperationsClient BatchUpdateUserLicensesOperationsClient { get; }
The long-running operations client for BatchUpdateUserLicenses
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override UserLicenseService.UserLicenseServiceClient GrpcClient { get; }
The underlying gRPC UserLicenseService client
Property Value | |
---|---|
Type | Description |
UserLicenseServiceUserLicenseServiceClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
Methods
BatchUpdateUserLicenses(BatchUpdateUserLicensesRequest, CallSettings)
public override Operation<BatchUpdateUserLicensesResponse, BatchUpdateUserLicensesMetadata> BatchUpdateUserLicenses(BatchUpdateUserLicensesRequest request, CallSettings callSettings = null)
Updates the User License. This method is used for batch assign/unassign licenses to users.
Parameters | |
---|---|
Name | Description |
request |
BatchUpdateUserLicensesRequest 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 |
OperationBatchUpdateUserLicensesResponseBatchUpdateUserLicensesMetadata |
The RPC response. |
BatchUpdateUserLicensesAsync(BatchUpdateUserLicensesRequest, CallSettings)
public override Task<Operation<BatchUpdateUserLicensesResponse, BatchUpdateUserLicensesMetadata>> BatchUpdateUserLicensesAsync(BatchUpdateUserLicensesRequest request, CallSettings callSettings = null)
Updates the User License. This method is used for batch assign/unassign licenses to users.
Parameters | |
---|---|
Name | Description |
request |
BatchUpdateUserLicensesRequest 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 |
TaskOperationBatchUpdateUserLicensesResponseBatchUpdateUserLicensesMetadata |
A Task containing the RPC response. |
ListUserLicenses(ListUserLicensesRequest, CallSettings)
public override PagedEnumerable<ListUserLicensesResponse, UserLicense> ListUserLicenses(ListUserLicensesRequest request, CallSettings callSettings = null)
Lists the User Licenses.
Parameters | |
---|---|
Name | Description |
request |
ListUserLicensesRequest 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 |
PagedEnumerableListUserLicensesResponseUserLicense |
A pageable sequence of UserLicense resources. |
ListUserLicensesAsync(ListUserLicensesRequest, CallSettings)
public override PagedAsyncEnumerable<ListUserLicensesResponse, UserLicense> ListUserLicensesAsync(ListUserLicensesRequest request, CallSettings callSettings = null)
Lists the User Licenses.
Parameters | |
---|---|
Name | Description |
request |
ListUserLicensesRequest 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 |
PagedAsyncEnumerableListUserLicensesResponseUserLicense |
A pageable asynchronous sequence of UserLicense resources. |