google-apis-firebaseappcheck_v1beta 0.15.0 → 0.16.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: 0bc5a36b6165c91e9668b9b0fd6d0a900c4e44cb75aecb5bf2986001ad06af2a
4
- data.tar.gz: 0355765af1133c7dce876b2a08cd12bcaf0f22e5f32565c7dc77183ee9938066
3
+ metadata.gz: 23a4e70a0d38e97eff9a924c90dbb582f29d52dc50c80778fc170e3c7d645a78
4
+ data.tar.gz: afba054872b4f7158658bbac94d64e4024105994b41666fc7f2bdf4169a4404e
5
5
  SHA512:
6
- metadata.gz: 263a1781bbac5d34a268ed639a5f48e82ac2d65bfaa8ee44e602df7c0dbb359ceb171e2f8ba8a8505419b739fe8b7a8d57c1d0b9ebab26a7452319d31a74671d
7
- data.tar.gz: f5584ae6578eeb648ba6e5c75973743bb756d88501e67eefbe2d7d14de62dfdf77302002c969f58dff3fe52a1e7724933d9a9d040e8334a92a50d075d5d579e6
6
+ metadata.gz: 011addb2cfe5d4c4618bbbf053bb33f395a9bda9d0b46ea2c51f850e59c2f01d0b8e3f32c9081f382277f20ba838b7686135c20630fab53872b763b9492f680d
7
+ data.tar.gz: f8562e8b37242b3b9bee118b60280766f3f7f90e70c97cdb88044d06a2e112196d2f6f71c10499e08375c561a6227a8dbaf84bd8fb5396bbeb984d70846b47b2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firebaseappcheck_v1beta
2
2
 
3
+ ### v0.16.0 (2022-04-12)
4
+
5
+ * Regenerated from discovery document revision 20220408
6
+
3
7
  ### v0.15.0 (2022-04-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20220404
@@ -162,25 +162,6 @@ module Google
162
162
  end
163
163
  end
164
164
 
165
- # Response message for the BatchGetPlayIntegrityConfigs method.
166
- class GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse
167
- include Google::Apis::Core::Hashable
168
-
169
- # PlayIntegrityConfigs retrieved.
170
- # Corresponds to the JSON property `configs`
171
- # @return [Array<Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfig>]
172
- attr_accessor :configs
173
-
174
- def initialize(**args)
175
- update!(**args)
176
- end
177
-
178
- # Update properties of this object
179
- def update!(**args)
180
- @configs = args[:configs] if args.key?(:configs)
181
- end
182
- end
183
-
184
165
  # Response message for the BatchGetRecaptchaConfigs method.
185
166
  class GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse
186
167
  include Google::Apis::Core::Hashable
@@ -571,27 +552,6 @@ module Google
571
552
  end
572
553
  end
573
554
 
574
- # Request message for the ExchangePlayIntegrityToken method.
575
- class GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest
576
- include Google::Apis::Core::Hashable
577
-
578
- # Required. The [integrity verdict response token from Play Integrity](https://
579
- # developer.android.com/google/play/integrity/verdict#decrypt-verify) issued to
580
- # your app.
581
- # Corresponds to the JSON property `playIntegrityToken`
582
- # @return [String]
583
- attr_accessor :play_integrity_token
584
-
585
- def initialize(**args)
586
- update!(**args)
587
- end
588
-
589
- # Update properties of this object
590
- def update!(**args)
591
- @play_integrity_token = args[:play_integrity_token] if args.key?(:play_integrity_token)
592
- end
593
- end
594
-
595
555
  # Request message for the ExchangeRecaptchaEnterpriseToken method.
596
556
  class GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest
597
557
  include Google::Apis::Core::Hashable
@@ -714,48 +674,6 @@ module Google
714
674
  end
715
675
  end
716
676
 
