generative-ai-python

google.generativeai.protos.CustomMetadata

User provided metadata stored as key-value pairs.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

`string_value` `str` The string value of the metadata to store. This field is a member of `oneof`_ ``value``.
`string_list_value` `google.ai.generativelanguage.StringList` The StringList value of the metadata to store. This field is a member of `oneof`_ ``value``.
`numeric_value` `float` The numeric value of the metadata to store. This field is a member of `oneof`_ ``value``.
`key` `str` Required. The key of the metadata to store.