Class: Google::Cloud::Dialogflow::V2::CreateContextRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/context.rb

Overview

The request message for Contexts.CreateContext.

Instance Attribute Summary collapse

Instance Attribute Details

#context::Google::Cloud::Dialogflow::V2::Context

Returns Required. The context to create.

Returns:



150
151
152
153
# File 'proto_docs/google/cloud/dialogflow/v2/context.rb', line 150

class CreateContextRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The session to create a context for. Format: projects/<Project ID>/agent/sessions/<Session ID> or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>. If Environment ID is not specified, we assume default 'draft' environment. If User ID is not specified, we assume default '-' user.

Returns:

  • (::String)

    Required. The session to create a context for. Format: projects/<Project ID>/agent/sessions/<Session ID> or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>. If Environment ID is not specified, we assume default 'draft' environment. If User ID is not specified, we assume default '-' user.



150
151
152
153
# File 'proto_docs/google/cloud/dialogflow/v2/context.rb', line 150

class CreateContextRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end