Skip to content

Commit

Permalink
docs: [dialogflow-cx] Clarified TTL as time-to-live (#8649)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

docs: Removed pre-GA disclaimer from Interaction Logging (has been GA for awhile)

PiperOrigin-RevId: 482618841

Source-Link: https://togithub.com/googleapis/googleapis/commit/62443cf095495ae2fedd4f56712eccdf686bab52

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/686a775e70812e2133902c03282c1aefa387dac0
Copy-Tag: eyJwIjoiamF2YS1kaWFsb2dmbG93LWN4Ly5Pd2xCb3QueWFtbCIsImgiOiI2ODZhNzc1ZTcwODEyZTIxMzM5MDJjMDMyODJjMWFlZmEzODdkYWMwIn0=
  • Loading branch information
gcf-owl-bot[bot] authored Oct 21, 2022
1 parent b2b1922 commit 24be08c
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 89 deletions.
37 changes: 3 additions & 34 deletions java-dialogflow-cx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-dialogflow-cx</artifactId>
<version>0.14.7</version>
<version>0.15.0</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-dialogflow-cx:0.14.7'
implementation 'com.google.cloud:google-cloud-dialogflow-cx:0.15.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.14.7"
libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.15.0"
```

## Authentication
Expand Down Expand Up @@ -73,37 +73,6 @@ use this Dialogflow CX Client Library.



## Samples

Samples are in the [`samples/`](https://github.com/googleapis/java-dialogflow-cx/tree/main/samples) directory.

| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| Configure Webhook To Set Form Parameters As Optional Or Required | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/ConfigureWebhookToSetFormParametersAsOptionalOrRequired.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/ConfigureWebhookToSetFormParametersAsOptionalOrRequired.java) |
| Create Agent | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/CreateAgent.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/CreateAgent.java) |
| Create Flow | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/CreateFlow.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/CreateFlow.java) |
| Create Intent | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/CreateIntent.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/CreateIntent.java) |
| Create Page | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/CreatePage.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/CreatePage.java) |
| Create Simple Page | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/CreateSimplePage.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/CreateSimplePage.java) |
| Delete Page | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/DeletePage.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/DeletePage.java) |
| Detect Intent | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/DetectIntent.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/DetectIntent.java) |
| Detect Intent Audio Input | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/DetectIntentAudioInput.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/DetectIntentAudioInput.java) |
| Detect Intent Disable Webhook | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/DetectIntentDisableWebhook.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/DetectIntentDisableWebhook.java) |
| Detect Intent Event Input | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/DetectIntentEventInput.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/DetectIntentEventInput.java) |
| Detect Intent Intent Input | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/DetectIntentIntentInput.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/DetectIntentIntentInput.java) |
| Detect Intent Sentiment Analysis | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/DetectIntentSentimentAnalysis.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/DetectIntentSentimentAnalysis.java) |
| Detect Intent Stream | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/DetectIntentStream.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/DetectIntentStream.java) |
| Detect Intent Streaming Partial Response | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/DetectIntentStreamingPartialResponse.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/DetectIntentStreamingPartialResponse.java) |
| Detect Intent Synthesize Text To Speech Output | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/DetectIntentSynthesizeTextToSpeechOutput.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/DetectIntentSynthesizeTextToSpeechOutput.java) |
| Export Agent | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/ExportAgent.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/ExportAgent.java) |
| List Pages | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/ListPages.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/ListPages.java) |
| List Test Case Results | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/ListTestCaseResults.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/ListTestCaseResults.java) |
| List Training Phrases | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/ListTrainingPhrases.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/ListTrainingPhrases.java) |
| Update Intent | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/UpdateIntent.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/UpdateIntent.java) |
| Webhook Configure Session Parameters | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/WebhookConfigureSessionParameters.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/WebhookConfigureSessionParameters.java) |
| Webhook Validate Form Parameter | [source code](https://github.com/googleapis/java-dialogflow-cx/blob/main/samples/snippets/src/main/java/dialogflow/cx/WebhookValidateFormParameter.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dialogflow-cx&page=editor&open_in_editor=samples/snippets/src/main/java/dialogflow/cx/WebhookValidateFormParameter.java) |



## Troubleshooting

Expand Down
3 changes: 2 additions & 1 deletion java-dialogflow-cx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,5 @@
<module>proto-google-cloud-dialogflow-cx-v3</module>
<module>google-cloud-dialogflow-cx-bom</module>
</modules>
</project>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -2846,12 +2846,9 @@ public com.google.protobuf.ByteString getDeidentifyTemplateBytes() {
* 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 365d 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.
* User must set a value lower than Dialogflow's default 365d TTL (time to
* live). Setting a value higher than that has no effect. A missing value or
* setting to 0 also means we use Dialogflow's default TTL.
* </pre>
*
* <code>int32 retention_window_days = 6;</code>
Expand All @@ -2869,12 +2866,9 @@ public boolean hasRetentionWindowDays() {
* 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 365d 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.
* User must set a value lower than Dialogflow's default 365d TTL (time to
* live). Setting a value higher than that has no effect. A missing value or
* setting to 0 also means we use Dialogflow's default TTL.
* </pre>
*
* <code>int32 retention_window_days = 6;</code>
Expand Down Expand Up @@ -4600,12 +4594,9 @@ public Builder setDeidentifyTemplateBytes(com.google.protobuf.ByteString value)
* 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 365d 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.
* User must set a value lower than Dialogflow's default 365d TTL (time to
* live). Setting a value higher than that has no effect. A missing value or
* setting to 0 also means we use Dialogflow's default TTL.
* </pre>
*
* <code>int32 retention_window_days = 6;</code>
Expand All @@ -4622,12 +4613,9 @@ public boolean hasRetentionWindowDays() {
* 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 365d 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.
* User must set a value lower than Dialogflow's default 365d TTL (time to
* live). Setting a value higher than that has no effect. A missing value or
* setting to 0 also means we use Dialogflow's default TTL.
* </pre>
*
* <code>int32 retention_window_days = 6;</code>
Expand All @@ -4647,12 +4635,9 @@ public int getRetentionWindowDays() {
* 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 365d 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.
* User must set a value lower than Dialogflow's default 365d TTL (time to
* live). Setting a value higher than that has no effect. A missing value or
* setting to 0 also means we use Dialogflow's default TTL.
* </pre>
*
* <code>int32 retention_window_days = 6;</code>
Expand All @@ -4673,12 +4658,9 @@ public Builder setRetentionWindowDays(int value) {
* 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 365d 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.
* User must set a value lower than Dialogflow's default 365d TTL (time to
* live). Setting a value higher than that has no effect. A missing value or
* setting to 0 also means we use Dialogflow's default TTL.
* </pre>
*
* <code>int32 retention_window_days = 6;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,9 @@ public interface SecuritySettingsOrBuilder
* 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 365d 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.
* User must set a value lower than Dialogflow's default 365d TTL (time to
* live). Setting a value higher than that has no effect. A missing value or
* setting to 0 also means we use Dialogflow's default TTL.
* </pre>
*
* <code>int32 retention_window_days = 6;</code>
Expand All @@ -268,12 +265,9 @@ public interface SecuritySettingsOrBuilder
* 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 365d 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.
* User must set a value lower than Dialogflow's default 365d TTL (time to
* live). Setting a value higher than that has no effect. A missing value or
* setting to 0 also means we use Dialogflow's default TTL.
* </pre>
*
* <code>int32 retention_window_days = 6;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,12 +326,9 @@ message SecuritySettings {
// 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 365d 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.
// User must set a value lower than Dialogflow's default 365d TTL (time to
// live). Setting a value higher than that has no effect. A missing value or
// setting to 0 also means we use Dialogflow's default TTL.
int32 retention_window_days = 6;
}

Expand Down

0 comments on commit 24be08c

Please sign in to comment.