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.



15709
15710
15711
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15709

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



15701
15702
15703
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15701

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)


15707
15708
15709
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15707

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15714
15715
15716
15717
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15714

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