Google Cloud Ai Platform V1 Client - Class PartialResult (0.19.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
NameDescription
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
TypeDescription
Google\Rpc\Status|null

hasError

setError

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

Parameter
NameDescription
var Google\Rpc\Status
Returns
TypeDescription
$this

getModel

Migrated model resource name.

Returns
TypeDescription
string

hasModel

setModel

Migrated model resource name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataset

Migrated dataset resource name.

Returns
TypeDescription
string

hasDataset

setDataset

Migrated dataset resource name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRequest

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

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\MigrateResourceRequest|null

hasRequest

clearRequest

setRequest

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

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\MigrateResourceRequest
Returns
TypeDescription
$this

getResult

Returns
TypeDescription
string