google-apis-recaptchaenterprise_v1 0.37.0 → 0.39.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: 699feef1e6da5839899a2d69503de6afbb39fd083eaca27232ee29c69bceafae
4
- data.tar.gz: 551eff0101c5013633f8c89b2cd12eb2b92f27282efaf51cb32419b9d30ce655
3
+ metadata.gz: e48293f785f59018d843dd3ff4d70008f507467f3c41a33622801a43dee6fc92
4
+ data.tar.gz: 912f61861d8b7606473905e4319fda846bd85e796f2a496319cd97596bb6d2e5
5
5
  SHA512:
6
- metadata.gz: 5f927be7d85351d22a8b02fb3e488b31576d4d3cc63c39df5bd31378ab9ffbed59e0044df7754996d7128bec110c5c5895f0b4c440e3efc2253aae164fa996ab
7
- data.tar.gz: 5e9176f271ef5db727266846feb7aa8622f125e551eeda230c87005fdd3a9ea24e6be7da4466aa3f5b7e406db5a408689da8a0a444ce58f36334a15664f118e6
6
+ metadata.gz: eb7f40dcfbaba08aeb86c354a044bf038192031f4434427ab8e78d2f6504af97ad4c37543b7a84d2d65e7cb65bd4eef9d1c076e6665a30e1f1a33c4c2b041781
7
+ data.tar.gz: df52f9e22c07baff0a87c0bfb21d25319d1e0acd10e0cd61a28df23ca97a98c2a1703dfcc214dcec5298008bbfabee10f4ca87fceb5066c459fd9902b3da1f84
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.39.0 (2023-10-29)
4
+
5
+ * Regenerated from discovery document revision 20231022
6
+
7
+ ### v0.38.0 (2023-10-15)
8
+
9
+ * Regenerated from discovery document revision 20231008
10
+
3
11
  ### v0.37.0 (2023-09-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20230917
@@ -26,7 +26,7 @@ module Google
26
26
  class GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # Labels for this request.
29
+ # Output only. Labels for this request.
30
30
  # Corresponds to the JSON property `labels`
31
31
  # @return [Array<String>]
32
32
  attr_accessor :labels
@@ -45,13 +45,13 @@ module Google
45
45
  class GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
46
46
  include Google::Apis::Core::Hashable
47
47
 
48
- # Endpoints that can be used for identity verification.
48
+ # Optional. Endpoints that can be used for identity verification.
49
49
  # Corresponds to the JSON property `endpoints`
50
50
  # @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo>]
51
51
  attr_accessor :endpoints
52
52
 
53
- # Language code preference for the verification message, set as a IETF BCP 47
54
- # language code.
53
+ # Optional. Language code preference for the verification message, set as a IETF
54
+ # BCP 47 language code.
55
55
  # Corresponds to the JSON property `languageCode`
56
56
  # @return [String]
57
57
  attr_accessor :language_code
@@ -84,20 +84,20 @@ module Google
84
84
  class GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
85
85
  include Google::Apis::Core::Hashable
86
86
 
87
- # If set to true, allowed_package_names are not enforced.
87
+ # Optional. If set to true, allowed_package_names are not enforced.
88
88
  # Corresponds to the JSON property `allowAllPackageNames`
89
89
  # @return [Boolean]
90
90
  attr_accessor :allow_all_package_names
91
91
  alias_method :allow_all_package_names?, :allow_all_package_names
92
92
 
93
- # Android package names of apps allowed to use the key. Example: 'com.
93
+ # Optional. Android package names of apps allowed to use the key. Example: 'com.
94
94
  # companyname.appname'
95
95
  # Corresponds to the JSON property `allowedPackageNames`
96
96
  # @return [Array<String>]
97
97
  attr_accessor :allowed_package_names
98
98
 
99
- # Set to true for keys that are used in an Android application that is available
100
- # for download in app stores in addition to the Google Play Store.
99
+ # Optional. Set to true for keys that are used in an Android application that is
100
+ # available for download in app stores in addition to the Google Play Store.
101
101
  # Corresponds to the JSON property `supportNonGoogleAppStoreDistribution`
102
102
  # @return [Boolean]
103
103
  attr_accessor :support_non_google_app_store_distribution
@@ -119,6 +119,13 @@ module Google
119
119
  class GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest
120
120
  include Google::Apis::Core::Hashable
121
121
 
122
+ # Optional. A stable account identifier to apply to the assessment. This is an
123
+ # alternative to setting `account_id` in `CreateAssessment`, for example when a
124
+ # stable account identifier is not yet known in the initial request.
125
+ # Corresponds to the JSON property `accountId`
126
+ # @return [String]
127
+ attr_accessor :account_id
128
+
122
129
  # Optional. The annotation that will be assigned to the Event. This field can be
123
130
  # left empty to provide reasons that apply to an event without concluding
124
131
  # whether the event is legitimate or fraudulent.
@@ -126,18 +133,16 @@ module Google
126
133
  # @return [String]
127
134
  attr_accessor :annotation
128
135
 
129
- # Optional. Unique stable hashed user identifier to apply to the assessment.
130
- # This is an alternative to setting the hashed_account_id in CreateAssessment,
131
- # for example when the account identifier is not yet known in the initial
132
- # request. It is recommended that the identifier is hashed using hmac-sha256
133
- # with stable secret.
136
+ # Optional. A stable hashed account identifier to apply to the assessment. This
137
+ # is an alternative to setting `hashed_account_id` in `CreateAssessment`, for
138
+ # example when a stable account identifier is not yet known in the initial
139
+ # request.
134
140
  # Corresponds to the JSON property `hashedAccountId`
135
141
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
136
142
  # @return [String]
137
143
  attr_accessor :hashed_account_id
138
144
 
139
- # Optional. Optional reasons for the annotation that will be assigned to the
140
- # Event.
145
+ # Optional. Reasons for the annotation that are assigned to the event.
141
146
  # Corresponds to the JSON property `reasons`
142
147
  # @return [Array<String>]
143
148
  attr_accessor :reasons
@@ -153,6 +158,7 @@ module Google
153
158
 
154
159
  # Update properties of this object
155
160
  def update!(**args)
161
+ @account_id = args[:account_id] if args.key?(:account_id)
156
162
  @annotation = args[:annotation] if args.key?(:annotation)
157
163
  @hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id)
158
164
  @reasons = args[:reasons] if args.key?(:reasons)
@@ -241,8 +247,8 @@ module Google
241
247
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignals]
242
248
  attr_accessor :fraud_signals
243
249
 
