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.



16055
16056
16057
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16055

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



16047
16048
16049
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16047

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)


16053
16054
16055
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16053

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16060
16061
16062
16063
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16060

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