Class: Google::Cloud::Dialogflow::V2::GetContextRequest

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.GetContext.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Returns Required. The name of the context. Format: projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID> or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/contexts/<Context 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 name of the context. Format: projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID> or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/contexts/<Context ID>. If Environment ID is not specified, we assume default 'draft' environment. If User ID is not specified, we assume default '-' user.



105
106
107
108
# File 'proto_docs/google/cloud/dialogflow/v2/context.rb', line 105

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