Service Client: Google::Cloud::Dialogflow::Cx::V3::SessionEntityType::SessionEntityTypesClient
Client stub representing the remote SessionEntityTypes 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::Cx::V3::SessionEntityType - Compiled Protocol Buffers messages for google/cloud/dialogflow/cx/v3/session_entity_type.proto
SYNOPSIS
use Google::Cloud::Dialogflow::Cx::V3::SessionEntityType;
my $msg = Google::Cloud::Dialogflow::Cx::V3::SessionEntityType::SessionEntityType->new({
name => $name,
entity_override_mode => $entity_override_mode,
entities => $entities,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Dialogflow::Cx::V3::SessionEntityType::SessionEntityType->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/cx/v3/session_entity_type.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::Cx::V3::SessionEntityType::SessionEntityType
Session entity types are referred to as User entity types and are entities that are built for an individual user such as favorites, preferences, playlists, and so on.
You can redefine a session entity type at the session level to extend or replace a [custom entity type][google.cloud.dialogflow.cx.v3.EntityType] at the user session level (we refer to the entity types defined at the agent level as "custom entity types").
Note: session entity types apply to all queries, regardless of the language.
For more information about entity types, see the [Dialogflow documentation](https://cloud.google.com/dialogflow/docs/entities-overview).
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique identifier of the session entity type. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>`. If `Environment ID` is not specified, we assume default 'draft' environment.
$msg->entity_override_mode()/$msg->entity_override_mode($value)Type:
Enum(Google::Cloud::Dialogflow::Cx::V3::SessionEntityType::EntityOverrideMode)Required. Indicates whether the additional data should override or supplement the custom entity type definition.
$msg->entities()/$msg->entities($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::EntityType::EntityType::Entity)Required. The collection of entities to override or supplement the custom entity type.
Enum: SessionEntityType::EntityOverrideMode
ENTITY_OVERRIDE_MODE_UNSPECIFIED=>0ENTITY_OVERRIDE_MODE_OVERRIDE=>1ENTITY_OVERRIDE_MODE_SUPPLEMENT=>2
Google::Cloud::Dialogflow::Cx::V3::SessionEntityType::ListSessionEntityTypesRequest
The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The session to list all session entity types from. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>`. If `Environment ID` is not specified, we assume default 'draft' environment.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of items to return in a single page. By default 100 and at most 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringThe next_page_token value returned from a previous list request.
Google::Cloud::Dialogflow::Cx::V3::SessionEntityType::ListSessionEntityTypesResponse
The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes].
Inherits from Protobuf::Message.
Accessors
$msg->session_entity_types()/$msg->session_entity_types($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::SessionEntityType::SessionEntityType)The list of session entity types. There will be a maximum number of items returned based on the page_size field in the request.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
Google::Cloud::Dialogflow::Cx::V3::SessionEntityType::GetSessionEntityTypeRequest
The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.GetSessionEntityType].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the session entity type. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>`. If `Environment ID` is not specified, we assume default 'draft' environment.
Google::Cloud::Dialogflow::Cx::V3::SessionEntityType::CreateSessionEntityTypeRequest
The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.CreateSessionEntityType].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The session to create a session entity type for. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>`. If `Environment ID` is not specified, we assume default 'draft' environment.
$msg->session_entity_type()/$msg->session_entity_type($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::SessionEntityType::SessionEntityType)Required. The session entity type to create.
Google::Cloud::Dialogflow::Cx::V3::SessionEntityType::UpdateSessionEntityTypeRequest
The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.UpdateSessionEntityType].
Inherits from Protobuf::Message.
Accessors
$msg->session_entity_type()/$msg->session_entity_type($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::SessionEntityType::SessionEntityType)Required. The session entity type to update. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>`. If `Environment ID` is not specified, we assume default 'draft' environment.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)The mask to control which fields get updated.
Google::Cloud::Dialogflow::Cx::V3::SessionEntityType::DeleteSessionEntityTypeRequest
The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.DeleteSessionEntityType].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the session entity type to delete. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>`. If `Environment ID` is not specified, we assume default 'draft' environment.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::Cx::V3::SessionEntityType::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.