Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::Conversation::ContextReference (v1.9.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Conversation::ContextReference.

Represents a section of ingested context information.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#context_contents

def context_contents() -> ::Array<::Google::Cloud::Dialogflow::V2::Conversation::ContextReference::ContextContent>
Returns

#context_contents=

def context_contents=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::Conversation::ContextReference::ContextContent>
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#language_code

def language_code() -> ::String
Returns
  • (::String) — Optional. The language of the information ingested, defaults to "en-US" if not set.

#language_code=

def language_code=(value) -> ::String
Parameter
  • value (::String) — Optional. The language of the information ingested, defaults to "en-US" if not set.
Returns
  • (::String) — Optional. The language of the information ingested, defaults to "en-US" if not set.

#update_mode

def update_mode() -> ::Google::Cloud::Dialogflow::V2::Conversation::ContextReference::UpdateMode
Returns

#update_mode=

def update_mode=(value) -> ::Google::Cloud::Dialogflow::V2::Conversation::ContextReference::UpdateMode
Parameter
Returns