google-cloud-recaptcha_enterprise 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d95720391e0744842ad178a8618c464a1e7ffd44f330815dd6beda0c46590714
4
- data.tar.gz: e03d04a2486a525cfc38a7f1aab1522767f295a84247af94aa207785cc282937
3
+ metadata.gz: 6d76a315402c30a966e20aaae3ee30ea0b467a744849d9ddf5ce6450117eac1e
4
+ data.tar.gz: 82487621697f0fd27de3792f6b5dcfbfd21e805795c6fe2fd660269fc0392930
5
5
  SHA512:
6
- metadata.gz: df447bd8142883874492fb9d7596c7e3e7697bed259fedc64a0104a99bfbc98a966702afa79d2f64e5ef562997e5999067b5323a893ce51f37da9386a0e8d7ef
7
- data.tar.gz: 527b7634663bfced95bfaab813352774cd3909df49a66dc6c80e8a96ff74e4bee5b91b9bb6d9555c703d3d83da11e8b2124050e41392c2bc2f2b74bd1a1e93ed
6
+ metadata.gz: 93790baeb87687b91300322588cc6eec97cff8e4ac184fddf6eec0f8bb0a8644959b69fedaa72aa3aa77e98b7815462838bde67e1740b0516ac44395e8763cfa
7
+ data.tar.gz: 593164dde011847e5cbcd82f15b28c4d180aa99fe16bda2e8983ac136c00dbef889222c40d74d282d5b498358b35edc8c6f90108041024fd53f8b7fb5dbf59e3
data/README.md CHANGED
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/recaptchaenterprise.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/recaptcha_enterprise"
39
+
40
+ client = Google::Cloud::RecaptchaEnterprise.recaptcha_enterprise_service
41
+ request = ::Google::Cloud::RecaptchaEnterprise::V1::CreateAssessmentRequest.new # (request fields as keyword arguments...)
42
+ response = client.create_assessment request
43
+ ```
44
+
37
45
  ## Debug Logging
38
46
 
39
47
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module RecaptchaEnterprise
23
- VERSION = "2.0.1"
23
+ VERSION = "2.0.3"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-recaptcha_enterprise
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.6.8
72
+ rubygems_version: 3.6.9
73
73
  specification_version: 4
74
74
  summary: API Client library for the reCAPTCHA Enterprise API
75
75
  test_files: []