OptionalaccessAn OAuth access token for API Hub, for example the output of
gcloud auth print-access-token. Ignored when apihubClient is set.
OptionalapihubThe client that fetches the spec. Defaults to an APIHubClient
built from accessToken and serviceAccountJson.
The API Hub resource to build tools from. It must name an API, and may
also name a version and a spec, for example
projects/my-project/locations/us-central1/apis/my-api. An API Hub
console URL is also accepted.
When it names a spec, that spec is used. Otherwise the first spec of the named version, or of the first version of the named API, is used.
OptionalauthAuth credential applied to every tool the spec produces.
OptionalauthAuth scheme applied to every tool the spec produces.
OptionaldescriptionThe toolset description. When empty, it is set from the spec's
info.description.
OptionallazyWhen true, the spec is fetched on the first call to getTools or
getTool instead of when the toolset is constructed.
OptionalnameThe toolset name. When empty, it is set from the spec's info.title in
snake_case, or unnamed when the spec has no title.
OptionalserviceThe content of a service account key file, as a JSON string, used to
authenticate to API Hub when accessToken is not set. Ignored when
apihubClient is set.
Options for APIHubToolset.