Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of CustomSearch client #10827

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion clients/custom_search/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.CustomSearch.Mixfile do
use Mix.Project

@version "0.16.1"
@version "0.16.2"

def project() do
[
Expand Down
Loading