244
- # Output only. The resource name for the Assessment in the format "projects/`
245
- # project`/assessments/`assessment`".
250
+ # Output only. The resource name for the Assessment in the format `projects/`
251
+ # project`/assessments/`assessment``.
246
252
  # Corresponds to the JSON property `name`
247
253
  # @return [String]
248
254
  attr_accessor :name
@@ -388,8 +394,9 @@ module Google
388
394
  attr_accessor :firewall_policy_evaluation
389
395
  alias_method :firewall_policy_evaluation?, :firewall_policy_evaluation
390
396
 
391
- # Optional. Unique stable hashed user identifier for the request. The identifier
392
- # must be hashed using hmac-sha256 with stable secret.
397
+ # Optional. Deprecated: use `user_info.account_id` instead. Unique stable hashed
398
+ # user identifier for the request. The identifier must be hashed using hmac-
399
+ # sha256 with stable secret.
393
400
  # Corresponds to the JSON property `hashedAccountId`
394
401
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
395
402
  # @return [String]
@@ -400,7 +407,7 @@ module Google
400
407
  # @return [Array<String>]
401
408
  attr_accessor :headers
402
409
 
403
- # Optional. Optional JA3 fingerprint for SSL clients.
410
+ # Optional. JA3 fingerprint for SSL clients.
404
411
  # Corresponds to the JSON property `ja3`
405
412
  # @return [String]
406
413
  attr_accessor :ja3
@@ -423,7 +430,6 @@ module Google
423
430
  attr_accessor :token
424
431
 
425
432
  # Transaction data associated with a payment protected by reCAPTCHA Enterprise.
426
- # All fields are optional.
427
433
  # Corresponds to the JSON property `transactionData`
428
434
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionData]
429
435
  attr_accessor :transaction_data
@@ -434,6 +440,11 @@ module Google
434
440
  # @return [String]
435
441
  attr_accessor :user_agent
436
442
 
443
+ # User information associated with a request protected by reCAPTCHA Enterprise.
444
+ # Corresponds to the JSON property `userInfo`
445
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1UserInfo]
446
+ attr_accessor :user_info
447
+
437
448
  # Optional. The IP address in the request from the user's device related to this
438
449
  # event.
439
450
  # Corresponds to the JSON property `userIpAddress`
@@ -464,6 +475,7 @@ module Google
464
475
  @token = args[:token] if args.key?(:token)
465
476
  @transaction_data = args[:transaction_data] if args.key?(:transaction_data)
466
477
  @user_agent = args[:user_agent] if args.key?(:user_agent)
478
+ @user_info = args[:user_info] if args.key?(:user_info)
467
479
  @user_ip_address = args[:user_ip_address] if args.key?(:user_ip_address)
468
480
  @waf_token_assessment = args[:waf_token_assessment] if args.key?(:waf_token_assessment)
469
481
  end
@@ -562,12 +574,12 @@ module Google
562
574
  class GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction
563
575
  include Google::Apis::Core::Hashable
564
576
 
565
- # The header key to set in the request to the backend server.
577
+ # Optional. The header key to set in the request to the backend server.
566
578
  # Corresponds to the JSON property `key`
567
579
  # @return [String]
568
580
  attr_accessor :key
569
581
 
570
- # The header value to set in the request to the backend server.
582
+ # Optional. The header value to set in the request to the backend server.
571
583
  # Corresponds to the JSON property `value`
572
584
  # @return [String]
573
585
  attr_accessor :value
@@ -588,8 +600,8 @@ module Google
588
600
  class GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction
589
601
  include Google::Apis::Core::Hashable
590
602
 
591
- # The address to redirect to. The target is a relative path in the current host.
592
- # Example: "/blog/404.html".
603
+ # Optional. The address to redirect to. The target is a relative path in the
604
+ # current host. Example: "/blog/404.html".
593
605
  # Corresponds to the JSON property `path`
594
606
  # @return [String]
595
607
  attr_accessor :path
@@ -609,42 +621,42 @@ module Google
609
621
  class GoogleCloudRecaptchaenterpriseV1FirewallPolicy
610
622
  include Google::Apis::Core::Hashable
611
623
 
612
- # The actions that the caller should take regarding user access. There should be
613
- # at most one terminal action. A terminal action is any action that forces a
614
- # response, such as AllowAction, BlockAction or SubstituteAction. Zero or more
615
- # non-terminal actions such as SetHeader might be specified. A single policy can
616
- # contain up to 16 actions.
624
+ # Optional. The actions that the caller should take regarding user access. There
625
+ # should be at most one terminal action. A terminal action is any action that
626
+ # forces a response, such as `AllowAction`, `BlockAction` or `SubstituteAction`.
627
+ # Zero or more non-terminal actions such as `SetHeader` might be specified. A
628
+ # single policy can contain up to 16 actions.
617
629
  # Corresponds to the JSON property `actions`
618
630
  # @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallAction>]
619
631
  attr_accessor :actions
620
632
 
621
- # A CEL (Common Expression Language) conditional expression that specifies if
622
- # this policy applies to an incoming user request. If this condition evaluates
623
- # to true and the requested path matched the path pattern, the associated
624
- # actions should be executed by the caller. The condition string is checked for
625
- # CEL syntax correctness on creation. For more information, see the [CEL spec](
626
- # https://github.com/google/cel-spec) and its [language definition](https://
627
- # github.com/google/cel-spec/blob/master/doc/langdef.md). A condition has a max
628
- # length of 500 characters.
633
+ # Optional. A CEL (Common Expression Language) conditional expression that
634
+ # specifies if this policy applies to an incoming user request. If this
635
+ # condition evaluates to true and the requested path matched the path pattern,
636
+ # the associated actions should be executed by the caller. The condition string
637
+ # is checked for CEL syntax correctness on creation. For more information, see
638
+ # the [CEL spec](https://github.com/google/cel-spec) and its [language
639
+ # definition](https://github.com/google/cel-spec/blob/master/doc/langdef.md). A
640
+ # condition has a max length of 500 characters.
629
641
  # Corresponds to the JSON property `condition`
630
642
  # @return [String]
631
643
  attr_accessor :condition
632
644
 
633
- # A description of what this policy aims to achieve, for convenience purposes.
634
- # The description can at most include 256 UTF-8 characters.
645
+ # Optional. A description of what this policy aims to achieve, for convenience
646
+ # purposes. The description can at most include 256 UTF-8 characters.
635
647
  # Corresponds to the JSON property `description`
636
648
  # @return [String]
637
649
  attr_accessor :description
638
650
 
639
- # The resource name for the FirewallPolicy in the format "projects/`project`/
640
- # firewallpolicies/`firewallpolicy`".
651
+ # The resource name for the FirewallPolicy in the format `projects/`project`/
652
+ # firewallpolicies/`firewallpolicy``.
641
653
  # Corresponds to the JSON property `name`
