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.



14740
14741
14742
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14740

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



14732
14733
14734
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14732

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)


14738
14739
14740
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14738

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14745
14746
14747
14748
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14745

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