Google Cloud Ai Platform V1 Client - Class PartialResult (1.5.0)

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

Represents a partial result in batch migration operation for one MigrateResourceRequest.

Generated from protobuf message google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata.PartialResult

Namespace

Google \ Cloud \ AIPlatform \ V1 \ BatchMigrateResourcesOperationMetadata

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ error Google\Rpc\Status

The error result of the migration request in case of failure.

↳ model string

Migrated model resource name.

↳ dataset string

Migrated dataset resource name.

↳ request Google\Cloud\AIPlatform\V1\MigrateResourceRequest

It's the same as the value in MigrateResourceRequest.migrate_resource_requests.

getError

The error result of the migration request in case of failure.

Returns
Type Description
Google\Rpc\Status|null

hasError

setError

The error result of the migration request in case of failure.

Parameter
Name Description
var Google\Rpc\Status
Returns
Type Description
$this

getModel

Migrated model resource name.

Returns
Type Description
string

hasModel

setModel

Migrated model resource name.

Parameter
Name Description
var string
Returns
Type Description
$this

getDataset

Migrated dataset resource name.

Returns
Type Description
string

hasDataset

setDataset

Migrated dataset resource name.

Parameter
Name Description
var string
Returns
Type Description
$this

getRequest

It's the same as the value in MigrateResourceRequest.migrate_resource_requests.

Returns
Type Description
Google\Cloud\AIPlatform\V1\MigrateResourceRequest|null

hasRequest

clearRequest

setRequest

It's the same as the value in MigrateResourceRequest.migrate_resource_requests.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\MigrateResourceRequest
Returns
Type Description
$this

getResult

Returns
Type Description
string