Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::CreateSessionEntityTypeRequest.
The request message for SessionEntityTypes.CreateSessionEntityType.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The session to create a session entity type for.
Format:
projects/<Project ID>/agent/sessions/<Session ID>
orprojects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/ sessions/<Session ID>
. IfEnvironment ID
is not specified, we assume default 'draft' environment. IfUser ID
is not specified, we assume default '-' user.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The session to create a session entity type for.
Format:
projects/<Project ID>/agent/sessions/<Session ID>
orprojects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/ sessions/<Session ID>
. IfEnvironment ID
is not specified, we assume default 'draft' environment. IfUser ID
is not specified, we assume default '-' user.
Returns
-
(::String) — Required. The session to create a session entity type for.
Format:
projects/<Project ID>/agent/sessions/<Session ID>
orprojects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/ sessions/<Session ID>
. IfEnvironment ID
is not specified, we assume default 'draft' environment. IfUser ID
is not specified, we assume default '-' user.
#session_entity_type
def session_entity_type() -> ::Google::Cloud::Dialogflow::V2::SessionEntityType
Returns
- (::Google::Cloud::Dialogflow::V2::SessionEntityType) — Required. The session entity type to create.
#session_entity_type=
def session_entity_type=(value) -> ::Google::Cloud::Dialogflow::V2::SessionEntityType
Parameter
- value (::Google::Cloud::Dialogflow::V2::SessionEntityType) — Required. The session entity type to create.
Returns
- (::Google::Cloud::Dialogflow::V2::SessionEntityType) — Required. The session entity type to create.