Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit c1c0fb9

Browse files
docs: clarified documentation for security settings docs: clarified documentation for session parameters (#90)
docs: clarified documentation for security settings docs: clarified documentation for session parameters PiperOrigin-RevId: 374474736 Source-Link: googleapis/googleapis@c27d046 Source-Link: https://github.com/googleapis/googleapis-gen/commit/abbbe2180d9863eb721cb5d86ed60994dfea0ad8 * 🦉 Updates from OwlBot Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 6f869db commit c1c0fb9

File tree

4 files changed

+34
-14
lines changed

4 files changed

+34
-14
lines changed

google/cloud/dialogflowcx_v3/types/security_settings.py

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,10 @@ class SecuritySettings(proto.Message):
154154
redaction_strategy (google.cloud.dialogflowcx_v3.types.SecuritySettings.RedactionStrategy):
155155
Strategy that defines how we do redaction.
156156
redaction_scope (google.cloud.dialogflowcx_v3.types.SecuritySettings.RedactionScope):
157-
Defines on what data we apply redaction. Note
158-
that we don't redact data to which we don't have
159-
access, e.g., Stackdriver logs.
157+
Defines the data for which Dialogflow applies
158+
redaction. Dialogflow does not redact data that
159+
it does not have access to – for example, Cloud
160+
logging.
160161
inspect_template (str):
161162
DLP inspect template name. Use this template to define
162163
inspect base settings.
@@ -167,12 +168,18 @@ class SecuritySettings(proto.Message):
167168
``projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID`` OR
168169
``organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID``
169170
retention_window_days (int):
170-
Retains the data for the specified number of
171-
days. User must Set a value lower than
172-
Dialogflow's default 30d TTL. Setting a value
173-
higher than that has no effect.
171+
Retains data in interaction logging for the
172+
specified number of days. This does not apply to
173+
Cloud logging, which is owned by the user - not
174+
Dialogflow.
175+
User must Set a value lower than Dialogflow's
176+
default 30d TTL. Setting a value higher than
177+
that has no effect.
174178
A missing value or setting to 0 also means we
175179
use Dialogflow's default TTL.
180+
Note: Interaction logging is a limited access
181+
feature. Talk to your Google representative to
182+
check availability for you.
176183
purge_data_types (Sequence[google.cloud.dialogflowcx_v3.types.SecuritySettings.PurgeDataType]):
177184
List of types of data to remove when
178185
retention settings triggers purge.

google/cloud/dialogflowcx_v3/types/session.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,9 @@ class QueryParameters(proto.Message):
368368
from the session, clients should explicitly set the
369369
parameter value to null.
370370
371+
You can reference the session parameters in the agent with
372+
the following format: $session.params.parameter-id.
373+
371374
Depending on your protocol or client library language, this
372375
is a map, associative array, symbol table, dictionary, or
373376
JSON object composed of a collection of (MapKey, MapValue)

google/cloud/dialogflowcx_v3beta1/types/security_settings.py

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,10 @@ class SecuritySettings(proto.Message):
154154
redaction_strategy (google.cloud.dialogflowcx_v3beta1.types.SecuritySettings.RedactionStrategy):
155155
Strategy that defines how we do redaction.
156156
redaction_scope (google.cloud.dialogflowcx_v3beta1.types.SecuritySettings.RedactionScope):
157-
Defines on what data we apply redaction. Note
158-
that we don't redact data to which we don't have
159-
access, e.g., Stackdriver logs.
157+
Defines the data for which Dialogflow applies
158+
redaction. Dialogflow does not redact data that
159+
it does not have access to – for example, Cloud
160+
logging.
160161
inspect_template (str):
161162
DLP inspect template name. Use this template to define
162163
inspect base settings.
@@ -167,12 +168,18 @@ class SecuritySettings(proto.Message):
167168
``projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID`` OR
168169
``organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID``
169170
retention_window_days (int):
170-
Retains the data for the specified number of
171-
days. User must Set a value lower than
172-
Dialogflow's default 30d TTL. Setting a value
173-
higher than that has no effect.
171+
Retains data in interaction logging for the
172+
specified number of days. This does not apply to
173+
Cloud logging, which is owned by the user - not
174+
Dialogflow.
175+
User must Set a value lower than Dialogflow's
176+
default 30d TTL. Setting a value higher than
177+
that has no effect.
174178
A missing value or setting to 0 also means we
175179
use Dialogflow's default TTL.
180+
Note: Interaction logging is a limited access
181+
feature. Talk to your Google representative to
182+
check availability for you.
176183
purge_data_types (Sequence[google.cloud.dialogflowcx_v3beta1.types.SecuritySettings.PurgeDataType]):
177184
List of types of data to remove when
178185
retention settings triggers purge.

google/cloud/dialogflowcx_v3beta1/types/session.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,9 @@ class QueryParameters(proto.Message):
368368
from the session, clients should explicitly set the
369369
parameter value to null.
370370
371+
You can reference the session parameters in the agent with
372+
the following format: $session.params.parameter-id.
373+
371374
Depending on your protocol or client library language, this
372375
is a map, associative array, symbol table, dictionary, or
373376
JSON object composed of a collection of (MapKey, MapValue)

0 commit comments

Comments
 (0)