Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>
orprojects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>
. IfEnvironment ID
is not specified, we assume default 'draft' environment.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The session to create a session entity type for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>
orprojects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>
. IfEnvironment ID
is not specified, we assume default 'draft' environment.
Returns
-
(::String) — Required. The session to create a session entity type for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>
orprojects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>
. IfEnvironment ID
is not specified, we assume default 'draft' environment.
#session_entity_type
def session_entity_type() -> ::Google::Cloud::Dialogflow::CX::V3::SessionEntityType
Returns
- (::Google::Cloud::Dialogflow::CX::V3::SessionEntityType) — Required. The session entity type to create.
#session_entity_type=
def session_entity_type=(value) -> ::Google::Cloud::Dialogflow::CX::V3::SessionEntityType
Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::SessionEntityType) — Required. The session entity type to create.
Returns
- (::Google::Cloud::Dialogflow::CX::V3::SessionEntityType) — Required. The session entity type to create.