642
654
  # @return [String]
643
655
  attr_accessor :name
644
656
 
645
- # The path for which this policy applies, specified as a glob pattern. For more
646
- # information on glob, see the [manual page](https://man7.org/linux/man-pages/
647
- # man7/glob.7.html). A path has a max length of 200 characters.
657
+ # Optional. The path for which this policy applies, specified as a glob pattern.
658
+ # For more information on glob, see the [manual page](https://man7.org/linux/man-
659
+ # pages/man7/glob.7.html). A path has a max length of 200 characters.
648
660
  # Corresponds to the JSON property `path`
649
661
  # @return [String]
650
662
  attr_accessor :path
@@ -715,8 +727,9 @@ module Google
715
727
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict]
716
728
  attr_accessor :stolen_instrument_verdict
717
729
 
718
- # Probability of this transaction being fraudulent. Summarizes the combined risk
719
- # of attack vectors below. Values are from 0.0 (lowest) to 1.0 (highest).
730
+ # Output only. Probability of this transaction being fraudulent. Summarizes the
731
+ # combined risk of attack vectors below. Values are from 0.0 (lowest) to 1.0 (
732
+ # highest).
720
733
  # Corresponds to the JSON property `transactionRisk`
721
734
  # @return [Float]
722
735
  attr_accessor :transaction_risk
@@ -738,8 +751,8 @@ module Google
738
751
  class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict
739
752
  include Google::Apis::Core::Hashable
740
753
 
741
- # Probability of this transaction attempt being executed in a behaviorally
742
- # trustworthy way. Values are from 0.0 (lowest) to 1.0 (highest).
754
+ # Output only. Probability of this transaction attempt being executed in a
755
+ # behaviorally trustworthy way. Values are from 0.0 (lowest) to 1.0 (highest).
743
756
  # Corresponds to the JSON property `trust`
744
757
  # @return [Float]
745
758
  attr_accessor :trust_prop
@@ -759,8 +772,8 @@ module Google
759
772
  class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict
760
773
  include Google::Apis::Core::Hashable
761
774
 
762
- # Probability of this transaction attempt being part of a card testing attack.
763
- # Values are from 0.0 (lowest) to 1.0 (highest).
775
+ # Output only. Probability of this transaction attempt being part of a card
776
+ # testing attack. Values are from 0.0 (lowest) to 1.0 (highest).
764
777
  # Corresponds to the JSON property `risk`
765
778
  # @return [Float]
766
779
  attr_accessor :risk
@@ -780,8 +793,8 @@ module Google
780
793
  class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
781
794
  include Google::Apis::Core::Hashable
782
795
 
783
- # Probability of this transaction being executed with a stolen instrument.
784
- # Values are from 0.0 (lowest) to 1.0 (highest).
796
+ # Output only. Probability of this transaction being executed with a stolen
797
+ # instrument. Values are from 0.0 (lowest) to 1.0 (highest).
785
798
  # Corresponds to the JSON property `risk`
786
799
  # @return [Float]
787
800
  attr_accessor :risk
@@ -872,14 +885,14 @@ module Google
872
885
  class GoogleCloudRecaptchaenterpriseV1IosKeySettings
873
886
  include Google::Apis::Core::Hashable
874
887
 
875
- # If set to true, allowed_bundle_ids are not enforced.
888
+ # Optional. If set to true, allowed_bundle_ids are not enforced.
876
889
  # Corresponds to the JSON property `allowAllBundleIds`
877
890
  # @return [Boolean]
878
891
  attr_accessor :allow_all_bundle_ids
879
892
  alias_method :allow_all_bundle_ids?, :allow_all_bundle_ids
880
893
 
881
- # iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.
882
- # productname.appname'
894
+ # Optional. iOS bundle ids of apps allowed to use the key. Example: 'com.
895
+ # companyname.productname.appname'
883
896
  # Corresponds to the JSON property `allowedBundleIds`
884
897
  # @return [Array<String>]
885
898
  attr_accessor :allowed_bundle_ids
@@ -916,7 +929,7 @@ module Google
916
929
  # @return [String]
917
930
  attr_accessor :create_time
918
931
 
919
- # Human-readable display name of this key. Modifiable by user.
932
+ # Required. Human-readable display name of this key. Modifiable by user.
920
933
  # Corresponds to the JSON property `displayName`
921
934
  # @return [String]
922
935
  attr_accessor :display_name
@@ -926,12 +939,13 @@ module Google
926
939
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1IosKeySettings]
927
940
  attr_accessor :ios_settings
928
941
 
929
- # See Creating and managing labels.
942
+ # Optional. See [Creating and managing labels] (https://cloud.google.com/
943
+ # recaptcha-enterprise/docs/labels).
930
944
  # Corresponds to the JSON property `labels`
931
945
  # @return [Hash<String,String>]
932
946
  attr_accessor :labels
933
947
 
934
- # The resource name for the Key in the format "projects/`project`/keys/`key`".
948
+ # The resource name for the Key in the format `projects/`project`/keys/`key``.
935
949
  # Corresponds to the JSON property `name`
936
950
  # @return [String]
937
951
  attr_accessor :name
@@ -1084,8 +1098,8 @@ module Google
1084
1098
  # @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ChallengeMetrics>]
1085
1099
  attr_accessor :challenge_metrics
1086
1100
 
1087
- # Output only. The name of the metrics, in the format "projects/`project`/keys/`
1088
- # key`/metrics".
1101
+ # Output only. The name of the metrics, in the format `projects/`project`/keys/`
1102
+ # key`/metrics`.
1089
1103
  # Corresponds to the JSON property `name`
1090
1104
  # @return [String]
1091
1105
  attr_accessor :name
@@ -1160,7 +1174,7 @@ module Google
1160
1174
  # @return [String]
1161
1175
  attr_accessor :encrypted_user_credentials_hash
1162
1176
 
1163
- # Optional. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized
1177
+ # Required. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized
1164
1178
  # username. It is used to look up password leaks associated with that hash
1165
1179
  # prefix.
1166
1180
  # Corresponds to the JSON property `lookupHashPrefix`
@@ -1264,19 +1278,19 @@ module Google
1264
1278
  class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
1265
1279
  include Google::Apis::Core::Hashable
1266
1280
 
1267
- # Extended verdict reasons to be used for experimentation only. The set of
1268
- # possible reasons is subject to change.
1281
+ # Output only. Extended verdict reasons to be used for experimentation only. The
1282
+ # set of possible reasons is subject to change.
1269
1283
  # Corresponds to the JSON property `extendedVerdictReasons`
