Google Cloud Dialogflow v2 API - Class Contexts (4.18.0)

public static class Contexts

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class Contexts.

Service for managing [Contexts][google.cloud.dialogflow.v2.Context].

Inheritance

object > Contexts

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Methods

BindService(ContextsBase)

public static ServerServiceDefinition BindService(Contexts.ContextsBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplContextsContextsBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, ContextsBase)

public static void BindService(ServiceBinderBase serviceBinder, Contexts.ContextsBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplContextsContextsBase

An object implementing the server-side handling logic.