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

Commit

Permalink
docs: clarified documentation for security settings docs: clarified d…
Browse files Browse the repository at this point in the history
…ocumentation 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: googleapis/googleapis-gen@abbbe21

* 🦉 Updates from OwlBot

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed May 18, 2021
1 parent 6f869db commit c1c0fb9
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 14 deletions.
21 changes: 14 additions & 7 deletions google/cloud/dialogflowcx_v3/types/security_settings.py
Expand Up @@ -154,9 +154,10 @@ class SecuritySettings(proto.Message):
redaction_strategy (google.cloud.dialogflowcx_v3.types.SecuritySettings.RedactionStrategy):
Strategy that defines how we do redaction.
redaction_scope (google.cloud.dialogflowcx_v3.types.SecuritySettings.RedactionScope):
Defines on what data we apply redaction. Note
that we don't redact data to which we don't have
access, e.g., Stackdriver logs.
Defines the data for which Dialogflow applies
redaction. Dialogflow does not redact data that
it does not have access to – for example, Cloud
logging.
inspect_template (str):
DLP inspect template name. Use this template to define
inspect base settings.
Expand All @@ -167,12 +168,18 @@ class SecuritySettings(proto.Message):
``projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID`` OR
``organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID``
retention_window_days (int):
Retains the data for the specified number of
days. User must Set a value lower than
Dialogflow's default 30d TTL. Setting a value
higher than that has no effect.
Retains data in interaction logging for the
specified number of days. This does not apply to
Cloud logging, which is owned by the user - not
Dialogflow.
User must Set a value lower than Dialogflow's
default 30d TTL. Setting a value higher than
that has no effect.
A missing value or setting to 0 also means we
use Dialogflow's default TTL.
Note: Interaction logging is a limited access
feature. Talk to your Google representative to
check availability for you.
purge_data_types (Sequence[google.cloud.dialogflowcx_v3.types.SecuritySettings.PurgeDataType]):
List of types of data to remove when
retention settings triggers purge.
Expand Down
3 changes: 3 additions & 0 deletions google/cloud/dialogflowcx_v3/types/session.py
Expand Up @@ -368,6 +368,9 @@ class QueryParameters(proto.Message):
from the session, clients should explicitly set the
parameter value to null.
You can reference the session parameters in the agent with
the following format: $session.params.parameter-id.
Depending on your protocol or client library language, this
is a map, associative array, symbol table, dictionary, or
JSON object composed of a collection of (MapKey, MapValue)
Expand Down
21 changes: 14 additions & 7 deletions google/cloud/dialogflowcx_v3beta1/types/security_settings.py
Expand Up @@ -154,9 +154,10 @@ class SecuritySettings(proto.Message):
redaction_strategy (google.cloud.dialogflowcx_v3beta1.types.SecuritySettings.RedactionStrategy):
Strategy that defines how we do redaction.
redaction_scope (google.cloud.dialogflowcx_v3beta1.types.SecuritySettings.RedactionScope):
Defines on what data we apply redaction. Note
that we don't redact data to which we don't have
access, e.g., Stackdriver logs.
Defines the data for which Dialogflow applies
redaction. Dialogflow does not redact data that
it does not have access to – for example, Cloud
logging.
inspect_template (str):
DLP inspect template name. Use this template to define
inspect base settings.
Expand All @@ -167,12 +168,18 @@ class SecuritySettings(proto.Message):
``projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID`` OR
``organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID``
retention_window_days (int):
Retains the data for the specified number of
days. User must Set a value lower than
Dialogflow's default 30d TTL. Setting a value
higher than that has no effect.
Retains data in interaction logging for the
specified number of days. This does not apply to
Cloud logging, which is owned by the user - not
Dialogflow.
User must Set a value lower than Dialogflow's
default 30d TTL. Setting a value higher than
that has no effect.
A missing value or setting to 0 also means we
use Dialogflow's default TTL.
Note: Interaction logging is a limited access
feature. Talk to your Google representative to
check availability for you.
purge_data_types (Sequence[google.cloud.dialogflowcx_v3beta1.types.SecuritySettings.PurgeDataType]):
List of types of data to remove when
retention settings triggers purge.
Expand Down
3 changes: 3 additions & 0 deletions google/cloud/dialogflowcx_v3beta1/types/session.py
Expand Up @@ -368,6 +368,9 @@ class QueryParameters(proto.Message):
from the session, clients should explicitly set the
parameter value to null.
You can reference the session parameters in the agent with
the following format: $session.params.parameter-id.
Depending on your protocol or client library language, this
is a map, associative array, symbol table, dictionary, or
JSON object composed of a collection of (MapKey, MapValue)
Expand Down

0 comments on commit c1c0fb9

Please sign in to comment.