1270
1284
  # @return [Array<String>]
1271
1285
  attr_accessor :extended_verdict_reasons
1272
1286
 
1273
- # Reasons contributing to the risk analysis verdict.
1287
+ # Output only. Reasons contributing to the risk analysis verdict.
1274
1288
  # Corresponds to the JSON property `reasons`
1275
1289
  # @return [Array<String>]
1276
1290
  attr_accessor :reasons
1277
1291
 
1278
- # Legitimate event score from 0.0 to 1.0. (1.0 means very likely legitimate
1279
- # traffic while 0.0 means very likely non-legitimate traffic).
1292
+ # Output only. Legitimate event score from 0.0 to 1.0. (1.0 means very likely
1293
+ # legitimate traffic while 0.0 means very likely non-legitimate traffic).
1280
1294
  # Corresponds to the JSON property `score`
1281
1295
  # @return [Float]
1282
1296
  attr_accessor :score
@@ -1410,15 +1424,15 @@ module Google
1410
1424
  class GoogleCloudRecaptchaenterpriseV1TestingOptions
1411
1425
  include Google::Apis::Core::Hashable
1412
1426
 
1413
- # For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests
1414
- # for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge
1415
- # if CHALLENGE.
1427
+ # Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge
1428
+ # requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
1429
+ # challenge if CHALLENGE.
1416
1430
  # Corresponds to the JSON property `testingChallenge`
1417
1431
  # @return [String]
1418
1432
  attr_accessor :testing_challenge
1419
1433
 
1420
- # All assessments for this Key will return this score. Must be between 0 (likely
1421
- # not legitimate) and 1 (likely legitimate) inclusive.
1434
+ # Optional. All assessments for this Key will return this score. Must be between
1435
+ # 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
1422
1436
  # Corresponds to the JSON property `testingScore`
1423
1437
  # @return [Float]
1424
1438
  attr_accessor :testing_score
@@ -1438,41 +1452,44 @@ module Google
1438
1452
  class GoogleCloudRecaptchaenterpriseV1TokenProperties
1439
1453
  include Google::Apis::Core::Hashable
1440
1454
 
1441
- # Action name provided at token generation.
1455
+ # Output only. Action name provided at token generation.
1442
1456
  # Corresponds to the JSON property `action`
1443
1457
  # @return [String]
1444
1458
  attr_accessor :action
1445
1459
 
1446
- # The name of the Android package with which the token was generated (Android
1447
- # keys only).
1460
+ # Output only. The name of the Android package with which the token was
1461
+ # generated (Android keys only).
1448
1462
  # Corresponds to the JSON property `androidPackageName`
1449
1463
  # @return [String]
1450
1464
  attr_accessor :android_package_name
1451
1465
 
1452
- # The timestamp corresponding to the generation of the token.
1466
+ # Output only. The timestamp corresponding to the generation of the token.
1453
1467
  # Corresponds to the JSON property `createTime`
1454
1468
  # @return [String]
1455
1469
  attr_accessor :create_time
1456
1470
 
1457
- # The hostname of the page on which the token was generated (Web keys only).
1471
+ # Output only. The hostname of the page on which the token was generated (Web
1472
+ # keys only).
1458
1473
  # Corresponds to the JSON property `hostname`
1459
1474
  # @return [String]
1460
1475
  attr_accessor :hostname
1461
1476
 
1462
- # Reason associated with the response when valid = false.
1477
+ # Output only. Reason associated with the response when valid = false.
1463
1478
  # Corresponds to the JSON property `invalidReason`
1464
1479
  # @return [String]
1465
1480
  attr_accessor :invalid_reason
1466
1481
 
1467
- # The ID of the iOS bundle with which the token was generated (iOS keys only).
1482
+ # Output only. The ID of the iOS bundle with which the token was generated (iOS
1483
+ # keys only).
1468
1484
  # Corresponds to the JSON property `iosBundleId`
1469
1485
  # @return [String]
1470
1486
  attr_accessor :ios_bundle_id
1471
1487
 
1472
- # Whether the provided user response token is valid. When valid = false, the
1473
- # reason could be specified in invalid_reason or it could also be due to a user
1474
- # failing to solve a challenge or a sitekey mismatch (i.e the sitekey used to
1475
- # generate the token was different than the one specified in the assessment).
1488
+ # Output only. Whether the provided user response token is valid. When valid =
1489
+ # false, the reason could be specified in invalid_reason or it could also be due
1490
+ # to a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey
1491
+ # used to generate the token was different than the one specified in the
1492
+ # assessment).
1476
1493
  # Corresponds to the JSON property `valid`
1477
1494
  # @return [Boolean]
1478
1495
  attr_accessor :valid
@@ -1495,7 +1512,6 @@ module Google
1495
1512
  end
1496
1513
 
1497
1514
  # Transaction data associated with a payment protected by reCAPTCHA Enterprise.
1498
- # All fields are optional.
1499
1515
  class GoogleCloudRecaptchaenterpriseV1TransactionData
1500
1516
  include Google::Apis::Core::Hashable
1501
1517
 
@@ -1504,17 +1520,18 @@ module Google
1504
1520
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionDataAddress]
1505
1521
  attr_accessor :billing_address
1506
1522
 
1507
- # The Bank Identification Number - generally the first 6 or 8 digits of the card.
1523
+ # Optional. The Bank Identification Number - generally the first 6 or 8 digits
1524
+ # of the card.
1508
1525
  # Corresponds to the JSON property `cardBin`
1509
1526
  # @return [String]
1510
1527
  attr_accessor :card_bin
1511
1528
 
1512
- # The last four digits of the card.
1529
+ # Optional. The last four digits of the card.
1513
1530
  # Corresponds to the JSON property `cardLastFour`
1514
1531
  # @return [String]
1515
1532
  attr_accessor :card_last_four
1516
1533
 
1517
- # The currency code in ISO-4217 format.
1534
+ # Optional. The currency code in ISO-4217 format.
1518
1535
  # Corresponds to the JSON property `currencyCode`
1519
1536
  # @return [String]
1520
1537
  attr_accessor :currency_code
@@ -1524,20 +1541,20 @@ module Google
1524
1541
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo]
1525
1542
  attr_accessor :gateway_info
1526
1543
 
1527
- # Items purchased in this transaction.
1544
+ # Optional. Items purchased in this transaction.
1528
1545
  # Corresponds to the JSON property `items`
1529
1546
  # @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionDataItem>]
1530
1547
  attr_accessor :items
1531
1548
 
