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

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
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.