NVIDIA Clara Deploy SDK User Guide

Models RemoveMetadata RPC

Requests the removal of metadata from a model.

rpc RemoveMetadata (ModelsRemoveMetadataRequest) returns (ModelsRemoveMetadataResponse)

Messages

  • ModelsRemoveMetadataRequest
  • ModelsRemoveMetadataResponse
Copy
Copied!
            

message ModelsRemoveMetadataRequest { ResponseHeader header = 1; Identifier model_id = 2; repeated string keys = 3;; }


Properties

type: message

Standard RPC request header.

See RequestHeader for details.

model_id

type: message

Unique identifier of the model whose metadata is to be updated.

Required. If the identifier value is omitted from the request or does not match any known model identifier, Clara Deploy SDK will be unable to fulfill the request.

See Identifier for details.

keys

type: repeated string

List of keys to be removed from the model metadata.

Key is a string type.

Copy
Copied!
            

message ModelRemoveMetadataResponse { ResponseHeader header = 1; Identifier model_id = 2; map<string, string> metadata = 3; }


Clara Deploy SDK Models service will respond to any add metadata request with a ModelsRemoveMetadataResponse message. Requestors can use the response message to determine the result of their request.

Properties

header

type: message

Standard RPC response header.

See ResponseHeader for details.

model_id

type: message

Unique identifier of the model whose metadata is updated.

See Identifier for details.

metadata

type: map

Metadata (set of all key/value pairs) of the model after removing the specified keys from the model record.

© Copyright 2018-2020, NVIDIA Corporation. All rights reserved. Last updated on Jun 28, 2023.