1532
- # Information about the user or users fulfilling the transaction.
1549
+ # Optional. Information about the user or users fulfilling the transaction.
1533
1550
  # Corresponds to the JSON property `merchants`
1534
1551
  # @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionDataUser>]
1535
1552
  attr_accessor :merchants
1536
1553
 
1537
- # The payment method for the transaction. The allowed values are: * credit-card *
1538
- # debit-card * gift-card * processor-`name` (If a third-party is used, for
1539
- # example, processor-paypal) * custom-`name` (If an alternative method is used,
1540
- # for example, custom-crypto)
1554
+ # Optional. The payment method for the transaction. The allowed values are: *
1555
+ # credit-card * debit-card * gift-card * processor-`name` (If a third-party is
1556
+ # used, for example, processor-paypal) * custom-`name` (If an alternative method
1557
+ # is used, for example, custom-crypto)
1541
1558
  # Corresponds to the JSON property `paymentMethod`
1542
1559
  # @return [String]
1543
1560
  attr_accessor :payment_method
@@ -1547,7 +1564,8 @@ module Google
1547
1564
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionDataAddress]
1548
1565
  attr_accessor :shipping_address
1549
1566
 
1550
- # The value of shipping in the specified currency. 0 for free or no shipping.
1567
+ # Optional. The value of shipping in the specified currency. 0 for free or no
1568
+ # shipping.
1551
1569
  # Corresponds to the JSON property `shippingValue`
1552
1570
  # @return [Float]
1553
1571
  attr_accessor :shipping_value
@@ -1565,7 +1583,7 @@ module Google
1565
1583
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionDataUser]
1566
1584
  attr_accessor :user
1567
1585
 
1568
- # The decimal value of the transaction in the specified currency.
1586
+ # Optional. The decimal value of the transaction in the specified currency.
1569
1587
  # Corresponds to the JSON property `value`
1570
1588
  # @return [Float]
1571
1589
  attr_accessor :value
@@ -1596,34 +1614,35 @@ module Google
1596
1614
  class GoogleCloudRecaptchaenterpriseV1TransactionDataAddress
1597
1615
  include Google::Apis::Core::Hashable
1598
1616
 
1599
- # The first lines of the address. The first line generally contains the street
1600
- # name and number, and further lines may include information such as an
1601
- # apartment number.
1617
+ # Optional. The first lines of the address. The first line generally contains
1618
+ # the street name and number, and further lines may include information such as
1619
+ # an apartment number.
1602
1620
  # Corresponds to the JSON property `address`
1603
1621
  # @return [Array<String>]
1604
1622
  attr_accessor :address
1605
1623
 
1606
- # The state, province, or otherwise administrative area of the address.
1624
+ # Optional. The state, province, or otherwise administrative area of the address.
1607
1625
  # Corresponds to the JSON property `administrativeArea`
1608
1626
  # @return [String]
1609
1627
  attr_accessor :administrative_area
1610
1628
 
1611
- # The town/city of the address.
1629
+ # Optional. The town/city of the address.
1612
1630
  # Corresponds to the JSON property `locality`
1613
1631
  # @return [String]
1614
1632
  attr_accessor :locality
1615
1633
 
1616
- # The postal or ZIP code of the address.
1634
+ # Optional. The postal or ZIP code of the address.
1617
1635
  # Corresponds to the JSON property `postalCode`
1618
1636
  # @return [String]
1619
1637
  attr_accessor :postal_code
1620
1638
 
1621
- # The recipient name, potentially including information such as "care of".
1639
+ # Optional. The recipient name, potentially including information such as "care
1640
+ # of".
1622
1641
  # Corresponds to the JSON property `recipient`
1623
1642
  # @return [String]
1624
1643
  attr_accessor :recipient
1625
1644
 
1626
- # The CLDR country/region of the address.
1645
+ # Optional. The CLDR country/region of the address.
1627
1646
  # Corresponds to the JSON property `regionCode`
1628
1647
  # @return [String]
1629
1648
  attr_accessor :region_code
@@ -1647,24 +1666,24 @@ module Google
1647
1666
  class GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo
1648
1667
  include Google::Apis::Core::Hashable
1649
1668
 
1650
- # AVS response code from the gateway (available only when reCAPTCHA Enterprise
1651
- # is called after authorization).
1669
+ # Optional. AVS response code from the gateway (available only when reCAPTCHA
1670
+ # Enterprise is called after authorization).
1652
1671
  # Corresponds to the JSON property `avsResponseCode`
1653
1672
  # @return [String]
1654
1673
  attr_accessor :avs_response_code
1655
1674
 
1656
- # CVV response code from the gateway (available only when reCAPTCHA Enterprise
1657
- # is called after authorization).
1675
+ # Optional. CVV response code from the gateway (available only when reCAPTCHA
1676
+ # Enterprise is called after authorization).
1658
1677
  # Corresponds to the JSON property `cvvResponseCode`
1659
1678
  # @return [String]
1660
1679
  attr_accessor :cvv_response_code
1661
1680
 
1662
- # Gateway response code describing the state of the transaction.
1681
+ # Optional. Gateway response code describing the state of the transaction.
1663
1682
  # Corresponds to the JSON property `gatewayResponseCode`
1664
1683
  # @return [String]
1665
1684
  attr_accessor :gateway_response_code
1666
1685
 
1667
- # Name of the gateway service (for example, stripe, square, paypal).
1686
+ # Optional. Name of the gateway service (for example, stripe, square, paypal).
1668
1687
  # Corresponds to the JSON property `name`
1669
1688
  # @return [String]
1670
1689
  attr_accessor :name
@@ -1686,24 +1705,24 @@ module Google
1686
1705
  class GoogleCloudRecaptchaenterpriseV1TransactionDataItem
1687
1706
  include Google::Apis::Core::Hashable
1688
1707
 
1689
- # When a merchant is specified, its corresponding account_id. Necessary to
1690
- # populate marketplace-style transactions.
1708
+ # Optional. When a merchant is specified, its corresponding account_id.
1709
+ # Necessary to populate marketplace-style transactions.
1691
1710
  # Corresponds to the JSON property `merchantAccountId`
1692
1711
  # @return [String]
1693
1712
  attr_accessor :merchant_account_id
1694
1713
 
1695
- # The full name of the item.
1714
+ # Optional. The full name of the item.
1696
1715
  # Corresponds to the JSON property `name`
1697
1716
  # @return [String]
1698
1717
  attr_accessor :name
1699
1718
 
1700
- # The quantity of this item that is being purchased.
1719
+ # Optional. The quantity of this item that is being purchased.
1701
1720
  # Corresponds to the JSON property `quantity`
1702
1721
  # @return [Fixnum]
1703
1722
  attr_accessor :quantity
