Google Cloud Ai Platform V1 Client - Class ListContextsResponse (1.8.0)

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

Response message for MetadataService.ListContexts.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ contexts array<Google\Cloud\AIPlatform\V1\Context>

The Contexts retrieved from the MetadataStore.

↳ next_page_token string

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

getContexts

The Contexts retrieved from the MetadataStore.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setContexts

The Contexts retrieved from the MetadataStore.

Parameter
Name Description
var array<Google\Cloud\AIPlatform\V1\Context>
Returns
Type Description
$this

getNextPageToken

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

If this field is not populated, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

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

If this field is not populated, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this