Google Cloud Dialogflow v2 API - Class Contexts (4.19.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
Name Description
serviceImpl ContextsContextsBase

An object implementing the server-side handling logic.

Returns
Type Description
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
Name Description
serviceBinder ServiceBinderBase

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

serviceImpl ContextsContextsBase

An object implementing the server-side handling logic.