717
- # Request message for the GeneratePlayIntegrityChallenge method.
718
- class GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest
719
- include Google::Apis::Core::Hashable
720
-
721
- def initialize(**args)
722
- update!(**args)
723
- end
724
-
725
- # Update properties of this object
726
- def update!(**args)
727
- end
728
- end
729
-
730
- # Response message for the GeneratePlayIntegrityChallenge method.
731
- class GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse
732
- include Google::Apis::Core::Hashable
733
-
734
- # A one-time use [challenge](https://developer.android.com/google/play/integrity/
735
- # verdict#protect-against-replay-attacks) for the client to pass to the Play
736
- # Integrity API.
737
- # Corresponds to the JSON property `challenge`
738
- # @return [String]
739
- attr_accessor :challenge
740
-
741
- # The duration from the time this challenge is minted until its expiration. This
742
- # field is intended to ease client-side token management, since the client may
743
- # have clock skew, but is still able to accurately measure a duration.
744
- # Corresponds to the JSON property `ttl`
745
- # @return [String]
746
- attr_accessor :ttl
747
-
748
- def initialize(**args)
749
- update!(**args)
750
- end
751
-
752
- # Update properties of this object
753
- def update!(**args)
754
- @challenge = args[:challenge] if args.key?(:challenge)
755
- @ttl = args[:ttl] if args.key?(:ttl)
756
- end
757
- end
758
-
759
677
  # Response message for the ListDebugTokens method.
760
678
  class GoogleFirebaseAppcheckV1betaListDebugTokensResponse
761
679
  include Google::Apis::Core::Hashable
@@ -814,41 +732,6 @@ module Google
814
732
  end
815
733
  end
816
734
 
817
- # An app's Play Integrity configuration object. This configuration controls
818
- # certain properties of the App Check token returned by
819
- # ExchangePlayIntegrityToken, such as its ttl. Note that your registered SHA-256
820
- # certificate fingerprints are used to validate tokens issued by the Play
821
- # Integrity API; please register them via the Firebase Console or
822
- # programmatically via the [Firebase Management Service](https://firebase.google.
823
- # com/docs/projects/api/reference/rest/v1beta1/projects.androidApps.sha/create).
824
- class GoogleFirebaseAppcheckV1betaPlayIntegrityConfig
825
- include Google::Apis::Core::Hashable
826
-
827
- # Required. The relative resource name of the Play Integrity configuration
828
- # object, in the format: ``` projects/`project_number`/apps/`app_id`/
829
- # playIntegrityConfig ```
830
- # Corresponds to the JSON property `name`
831
- # @return [String]
832
- attr_accessor :name
833
-
834
- # Specifies the duration for which App Check tokens exchanged from Play
835
- # Integrity tokens will be valid. If unset, a default value of 1 hour is assumed.
836
- # Must be between 30 minutes and 7 days, inclusive.
837
- # Corresponds to the JSON property `tokenTtl`
838
- # @return [String]
839
- attr_accessor :token_ttl
840
-
841
- def initialize(**args)
842
- update!(**args)
843
- end
844
-
845
- # Update properties of this object
846
- def update!(**args)
847
- @name = args[:name] if args.key?(:name)
848
- @token_ttl = args[:token_ttl] if args.key?(:token_ttl)
849
- end
850
- end
851
-
852
735
  # A JWK as specified by [section 4 of RFC 7517](https://tools.ietf.org/html/
853
736
  # rfc7517#section-4) and [section 6.3.1 of RFC 7518](https://tools.ietf.org/html/
854
737
  # rfc7518#section-6.3.1).
@@ -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.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220404"
25
+ REVISION = "20220408"
26
26
  end
27
27
  end
28
28
  end
@@ -52,12 +52,6 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
55
  class GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse
62
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
57
 
@@ -142,12 +136,6 @@ module Google
142
136
  include Google::Apis::Core::JsonObjectSupport
143
137
  end
144
138
 
145
- class GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
139
  class GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest
152
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
141
 
@@ -184,18 +172,6 @@ module Google
184
172
  include Google::Apis::Core::JsonObjectSupport
185
173
  end
186
174
 
