Google Cloud Ai Platform V1 Client - Class BatchMigrateResourcesRequest (1.12.0)

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

Request message for MigrationService.BatchMigrateResources.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The location of the migrated resource will live in. Format: projects/{project}/locations/{location}

↳ migrate_resource_requests array<MigrateResourceRequest>

Required. The request messages specifying the resources to migrate. They must be in the same location as the destination. Up to 50 resources can be migrated in one batch.

getParent

Required. The location of the migrated resource will live in.

Format: projects/{project}/locations/{location}

Returns
Type Description
string

setParent

Required. The location of the migrated resource will live in.

Format: projects/{project}/locations/{location}

Parameter
Name Description
var string
Returns
Type Description
$this

getMigrateResourceRequests

Required. The request messages specifying the resources to migrate.

They must be in the same location as the destination. Up to 50 resources can be migrated in one batch.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMigrateResourceRequests

Required. The request messages specifying the resources to migrate.

They must be in the same location as the destination. Up to 50 resources can be migrated in one batch.

Parameter
Name Description
var array<MigrateResourceRequest>
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The location of the migrated resource will live in. Format: projects/{project}/locations/{location} Please see MigrationServiceClient::locationName() for help formatting this field.

migrateResourceRequests array<MigrateResourceRequest>

Required. The request messages specifying the resources to migrate. They must be in the same location as the destination. Up to 50 resources can be migrated in one batch.

Returns
Type Description
BatchMigrateResourcesRequest