google-cloud-recaptcha_enterprise-v1 0.4.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2da7e20f0f654fd863e851f62c14f6d5a18d1d9ef2bfed139931623149d8a925
4
- data.tar.gz: 643a42cbb3ee1d2f9a011a3a7e838229973f9ea031593628b464b95361de7b6d
3
+ metadata.gz: 9f256800fdd81e93e4045ae4b13e2b9219e17eeb9d4937b942fea2c86712d027
4
+ data.tar.gz: 804b44cf983a6d02548124ddf2f082d7320a66f4a1389bb885c446b09b565926
5
5
  SHA512:
6
- metadata.gz: b34bb4172985f25fc7ce8dc54a76afdd73a781507b2f1ae8ead222b5de5e20c03691a3d4ad4a2fd09b58d43fcee810215178fad9fbb47ba2b49e0d4186cc9a05
7
- data.tar.gz: c0449fcb3841846369b5d3929260ae21091732ca99b05e23ee7d378e9753e5bf8a57f581e5e955bd6d13de49280a25778015b9830235021e73c2d4e991e5b061
6
+ metadata.gz: ee31985432275b2f8f4b610ea09c3eba05cd910bcdcd29048234c36a02571ec1400407df0b28427d15f24aeb7b4d5ec1ea032069a7da4535ce0b080594bed5f4
7
+ data.tar.gz: a50764572d48829d53018192b80db86aa0fd0dcb86e3aee1103459665e1d4616adc9ab58aaa32bb07fcbac39f3d7d721893d19031c9fc23c42ff959f2952f169
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-recaptcha_enterprise-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Credentials}):
68
68
 
69
- 1. `RECAPTCHA_ENTERPRISE_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `RECAPTCHA_ENTERPRISE_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
69
+ * `RECAPTCHA_ENTERPRISE_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `RECAPTCHA_ENTERPRISE_KEYFILE` - Path to JSON file, or JSON contents
71
+ * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
+ * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
+ * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
74
74
 
75
75
  ```ruby
76
76
  require "google/cloud/recaptcha_enterprise/v1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::C
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
85
+ The path to the **Credentials JSON** file can be configured instead of storing
86
+ it in an environment variable. Either on an individual client initialization:
87
87
 
88
88
  ```ruby
89
89
  require "google/cloud/recaptcha_enterprise/v1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::C
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/recaptcha_enterprise/v1"
data/README.md CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
33
33
  require "google/cloud/recaptcha_enterprise/v1"
34
34
 
35
35
  client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::RecaptchaEnterprise::V1::CreateAssessmentRequest.new # (request fields as keyword arguments...)
37
37
  response = client.create_assessment request
38
38
  ```
39
39