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

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<Google\Cloud\AIPlatform\V1\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}

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
Type Description
string

setParent

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

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

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

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.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

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.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED];

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