Service Client: Google::Cloud::Dialogflow::V2::ConversationDataset::ConversationDatasetsClient

Client stub representing the remote ConversationDatasets 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::V2::ConversationDataset - Compiled Protocol Buffers messages for google/cloud/dialogflow/v2/conversation_dataset.proto

SYNOPSIS

use Google::Cloud::Dialogflow::V2::ConversationDataset;

my $msg = Google::Cloud::Dialogflow::V2::ConversationDataset::ConversationInfo->new({
    language_code => $language_code,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/v2/conversation_dataset.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::V2::ConversationDataset::ConversationInfo

Represents metadata of a conversation.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. The language code of the conversation data within this dataset. See https://cloud.google.com/apis/design/standard_fields for more information. Supports all UTF-8 languages.

Google::Cloud::Dialogflow::V2::ConversationDataset::InputConfig

Represents the configuration of importing a set of conversation files in Google Cloud Storage.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Dialogflow::V2::Gcs::GcsSources)

    The Cloud Storage URI has the form gs://<Google Cloud Storage bucket name>//agent*.json. Wildcards are allowed and will be expanded into all matched JSON files, which will be read as one conversation per file.

Google::Cloud::Dialogflow::V2::ConversationDataset::ConversationDataset

Represents a conversation dataset that a user imports raw data into. The data inside ConversationDataset can not be changed after ImportConversationData finishes (and calling ImportConversationData on a dataset that already has data is not allowed).

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. ConversationDataset resource name. Format: `projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset ID>`

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

    Type: String

    Required. The display name of the dataset. Maximum of 64 bytes.

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

    Type: String

    Optional. The description of the dataset. Maximum of 10000 bytes.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Creation time of this dataset.

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

    Type: Message (Google::Cloud::Dialogflow::V2::ConversationDataset::InputConfig)

    Output only. Input configurations set during conversation data import.

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

    Type: Message (Google::Cloud::Dialogflow::V2::ConversationDataset::ConversationInfo)

    Output only. Metadata set during conversation data import.

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

    Type: Int64

    Output only. The number of conversations this conversation dataset contains.

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

    Type: Bool

    Output only. A read only boolean field reflecting Zone Isolation status of the dataset.

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

    Type: Bool

    Output only. A read only boolean field reflecting Zone Separation status of the dataset.

Google::Cloud::Dialogflow::V2::ConversationDataset::CreateConversationDatasetRequest

The request message for [ConversationDatasets.CreateConversationDataset][google.cloud.dialogflow.v2.ConversationDatasets.CreateConversationDataset].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project to create conversation dataset for. Format: `projects/<Project ID>/locations/<Location ID>`

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

    Type: Message (Google::Cloud::Dialogflow::V2::ConversationDataset::ConversationDataset)

    Required. The conversation dataset to create.

Google::Cloud::Dialogflow::V2::ConversationDataset::GetConversationDatasetRequest

The request message for [ConversationDatasets.GetConversationDataset][google.cloud.dialogflow.v2.ConversationDatasets.GetConversationDataset].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The conversation dataset to retrieve. Format: `projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset ID>`

Google::Cloud::Dialogflow::V2::ConversationDataset::ListConversationDatasetsRequest

The request message for [ConversationDatasets.ListConversationDatasets][google.cloud.dialogflow.v2.ConversationDatasets.ListConversationDatasets].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project and location name to list all conversation datasets for. Format: `projects/<Project ID>/locations/<Location ID>`

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

    Type: Int32

    Optional. Maximum number of conversation datasets to return in a single page. By default 100 and at most 1000.

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

    Type: String

    Optional. The next_page_token value returned from a previous list request.

Google::Cloud::Dialogflow::V2::ConversationDataset::ListConversationDatasetsResponse

The response message for [ConversationDatasets.ListConversationDatasets][google.cloud.dialogflow.v2.ConversationDatasets.ListConversationDatasets].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Dialogflow::V2::ConversationDataset::ConversationDataset)

    The list of datasets to return.

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

    Type: String

    The token to use to retrieve the next page of results, or empty if there are no more results in the list.

Google::Cloud::Dialogflow::V2::ConversationDataset::DeleteConversationDatasetRequest

The request message for [ConversationDatasets.DeleteConversationDataset][google.cloud.dialogflow.v2.ConversationDatasets.DeleteConversationDataset].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The conversation dataset to delete. Format: `projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset ID>`

Google::Cloud::Dialogflow::V2::ConversationDataset::ImportConversationDataRequest

The request message for [ConversationDatasets.ImportConversationData][google.cloud.dialogflow.v2.ConversationDatasets.ImportConversationData].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Dataset resource name. Format: `projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset ID>`

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

    Type: Message (Google::Cloud::Dialogflow::V2::ConversationDataset::InputConfig)

    Required. Configuration describing where to import data from.

Google::Cloud::Dialogflow::V2::ConversationDataset::ImportConversationDataOperationMetadata

Metadata for a [ConversationDatasets.ImportConversationData][google.cloud.dialogflow.v2.ConversationDatasets.ImportConversationData] operation.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name of the imported conversation dataset. Format: `projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>`

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

    Type: Message (Google::Rpc::Status::Status)

    Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Timestamp when import conversation data request was created. The time is measured on server side.

Google::Cloud::Dialogflow::V2::ConversationDataset::ImportConversationDataOperationResponse

Response used for [ConversationDatasets.ImportConversationData][google.cloud.dialogflow.v2.ConversationDatasets.ImportConversationData] long running operation.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name of the imported conversation dataset. Format: `projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>`

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

    Type: Int32

    Number of conversations imported successfully.

Google::Cloud::Dialogflow::V2::ConversationDataset::CreateConversationDatasetOperationMetadata

Metadata for [CreateConversationDataset][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name of the conversation dataset that will be created. Format: `projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>`

Google::Cloud::Dialogflow::V2::ConversationDataset::DeleteConversationDatasetOperationMetadata

Metadata for [DeleteConversationDataset][].

Inherits from Protobuf::Message.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::V2::ConversationDataset::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.