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.



14764
14765
14766
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14764

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



14756
14757
14758
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14756

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)


14762
14763
14764
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14762

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14769
14770
14771
14772
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14769

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