Skip to content

Commit

Permalink
feat: Automated regeneration of CustomSearch client (#10827)
Browse files Browse the repository at this point in the history
Auto-created at 2024-03-12 01:21:34 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Mar 12, 2024
1 parent 6022ba5 commit 519a774
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
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

0 comments on commit 519a774

Please sign in to comment.