google-apis-recaptchaenterprise_v1 0.26.0 → 0.27.0

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: 14751de388b783f011c29fcf2d9a620c5321e7657c2195e3fc97502332cd645d
4
- data.tar.gz: 5e8db14d89771fc65b2cfb9246322866639723718eaed419a34eeb97594c191e
3
+ metadata.gz: f27006ebcdc53342fc6977280f6b65479f7835b029b1414b1c6ec175e2f35089
4
+ data.tar.gz: 83622fa5994d1b78ccda2cdbccb8fcb79f0a348535c2909b853e4a2b5d41c798
5
5
  SHA512:
6
- metadata.gz: cb4a9a0f30ef5c71ce858f60c17ee298b1f10ab160ae77a98037a3228779b37822fc976135d7c66061ec5d96e9c9f809f573d8ddc8f51367f964d13bdc4c531c
7
- data.tar.gz: d44abf55de377a2a9bd6765a75a2c5dd32a6db847987dbd0300b5adf821a3e81fdc5fcef9854f35442b1f3b1f09709bd4aeaf0df2ebfe9f8a1e41490b2eb214a
6
+ metadata.gz: 4af881be23889da587c8a7305041d60b1eb58e9f1ecea5dd10dede73352db159a244187127f407ac08246628f953db61c730982fca01f1ac4f8dd3c2604678c7
7
+ data.tar.gz: d27ba4a3e7bee12d6bcc00d4aad380e24f0ad91d4f4267abffa6c99055edfd3e3d365a0f0ee73901b02c474e37b0decd6cf853a943e808ed2c8d7a2f45d63e94
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.27.0 (2023-02-12)
4
+
5
+ * Regenerated from discovery document revision 20230129
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.26.0 (2022-12-14)
4
9
 
5
10
  * Regenerated from discovery document revision 20221212
@@ -134,6 +134,11 @@ module Google
134
134
  # @return [Array<String>]
135
135
  attr_accessor :reasons
136
136
 
137
+ # Describes an event in the lifecycle of a payment transaction.
138
+ # Corresponds to the JSON property `transactionEvent`
139
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionEvent]
140
+ attr_accessor :transaction_event
141
+
137
142
  def initialize(**args)
138
143
  update!(**args)
139
144
  end
@@ -143,6 +148,7 @@ module Google
143
148
  @annotation = args[:annotation] if args.key?(:annotation)
144
149
  @hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id)
145
150
  @reasons = args[:reasons] if args.key?(:reasons)
151
+ @transaction_event = args[:transaction_event] if args.key?(:transaction_event)
146
152
  end
147
153
  end
148
154
 
@@ -159,7 +165,7 @@ module Google
159
165
  end
160
166
  end
161
167
 
162
- # A recaptcha assessment resource.
168
+ # A reCAPTCHA Enterprise assessment resource.
163
169
  class GoogleCloudRecaptchaenterpriseV1Assessment
164
170
  include Google::Apis::Core::Hashable
165
171
 
@@ -313,14 +319,14 @@ module Google
313
319
  # @return [String]
314
320
  attr_accessor :hashed_account_id
315
321
 
316
- # Optional. The site key that was used to invoke reCAPTCHA on your site and
317
- # generate the token.
322
+ # Optional. The site key that was used to invoke reCAPTCHA Enterprise on your
323
+ # site and generate the token.
318
324
  # Corresponds to the JSON property `siteKey`
319
325
  # @return [String]
320
326
  attr_accessor :site_key
321
327
 
322
- # Optional. The user response token provided by the reCAPTCHA client-side
323
- # integration on your site.
328
+ # Optional. The user response token provided by the reCAPTCHA Enterprise client-
329
+ # side integration on your site.
324
330
  # Corresponds to the JSON property `token`
325
331
  # @return [String]
326
332
  attr_accessor :token
@@ -939,6 +945,47 @@ module Google
939
945
  end
940
946
  end
941
947
 
948
+ # Describes an event in the lifecycle of a payment transaction.
949
+ class GoogleCloudRecaptchaenterpriseV1TransactionEvent
950
+ include Google::Apis::Core::Hashable
951
+
952
+ # Optional. Timestamp when this transaction event occurred; otherwise assumed to
953
+ # be the time of the API call.
954
+ # Corresponds to the JSON property `eventTime`
955
+ # @return [String]
956
+ attr_accessor :event_time
957
+
958
+ # Optional. The type of this transaction event.
959
+ # Corresponds to the JSON property `eventType`
960
+ # @return [String]
961
+ attr_accessor :event_type
962
+
963
+ # Optional. The reason or standardized code which corresponds with this
964
+ # transaction event, if one exists. E.g. a CHARGEBACK Event with code 4553.
965
+ # Corresponds to the JSON property `reason`
966
+ # @return [String]
967
+ attr_accessor :reason
968
+
969
+ # Optional. The value that corresponds with this transaction event, if one
970
+ # exists. E.g. A refund event where $5.00 was refunded. Currency is obtained
971
+ # from the original transaction data.
972
+ # Corresponds to the JSON property `value`
973
+ # @return [Float]
974
+ attr_accessor :value
975
+
976
+ def initialize(**args)
977
+ update!(**args)
978
+ end
979
+
980
+ # Update properties of this object
981
+ def update!(**args)
982
+ @event_time = args[:event_time] if args.key?(:event_time)
983
+ @event_type = args[:event_type] if args.key?(:event_type)
984
+ @reason = args[:reason] if args.key?(:reason)
985
+ @value = args[:value] if args.key?(:value)
986
+ end
987
+ end
988
+
942
989
  # Settings specific to keys that can be used for WAF (Web Application Firewall).
943
990
  class GoogleCloudRecaptchaenterpriseV1WafSettings
944
991
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RecaptchaenterpriseV1
18
18
  # Version of the google-apis-recaptchaenterprise_v1 gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221212"
25
+ REVISION = "20230129"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class GoogleCloudRecaptchaenterpriseV1TransactionEvent
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class GoogleCloudRecaptchaenterpriseV1WafSettings
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -234,6 +240,8 @@ module Google
234
240
  property :annotation, as: 'annotation'
235
241
  property :hashed_account_id, :base64 => true, as: 'hashedAccountId'
236
242
  collection :reasons, as: 'reasons'
243
+ property :transaction_event, as: 'transactionEvent', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionEvent, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionEvent::Representation
244
+
237
245
  end
238
246
  end
239
247
 
@@ -464,6 +472,16 @@ module Google
464
472
  end
465
473
  end
466
474
 
475
+ class GoogleCloudRecaptchaenterpriseV1TransactionEvent
476
+ # @private
477
+ class Representation < Google::Apis::Core::JsonRepresentation
478
+ property :event_time, as: 'eventTime'
479
+ property :event_type, as: 'eventType'
480
+ property :reason, as: 'reason'
481
+ property :value, as: 'value'
482
+ end
483
+ end
484
+
467
485
  class GoogleCloudRecaptchaenterpriseV1WafSettings
468
486
  # @private
469
487
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-recaptchaenterprise_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.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-01-04 00:00:00.000000000 Z
11
+ date: 2023-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recaptchaenterprise_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.27.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recaptchaenterprise_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for reCAPTCHA Enterprise API V1