1704
1723
 
1705
- # The value per item that the user is paying, in the transaction currency, after
1706
- # discounts.
1724
+ # Optional. The value per item that the user is paying, in the transaction
1725
+ # currency, after discounts.
1707
1726
  # Corresponds to the JSON property `value`
1708
1727
  # @return [Float]
1709
1728
  attr_accessor :value
@@ -1725,37 +1744,37 @@ module Google
1725
1744
  class GoogleCloudRecaptchaenterpriseV1TransactionDataUser
1726
1745
  include Google::Apis::Core::Hashable
1727
1746
 
1728
- # Unique account identifier for this user. If using account defender, this
1729
- # should match the hashed_account_id field. Otherwise, a unique and persistent
1730
- # identifier for this account.
1747
+ # Optional. Unique account identifier for this user. If using account defender,
1748
+ # this should match the hashed_account_id field. Otherwise, a unique and
1749
+ # persistent identifier for this account.
1731
1750
  # Corresponds to the JSON property `accountId`
1732
1751
  # @return [String]
1733
1752
  attr_accessor :account_id
1734
1753
 
1735
- # The epoch milliseconds of the user's account creation.
1754
+ # Optional. The epoch milliseconds of the user's account creation.
1736
1755
  # Corresponds to the JSON property `creationMs`
1737
1756
  # @return [Fixnum]
1738
1757
  attr_accessor :creation_ms
1739
1758
 
1740
- # The email address of the user.
1759
+ # Optional. The email address of the user.
1741
1760
  # Corresponds to the JSON property `email`
1742
1761
  # @return [String]
1743
1762
  attr_accessor :email
1744
1763
 
1745
- # Whether the email has been verified to be accessible by the user (OTP or
1746
- # similar).
1764
+ # Optional. Whether the email has been verified to be accessible by the user (
1765
+ # OTP or similar).
1747
1766
  # Corresponds to the JSON property `emailVerified`
1748
1767
  # @return [Boolean]
1749
1768
  attr_accessor :email_verified
1750
1769
  alias_method :email_verified?, :email_verified
1751
1770
 
1752
- # The phone number of the user, with country code.
1771
+ # Optional. The phone number of the user, with country code.
1753
1772
  # Corresponds to the JSON property `phoneNumber`
1754
1773
  # @return [String]
1755
1774
  attr_accessor :phone_number
1756
1775
 
1757
- # Whether the phone number has been verified to be accessible by the user (OTP
1758
- # or similar).
1776
+ # Optional. Whether the phone number has been verified to be accessible by the
1777
+ # user (OTP or similar).
1759
1778
  # Corresponds to the JSON property `phoneVerified`
1760
1779
  # @return [Boolean]
1761
1780
  attr_accessor :phone_verified
@@ -1818,6 +1837,76 @@ module Google
1818
1837
  end
1819
1838
  end
1820
1839
 
1840
+ # An identifier associated with a user.
1841
+ class GoogleCloudRecaptchaenterpriseV1UserId
1842
+ include Google::Apis::Core::Hashable
1843
+
1844
+ # Optional. An email address.
1845
+ # Corresponds to the JSON property `email`
1846
+ # @return [String]
1847
+ attr_accessor :email
1848
+
1849
+ # Optional. A phone number. Should use the E.164 format.
1850
+ # Corresponds to the JSON property `phoneNumber`
1851
+ # @return [String]
1852
+ attr_accessor :phone_number
1853
+
1854
+ # Optional. A unique username, if different from all the other identifiers and `
1855
+ # account_id` that are provided. Can be a unique login handle or display name
1856
+ # for a user.
1857
+ # Corresponds to the JSON property `username`
1858
+ # @return [String]
1859
+ attr_accessor :username
1860
+
1861
+ def initialize(**args)
1862
+ update!(**args)
1863
+ end
1864
+
1865
+ # Update properties of this object
1866
+ def update!(**args)
1867
+ @email = args[:email] if args.key?(:email)
1868
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
1869
+ @username = args[:username] if args.key?(:username)
1870
+ end
1871
+ end
1872
+
1873
+ # User information associated with a request protected by reCAPTCHA Enterprise.
1874
+ class GoogleCloudRecaptchaenterpriseV1UserInfo
1875
+ include Google::Apis::Core::Hashable
1876
+
1877
+ # Optional. For logged-in requests or login/registration requests, the unique
1878
+ # account identifier associated with this user. You can use the username if it
1879
+ # is stable (meaning it is the same for every request associated with the same
1880
+ # user), or any stable user ID of your choice. Leave blank for non logged-in
1881
+ # actions or guest checkout.
1882
+ # Corresponds to the JSON property `accountId`
1883
+ # @return [String]
1884
+ attr_accessor :account_id
1885
+
1886
+ # Optional. Creation time for this account associated with this user. Leave
1887
+ # blank for non logged-in actions, guest checkout, or when there is no account
1888
+ # associated with the current user.
1889
+ # Corresponds to the JSON property `createAccountTime`
1890
+ # @return [String]
1891
+ attr_accessor :create_account_time
1892
+
1893
+ # Optional. Identifiers associated with this user or request.
1894
+ # Corresponds to the JSON property `userIds`
1895
+ # @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1UserId>]
1896
+ attr_accessor :user_ids
1897
+
1898
+ def initialize(**args)
1899
+ update!(**args)
1900
+ end
1901
+
1902
+ # Update properties of this object
1903
+ def update!(**args)
1904
+ @account_id = args[:account_id] if args.key?(:account_id)
1905
+ @create_account_time = args[:create_account_time] if args.key?(:create_account_time)
1906
+ @user_ids = args[:user_ids] if args.key?(:user_ids)
1907
+ end
1908
+ end
1909
+
1821
1910
  # Settings specific to keys that can be used for WAF (Web Application Firewall).
1822
1911
  class GoogleCloudRecaptchaenterpriseV1WafSettings
1823
1912
  include Google::Apis::Core::Hashable
@@ -1847,30 +1936,30 @@ module Google
1847
1936
  class GoogleCloudRecaptchaenterpriseV1WebKeySettings
1848
1937
  include Google::Apis::Core::Hashable
1849
1938
 
1850
- # If set to true, it means allowed_domains will not be enforced.
1939
+ # Optional. If set to true, it means allowed_domains will not be enforced.
1851
1940
  # Corresponds to the JSON property `allowAllDomains`
1852
1941
  # @return [Boolean]
1853
1942
  attr_accessor :allow_all_domains
1854
1943
  alias_method :allow_all_domains?, :allow_all_domains
1855
1944
 
