Cloud AI Platform v1beta1 API - Class GenAiCacheService (1.0.0-beta08)

public static class GenAiCacheService

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class GenAiCacheService.

Service for managing Vertex AI's CachedContent resource.

Inheritance

object > GenAiCacheService

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Methods

BindService(GenAiCacheServiceBase)

public static ServerServiceDefinition BindService(GenAiCacheService.GenAiCacheServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
Name Description
serviceImpl GenAiCacheServiceGenAiCacheServiceBase

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition

BindService(ServiceBinderBase, GenAiCacheServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, GenAiCacheService.GenAiCacheServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
Name Description
serviceBinder ServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImpl GenAiCacheServiceGenAiCacheServiceBase

An object implementing the server-side handling logic.