Google Cloud Ai Platform V1 Client - Class CreateCachedContentRequest (1.33.0)

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

Request message for GenAiCacheService.CreateCachedContent .

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ parent
string

Required. The parent resource where the cached content will be created

↳ cached_content
CachedContent

Required. The cached content to create

getParent

Required. The parent resource where the cached content will be created

Returns
Type
Description
string

setParent

Required. The parent resource where the cached content will be created

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCachedContent

Required. The cached content to create

Returns
Type
Description

hasCachedContent

clearCachedContent

setCachedContent

Required. The cached content to create

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

Required. The parent resource where the cached content will be created Please see GenAiCacheServiceClient::locationName() for help formatting this field.

cachedContent
CachedContent

Required. The cached content to create

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