1856
- # If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites.
1857
- # This is supported only for the SCORE integration type.
1945
+ # Optional. If set to true, the key can be used on AMP (Accelerated Mobile Pages)
1946
+ # websites. This is supported only for the SCORE integration type.
1858
1947
  # Corresponds to the JSON property `allowAmpTraffic`
1859
1948
  # @return [Boolean]
1860
1949
  attr_accessor :allow_amp_traffic
1861
1950
  alias_method :allow_amp_traffic?, :allow_amp_traffic
1862
1951
 
1863
- # Domains or subdomains of websites allowed to use the key. All subdomains of an
1864
- # allowed domain are automatically allowed. A valid domain requires a host and
1865
- # must not include any path, port, query or fragment. Examples: 'example.com' or
1866
- # 'subdomain.example.com'
1952
+ # Optional. Domains or subdomains of websites allowed to use the key. All
1953
+ # subdomains of an allowed domain are automatically allowed. A valid domain
1954
+ # requires a host and must not include any path, port, query or fragment.
1955
+ # Examples: 'example.com' or 'subdomain.example.com'
1867
1956
  # Corresponds to the JSON property `allowedDomains`
1868
1957
  # @return [Array<String>]
1869
1958
  attr_accessor :allowed_domains
1870
1959
 
1871
- # Settings for the frequency and difficulty at which this key triggers captcha
1872
- # challenges. This should only be specified for IntegrationTypes CHECKBOX and
1873
- # INVISIBLE.
1960
+ # Optional. Settings for the frequency and difficulty at which this key triggers
1961
+ # captcha challenges. This should only be specified for IntegrationTypes
1962
+ # CHECKBOX and INVISIBLE.
1874
1963
  # Corresponds to the JSON property `challengeSecurityPreference`
1875
1964
  # @return [String]
1876
1965
  attr_accessor :challenge_security_preference
@@ -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.37.0"
19
+ GEM_VERSION = "0.39.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230917"
25
+ REVISION = "20231022"
26
26
  end
27
27
  end
28
28
  end
@@ -322,6 +322,18 @@ module Google
322
322
  include Google::Apis::Core::JsonObjectSupport
323
323
  end
324
324
 
325
+ class GoogleCloudRecaptchaenterpriseV1UserId
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class GoogleCloudRecaptchaenterpriseV1UserInfo
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
325
337
  class GoogleCloudRecaptchaenterpriseV1WafSettings
326
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
339
 
@@ -376,6 +388,7 @@ module Google
376
388
  class GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest
377
389
  # @private
378
390
  class Representation < Google::Apis::Core::JsonRepresentation
391
+ property :account_id, as: 'accountId'
379
392
  property :annotation, as: 'annotation'
380
393
  property :hashed_account_id, :base64 => true, as: 'hashedAccountId'
381
394
  collection :reasons, as: 'reasons'
@@ -459,6 +472,8 @@ module Google
459
472
  property :transaction_data, as: 'transactionData', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionData, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionData::Representation
460
473
 
461
474
  property :user_agent, as: 'userAgent'
475
+ property :user_info, as: 'userInfo', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1UserInfo, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1UserInfo::Representation
476
+
462
477
  property :user_ip_address, as: 'userIpAddress'
463
478
  property :waf_token_assessment, as: 'wafTokenAssessment'
464
479
  end
@@ -855,6 +870,25 @@ module Google
855
870
  end
856
871
  end
857
872
 
873
+ class GoogleCloudRecaptchaenterpriseV1UserId
874
+ # @private
875
+ class Representation < Google::Apis::Core::JsonRepresentation
876
+ property :email, as: 'email'
877
+ property :phone_number, as: 'phoneNumber'
878
+ property :username, as: 'username'
879
+ end
880
+ end
881
+
882
+ class GoogleCloudRecaptchaenterpriseV1UserInfo
883
+ # @private
884
+ class Representation < Google::Apis::Core::JsonRepresentation
885
+ property :account_id, as: 'accountId'
886
+ property :create_account_time, as: 'createAccountTime'
887
+ collection :user_ids, as: 'userIds', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1UserId, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1UserId::Representation
888
+
889
+ end
890
+ end
891
+
858
892
  class GoogleCloudRecaptchaenterpriseV1WafSettings
859
893
  # @private
860
894
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -53,8 +53,8 @@ module Google
53
53
  # Annotates a previously created Assessment to provide additional information on
54
54
  # whether the event turned out to be authentic or fraudulent.
55
55
  # @param [String] name
56
- # Required. The resource name of the Assessment, in the format "projects/`
57
- # project`/assessments/`assessment`".
56
+ # Required. The resource name of the Assessment, in the format `projects/`
57
+ # project`/assessments/`assessment``.
58
58
  # @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest] google_cloud_recaptchaenterprise_v1_annotate_assessment_request_object
59
59
  # @param [String] fields
60
60
  # Selector specifying which fields to include in a partial response.
@@ -88,7 +88,7 @@ module Google
88
88
  # Creates an Assessment of the likelihood an event is legitimate.
89
89
  # @param [String] parent
90
90
  # Required. The name of the project in which the assessment will be created, in
91
- # the format "projects/`project`".
91
+ # the format `projects/`project``.
92
92
  # @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Assessment] google_cloud_recaptchaenterprise_v1_assessment_object
93
93
  # @param [String] fields
94
94
  # Selector specifying which fields to include in a partial response.
@@ -123,8 +123,8 @@ module Google
123
123
  # Enterprise actions can be executed. A project may have a maximum of 1000
124
124
  # policies.
125
125
  # @param [String] parent
126
- # Required. The name of the project this policy will apply to, in the format "
127
- # projects/`project`".
126
+ # Required. The name of the project this policy will apply to, in the format `
127
+ # projects/`project``.
128
128
  # @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallPolicy] google_cloud_recaptchaenterprise_v1_firewall_policy_object
129
129
  # @param [String] fields
130
130
  # Selector specifying which fields to include in a partial response.
@@ -157,8 +157,8 @@ module Google
157
157
 
158
158
  # Deletes the specified firewall policy.
159
159
  # @param [String] name
160
- # Required. The name of the policy to be deleted, in the format "projects/`
161
- # project`/firewallpolicies/`firewallpolicy`".
160
+ # Required. The name of the policy to be deleted, in the format `projects/`
161
+ # project`/firewallpolicies/`firewallpolicy``.
162
162
  # @param [String] fields
163
163
  # Selector specifying which fields to include in a partial response.
164
164
  # @param [String] quota_user
@@ -188,8 +188,8 @@ module Google
188
188
 
189
189
  # Returns the specified firewall policy.
190
190
  # @param [String] name
