Google Cloud Ai Platform V1 Client - Class ListCachedContentsResponse (1.54.0)

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

Response with a list of CachedContents.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cached_contents array<CachedContent>

List of cached contents.

↳ next_page_token string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

getCachedContents

List of cached contents.

Returns
Type Description
Google\Protobuf\RepeatedField<CachedContent>

setCachedContents

List of cached contents.

Parameter
Name Description
var array<CachedContent>
Returns
Type Description
$this

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this