Google Cloud Ai Platform V1 Client - Class ListModelVersionCheckpointsRequest (1.16.0)

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

Request message for ModelService.ListModelVersionCheckpoints.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the model version to list checkpoints for. projects/{project}/locations/{location}/models/{model}@{version} Example: projects/{project}/locations/{location}/models/{model}@2 or projects/{project}/locations/{location}/models/{model}@golden If no version ID or alias is specified, the latest version will be used.

↳ page_size int

Optional. The standard list page size.

↳ page_token string

Optional. The standard list page token. Typically obtained via next_page_token of the previous ListModelVersionCheckpoints call.

getName

Required. The name of the model version to list checkpoints for.

projects/{project}/locations/{location}/models/{model}@{version} Example: projects/{project}/locations/{location}/models/{model}@2 or projects/{project}/locations/{location}/models/{model}@golden If no version ID or alias is specified, the latest version will be used.

Returns
Type Description
string

setName

Required. The name of the model version to list checkpoints for.

projects/{project}/locations/{location}/models/{model}@{version} Example: projects/{project}/locations/{location}/models/{model}@2 or projects/{project}/locations/{location}/models/{model}@golden If no version ID or alias is specified, the latest version will be used.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The standard list page size.

Returns
Type Description
int

setPageSize

Optional. The standard list page size.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. The standard list page token.

Typically obtained via next_page_token of the previous ListModelVersionCheckpoints call.

Returns
Type Description
string

setPageToken

Optional. The standard list page token.

Typically obtained via next_page_token of the previous ListModelVersionCheckpoints call.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the model version to list checkpoints for. projects/{project}/locations/{location}/models/{model}@{version} Example: projects/{project}/locations/{location}/models/{model}@2 or projects/{project}/locations/{location}/models/{model}@golden If no version ID or alias is specified, the latest version will be used. Please see ModelServiceClient::modelName() for help formatting this field.

Returns
Type Description
ListModelVersionCheckpointsRequest