Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchMigratableResourcesResponse

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

Response message for MigrationService.SearchMigratableResources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SearchMigratableResourcesResponse

Returns a new instance of GoogleCloudAiplatformV1beta1SearchMigratableResourcesResponse.



23138
23139
23140
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23138

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

Instance Attribute Details

#migratable_resourcesArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigratableResource>

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



23130
23131
23132
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23130

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)


23136
23137
23138
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23136

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23143
23144
23145
23146
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23143

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