191
- # Required. The name of the requested policy, in the format "projects/`project`/
192
- # firewallpolicies/`firewallpolicy`".
191
+ # Required. The name of the requested policy, in the format `projects/`project`/
192
+ # firewallpolicies/`firewallpolicy``.
193
193
  # @param [String] fields
194
194
  # Selector specifying which fields to include in a partial response.
195
195
  # @param [String] quota_user
@@ -219,8 +219,8 @@ module Google
219
219
 
220
220
  # Returns the list of all firewall policies that belong to a project.
221
221
  # @param [String] parent
222
- # Required. The name of the project to list the policies for, in the format "
223
- # projects/`project`".
222
+ # Required. The name of the project to list the policies for, in the format `
223
+ # projects/`project``.
224
224
  # @param [Fixnum] page_size
225
225
  # Optional. The maximum number of policies to return. Default is 10. Max limit
226
226
  # is 1000.
@@ -258,8 +258,8 @@ module Google
258
258
 
259
259
  # Updates the specified firewall policy.
260
260
  # @param [String] name
261
- # The resource name for the FirewallPolicy in the format "projects/`project`/
262
- # firewallpolicies/`firewallpolicy`".
261
+ # The resource name for the FirewallPolicy in the format `projects/`project`/
262
+ # firewallpolicies/`firewallpolicy``.
263
263
  # @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallPolicy] google_cloud_recaptchaenterprise_v1_firewall_policy_object
264
264
  # @param [String] update_mask
265
265
  # Optional. The mask to control which fields of the policy get updated. If the
@@ -297,7 +297,7 @@ module Google
297
297
  # Creates a new reCAPTCHA Enterprise key.
298
298
  # @param [String] parent
299
299
  # Required. The name of the project in which the key will be created, in the
300
- # format "projects/`project`".
300
+ # format `projects/`project``.
301
301
  # @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Key] google_cloud_recaptchaenterprise_v1_key_object
302
302
  # @param [String] fields
303
303
  # Selector specifying which fields to include in a partial response.
@@ -330,8 +330,8 @@ module Google
330
330
 
331
331
  # Deletes the specified key.
332
332
  # @param [String] name
333
- # Required. The name of the key to be deleted, in the format "projects/`project`/
334
- # keys/`key`".
333
+ # Required. The name of the key to be deleted, in the format `projects/`project`/
334
+ # keys/`key``.
335
335
  # @param [String] fields
336
336
  # Selector specifying which fields to include in a partial response.
337
337
  # @param [String] quota_user
@@ -361,8 +361,8 @@ module Google
361
361
 
362
362
  # Returns the specified key.
363
363
  # @param [String] name
364
- # Required. The name of the requested key, in the format "projects/`project`/
365
- # keys/`key`".
364
+ # Required. The name of the requested key, in the format `projects/`project`/
365
+ # keys/`key``.
366
366
  # @param [String] fields
367
367
  # Selector specifying which fields to include in a partial response.
368
368
  # @param [String] quota_user
@@ -393,8 +393,8 @@ module Google
393
393
  # Get some aggregated metrics for a Key. This data can be used to build
394
394
  # dashboards.
395
395
  # @param [String] name
396
- # Required. The name of the requested metrics, in the format "projects/`project`/
397
- # keys/`key`/metrics".
396
+ # Required. The name of the requested metrics, in the format `projects/`project`/
397
+ # keys/`key`/metrics`.
398
398
  # @param [String] fields
399
399
  # Selector specifying which fields to include in a partial response.
400
400
  # @param [String] quota_user
@@ -425,7 +425,7 @@ module Google
425
425
  # Returns the list of all keys that belong to a project.
426
426
  # @param [String] parent
427
427
  # Required. The name of the project that contains the keys that will be listed,
428
- # in the format "projects/`project`".
428
+ # in the format `projects/`project``.
429
429
  # @param [Fixnum] page_size
430
430
  # Optional. The maximum number of keys to return. Default is 10. Max limit is
431
431
  # 1000.
@@ -467,8 +467,8 @@ module Google
467
467
  # owners of the reCAPTCHA Key, and your user must have the reCAPTCHA Enterprise
468
468
  # Admin IAM role in the destination project.
469
469
  # @param [String] name
470
- # Required. The name of the key to be migrated, in the format "projects/`project`
471
- # /keys/`key`".
470
+ # Required. The name of the key to be migrated, in the format `projects/`project`
471
+ # /keys/`key``.
472
472
  # @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest] google_cloud_recaptchaenterprise_v1_migrate_key_request_object
473
473
  # @param [String] fields
474
474
  # Selector specifying which fields to include in a partial response.
@@ -501,7 +501,7 @@ module Google
501
501
 
502
502
  # Updates the specified key.
503
503
  # @param [String] name
504
- # The resource name for the Key in the format "projects/`project`/keys/`key`".
504
+ # The resource name for the Key in the format `projects/`project`/keys/`key``.
505
505
  # @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Key] google_cloud_recaptchaenterprise_v1_key_object
506
506
  # @param [String] update_mask
507
507
  # Optional. The mask to control which fields of the key get updated. If the mask
@@ -540,7 +540,7 @@ module Google
540
540
  # legacy secret key only in a 3rd party integration with legacy reCAPTCHA.
541
541
  # @param [String] key
542
542
  # Required. The public key name linked to the requested secret key in the format
543
- # "projects/`project`/keys/`key`".
543
+ # `projects/`project`/keys/`key``.
544
544
  # @param [String] fields
545
545
  # Selector specifying which fields to include in a partial response.
546
546
  # @param [String] quota_user
@@ -571,7 +571,7 @@ module Google
571
571
  # Search group memberships related to a given account.
572
572
  # @param [String] project
573
573
  # Required. The name of the project to search related account group memberships
574
- # from. Specify the project name in the following format: "projects/`project`".
574
+ # from. Specify the project name in the following format: `projects/`project``.
575
575
  # @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest] google_cloud_recaptchaenterprise_v1_search_related_account_group_memberships_request_object
576
576
  # @param [String] fields
577
577
  # Selector specifying which fields to include in a partial response.
@@ -605,7 +605,7 @@ module Google
605
605
  # List groups of related accounts.
606
606
  # @param [String] parent
607
607
  # Required. The name of the project to list related account groups from, in the
608
- # format "projects/`project`".
608
+ # format `projects/`project``.
609
609
  # @param [Fixnum] page_size
610
610
  # Optional. The maximum number of groups to return. The service might return
611
611
  # fewer than this value. If unspecified, at most 50 groups are returned. The
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.37.0
4
+ version: 0.39.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-09-24 00:00:00.000000000 Z
11
+ date: 2023-10-29 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.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.39.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: []