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