google-apis-firebaseappcheck_v1beta 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/firebaseappcheck_v1beta/classes.rb +83 -0
- data/lib/google/apis/firebaseappcheck_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/firebaseappcheck_v1beta/representations.rb +42 -0
- data/lib/google/apis/firebaseappcheck_v1beta/service.rb +151 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf5ad702332e4ce19ee1a630b05c456ee46e7536f5b57611c92ec3f92d113eed
|
4
|
+
data.tar.gz: 29924930596201964690e077d64ae0d629d01362e68ed378f66526e46a8e00ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c0a0e407d3b9132a5e5dc7457b3bf94da376a1a6a7eedf965e92049d253a25689422604568814fa58f4874e6f3850534214c222ba022ec6a5f4ece4f1a17803
|
7
|
+
data.tar.gz: 066d35c896d488cfa68f8de59d89b9e9d10bb782339f7096db2d64cd670e5e6e4d717ae18e8f059627cc54956d2e154b13b67c9189644d2fe952e3ee1e1591c6
|
data/CHANGELOG.md
CHANGED
@@ -171,6 +171,25 @@ module Google
|
|
171
171
|
end
|
172
172
|
end
|
173
173
|
|
174
|
+
# Response message for the BatchGetRecaptchaEnterpriseConfigs method.
|
175
|
+
class GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse
|
176
|
+
include Google::Apis::Core::Hashable
|
177
|
+
|
178
|
+
# RecaptchaEnterpriseConfigs retrieved.
|
179
|
+
# Corresponds to the JSON property `configs`
|
180
|
+
# @return [Array<Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig>]
|
181
|
+
attr_accessor :configs
|
182
|
+
|
183
|
+
def initialize(**args)
|
184
|
+
update!(**args)
|
185
|
+
end
|
186
|
+
|
187
|
+
# Update properties of this object
|
188
|
+
def update!(**args)
|
189
|
+
@configs = args[:configs] if args.key?(:configs)
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
174
193
|
# Response message for the BatchGetSafetyNetConfigs method.
|
175
194
|
class GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse
|
176
195
|
include Google::Apis::Core::Hashable
|
@@ -497,6 +516,27 @@ module Google
|
|
497
516
|
end
|
498
517
|
end
|
499
518
|
|
519
|
+
# Request message for the ExchangeRecaptchaEnterpriseToken method.
|
520
|
+
class GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest
|
521
|
+
include Google::Apis::Core::Hashable
|
522
|
+
|
523
|
+
# Required. The reCAPTCHA token as returned by the [reCAPTCHA Enterprise
|
524
|
+
# JavaScript API](https://cloud.google.com/recaptcha-enterprise/docs/instrument-
|
525
|
+
# web-pages).
|
526
|
+
# Corresponds to the JSON property `recaptchaEnterpriseToken`
|
527
|
+
# @return [String]
|
528
|
+
attr_accessor :recaptcha_enterprise_token
|
529
|
+
|
530
|
+
def initialize(**args)
|
531
|
+
update!(**args)
|
532
|
+
end
|
533
|
+
|
534
|
+
# Update properties of this object
|
535
|
+
def update!(**args)
|
536
|
+
@recaptcha_enterprise_token = args[:recaptcha_enterprise_token] if args.key?(:recaptcha_enterprise_token)
|
537
|
+
end
|
538
|
+
end
|
539
|
+
|
500
540
|
# Request message for the ExchangeRecaptchaToken method.
|
501
541
|
class GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest
|
502
542
|
include Google::Apis::Core::Hashable
|
@@ -732,6 +772,49 @@ module Google
|
|
732
772
|
end
|
733
773
|
end
|
734
774
|
|
775
|
+
# An app's reCAPTCHA Enterprise configuration object. This configuration is used
|
776
|
+
# by ExchangeRecaptchaEnterpriseToken to validate reCAPTCHA tokens issued to
|
777
|
+
# apps by reCAPTCHA Enterprise. It also controls certain properties of the
|
778
|
+
# returned App Check token, such as its ttl.
|
779
|
+
class GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig
|
780
|
+
include Google::Apis::Core::Hashable
|
781
|
+
|
782
|
+
# Required. The relative resource name of the reCAPTCHA Enterprise configuration
|
783
|
+
# object, in the format: ``` projects/`project_number`/apps/`app_id`/
|
784
|
+
# recaptchaEnterpriseConfig ```
|
785
|
+
# Corresponds to the JSON property `name`
|
786
|
+
# @return [String]
|
787
|
+
attr_accessor :name
|
788
|
+
|
789
|
+
# The score-based site key [created in reCAPTCHA Enterprise](https://cloud.
|
790
|
+
# google.com/recaptcha-enterprise/docs/create-key#creating_a_site_key) used to [
|
791
|
+
# invoke reCAPTCHA and generate the reCAPTCHA tokens](https://cloud.google.com/
|
792
|
+
# recaptcha-enterprise/docs/instrument-web-pages) for your application.
|
793
|
+
# Important: This is *not* the `site_secret` (as it is in reCAPTCHA v3), but
|
794
|
+
# rather your score-based reCAPTCHA Enterprise site key.
|
795
|
+
# Corresponds to the JSON property `siteKey`
|
796
|
+
# @return [String]
|
797
|
+
attr_accessor :site_key
|
798
|
+
|
799
|
+
# Specifies the duration for which App Check tokens exchanged from reCAPTCHA
|
800
|
+
# Enterprise tokens will be valid. If unset, a default value of 1 hour is
|
801
|
+
# assumed. Must be between 30 minutes and 7 days, inclusive.
|
802
|
+
# Corresponds to the JSON property `tokenTtl`
|
803
|
+
# @return [String]
|
804
|
+
attr_accessor :token_ttl
|
805
|
+
|
806
|
+
def initialize(**args)
|
807
|
+
update!(**args)
|
808
|
+
end
|
809
|
+
|
810
|
+
# Update properties of this object
|
811
|
+
def update!(**args)
|
812
|
+
@name = args[:name] if args.key?(:name)
|
813
|
+
@site_key = args[:site_key] if args.key?(:site_key)
|
814
|
+
@token_ttl = args[:token_ttl] if args.key?(:token_ttl)
|
815
|
+
end
|
816
|
+
end
|
817
|
+
|
735
818
|
# An app's SafetyNet configuration object. This configuration controls certain
|
736
819
|
# properties of the App Check token returned by ExchangeSafetyNetToken, such as
|
737
820
|
# its ttl. Note that your registered SHA-256 certificate fingerprints are used
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module FirebaseappcheckV1beta
|
18
18
|
# Version of the google-apis-firebaseappcheck_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211029"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -58,6 +58,12 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
+
class GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
61
67
|
class GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse
|
62
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
69
|
|
@@ -124,6 +130,12 @@ module Google
|
|
124
130
|
include Google::Apis::Core::JsonObjectSupport
|
125
131
|
end
|
126
132
|
|
133
|
+
class GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
127
139
|
class GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest
|
128
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
141
|
|
@@ -172,6 +184,12 @@ module Google
|
|
172
184
|
include Google::Apis::Core::JsonObjectSupport
|
173
185
|
end
|
174
186
|
|
187
|
+
class GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
175
193
|
class GoogleFirebaseAppcheckV1betaSafetyNetConfig
|
176
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
195
|
|
@@ -244,6 +262,14 @@ module Google
|
|
244
262
|
end
|
245
263
|
end
|
246
264
|
|
265
|
+
class GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse
|
266
|
+
# @private
|
267
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
+
collection :configs, as: 'configs', class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig, decorator: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig::Representation
|
269
|
+
|
270
|
+
end
|
271
|
+
end
|
272
|
+
|
247
273
|
class GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse
|
248
274
|
# @private
|
249
275
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -337,6 +363,13 @@ module Google
|
|
337
363
|
end
|
338
364
|
end
|
339
365
|
|
366
|
+
class GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest
|
367
|
+
# @private
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
369
|
+
property :recaptcha_enterprise_token, as: 'recaptchaEnterpriseToken'
|
370
|
+
end
|
371
|
+
end
|
372
|
+
|
340
373
|
class GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest
|
341
374
|
# @private
|
342
375
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -405,6 +438,15 @@ module Google
|
|
405
438
|
end
|
406
439
|
end
|
407
440
|
|
441
|
+
class GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig
|
442
|
+
# @private
|
443
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
444
|
+
property :name, as: 'name'
|
445
|
+
property :site_key, as: 'siteKey'
|
446
|
+
property :token_ttl, as: 'tokenTtl'
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
408
450
|
class GoogleFirebaseAppcheckV1betaSafetyNetConfig
|
409
451
|
# @private
|
410
452
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -285,6 +285,45 @@ module Google
|
|
285
285
|
execute_or_queue_command(command, &block)
|
286
286
|
end
|
287
287
|
|
288
|
+
# Validates a [reCAPTCHA Enterprise response token](https://cloud.google.com/
|
289
|
+
# recaptcha-enterprise/docs/create-assessment#retrieve_token). If valid, returns
|
290
|
+
# an App Check token encapsulated in an AttestationTokenResponse.
|
291
|
+
# @param [String] app
|
292
|
+
# Required. The relative resource name of the web app, in the format: ```
|
293
|
+
# projects/`project_number`/apps/`app_id` ``` If necessary, the `project_number`
|
294
|
+
# element can be replaced with the project ID of the Firebase project. Learn
|
295
|
+
# more about using project identifiers in Google's [AIP 2510](https://google.aip.
|
296
|
+
# dev/cloud/2510) standard.
|
297
|
+
# @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest] google_firebase_appcheck_v1beta_exchange_recaptcha_enterprise_token_request_object
|
298
|
+
# @param [String] fields
|
299
|
+
# Selector specifying which fields to include in a partial response.
|
300
|
+
# @param [String] quota_user
|
301
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
302
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
303
|
+
# @param [Google::Apis::RequestOptions] options
|
304
|
+
# Request-specific options
|
305
|
+
#
|
306
|
+
# @yield [result, err] Result & error if block supplied
|
307
|
+
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAttestationTokenResponse] parsed result object
|
308
|
+
# @yieldparam err [StandardError] error object if request failed
|
309
|
+
#
|
310
|
+
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAttestationTokenResponse]
|
311
|
+
#
|
312
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
313
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
314
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
315
|
+
def exchange_project_app_recaptcha_enterprise_token(app, google_firebase_appcheck_v1beta_exchange_recaptcha_enterprise_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
316
|
+
command = make_simple_command(:post, 'v1beta/{+app}:exchangeRecaptchaEnterpriseToken', options)
|
317
|
+
command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest::Representation
|
318
|
+
command.request_object = google_firebase_appcheck_v1beta_exchange_recaptcha_enterprise_token_request_object
|
319
|
+
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAttestationTokenResponse::Representation
|
320
|
+
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAttestationTokenResponse
|
321
|
+
command.params['app'] = app unless app.nil?
|
322
|
+
command.query['fields'] = fields unless fields.nil?
|
323
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
324
|
+
execute_or_queue_command(command, &block)
|
325
|
+
end
|
326
|
+
|
288
327
|
# Validates a [reCAPTCHA v3 response token](https://developers.google.com/
|
289
328
|
# recaptcha/docs/v3). If valid, returns an App Check token encapsulated in an
|
290
329
|
# AttestationTokenResponse.
|
@@ -926,6 +965,118 @@ module Google
|
|
926
965
|
execute_or_queue_command(command, &block)
|
927
966
|
end
|
928
967
|
|
968
|
+
# Gets the RecaptchaEnterpriseConfigs for the specified list of apps atomically.
|
969
|
+
# @param [String] parent
|
970
|
+
# Required. The parent project name shared by all RecaptchaEnterpriseConfigs
|
971
|
+
# being retrieved, in the format ``` projects/`project_number` ``` The parent
|
972
|
+
# collection in the `name` field of any resource being retrieved must match this
|
973
|
+
# field, or the entire batch fails.
|
974
|
+
# @param [Array<String>, String] names
|
975
|
+
# Required. The relative resource names of the RecaptchaEnterpriseConfigs to
|
976
|
+
# retrieve, in the format: ``` projects/`project_number`/apps/`app_id`/
|
977
|
+
# recaptchaEnterpriseConfig ``` A maximum of 100 objects can be retrieved in a
|
978
|
+
# batch.
|
979
|
+
# @param [String] fields
|
980
|
+
# Selector specifying which fields to include in a partial response.
|
981
|
+
# @param [String] quota_user
|
982
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
983
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
984
|
+
# @param [Google::Apis::RequestOptions] options
|
985
|
+
# Request-specific options
|
986
|
+
#
|
987
|
+
# @yield [result, err] Result & error if block supplied
|
988
|
+
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse] parsed result object
|
989
|
+
# @yieldparam err [StandardError] error object if request failed
|
990
|
+
#
|
991
|
+
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse]
|
992
|
+
#
|
993
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
994
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
995
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
996
|
+
def batch_project_app_recaptcha_enterprise_config_get(parent, names: nil, fields: nil, quota_user: nil, options: nil, &block)
|
997
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/apps/-/recaptchaEnterpriseConfig:batchGet', options)
|
998
|
+
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse::Representation
|
999
|
+
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse
|
1000
|
+
command.params['parent'] = parent unless parent.nil?
|
1001
|
+
command.query['names'] = names unless names.nil?
|
1002
|
+
command.query['fields'] = fields unless fields.nil?
|
1003
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1004
|
+
execute_or_queue_command(command, &block)
|
1005
|
+
end
|
1006
|
+
|
1007
|
+
# Gets the RecaptchaEnterpriseConfig for the specified app.
|
1008
|
+
# @param [String] name
|
1009
|
+
# Required. The relative resource name of the RecaptchaEnterpriseConfig, in the
|
1010
|
+
# format: ``` projects/`project_number`/apps/`app_id`/recaptchaEnterpriseConfig `
|
1011
|
+
# ``
|
1012
|
+
# @param [String] fields
|
1013
|
+
# Selector specifying which fields to include in a partial response.
|
1014
|
+
# @param [String] quota_user
|
1015
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1016
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1017
|
+
# @param [Google::Apis::RequestOptions] options
|
1018
|
+
# Request-specific options
|
1019
|
+
#
|
1020
|
+
# @yield [result, err] Result & error if block supplied
|
1021
|
+
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig] parsed result object
|
1022
|
+
# @yieldparam err [StandardError] error object if request failed
|
1023
|
+
#
|
1024
|
+
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig]
|
1025
|
+
#
|
1026
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1027
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1028
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1029
|
+
def get_project_app_recaptcha_enterprise_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
1030
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
1031
|
+
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig::Representation
|
1032
|
+
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig
|
1033
|
+
command.params['name'] = name unless name.nil?
|
1034
|
+
command.query['fields'] = fields unless fields.nil?
|
1035
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1036
|
+
execute_or_queue_command(command, &block)
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
# Updates the RecaptchaEnterpriseConfig for the specified app. While this
|
1040
|
+
# configuration is incomplete or invalid, the app will be unable to exchange
|
1041
|
+
# reCAPTCHA Enterprise tokens for App Check tokens.
|
1042
|
+
# @param [String] name
|
1043
|
+
# Required. The relative resource name of the reCAPTCHA Enterprise configuration
|
1044
|
+
# object, in the format: ``` projects/`project_number`/apps/`app_id`/
|
1045
|
+
# recaptchaEnterpriseConfig ```
|
1046
|
+
# @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig] google_firebase_appcheck_v1beta_recaptcha_enterprise_config_object
|
1047
|
+
# @param [String] update_mask
|
1048
|
+
# Required. A comma-separated list of names of fields in the
|
1049
|
+
# RecaptchaEnterpriseConfig to update. Example: `site_key`.
|
1050
|
+
# @param [String] fields
|
1051
|
+
# Selector specifying which fields to include in a partial response.
|
1052
|
+
# @param [String] quota_user
|
1053
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1054
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1055
|
+
# @param [Google::Apis::RequestOptions] options
|
1056
|
+
# Request-specific options
|
1057
|
+
#
|
1058
|
+
# @yield [result, err] Result & error if block supplied
|
1059
|
+
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig] parsed result object
|
1060
|
+
# @yieldparam err [StandardError] error object if request failed
|
1061
|
+
#
|
1062
|
+
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig]
|
1063
|
+
#
|
1064
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1065
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1066
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1067
|
+
def patch_project_app_recaptcha_enterprise_config(name, google_firebase_appcheck_v1beta_recaptcha_enterprise_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1068
|
+
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
1069
|
+
command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig::Representation
|
1070
|
+
command.request_object = google_firebase_appcheck_v1beta_recaptcha_enterprise_config_object
|
1071
|
+
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig::Representation
|
1072
|
+
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig
|
1073
|
+
command.params['name'] = name unless name.nil?
|
1074
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1075
|
+
command.query['fields'] = fields unless fields.nil?
|
1076
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1077
|
+
execute_or_queue_command(command, &block)
|
1078
|
+
end
|
1079
|
+
|
929
1080
|
# Gets the SafetyNetConfigs for the specified list of apps atomically.
|
930
1081
|
# @param [String] parent
|
931
1082
|
# Required. The parent project name shared by all SafetyNetConfigs being
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-firebaseappcheck_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.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: 2021-
|
11
|
+
date: 2021-11-08 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-firebaseappcheck_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0.9.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseappcheck_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|