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

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.

Generated from protobuf field .google.rpc.Status error = 2;

Returns
TypeDescription
Google\Rpc\Status|null

hasError

setError

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

Generated from protobuf field .google.rpc.Status error = 2;

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

getModel

Migrated model resource name.

Generated from protobuf field string model = 3 [(.google.api.resource_reference) = {

Returns
TypeDescription
string

hasModel

setModel

Migrated model resource name.

Generated from protobuf field string model = 3 [(.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataset

Migrated dataset resource name.

Generated from protobuf field string dataset = 4 [(.google.api.resource_reference) = {

Returns
TypeDescription
string

hasDataset

setDataset

Migrated dataset resource name.

Generated from protobuf field string dataset = 4 [(.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRequest

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

Generated from protobuf field .google.cloud.aiplatform.v1.MigrateResourceRequest request = 1;

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

hasRequest

clearRequest

setRequest

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

Generated from protobuf field .google.cloud.aiplatform.v1.MigrateResourceRequest request = 1;

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

getResult

Returns
TypeDescription
string