GetWebhookResult class
Result data returned by getWebhook.
Constructors
- GetWebhookResult({required bool disabled, required String displayName, required GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse genericWebService, required String name, required GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigResponse serviceDirectory, required String timeout})
-
Creates a new GetWebhookResult.
disabledIndicates whether the webhook is disabled.displayNameThe human-readable name of the webhook, unique within the agent.genericWebServiceConfiguration for a generic web service.nameThe unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format:projects//locations//agents//webhooks/.serviceDirectoryConfiguration for a Service Directory service.timeoutWebhook execution timeout. Execution is considered failed if Dialogflow doesn't receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.const -
GetWebhookResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- disabled → bool
-
Indicates whether the webhook is disabled.
final
- displayName → String
-
The human-readable name of the webhook, unique within the agent.
final
- genericWebService → GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse
-
Configuration for a generic web service.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format:
projects//locations//agents//webhooks/.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceDirectory → GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigResponse
-
Configuration for a Service Directory service.
final
- timeout → String
-
Webhook execution timeout. Execution is considered failed if Dialogflow doesn't receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited