Resource
ModelShard
Resource name with pattern
dataProviders/{data_provider}/modelShards/{model_shard}Resource name of the ModelRelease that this is a shard of.Format:
modelProviders/{model_provider}/modelSuites/{model_suite}/modelReleases/{model_release}This field is immutable after creation.The blob for this model shard. This field is immutable after creation.
The path the model blob can be downloaded from.This field is immutable after creation.
When the ModelShard was created
Methods
CreateModelShard
Creates a newModelShard.
Resource name of the parent DataProvider.Format:
dataProviders/{data_provider}The ModelShard to create. The
name field will be ignored, and the system will assign an ID.Required fields:model_release: Reference to a ModelReleasemodel_blob: The model blob referencemodel_blob.model_blob_path: Path to the model blob
ModelShard resource.
Example Request
ListModelShards
ListsModelShard resources for a DataProvider.
Resource name of the parent DataProvider.Format:
dataProviders/{data_provider}The maximum number of ModelShards to return. The service may return fewer than this value.
- If unspecified, at most 50 ModelShards will be returned
- Maximum value is 1000; values above 1000 will be coerced to 1000
A page token received from a previous
ListModelShards call. Provide this to retrieve the subsequent page.When paginating, all other parameters must match the call that provided the page token.List of ModelShard resources
A token that can be sent as
page_token to retrieve the next page. If omitted, there are no subsequent pages.DeleteModelShard
Deletes an existingModelShard.
The name of the ModelShard to delete.Format:
dataProviders/{data_provider}/modelShards/{model_shard}