diff --git a/clients/custom_search/lib/google_api/custom_search/v1/api/cse.ex b/clients/custom_search/lib/google_api/custom_search/v1/api/cse.ex index 2fd1f16532..b24c9efbed 100644 --- a/clients/custom_search/lib/google_api/custom_search/v1/api/cse.ex +++ b/clients/custom_search/lib/google_api/custom_search/v1/api/cse.ex @@ -66,7 +66,7 @@ defmodule GoogleApi.CustomSearch.V1.Api.Cse do * `:num` (*type:* `integer()`) - Number of search results to return. * Valid values are integers between 1 and 10, inclusive. * `:orTerms` (*type:* `String.t`) - Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms. * `:q` (*type:* `String.t`) - Query - * `:relatedSite` (*type:* `String.t`) - Specifies that all search results should be pages that are related to the specified URL. + * `:relatedSite` (*type:* `String.t`) - Deprecated. * `:rights` (*type:* `String.t`) - Filters based on licensing. Supported values include: `cc_publicdomain`, `cc_attribute`, `cc_sharealike`, `cc_noncommercial`, `cc_nonderived` and combinations of these. See [typical combinations](https://wiki.creativecommons.org/wiki/CC_Search_integration). * `:safe` (*type:* `String.t`) - Search safety level. Acceptable values are: * `"active"`: Enables SafeSearch filtering. * `"off"`: Disables SafeSearch filtering. (default) * `:searchType` (*type:* `String.t`) - Specifies the search type: `image`. If unspecified, results are limited to webpages. Acceptable values are: * `"image"`: custom image search. @@ -185,7 +185,7 @@ defmodule GoogleApi.CustomSearch.V1.Api.Cse do * `:num` (*type:* `integer()`) - Number of search results to return. * Valid values are integers between 1 and 10, inclusive. * `:orTerms` (*type:* `String.t`) - Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms. * `:q` (*type:* `String.t`) - Query - * `:relatedSite` (*type:* `String.t`) - Specifies that all search results should be pages that are related to the specified URL. + * `:relatedSite` (*type:* `String.t`) - Deprecated. * `:rights` (*type:* `String.t`) - Filters based on licensing. Supported values include: `cc_publicdomain`, `cc_attribute`, `cc_sharealike`, `cc_noncommercial`, `cc_nonderived` and combinations of these. See [typical combinations](https://wiki.creativecommons.org/wiki/CC_Search_integration). * `:safe` (*type:* `String.t`) - Search safety level. Acceptable values are: * `"active"`: Enables SafeSearch filtering. * `"off"`: Disables SafeSearch filtering. (default) * `:searchType` (*type:* `String.t`) - Specifies the search type: `image`. If unspecified, results are limited to webpages. Acceptable values are: * `"image"`: custom image search. diff --git a/clients/custom_search/lib/google_api/custom_search/v1/metadata.ex b/clients/custom_search/lib/google_api/custom_search/v1/metadata.ex index bc829a8575..6460166c29 100644 --- a/clients/custom_search/lib/google_api/custom_search/v1/metadata.ex +++ b/clients/custom_search/lib/google_api/custom_search/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.CustomSearch.V1 do API client metadata for GoogleApi.CustomSearch.V1. """ - @discovery_revision "20210918" + @discovery_revision "20240310" def discovery_revision(), do: @discovery_revision end diff --git a/clients/custom_search/lib/google_api/custom_search/v1/model/result_image.ex b/clients/custom_search/lib/google_api/custom_search/v1/model/result_image.ex index 249a3d2a7d..b91c071949 100644 --- a/clients/custom_search/lib/google_api/custom_search/v1/model/result_image.ex +++ b/clients/custom_search/lib/google_api/custom_search/v1/model/result_image.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.CustomSearch.V1.Model.ResultImage do ## Attributes - * `byteSize` (*type:* `integer()`, *default:* `nil`) - The size of the image, in pixels. + * `byteSize` (*type:* `integer()`, *default:* `nil`) - The size of the image, in bytes. * `contextLink` (*type:* `String.t`, *default:* `nil`) - A URL pointing to the webpage hosting the image. * `height` (*type:* `integer()`, *default:* `nil`) - The height of the image, in pixels. * `thumbnailHeight` (*type:* `integer()`, *default:* `nil`) - The height of the thumbnail image, in pixels. diff --git a/clients/custom_search/mix.exs b/clients/custom_search/mix.exs index 8510ba1c54..20a99bc9dc 100644 --- a/clients/custom_search/mix.exs +++ b/clients/custom_search/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.CustomSearch.Mixfile do use Mix.Project - @version "0.16.1" + @version "0.16.2" def project() do [