public static final class TenantServiceGrpc.TenantServiceStub extends AbstractAsyncStub<TenantServiceGrpc.TenantServiceStub>
A service that handles tenant management, including CRUD and enumeration.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected TenantServiceGrpc.TenantServiceStub |
build(Channel channel,
CallOptions callOptions) |
void |
createTenant(CreateTenantRequest request,
StreamObserver<Tenant> responseObserver)
Creates a new tenant entity.
|
void |
deleteTenant(DeleteTenantRequest request,
StreamObserver<Empty> responseObserver)
Deletes specified tenant.
|
void |
getTenant(GetTenantRequest request,
StreamObserver<Tenant> responseObserver)
Retrieves specified tenant.
|
void |
listTenants(ListTenantsRequest request,
StreamObserver<ListTenantsResponse> responseObserver)
Lists all tenants associated with the project.
|
void |
updateTenant(UpdateTenantRequest request,
StreamObserver<Tenant> responseObserver)
Updates specified tenant.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected TenantServiceGrpc.TenantServiceStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<TenantServiceGrpc.TenantServiceStub>
public void createTenant(CreateTenantRequest request, StreamObserver<Tenant> responseObserver)
Creates a new tenant entity.
public void getTenant(GetTenantRequest request, StreamObserver<Tenant> responseObserver)
Retrieves specified tenant.
public void updateTenant(UpdateTenantRequest request, StreamObserver<Tenant> responseObserver)
Updates specified tenant.
public void deleteTenant(DeleteTenantRequest request, StreamObserver<Empty> responseObserver)
Deletes specified tenant.
public void listTenants(ListTenantsRequest request, StreamObserver<ListTenantsResponse> responseObserver)
Lists all tenants associated with the project.
Copyright © 2022 Google LLC. All rights reserved.