187
- class GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest
188
- class Representation < Google::Apis::Core::JsonRepresentation; end
189
-
190
- include Google::Apis::Core::JsonObjectSupport
191
- end
192
-
193
- class GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse
194
- class Representation < Google::Apis::Core::JsonRepresentation; end
195
-
196
- include Google::Apis::Core::JsonObjectSupport
197
- end
198
-
199
175
  class GoogleFirebaseAppcheckV1betaListDebugTokensResponse
200
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
177
 
@@ -208,12 +184,6 @@ module Google
208
184
  include Google::Apis::Core::JsonObjectSupport
209
185
  end
210
186
 
211
- class GoogleFirebaseAppcheckV1betaPlayIntegrityConfig
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
215
- end
216
-
217
187
  class GoogleFirebaseAppcheckV1betaPublicJwk
218
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
189
 
@@ -309,14 +279,6 @@ module Google
309
279
  end
310
280
  end
311
281
 
312
- class GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse
313
- # @private
314
- class Representation < Google::Apis::Core::JsonRepresentation
315
- collection :configs, as: 'configs', class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfig, decorator: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfig::Representation
316
-
317
- end
318
- end
319
-
320
282
  class GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse
321
283
  # @private
322
284
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -436,13 +398,6 @@ module Google
436
398
  end
437
399
  end
438
400
 
439
- class GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest
440
- # @private
441
- class Representation < Google::Apis::Core::JsonRepresentation
442
- property :play_integrity_token, as: 'playIntegrityToken'
443
- end
444
- end
445
-
446
401
  class GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest
447
402
  # @private
448
403
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -485,20 +440,6 @@ module Google
485
440
  end
486
441
  end
487
442
 
488
- class GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest
489
- # @private
490
- class Representation < Google::Apis::Core::JsonRepresentation
491
- end
492
- end
493
-
494
- class GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse
495
- # @private
496
- class Representation < Google::Apis::Core::JsonRepresentation
497
- property :challenge, as: 'challenge'
498
- property :ttl, as: 'ttl'
499
- end
500
- end
501
-
502
443
  class GoogleFirebaseAppcheckV1betaListDebugTokensResponse
503
444
  # @private
504
445
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -517,14 +458,6 @@ module Google
517
458
  end
518
459
  end
519
460
 
520
- class GoogleFirebaseAppcheckV1betaPlayIntegrityConfig
521
- # @private
522
- class Representation < Google::Apis::Core::JsonRepresentation
523
- property :name, as: 'name'
524
- property :token_ttl, as: 'tokenTtl'
525
- end
526
- end
527
-
528
461
  class GoogleFirebaseAppcheckV1betaPublicJwk
529
462
  # @private
530
463
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -282,45 +282,6 @@ module Google
282
282
  execute_or_queue_command(command, &block)
283
283
  end
284
284
 
