Class ApiSpec (1.49.0)

ApiSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The API specification shown to the LLM.

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.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
open_api_yaml str
The API spec in Open API standard and YAML format. This field is a member of oneof_ api_spec.
open_api_gcs_uri str
Cloud Storage URI pointing to the OpenAPI spec. This field is a member of oneof_ api_spec.

Methods

ApiSpec

ApiSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The API specification shown to the LLM.

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.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields