Class GenAiCacheServiceStub (3.46.0)

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.

Inheritance

java.lang.Object > GenAiCacheServiceStub

Implements

BackgroundResource

Constructors

GenAiCacheServiceStub()

public GenAiCacheServiceStub()

Methods

close()

public abstract void close()

createCachedContentCallable()

public UnaryCallable<CreateCachedContentRequest,CachedContent> createCachedContentCallable()
Returns
Type Description
UnaryCallable<CreateCachedContentRequest,CachedContent>

deleteCachedContentCallable()

public UnaryCallable<DeleteCachedContentRequest,Empty> deleteCachedContentCallable()
Returns
Type Description
UnaryCallable<DeleteCachedContentRequest,Empty>

getCachedContentCallable()

public UnaryCallable<GetCachedContentRequest,CachedContent> getCachedContentCallable()
Returns
Type Description
UnaryCallable<GetCachedContentRequest,CachedContent>

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getLocationCallable()

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()
Returns
Type Description
UnaryCallable<ListCachedContentsRequest,ListCachedContentsResponse>

listCachedContentsPagedCallable()

public UnaryCallable<ListCachedContentsRequest,GenAiCacheServiceClient.ListCachedContentsPagedResponse> listCachedContentsPagedCallable()
Returns
Type Description
UnaryCallable<ListCachedContentsRequest,ListCachedContentsPagedResponse>

listLocationsCallable()

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()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsCallable()

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()
Returns
Type Description
UnaryCallable<UpdateCachedContentRequest,CachedContent>