Skip to content

Commit

Permalink
feat(dialogflow): update the api
Browse files Browse the repository at this point in the history
#### dialogflow:v3

The following keys were added:
- schemas.GoogleCloudDialogflowCxV3Webhook.properties.serviceDirectory.$ref (Total Keys: 1)
- schemas.GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig (Total Keys: 4)

#### dialogflow:v3beta1

The following keys were added:
- schemas.GoogleCloudDialogflowCxV3beta1Webhook.properties.serviceDirectory.$ref (Total Keys: 1)
- schemas.GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig (Total Keys: 4)
  • Loading branch information
yoshi-automation committed May 15, 2021
1 parent d09cc8d commit 0c6b31f
Show file tree
Hide file tree
Showing 8 changed files with 182 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h2>Instance Methods</h2>
<p class="firstline">Retrieves the specified document. Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.</p>
<p class="toc_element">
<code><a href="#import_">import_(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Create documents by importing data from external sources.</p>
<p class="firstline">Create documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error.</p>
<p class="toc_element">
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Returns the list of all documents of the knowledge base. Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.</p>
Expand Down Expand Up @@ -254,7 +254,7 @@ <h3>Method Details</h3>

<div class="method">
<code class="details" id="import_">import_(parent, body=None, x__xgafv=None)</code>
<pre>Create documents by importing data from external sources.
<pre>Create documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error.

Args:
parent: string, Required. The knowledge base to import documents into. Format: `projects//locations//knowledgeBases/`. (required)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h2>Instance Methods</h2>
<p class="firstline">Retrieves the specified document. Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.</p>
<p class="toc_element">
<code><a href="#import_">import_(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Create documents by importing data from external sources.</p>
<p class="firstline">Create documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error.</p>
<p class="toc_element">
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Returns the list of all documents of the knowledge base. Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.</p>
Expand Down Expand Up @@ -254,7 +254,7 @@ <h3>Method Details</h3>

<div class="method">
<code class="details" id="import_">import_(parent, body=None, x__xgafv=None)</code>
<pre>Create documents by importing data from external sources.
<pre>Create documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error.

Args:
parent: string, Required. The knowledge base to import documents into. Format: `projects//locations//knowledgeBases/`. (required)
Expand Down
66 changes: 66 additions & 0 deletions docs/dyn/dialogflow_v3.projects.locations.agents.webhooks.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,17 @@ <h3>Method Details</h3>
&quot;username&quot;: &quot;A String&quot;, # The user name for HTTP Basic authentication.
},
&quot;name&quot;: &quot;A String&quot;, # The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.
&quot;serviceDirectory&quot;: { # Represents configuration for a [Service Directory](https://cloud.google.com/service-directory) service. # Configuration for a [Service Directory](https://cloud.google.com/service-directory) service.
&quot;genericWebService&quot;: { # Represents configuration for a generic web service. # Generic Service configuration of this webhook.
&quot;password&quot;: &quot;A String&quot;, # The password for HTTP Basic authentication.
&quot;requestHeaders&quot;: { # The HTTP request headers to send together with webhook requests.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;uri&quot;: &quot;A String&quot;, # Required. The webhook URI for receiving POST requests. It must use https protocol.
&quot;username&quot;: &quot;A String&quot;, # The user name for HTTP Basic authentication.
},
&quot;service&quot;: &quot;A String&quot;, # Required. The name of [Service Directory](https://cloud.google.com/service-directory) service. Format: `projects//locations//namespaces//services/`. `Location ID` of the service directory must be the same as the location of the agent.
},
&quot;timeout&quot;: &quot;A String&quot;, # Webhook execution timeout. Execution is considered failed if Dialogflow doesn&#x27;t receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
}

Expand All @@ -145,6 +156,17 @@ <h3>Method Details</h3>
&quot;username&quot;: &quot;A String&quot;, # The user name for HTTP Basic authentication.
},
&quot;name&quot;: &quot;A String&quot;, # The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.
&quot;serviceDirectory&quot;: { # Represents configuration for a [Service Directory](https://cloud.google.com/service-directory) service. # Configuration for a [Service Directory](https://cloud.google.com/service-directory) service.
&quot;genericWebService&quot;: { # Represents configuration for a generic web service. # Generic Service configuration of this webhook.
&quot;password&quot;: &quot;A String&quot;, # The password for HTTP Basic authentication.
&quot;requestHeaders&quot;: { # The HTTP request headers to send together with webhook requests.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;uri&quot;: &quot;A String&quot;, # Required. The webhook URI for receiving POST requests. It must use https protocol.
&quot;username&quot;: &quot;A String&quot;, # The user name for HTTP Basic authentication.
},
&quot;service&quot;: &quot;A String&quot;, # Required. The name of [Service Directory](https://cloud.google.com/service-directory) service. Format: `projects//locations//namespaces//services/`. `Location ID` of the service directory must be the same as the location of the agent.
},
&quot;timeout&quot;: &quot;A String&quot;, # Webhook execution timeout. Execution is considered failed if Dialogflow doesn&#x27;t receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
}</pre>
</div>
Expand Down Expand Up @@ -194,6 +216,17 @@ <h3>Method Details</h3>
&quot;username&quot;: &quot;A String&quot;, # The user name for HTTP Basic authentication.
},
&quot;name&quot;: &quot;A String&quot;, # The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.
&quot;serviceDirectory&quot;: { # Represents configuration for a [Service Directory](https://cloud.google.com/service-directory) service. # Configuration for a [Service Directory](https://cloud.google.com/service-directory) service.
&quot;genericWebService&quot;: { # Represents configuration for a generic web service. # Generic Service configuration of this webhook.
&quot;password&quot;: &quot;A String&quot;, # The password for HTTP Basic authentication.
&quot;requestHeaders&quot;: { # The HTTP request headers to send together with webhook requests.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;uri&quot;: &quot;A String&quot;, # Required. The webhook URI for receiving POST requests. It must use https protocol.
&quot;username&quot;: &quot;A String&quot;, # The user name for HTTP Basic authentication.
},
&quot;service&quot;: &quot;A String&quot;, # Required. The name of [Service Directory](https://cloud.google.com/service-directory) service. Format: `projects//locations//namespaces//services/`. `Location ID` of the service directory must be the same as the location of the agent.
},
&quot;timeout&quot;: &quot;A String&quot;, # Webhook execution timeout. Execution is considered failed if Dialogflow doesn&#x27;t receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
}</pre>
</div>
Expand Down Expand Up @@ -229,6 +262,17 @@ <h3>Method Details</h3>
&quot;username&quot;: &quot;A String&quot;, # The user name for HTTP Basic authentication.
},
&quot;name&quot;: &quot;A String&quot;, # The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.
&quot;serviceDirectory&quot;: { # Represents configuration for a [Service Directory](https://cloud.google.com/service-directory) service. # Configuration for a [Service Directory](https://cloud.google.com/service-directory) service.
&quot;genericWebService&quot;: { # Represents configuration for a generic web service. # Generic Service configuration of this webhook.
&quot;password&quot;: &quot;A String&quot;, # The password for HTTP Basic authentication.
&quot;requestHeaders&quot;: { # The HTTP request headers to send together with webhook requests.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;uri&quot;: &quot;A String&quot;, # Required. The webhook URI for receiving POST requests. It must use https protocol.
&quot;username&quot;: &quot;A String&quot;, # The user name for HTTP Basic authentication.
},
&quot;service&quot;: &quot;A String&quot;, # Required. The name of [Service Directory](https://cloud.google.com/service-directory) service. Format: `projects//locations//namespaces//services/`. `Location ID` of the service directory must be the same as the location of the agent.
},
&quot;timeout&quot;: &quot;A String&quot;, # Webhook execution timeout. Execution is considered failed if Dialogflow doesn&#x27;t receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
},
],
Expand Down Expand Up @@ -270,6 +314,17 @@ <h3>Method Details</h3>
&quot;username&quot;: &quot;A String&quot;, # The user name for HTTP Basic authentication.
},
&quot;name&quot;: &quot;A String&quot;, # The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.
&quot;serviceDirectory&quot;: { # Represents configuration for a [Service Directory](https://cloud.google.com/service-directory) service. # Configuration for a [Service Directory](https://cloud.google.com/service-directory) service.
&quot;genericWebService&quot;: { # Represents configuration for a generic web service. # Generic Service configuration of this webhook.
&quot;password&quot;: &quot;A String&quot;, # The password for HTTP Basic authentication.
&quot;requestHeaders&quot;: { # The HTTP request headers to send together with webhook requests.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;uri&quot;: &quot;A String&quot;, # Required. The webhook URI for receiving POST requests. It must use https protocol.
&quot;username&quot;: &quot;A String&quot;, # The user name for HTTP Basic authentication.
},
&quot;service&quot;: &quot;A String&quot;, # Required. The name of [Service Directory](https://cloud.google.com/service-directory) service. Format: `projects//locations//namespaces//services/`. `Location ID` of the service directory must be the same as the location of the agent.
},
&quot;timeout&quot;: &quot;A String&quot;, # Webhook execution timeout. Execution is considered failed if Dialogflow doesn&#x27;t receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
}

