public abstract class GenAiCacheServiceStub implements BackgroundResource
Base stub class for the GenAiCacheService service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
public GenAiCacheServiceStub()
Methods
public abstract void close()
createCachedContentCallable()
public UnaryCallable<CreateCachedContentRequest,CachedContent> createCachedContentCallable()
deleteCachedContentCallable()
public UnaryCallable<DeleteCachedContentRequest,Empty> deleteCachedContentCallable()
getCachedContentCallable()
public UnaryCallable<GetCachedContentRequest,CachedContent> getCachedContentCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
|
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
listCachedContentsCallable()
public UnaryCallable<ListCachedContentsRequest,ListCachedContentsResponse> listCachedContentsCallable()
listCachedContentsPagedCallable()
public UnaryCallable<ListCachedContentsRequest,GenAiCacheServiceClient.ListCachedContentsPagedResponse> listCachedContentsPagedCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,GenAiCacheServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
|
updateCachedContentCallable()
public UnaryCallable<UpdateCachedContentRequest,CachedContent> updateCachedContentCallable()