Google Cloud Ai Platform V1 Client - Class GetCachedContentRequest (1.14.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class GetCachedContentRequest.

Request message for GenAiCacheService.GetCachedContent.

Generated from protobuf message google.cloud.aiplatform.v1.GetCachedContentRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name referring to the cached content

getName

Required. The resource name referring to the cached content

Returns
Type Description
string

setName

Required. The resource name referring to the cached content

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name referring to the cached content Please see GenAiCacheServiceClient::cachedContentName() for help formatting this field.

Returns
Type Description
GetCachedContentRequest