Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchMigratableResourcesResponse

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

Overview

Response message for MigrationService.SearchMigratableResources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SearchMigratableResourcesResponse

Returns a new instance of GoogleCloudAiplatformV1SearchMigratableResourcesResponse.



28412
28413
28414
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28412

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

Instance Attribute Details

#migratable_resourcesArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MigratableResource>

All migratable resources that can be migrated to the location specified in the request. Corresponds to the JSON property migratableResources



28404
28405
28406
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28404

def migratable_resources
  @migratable_resources
end

#next_page_tokenString

The standard next-page token. The migratable_resources may not fill page_size in SearchMigratableResourcesRequest even when there are subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


28410
28411
28412
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28410

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28417
28418
28419
28420
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28417

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