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.



29530
29531
29532
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29530

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



29522
29523
29524
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29522

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)


29528
29529
29530
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29528

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29535
29536
29537
29538
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29535

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