Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListModelVersionCheckpointsResponse

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 ModelService.ListModelVersionCheckpoints

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ListModelVersionCheckpointsResponse

Returns a new instance of GoogleCloudAiplatformV1ListModelVersionCheckpointsResponse.



15321
15322
15323
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15321

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

Instance Attribute Details

#checkpointsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelVersionCheckpoint>

List of Model Version checkpoints. Corresponds to the JSON property checkpoints



15313
15314
15315
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15313

def checkpoints
  @checkpoints
end

#next_page_tokenString

A token to retrieve the next page of results. Pass to ListModelVersionCheckpointsRequest.page_token to obtain that page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


15319
15320
15321
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15319

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15326
15327
15328
15329
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15326

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