Skip to content

Commit 13a9c2c

Browse files
feat: Automated regeneration of Dialogflow client (googleapis#12404)
Auto-created at 2024-10-24 13:18:52 +0000 using the toys pull request generator.
1 parent ec88807 commit 13a9c2c

17 files changed

+487
-3
lines changed

clients/dialogflow/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_dialogflow, "~> 0.86"}]
14+
[{:google_api_dialogflow, "~> 0.87"}]
1515
end
1616
```
1717

clients/dialogflow/lib/google_api/dialogflow/v2/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Dialogflow.V2 do
2020
API client metadata for GoogleApi.Dialogflow.V2.
2121
"""
2222

23-
@discovery_revision "20241018"
23+
@discovery_revision "20241019"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_human_agent_assistant_config_suggestion_query_config.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2HumanAgentAssista
2323
2424
* `confidenceThreshold` (*type:* `number()`, *default:* `nil`) - Confidence threshold of query result. Agent Assist gives each suggestion a score in the range [0.0, 1.0], based on the relevance between the suggestion and the current conversation context. A score of 0.0 has no relevance, while a score of 1.0 has high relevance. Only suggestions with a score greater than or equal to the value of this field are included in the results. For a baseline model (the default), the recommended value is in the range [0.05, 0.1]. For a custom model, there is no recommended value. Tune this value by starting from a very low value and slowly increasing until you have desired results. If this field is not set, it defaults to 0.0, which means that all suggestions are returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
2525
* `contextFilterSettings` (*type:* `GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings.t`, *default:* `nil`) - Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
26+
* `contextSize` (*type:* `integer()`, *default:* `nil`) - Optional. The number of recent messages to include in the context. Supported features: KNOWLEDGE_ASSIST.
2627
* `dialogflowQuerySource` (*type:* `GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource.t`, *default:* `nil`) - Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
2728
* `documentQuerySource` (*type:* `GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource.t`, *default:* `nil`) - Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
2829
* `knowledgeBaseQuerySource` (*type:* `GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource.t`, *default:* `nil`) - Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
@@ -37,6 +38,7 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2HumanAgentAssista
3738
:contextFilterSettings =>
3839
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings.t()
3940
| nil,
41+
:contextSize => integer() | nil,
4042
:dialogflowQuerySource =>
4143
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource.t()
4244
| nil,
@@ -59,6 +61,8 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2HumanAgentAssista
5961
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings
6062
)
6163

64+
field(:contextSize)
65+
6266
field(:dialogflowQuerySource,
6367
as:
6468
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource

clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_input_audio_config.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2InputAudioConfig
3030
* `modelVariant` (*type:* `String.t`, *default:* `nil`) - Which variant of the Speech model to use.
3131
* `optOutConformerModelMigration` (*type:* `boolean()`, *default:* `nil`) - If `true`, the request will opt out for STT conformer model migration. This field will be deprecated once force migration takes place in June 2024. Please refer to [Dialogflow ES Speech model migration](https://cloud.google.com/dialogflow/es/docs/speech-model-migration).
3232
* `phraseHints` (*type:* `list(String.t)`, *default:* `nil`) - A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details. This field is deprecated. Please use [`speech_contexts`]() instead. If you specify both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will treat the [`phrase_hints`]() as a single additional [`SpeechContext`]().
33+
* `phraseSets` (*type:* `list(String.t)`, *default:* `nil`) - A collection of phrase set resources to use for speech adaptation.
3334
* `sampleRateHertz` (*type:* `integer()`, *default:* `nil`) - Required. Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.
3435
* `singleUtterance` (*type:* `boolean()`, *default:* `nil`) - If `false` (default), recognition does not cease until the client closes the stream. If `true`, the recognizer will detect a single spoken utterance in input audio. Recognition ceases when it detects the audio's voice has stopped or paused. In this case, once a detected intent is received, the client should close the stream and start a new request with a new stream as needed. Note: This setting is relevant only for streaming methods. Note: When specified, InputAudioConfig.single_utterance takes precedence over StreamingDetectIntentRequest.single_utterance.
3536
* `speechContexts` (*type:* `list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SpeechContext.t)`, *default:* `nil`) - Context information to assist speech recognition. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details.
@@ -47,6 +48,7 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2InputAudioConfig
4748
:modelVariant => String.t() | nil,
4849
:optOutConformerModelMigration => boolean() | nil,
4950
:phraseHints => list(String.t()) | nil,
51+
:phraseSets => list(String.t()) | nil,
5052
:sampleRateHertz => integer() | nil,
5153
:singleUtterance => boolean() | nil,
5254
:speechContexts =>
@@ -62,6 +64,7 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2InputAudioConfig
6264
field(:modelVariant)
6365
field(:optOutConformerModelMigration)
6466
field(:phraseHints, type: :list)
67+
field(:phraseSets, type: :list)
6568
field(:sampleRateHertz)
6669
field(:singleUtterance)
6770

clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_knowledge_assist_answer_knowledge_answer_generative_source_snippet.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2KnowledgeAssistAn
2121
2222
## Attributes
2323
24+
* `metadata` (*type:* `map()`, *default:* `nil`) - Metadata of the document.
2425
* `text` (*type:* `String.t`, *default:* `nil`) - Text taken from that URI.
2526
* `title` (*type:* `String.t`, *default:* `nil`) - Title of the document.
2627
* `uri` (*type:* `String.t`, *default:* `nil`) - URI the data is sourced from.
@@ -29,11 +30,13 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2KnowledgeAssistAn
2930
use GoogleApi.Gax.ModelBase
3031

3132
@type t :: %__MODULE__{
33+
:metadata => map() | nil,
3234
:text => String.t() | nil,
3335
:title => String.t() | nil,
3436
:uri => String.t() | nil
3537
}
3638

39+
field(:metadata, type: :map)
3740
field(:text)
3841
field(:title)
3942
field(:uri)

clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_search_knowledge_answer_answer_source.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeAn
2121
2222
## Attributes
2323
24+
* `metadata` (*type:* `map()`, *default:* `nil`) - Metadata associated with the article.
2425
* `snippet` (*type:* `String.t`, *default:* `nil`) - The relevant snippet of the article.
2526
* `title` (*type:* `String.t`, *default:* `nil`) - The title of the article.
2627
* `uri` (*type:* `String.t`, *default:* `nil`) - The URI of the article.
@@ -29,11 +30,13 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeAn
2930
use GoogleApi.Gax.ModelBase
3031

3132
@type t :: %__MODULE__{
33+
:metadata => map() | nil,
3234
:snippet => String.t() | nil,
3335
:title => String.t() | nil,
3436
:uri => String.t() | nil
3537
}
3638

39+
field(:metadata, type: :map)
3740
field(:snippet)
3841
field(:title)
3942
field(:uri)

clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_search_knowledge_request.ex

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,13 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRe
2323
2424
* `conversation` (*type:* `String.t`, *default:* `nil`) - Optional. The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`.
2525
* `conversationProfile` (*type:* `String.t`, *default:* `nil`) - Required. The conversation profile used to configure the search. Format: `projects//locations//conversationProfiles/`.
26+
* `endUserMetadata` (*type:* `map()`, *default:* `nil`) - Optional. Information about the end-user to improve the relevance and accuracy of generative answers. This will be interpreted and used by a language model, so, for good results, the data should be self-descriptive, and in a simple structure. Example: ```json { "subscription plan": "Business Premium Plus", "devices owned": [ {"model": "Google Pixel 7"}, {"model": "Google Pixel Tablet"} ] } ```
27+
* `exactSearch` (*type:* `boolean()`, *default:* `nil`) - Optional. Whether to search the query exactly without query rewrite.
2628
* `latestMessage` (*type:* `String.t`, *default:* `nil`) - Optional. The name of the latest conversation message when the request is triggered. Format: `projects//locations//conversations//messages/`.
2729
* `parent` (*type:* `String.t`, *default:* `nil`) - Required. The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`.
2830
* `query` (*type:* `GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2TextInput.t`, *default:* `nil`) - Required. The natural language text query for knowledge search.
31+
* `querySource` (*type:* `String.t`, *default:* `nil`) - Optional. The source of the query in the request.
32+
* `searchConfig` (*type:* `GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig.t`, *default:* `nil`) - Optional. Configuration specific to search queries with data stores.
2933
* `sessionId` (*type:* `String.t`, *default:* `nil`) - Required. The ID of the search session. The session_id can be combined with Dialogflow V3 Agent ID retrieved from conversation profile or on its own to identify a search session. The search history of the same session will impact the search result. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length must not exceed 36 characters.
3034
"""
3135

@@ -34,17 +38,31 @@ defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRe
3438
@type t :: %__MODULE__{
3539
:conversation => String.t() | nil,
3640
:conversationProfile => String.t() | nil,
41+
:endUserMetadata => map() | nil,
42+
:exactSearch => boolean() | nil,
3743
:latestMessage => String.t() | nil,
3844
:parent => String.t() | nil,
3945
:query => GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2TextInput.t() | nil,
46+
:querySource => String.t() | nil,
47+
:searchConfig =>
48+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig.t()
49+
| nil,
4050
:sessionId => String.t() | nil
4151
}
4252

4353
field(:conversation)
4454
field(:conversationProfile)
55+
field(:endUserMetadata, type: :map)
56+
field(:exactSearch)
4557
field(:latestMessage)
4658
field(:parent)
4759
field(:query, as: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2TextInput)
60+
field(:querySource)
61+
62+
field(:searchConfig,
63+
as: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig
64+
)
65+
4866
field(:sessionId)
4967
end
5068

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig do
19+
@moduledoc """
20+
Configuration specific to search queries with data stores.
21+
22+
## Attributes
23+
24+
* `boostSpecs` (*type:* `list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs.t)`, *default:* `nil`) - Optional. Boost specifications for data stores.
25+
* `filterSpecs` (*type:* `list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs.t)`, *default:* `nil`) - Optional. Filter specification for data store queries.
26+
"""
27+
28+
use GoogleApi.Gax.ModelBase
29+
30+
@type t :: %__MODULE__{
31+
:boostSpecs =>
32+
list(
33+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs.t()
34+
)
35+
| nil,
36+
:filterSpecs =>
37+
list(
38+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs.t()
39+
)
40+
| nil
41+
}
42+
43+
field(:boostSpecs,
44+
as:
45+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs,
46+
type: :list
47+
)
48+
49+
field(:filterSpecs,
50+
as:
51+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs,
52+
type: :list
53+
)
54+
end
55+
56+
defimpl Poison.Decoder,
57+
for: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig do
58+
def decode(value, options) do
59+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig.decode(
60+
value,
61+
options
62+
)
63+
end
64+
end
65+
66+
defimpl Poison.Encoder,
67+
for: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig do
68+
def encode(value, options) do
69+
GoogleApi.Gax.ModelBase.encode(value, options)
70+
end
71+
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs do
19+
@moduledoc """
20+
Boost specifications for data stores.
21+
22+
## Attributes
23+
24+
* `dataStores` (*type:* `list(String.t)`, *default:* `nil`) - Optional. Data Stores where the boosting configuration is applied. The full names of the referenced data stores. Formats: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` `projects/{project}/locations/{location}/dataStores/{data_store}
25+
* `spec` (*type:* `list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec.t)`, *default:* `nil`) - Optional. A list of boosting specifications.
26+
"""
27+
28+
use GoogleApi.Gax.ModelBase
29+
30+
@type t :: %__MODULE__{
31+
:dataStores => list(String.t()) | nil,
32+
:spec =>
33+
list(
34+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec.t()
35+
)
36+
| nil
37+
}
38+
39+
field(:dataStores, type: :list)
40+
41+
field(:spec,
42+
as:
43+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec,
44+
type: :list
45+
)
46+
end
47+
48+
defimpl Poison.Decoder,
49+
for:
50+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs do
51+
def decode(value, options) do
52+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs.decode(
53+
value,
54+
options
55+
)
56+
end
57+
end
58+
59+
defimpl Poison.Encoder,
60+
for:
61+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs do
62+
def encode(value, options) do
63+
GoogleApi.Gax.ModelBase.encode(value, options)
64+
end
65+
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec do
19+
@moduledoc """
20+
Boost specification to boost certain documents. A copy of google.cloud.discoveryengine.v1main.BoostSpec, field documentation is available at https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec
21+
22+
## Attributes
23+
24+
* `conditionBoostSpecs` (*type:* `list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec.t)`, *default:* `nil`) - Optional. Condition boost specifications. If a document matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:conditionBoostSpecs =>
31+
list(
32+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec.t()
33+
)
34+
| nil
35+
}
36+
37+
field(:conditionBoostSpecs,
38+
as:
39+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec,
40+
type: :list
41+
)
42+
end
43+
44+
defimpl Poison.Decoder,
45+
for:
46+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec do
47+
def decode(value, options) do
48+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec.decode(
49+
value,
50+
options
51+
)
52+
end
53+
end
54+
55+
defimpl Poison.Encoder,
56+
for:
57+
GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec do
58+
def encode(value, options) do
59+
GoogleApi.Gax.ModelBase.encode(value, options)
60+
end
61+
end

0 commit comments

Comments
 (0)