lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/context.rb in google-cloud-dialogflow-0.2.3 vs lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/context.rb in google-cloud-dialogflow-0.3.0
- old
+ new
@@ -1,6 +1,6 @@
-# Copyright 2018 Google LLC
+# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
@@ -20,20 +20,24 @@
# Represents a context.
# @!attribute [rw] name
# @return [String]
# Required. The unique identifier of the context. Format:
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
+ #
+ # The `Context ID` is always converted to lowercase, may only contain
+ # characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
# @!attribute [rw] lifespan_count
# @return [Integer]
# Optional. The number of conversational query requests after which the
# context expires. If set to `0` (the default) the context expires
- # immediately. Contexts expire automatically after 10 minutes even if there
+ # immediately. Contexts expire automatically after 20 minutes if there
# are no matching queries.
# @!attribute [rw] parameters
# @return [Google::Protobuf::Struct]
# Optional. The collection of parameters associated with this context.
- # Refer to [this doc](https://dialogflow.com/docs/actions-and-parameters) for
- # syntax.
+ # Refer to [this
+ # doc](https://cloud.google.com/dialogflow-enterprise/docs/intents-actions-parameters)
+ # for syntax.
class Context; end
# The request message for {Google::Cloud::Dialogflow::V2::Contexts::ListContexts Contexts::ListContexts}.
# @!attribute [rw] parent
# @return [String]
\ No newline at end of file