diff --git a/clients/cloud_search/README.md b/clients/cloud_search/README.md index 25abcb741a..815113765c 100644 --- a/clients/cloud_search/README.md +++ b/clients/cloud_search/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_cloud_search, "~> 0.23"}] + [{:google_api_cloud_search, "~> 0.24"}] end ``` diff --git a/clients/cloud_search/lib/google_api/cloud_search/v1/metadata.ex b/clients/cloud_search/lib/google_api/cloud_search/v1/metadata.ex index a474dfd786..e998d33ed2 100644 --- a/clients/cloud_search/lib/google_api/cloud_search/v1/metadata.ex +++ b/clients/cloud_search/lib/google_api/cloud_search/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.CloudSearch.V1 do API client metadata for GoogleApi.CloudSearch.V1. """ - @discovery_revision "20241016" + @discovery_revision "20241113" def discovery_revision(), do: @discovery_revision end diff --git a/clients/cloud_search/lib/google_api/cloud_search/v1/model/rewritten_queries.ex b/clients/cloud_search/lib/google_api/cloud_search/v1/model/rewritten_queries.ex deleted file mode 100644 index d460b55dec..0000000000 --- a/clients/cloud_search/lib/google_api/cloud_search/v1/model/rewritten_queries.ex +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.CloudSearch.V1.Model.RewrittenQueries do - @moduledoc """ - The rewritten queries returned by Apps Search Query Understanding service. - - ## Attributes - - * `rewrittenQueries` (*type:* `list(GoogleApi.CloudSearch.V1.Model.RewrittenQuery.t)`, *default:* `nil`) - - * `selectedQueryIndex` (*type:* `integer()`, *default:* `nil`) - The index of the selected query in `rewritten_queries` that is used by QAPI to call CSSR to get search results. If none of the queries were used (i.e. they all give empty search results), `selected_query_index` would default to -1. - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :rewrittenQueries => list(GoogleApi.CloudSearch.V1.Model.RewrittenQuery.t()) | nil, - :selectedQueryIndex => integer() | nil - } - - field(:rewrittenQueries, as: GoogleApi.CloudSearch.V1.Model.RewrittenQuery, type: :list) - field(:selectedQueryIndex) -end - -defimpl Poison.Decoder, for: GoogleApi.CloudSearch.V1.Model.RewrittenQueries do - def decode(value, options) do - GoogleApi.CloudSearch.V1.Model.RewrittenQueries.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.CloudSearch.V1.Model.RewrittenQueries do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/cloud_search/lib/google_api/cloud_search/v1/model/rewritten_query.ex b/clients/cloud_search/lib/google_api/cloud_search/v1/model/rewritten_query.ex deleted file mode 100644 index 6c60c746dc..0000000000 --- a/clients/cloud_search/lib/google_api/cloud_search/v1/model/rewritten_query.ex +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# NOTE: This file is auto generated by the elixir code generator program. -# Do not edit this file manually. - -defmodule GoogleApi.CloudSearch.V1.Model.RewrittenQuery do - @moduledoc """ - - - ## Attributes - - * `rewrittenQuery` (*type:* `String.t`, *default:* `nil`) - - * `score` (*type:* `float()`, *default:* `nil`) - - * `sortBy` (*type:* `String.t`, *default:* `nil`) - - """ - - use GoogleApi.Gax.ModelBase - - @type t :: %__MODULE__{ - :rewrittenQuery => String.t() | nil, - :score => float() | nil, - :sortBy => String.t() | nil - } - - field(:rewrittenQuery) - field(:score) - field(:sortBy) -end - -defimpl Poison.Decoder, for: GoogleApi.CloudSearch.V1.Model.RewrittenQuery do - def decode(value, options) do - GoogleApi.CloudSearch.V1.Model.RewrittenQuery.decode(value, options) - end -end - -defimpl Poison.Encoder, for: GoogleApi.CloudSearch.V1.Model.RewrittenQuery do - def encode(value, options) do - GoogleApi.Gax.ModelBase.encode(value, options) - end -end diff --git a/clients/cloud_search/mix.exs b/clients/cloud_search/mix.exs index b1e09c5759..c25f1188d5 100644 --- a/clients/cloud_search/mix.exs +++ b/clients/cloud_search/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.CloudSearch.Mixfile do use Mix.Project - @version "0.23.1" + @version "0.24.0" def project() do [