Expand All @@ -294,6 +349,17 @@ <h3>Method Details</h3>
&quot;username&quot;: &quot;A String&quot;, # The user name for HTTP Basic authentication.
},
&quot;name&quot;: &quot;A String&quot;, # The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.
&quot;serviceDirectory&quot;: { # Represents configuration for a [Service Directory](https://cloud.google.com/service-directory) service. # Configuration for a [Service Directory](https://cloud.google.com/service-directory) service.
&quot;genericWebService&quot;: { # Represents configuration for a generic web service. # Generic Service configuration of this webhook.
&quot;password&quot;: &quot;A String&quot;, # The password for HTTP Basic authentication.
&quot;requestHeaders&quot;: { # The HTTP request headers to send together with webhook requests.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;uri&quot;: &quot;A String&quot;, # Required. The webhook URI for receiving POST requests. It must use https protocol.
&quot;username&quot;: &quot;A String&quot;, # The user name for HTTP Basic authentication.
},
&quot;service&quot;: &quot;A String&quot;, # Required. The name of [Service Directory](https://cloud.google.com/service-directory) service. Format: `projects//locations//namespaces//services/`. `Location ID` of the service directory must be the same as the location of the agent.
},
&quot;timeout&quot;: &quot;A String&quot;, # Webhook execution timeout. Execution is considered failed if Dialogflow doesn&#x27;t receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
}</pre>
</div>
Expand Down
Loading

0 comments on commit 0c6b31f

Please sign in to comment.