Google Cloud Ai Platform V1 Client - Class ListContextsResponse (0.12.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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setContexts

The Contexts retrieved from the MetadataStore.

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\Context>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this