Service Client: Google::Cloud::Dialogflow::V2beta1::Fulfillment::FulfillmentsClient

Client stub representing the remote Fulfillments gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to dialogflow.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Dialogflow::V2beta1::Fulfillment - Compiled Protocol Buffers messages for google/cloud/dialogflow/v2beta1/fulfillment.proto

SYNOPSIS

use Google::Cloud::Dialogflow::V2beta1::Fulfillment;

my $msg = Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment->new({
    name => $name,
    display_name => $display_name,
    generic_web_service => $generic_web_service,
    enabled => $enabled,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/v2beta1/fulfillment.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment

By default, your agent responds to a matched intent with a static response. As an alternative, you can provide a more dynamic response by using fulfillment. When you enable fulfillment for an intent, Dialogflow responds to that intent by calling a service that you define. For example, if an end-user wants to schedule a haircut on Friday, your service can check your database and respond to the end-user with availability information for Friday.

For more information, see the [fulfillment guide](https://cloud.google.com/dialogflow/docs/fulfillment-overview).

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The unique identifier of the fulfillment. Supported formats:

    - `projects/<Project ID>/agent/fulfillment` - `projects/<Project ID>/locations/<Location ID>/agent/fulfillment`

    This field is not used for Fulfillment in an Environment.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    The human-readable name of the fulfillment, unique within the agent.

    This field is not used for Fulfillment in an Environment.

  • $msg->generic_web_service() / $msg->generic_web_service($value)

    Type: Message (Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment::GenericWebService)

    Configuration for a generic web service.

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether fulfillment is enabled.

  • $msg->features() / $msg->features($value)

    Type: Message (Google::Cloud::Dialogflow::V2beta1::Fulfillment::Fulfillment::Feature)

    The field defines whether the fulfillment is enabled for certain features.

Google::Cloud::Dialogflow::V2beta1::Fulfillment::GetFulfillmentRequest

The request message for [Fulfillments.GetFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the fulfillment. Supported formats:

    - `projects/<Project ID>/agent/fulfillment` - `projects/<Project ID>/locations/<Location ID>/agent/fulfillment`

Google::Cloud::Dialogflow::V2beta1::Fulfillment::UpdateFulfillmentRequest

The request message for [Fulfillments.UpdateFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment].

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::V2beta1::Fulfillment::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.