Google Cloud Client Libraries for Rust - Dialogflow API
WARNING: some RPCs have no corresponding Rust function to call them. Typically these are streaming RPCs. We expect adding these RPCs in a way that does not break the existing APIs or changes their behavior in a significant way. We do anticipate a number of new crate dependencies will be required. If you need these RPCs please open an issue in our GitHub repository.
Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).
The client library types and functions are stable and not expected to change. Please note that Google Cloud services do change from time to time. The client libraries are designed to preserve backwards compatibility when the service changes in compatible ways. For example, adding RPCs, or fields to messages should not introduce breaking changes to the client libraries.
Quickstart
The main types to work with this crate are the clients:
- Agents: enabled by the
agentsfeature. - AnswerRecords: enabled by the
answer-recordsfeature. - Contexts: enabled by the
contextsfeature. - Conversations: enabled by the
conversationsfeature. - ConversationDatasets: enabled by the
conversation-datasetsfeature. - ConversationModels: enabled by the
conversation-modelsfeature. - ConversationProfiles: enabled by the
conversation-profilesfeature. - Documents: enabled by the
documentsfeature. - EncryptionSpecService: enabled by the
encryption-spec-servicefeature. - EntityTypes: enabled by the
entity-typesfeature. - Environments: enabled by the
environmentsfeature. - Fulfillments: enabled by the
fulfillmentsfeature. - Generators: enabled by the
generatorsfeature. - GeneratorEvaluations: enabled by the
generator-evaluationsfeature. - Intents: enabled by the
intentsfeature. - KnowledgeBases: enabled by the
knowledge-basesfeature. - Participants: enabled by the
participantsfeature. - Sessions: enabled by the
sessionsfeature. - SessionEntityTypes: enabled by the
session-entity-typesfeature. - SipTrunks: enabled by the
sip-trunksfeature. - Tools: enabled by the
toolsfeature. - Versions: enabled by the
versionsfeature.
Features
default-rustls-provider: enabled by default. Use the default rustls crypto provider (aws-lc-rs) for TLS and authentication. Applications with specific requirements for cryptography (such as exclusively using the ring crate) should disable this default and callrustls::crypto::CryptoProvider::install_default().- Each client can be enabled using its own feature. Use the client's name
in
kebab-caseto enable the client.
More Information
- Read the crate's documentation