Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

Response message for ModelService.ListModelVersionCheckpoints

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponse

Returns a new instance of GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponse.



30787
30788
30789
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30787

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

Instance Attribute Details

#checkpointsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelVersionCheckpoint>

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



30779
30780
30781
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30779

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)


30785
30786
30787
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30785

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30792
30793
30794
30795
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30792

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