Skip to content

Commit

Permalink
feat: Automated regeneration of RecaptchaEnterprise client (#11212)
Browse files Browse the repository at this point in the history
Auto-created at 2024-03-27 13:09:38 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Mar 27, 2024
1 parent f2e8859 commit dba1721
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/recaptcha_enterprise/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding

```elixir
def deps do
[{:google_api_recaptcha_enterprise, "~> 0.6"}]
[{:google_api_recaptcha_enterprise, "~> 0.7"}]
end
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.RecaptchaEnterprise.V1 do
API client metadata for GoogleApi.RecaptchaEnterprise.V1.
"""

@discovery_revision "20240317"
@discovery_revision "20240324"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ defmodule GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV
* `expectedAction` (*type:* `String.t`, *default:* `nil`) - Optional. The expected action for this type of event. This should be the same action provided at token generation time on client-side platforms already integrated with recaptcha enterprise.
* `express` (*type:* `boolean()`, *default:* `nil`) - Optional. Flag for a reCAPTCHA express request for an assessment without a token. If enabled, `site_key` must reference a SCORE key with WAF feature set to EXPRESS.
* `firewallPolicyEvaluation` (*type:* `boolean()`, *default:* `nil`) - Optional. Flag for enabling firewall policy config assessment. If this flag is enabled, the firewall policy will be evaluated and a suggested firewall action will be returned in the response.
* `fraudPrevention` (*type:* `String.t`, *default:* `nil`) - Optional. The Fraud Prevention setting for this assessment.
* `hashedAccountId` (*type:* `String.t`, *default:* `nil`) - Optional. Deprecated: use `user_info.account_id` instead. Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret.
* `headers` (*type:* `list(String.t)`, *default:* `nil`) - Optional. HTTP header information about the request.
* `ja3` (*type:* `String.t`, *default:* `nil`) - Optional. JA3 fingerprint for SSL clients.
Expand All @@ -43,6 +44,7 @@ defmodule GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV
:expectedAction => String.t() | nil,
:express => boolean() | nil,
:firewallPolicyEvaluation => boolean() | nil,
:fraudPrevention => String.t() | nil,
:hashedAccountId => String.t() | nil,
:headers => list(String.t()) | nil,
:ja3 => String.t() | nil,
Expand All @@ -63,6 +65,7 @@ defmodule GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV
field(:expectedAction)
field(:express)
field(:firewallPolicyEvaluation)
field(:fraudPrevention)
field(:hashedAccountId)
field(:headers, type: :list)
field(:ja3)
Expand Down
2 changes: 1 addition & 1 deletion clients/recaptcha_enterprise/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.RecaptchaEnterprise.Mixfile do
use Mix.Project

@version "0.6.1"
@version "0.7.0"

def project() do
[
Expand Down

0 comments on commit dba1721

Please sign in to comment.