Google Cloud Ai Platform V1 Client - Class UpdateCachedContentRequest (1.17.0)

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

Request message for GenAiCacheService.UpdateCachedContent .

Only expire_time or ttl can be updated.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ cached_content
CachedContent

Required. The cached content to update

↳ update_mask
Google\Protobuf\FieldMask

Required. The list of fields to update.

getCachedContent

Required. The cached content to update

Returns
Type
Description

hasCachedContent

clearCachedContent

setCachedContent

Required. The cached content to update

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateMask

Required. The list of fields to update.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to update.

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
cachedContent
CachedContent

Required. The cached content to update

updateMask
Google\Protobuf\FieldMask

Required. The list of fields to update.

Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: