Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchMigrateResourcesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

Request message for MigrationService.BatchMigrateResources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1BatchMigrateResourcesRequest

Returns a new instance of GoogleCloudAiplatformV1beta1BatchMigrateResourcesRequest.



1748
1749
1750
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1748

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#migrate_resource_requestsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigrateResourceRequest>

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. Corresponds to the JSON property migrateResourceRequests



1746
1747
1748
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1746

def migrate_resource_requests
  @migrate_resource_requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1753
1754
1755
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1753

def update!(**args)
  @migrate_resource_requests = args[:migrate_resource_requests] if args.key?(:migrate_resource_requests)
end