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 \ V1Methods
__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 |
CachedContent|null |
hasCachedContent
clearCachedContent
setCachedContent
Required. The cached content to update
Parameter | |
---|---|
Name | Description |
var |
CachedContent
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateMask
Required. The list of fields to update.
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. The list of fields to update.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
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 |
UpdateCachedContentRequest |