285
- # Validates an [integrity verdict response token from Play Integrity](https://
286
- # developer.android.com/google/play/integrity/verdict#decrypt-verify). If valid,
287
- # returns an AppCheckToken.
288
- # @param [String] app
289
- # Required. The relative resource name of the Android app, in the format: ```
290
- # projects/`project_number`/apps/`app_id` ``` If necessary, the `project_number`
291
- # element can be replaced with the project ID of the Firebase project. Learn
292
- # more about using project identifiers in Google's [AIP 2510](https://google.aip.
293
- # dev/cloud/2510) standard.
294
- # @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest] google_firebase_appcheck_v1beta_exchange_play_integrity_token_request_object
295
- # @param [String] fields
296
- # Selector specifying which fields to include in a partial response.
297
- # @param [String] quota_user
298
- # Available to use for quota purposes for server-side applications. Can be any
299
- # arbitrary string assigned to a user, but should not exceed 40 characters.
300
- # @param [Google::Apis::RequestOptions] options
301
- # Request-specific options
302
- #
303
- # @yield [result, err] Result & error if block supplied
304
- # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken] parsed result object
305
- # @yieldparam err [StandardError] error object if request failed
306
- #
307
- # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken]
308
- #
309
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
310
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
311
- # @raise [Google::Apis::AuthorizationError] Authorization is required
312
- def exchange_project_app_play_integrity_token(app, google_firebase_appcheck_v1beta_exchange_play_integrity_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
313
- command = make_simple_command(:post, 'v1beta/{+app}:exchangePlayIntegrityToken', options)
314
- command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest::Representation
315
- command.request_object = google_firebase_appcheck_v1beta_exchange_play_integrity_token_request_object
316
- command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken::Representation
317
- command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken
318
- command.params['app'] = app unless app.nil?
319
- command.query['fields'] = fields unless fields.nil?
320
- command.query['quotaUser'] = quota_user unless quota_user.nil?
321
- execute_or_queue_command(command, &block)
322
- end
323
-
324
285
  # Validates a [reCAPTCHA Enterprise response token](https://cloud.google.com/
325
286
  # recaptcha-enterprise/docs/create-assessment#retrieve_token). If valid, returns
326
287
  # an App Check token AppCheckToken.
@@ -513,47 +474,6 @@ module Google
513
474
  execute_or_queue_command(command, &block)
514
475
  end
515
476
 
516
- # Generates a challenge that protects the integrity of an immediately following
517
- # integrity verdict request to the Play Integrity API. The next call to
518
- # ExchangePlayIntegrityToken using the resulting integrity token will verify the
519
- # presence and validity of the challenge. A challenge should not be reused for
520
- # multiple calls.
521
- # @param [String] app
522
- # Required. The relative resource name of the app, in the format: ``` projects/`
523
- # project_number`/apps/`app_id` ``` If necessary, the `project_number` element
524
- # can be replaced with the project ID of the Firebase project. Learn more about
525
- # using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/
526
- # 2510) standard.
527
- # @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest] google_firebase_appcheck_v1beta_generate_play_integrity_challenge_request_object
528
- # @param [String] fields
529
- # Selector specifying which fields to include in a partial response.
530
- # @param [String] quota_user
531
- # Available to use for quota purposes for server-side applications. Can be any
532
- # arbitrary string assigned to a user, but should not exceed 40 characters.
533
- # @param [Google::Apis::RequestOptions] options
534
- # Request-specific options
535
- #
536
- # @yield [result, err] Result & error if block supplied
537
- # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse] parsed result object
538
- # @yieldparam err [StandardError] error object if request failed
539
- #
540
- # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse]
541
- #
542
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
543
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
544
- # @raise [Google::Apis::AuthorizationError] Authorization is required
545
- def generate_project_app_play_integrity_challenge(app, google_firebase_appcheck_v1beta_generate_play_integrity_challenge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
546
- command = make_simple_command(:post, 'v1beta/{+app}:generatePlayIntegrityChallenge', options)
547
- command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest::Representation
548
- command.request_object = google_firebase_appcheck_v1beta_generate_play_integrity_challenge_request_object
549
- command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse::Representation
550
- command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse
551
- command.params['app'] = app unless app.nil?
552
- command.query['fields'] = fields unless fields.nil?
553
- command.query['quotaUser'] = quota_user unless quota_user.nil?
554
- execute_or_queue_command(command, &block)
555
- end
556
-
557
477
  # Atomically gets the AppAttestConfigs for the specified list of apps.
558
478
  # @param [String] parent
559
479
  # Required. The parent project name shared by all AppAttestConfigs being
@@ -966,116 +886,6 @@ module Google
966
886
  execute_or_queue_command(command, &block)
967
887
  end
968
888
 
969
- # Atomically gets the PlayIntegrityConfigs for the specified list of apps.
970
- # @param [String] parent
971
- # Required. The parent project name shared by all PlayIntegrityConfigs being
972
- # retrieved, in the format ``` projects/`project_number` ``` The parent
973
- # collection in the `name` field of any resource being retrieved must match this
974
- # field, or the entire batch fails.
975
- # @param [Array<String>, String] names
976
- # Required. The relative resource names of the PlayIntegrityConfigs to retrieve,
977
- # in the format ``` projects/`project_number`/apps/`app_id`/playIntegrityConfig `
978
- # `` A maximum of 100 objects can be retrieved in a 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::GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse] parsed result object
989
- # @yieldparam err [StandardError] error object if request failed
990
- #
991
- # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse]
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_play_integrity_config_get(parent, names: nil, fields: nil, quota_user: nil, options: nil, &block)
997
- command = make_simple_command(:get, 'v1beta/{+parent}/apps/-/playIntegrityConfig:batchGet', options)
998
- command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse::Representation
999
- command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse
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 PlayIntegrityConfig for the specified app.
1008
- # @param [String] name
1009
- # Required. The relative resource name of the PlayIntegrityConfig, in the format:
1010
- # ``` projects/`project_number`/apps/`app_id`/playIntegrityConfig ```
1011
- # @param [String] fields
1012
- # Selector specifying which fields to include in a partial response.
1013
- # @param [String] quota_user
1014
- # Available to use for quota purposes for server-side applications. Can be any
1015
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1016
- # @param [Google::Apis::RequestOptions] options
1017
- # Request-specific options
1018
- #
1019
- # @yield [result, err] Result & error if block supplied
1020
- # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfig] parsed result object
1021
- # @yieldparam err [StandardError] error object if request failed
1022
- #
1023
- # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfig]
1024
- #
1025
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1026
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1027
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1028
- def get_project_app_play_integrity_config(name, fields: nil, quota_user: nil, options: nil, &block)
1029
- command = make_simple_command(:get, 'v1beta/{+name}', options)
1030
- command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfig::Representation
1031
- command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfig
1032
- command.params['name'] = name unless name.nil?
1033
- command.query['fields'] = fields unless fields.nil?
1034
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1035
- execute_or_queue_command(command, &block)
1036
- end
1037
-
1038
- # Updates the PlayIntegrityConfig for the specified app. While this
1039
- # configuration is incomplete or invalid, the app will be unable to exchange
1040
- # Play Integrity tokens for App Check tokens.
1041
- # @param [String] name
1042
- # Required. The relative resource name of the Play Integrity configuration
1043
- # object, in the format: ``` projects/`project_number`/apps/`app_id`/
1044
- # playIntegrityConfig ```
1045
- # @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfig] google_firebase_appcheck_v1beta_play_integrity_config_object
1046
- # @param [String] update_mask
1047
- # Required. A comma-separated list of names of fields in the PlayIntegrityConfig
1048
- # Gets to update. Example: `token_ttl`.
1049
- # @param [String] fields
1050
- # Selector specifying which fields to include in a partial response.
1051
- # @param [String] quota_user
1052
- # Available to use for quota purposes for server-side applications. Can be any
1053
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1054
- # @param [Google::Apis::RequestOptions] options
1055
- # Request-specific options
1056
- #
1057
- # @yield [result, err] Result & error if block supplied
1058
- # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfig] parsed result object
1059
- # @yieldparam err [StandardError] error object if request failed
1060
- #
1061
- # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfig]
1062
- #
1063
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1064
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1065
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1066
- def patch_project_app_play_integrity_config(name, google_firebase_appcheck_v1beta_play_integrity_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1067
- command = make_simple_command(:patch, 'v1beta/{+name}', options)
1068
- command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfig::Representation
1069
- command.request_object = google_firebase_appcheck_v1beta_play_integrity_config_object
1070
- command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfig::Representation
1071
- command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPlayIntegrityConfig
1072
- command.params['name'] = name unless name.nil?
1073
- command.query['updateMask'] = update_mask unless update_mask.nil?
1074
- command.query['fields'] = fields unless fields.nil?
1075
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1076
- execute_or_queue_command(command, &block)
1077
- end
1078
-
1079
889
  # Atomically gets the RecaptchaConfigs for the specified list of apps. For
1080
890
  # security reasons, the `site_secret` field is never populated in the response.
1081
891
  # @param [String] parent
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.15.0
4
+ version: 0.16.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: 2022-04-11 00:00:00.000000000 Z
11
+ date: 2022-04-18 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.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0.16.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: []