Dialogflow API C++ Client 2.13.0
A C++ Client Library for the Dialogflow API
|
A number of environment variables can be used to configure the behavior of the library. There are also functions to configure this behavior in code. The environment variables are convenient when troubleshooting problems.
GOOGLE_CLOUD_CPP_AGENTS_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeAgentsConnection()
.GOOGLE_CLOUD_CPP_ANSWER_RECORDS_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeAnswerRecordsConnection()
.GOOGLE_CLOUD_CPP_CONTEXTS_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeContextsConnection()
.GOOGLE_CLOUD_CPP_CONVERSATIONS_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeConversationsConnection()
.GOOGLE_CLOUD_CPP_CONVERSATION_DATASETS_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeConversationDatasetsConnection()
.GOOGLE_CLOUD_CPP_CONVERSATION_MODELS_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeConversationModelsConnection()
.GOOGLE_CLOUD_CPP_CONVERSATION_PROFILES_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeConversationProfilesConnection()
.GOOGLE_CLOUD_CPP_DIALOGFLOW_ENVIRONMENTS_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeEnvironmentsConnection()
.GOOGLE_CLOUD_CPP_DIALOGFLOW_VERSIONS_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeVersionsConnection()
.GOOGLE_CLOUD_CPP_DOCUMENTS_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeDocumentsConnection()
.GOOGLE_CLOUD_CPP_ENTITY_TYPES_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeEntityTypesConnection()
.GOOGLE_CLOUD_CPP_FULFILLMENTS_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeFulfillmentsConnection()
.GOOGLE_CLOUD_CPP_INTENTS_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeIntentsConnection()
.GOOGLE_CLOUD_CPP_KNOWLEDGE_BASES_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeKnowledgeBasesConnection()
.GOOGLE_CLOUD_CPP_PARTICIPANTS_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeParticipantsConnection()
.GOOGLE_CLOUD_CPP_SESSIONS_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeSessionsConnection()
.GOOGLE_CLOUD_CPP_SESSION_ENTITY_TYPES_ENDPOINT=...
overrides the EndpointOption
(which defaults to "<location>-dialogflow.googleapis.com") used by MakeSessionEntityTypesConnection()
.GOOGLE_CLOUD_CPP_ENABLE_TRACING=rpc
: turns on tracing for most gRPC calls. The library injects an additional Stub decorator that prints each gRPC request and response. Unless you have configured your own logging backend, you should also set GOOGLE_CLOUD_CPP_ENABLE_CLOG
to produce any output on the program's console.
GOOGLE_CLOUD_CPP_TRACING_OPTIONS=...
: modifies the behavior of gRPC tracing, including whether messages will be output on multiple lines, or whether string/bytes fields will be truncated.
GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes
: turns on logging in the library, basically the library always "logs" but the logging infrastructure has no backend to actually print anything until the application sets a backend or they set this environment variable.
GOOGLE_CLOUD_PROJECT=...
: is used in examples and integration tests to configure the GCP project. This has no effect in the library.