Google Cloud Dialogflow v2beta1 API - Class Contexts (1.0.0-beta10)

public static class Contexts

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

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

Inheritance

object > Contexts

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.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.