google-cloud-recaptcha_enterprise-v1beta1 0.9.1 → 0.10.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: cf2951fb5cead84765bd71b02ee88c5ab1128d1db8c33520263dcab80c725c3b
4
- data.tar.gz: 79b7b2699e3a5d67171a6310d5b3dab5b6296258525ca1d21c35a7b8635ecccf
3
+ metadata.gz: 6bd011612ef4d1de27bd77b27830d491a7763f39d3fa66fe3b9a9062d61d3d92
4
+ data.tar.gz: e0aa32aaf89a0579a9b73216715ff63323a02314c0855f780e1deac3761d35db
5
5
  SHA512:
6
- metadata.gz: 44fb1540449956b15ce058ce709bed258c540b1cb042ab4e6f0c5599dd9dab68d03603ad848d7fb1d35ecadb8aee7de9c3b09717af519a66c7087033afddc278
7
- data.tar.gz: 87c62fcf2b6f2203fd0c8e608bed50122e3c5dd7f9f312713239a4c03082a929399ceeab8da3ff17229432299b13da7e9af7e9bc1c5912c6931e1e21874548eb
6
+ metadata.gz: 4b7474396027bb799805d871578d2900e05d142569063172f7738f9704e644e7f2b6eece288518f134cbb2212e7eb2f00983a003f890324a26324b505dbb755c
7
+ data.tar.gz: a805fe46d90eca65c23fc5c3725d316679e6939371218d567b025f340dd6b59155b333e8faa871f195da7522bd56bded56fc2bc82ed2637956700fc36d76e3dc
@@ -142,7 +142,8 @@ module Google
142
142
  credentials: credentials,
143
143
  endpoint: @config.endpoint,
144
144
  channel_args: @config.channel_args,
145
- interceptors: @config.interceptors
145
+ interceptors: @config.interceptors,
146
+ channel_pool_config: @config.channel_pool
146
147
  )
147
148
  end
148
149
 
@@ -458,6 +459,14 @@ module Google
458
459
  end
459
460
  end
460
461
 
462
+ ##
463
+ # Configuration for the channel pool
464
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
465
+ #
466
+ def channel_pool
467
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
468
+ end
469
+
461
470
  ##
462
471
  # Configuration RPC class for the RecaptchaEnterpriseService API.
463
472
  #
@@ -169,6 +169,22 @@ module Google
169
169
  # @return [::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment]
170
170
  #
171
171
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
172
+ #
173
+ # @example Basic example
174
+ # require "google/cloud/recaptcha_enterprise/v1beta1"
175
+ #
176
+ # # Create a client object. The client can be reused for multiple calls.
177
+ # client = Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseService::Rest::Client.new
178
+ #
179
+ # # Create a request. To set request fields, pass in keyword arguments.
180
+ # request = Google::Cloud::RecaptchaEnterprise::V1beta1::CreateAssessmentRequest.new
181
+ #
182
+ # # Call the create_assessment method.
183
+ # result = client.create_assessment request
184
+ #
185
+ # # The returned object is of type Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment.
186
+ # p result
187
+ #
172
188
  def create_assessment request, options = nil
173
189
  raise ::ArgumentError, "request must be provided" if request.nil?
174
190
 
@@ -249,6 +265,22 @@ module Google
249
265
  # @return [::Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentResponse]
250
266
  #
251
267
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
268
+ #
269
+ # @example Basic example
270
+ # require "google/cloud/recaptcha_enterprise/v1beta1"
271
+ #
272
+ # # Create a client object. The client can be reused for multiple calls.
273
+ # client = Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseService::Rest::Client.new
274
+ #
275
+ # # Create a request. To set request fields, pass in keyword arguments.
276
+ # request = Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentRequest.new
277
+ #
278
+ # # Call the annotate_assessment method.
279
+ # result = client.annotate_assessment request
280
+ #
281
+ # # The returned object is of type Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentResponse.
282
+ # p result
283
+ #
252
284
  def annotate_assessment request, options = nil
253
285
  raise ::ArgumentError, "request must be provided" if request.nil?
254
286
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module RecaptchaEnterprise
23
23
  module V1beta1
24
- VERSION = "0.9.1"
24
+ VERSION = "0.10.0"
25
25
  end
26
26
  end
27
27
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-recaptcha_enterprise-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-06 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  - !ruby/object:Gem::Version
210
210
  version: '0'
211
211
  requirements: []
212
- rubygems_version: 3.4.2
212
+ rubygems_version: 3.4.19
213
213
  signing_key:
214
214
  specification_version: 4
215
215
  summary: Help protect your website from fraudulent activity, spam, and abuse without