google-apis-firebaseappcheck_v1 0.21.0 → 0.22.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/firebaseappcheck_v1/classes.rb +40 -0
- data/lib/google/apis/firebaseappcheck_v1/gem_version.rb +2 -2
- data/lib/google/apis/firebaseappcheck_v1/representations.rb +4 -0
- data/lib/google/apis/firebaseappcheck_v1/service.rb +9 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ce237d9917721359e23fcf39dc78b56e22762bf11cb082995e268c0787a3ff93
|
|
4
|
+
data.tar.gz: accb52fd954aac8b5265645426f5cad9fd76f8187ba4b5960b808f6499e1de4b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 508a4476503c94fb8c5654f85657b4d0ab1718566407a66e10a26835f49a5c635cb1bd5cc41aedeea1149424a73419ae158459f4784fc431a5daa3d770762d69
|
|
7
|
+
data.tar.gz: a384e5ecd2e32f357084e940743519e35b688ee09ded5d9bc7b90dea804b114695190bdde497c6062d9b49a510c2e8cfd8db341ba1cb29f050a5b0f3cbddcdbe
|
data/CHANGELOG.md
CHANGED
|
@@ -311,6 +311,14 @@ module Google
|
|
|
311
311
|
# @return [String]
|
|
312
312
|
attr_accessor :display_name
|
|
313
313
|
|
|
314
|
+
# Optional. This checksum is computed by the server based on the value of other
|
|
315
|
+
# fields, and may be sent on update and delete requests to ensure the client has
|
|
316
|
+
# an up-to-date value before proceeding. This etag is strongly validated as
|
|
317
|
+
# defined by RFC 7232.
|
|
318
|
+
# Corresponds to the JSON property `etag`
|
|
319
|
+
# @return [String]
|
|
320
|
+
attr_accessor :etag
|
|
321
|
+
|
|
314
322
|
# Required. The relative resource name of the debug token, in the format: ```
|
|
315
323
|
# projects/`project_number`/apps/`app_id`/debugTokens/`debug_token_id` ```
|
|
316
324
|
# Corresponds to the JSON property `name`
|
|
@@ -338,6 +346,7 @@ module Google
|
|
|
338
346
|
# Update properties of this object
|
|
339
347
|
def update!(**args)
|
|
340
348
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
349
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
341
350
|
@name = args[:name] if args.key?(:name)
|
|
342
351
|
@token = args[:token] if args.key?(:token)
|
|
343
352
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
@@ -1394,6 +1403,14 @@ module Google
|
|
|
1394
1403
|
# @return [String]
|
|
1395
1404
|
attr_accessor :enforcement_mode
|
|
1396
1405
|
|
|
1406
|
+
# Optional. This checksum is computed by the server based on the value of other
|
|
1407
|
+
# fields, and may be sent on update and delete requests to ensure the client has
|
|
1408
|
+
# an up-to-date value before proceeding. This etag is strongly validated as
|
|
1409
|
+
# defined by RFC 7232.
|
|
1410
|
+
# Corresponds to the JSON property `etag`
|
|
1411
|
+
# @return [String]
|
|
1412
|
+
attr_accessor :etag
|
|
1413
|
+
|
|
1397
1414
|
# Required. The relative resource name of the service configuration object, in
|
|
1398
1415
|
# the format: ``` projects/`project_number`/services/`service_id` ``` Note that
|
|
1399
1416
|
# the `service_id` element must be a supported service ID. Currently, the
|
|
@@ -1405,6 +1422,26 @@ module Google
|
|
|
1405
1422
|
# @return [String]
|
|
1406
1423
|
attr_accessor :name
|
|
1407
1424
|
|
|
1425
|
+
# Optional. The replay protection enforcement mode for this service. Note that
|
|
1426
|
+
# this field cannot be set to a level higher than the overall App Check
|
|
1427
|
+
# enforcement mode. For example, if the overall App Check enforcement mode is
|
|
1428
|
+
# set to `UNENFORCED`, this field cannot be set to `ENFORCED`. In order to
|
|
1429
|
+
# enforce replay protection, you must first enforce App Check. An HTTP 400 error
|
|
1430
|
+
# will be returned in this case. By default, this field is set to `OFF`. Setting
|
|
1431
|
+
# this field to `UNENFORCED` or `ENFORCED` is considered opting into replay
|
|
1432
|
+
# protection. Once opted in, requests to your protected services may experience
|
|
1433
|
+
# higher latency. To opt out of replay protection after opting in, set this
|
|
1434
|
+
# field to `OFF`.
|
|
1435
|
+
# Corresponds to the JSON property `replayProtection`
|
|
1436
|
+
# @return [String]
|
|
1437
|
+
attr_accessor :replay_protection
|
|
1438
|
+
|
|
1439
|
+
# Output only. Timestamp when this service configuration object was most
|
|
1440
|
+
# recently updated.
|
|
1441
|
+
# Corresponds to the JSON property `updateTime`
|
|
1442
|
+
# @return [String]
|
|
1443
|
+
attr_accessor :update_time
|
|
1444
|
+
|
|
1408
1445
|
def initialize(**args)
|
|
1409
1446
|
update!(**args)
|
|
1410
1447
|
end
|
|
@@ -1412,7 +1449,10 @@ module Google
|
|
|
1412
1449
|
# Update properties of this object
|
|
1413
1450
|
def update!(**args)
|
|
1414
1451
|
@enforcement_mode = args[:enforcement_mode] if args.key?(:enforcement_mode)
|
|
1452
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1415
1453
|
@name = args[:name] if args.key?(:name)
|
|
1454
|
+
@replay_protection = args[:replay_protection] if args.key?(:replay_protection)
|
|
1455
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1416
1456
|
end
|
|
1417
1457
|
end
|
|
1418
1458
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module FirebaseappcheckV1
|
|
18
18
|
# Version of the google-apis-firebaseappcheck_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.22.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260403"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -400,6 +400,7 @@ module Google
|
|
|
400
400
|
# @private
|
|
401
401
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
402
402
|
property :display_name, as: 'displayName'
|
|
403
|
+
property :etag, as: 'etag'
|
|
403
404
|
property :name, as: 'name'
|
|
404
405
|
property :token, as: 'token'
|
|
405
406
|
property :update_time, as: 'updateTime'
|
|
@@ -663,7 +664,10 @@ module Google
|
|
|
663
664
|
# @private
|
|
664
665
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
665
666
|
property :enforcement_mode, as: 'enforcementMode'
|
|
667
|
+
property :etag, as: 'etag'
|
|
666
668
|
property :name, as: 'name'
|
|
669
|
+
property :replay_protection, as: 'replayProtection'
|
|
670
|
+
property :update_time, as: 'updateTime'
|
|
667
671
|
end
|
|
668
672
|
end
|
|
669
673
|
|
|
@@ -832,6 +832,13 @@ module Google
|
|
|
832
832
|
# Required. The relative resource name of the DebugToken to delete, in the
|
|
833
833
|
# format: ``` projects/`project_number`/apps/`app_id`/debugTokens/`
|
|
834
834
|
# debug_token_id` ```
|
|
835
|
+
# @param [String] etag
|
|
836
|
+
# Optional. The checksum to be validated against the current DebugToken, to
|
|
837
|
+
# ensure the client has an up-to-date value before proceeding. This checksum is
|
|
838
|
+
# computed by the server based on the values of fields in the DebugToken object,
|
|
839
|
+
# and can be obtained from the DebugToken object received from the last
|
|
840
|
+
# CreateDebugToken, GetDebugToken, ListDebugTokens, or UpdateDebugToken call.
|
|
841
|
+
# This etag is strongly validated as defined by RFC 7232.
|
|
835
842
|
# @param [String] fields
|
|
836
843
|
# Selector specifying which fields to include in a partial response.
|
|
837
844
|
# @param [String] quota_user
|
|
@@ -849,11 +856,12 @@ module Google
|
|
|
849
856
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
850
857
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
851
858
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
852
|
-
def delete_project_app_debug_token(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
859
|
+
def delete_project_app_debug_token(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
853
860
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
854
861
|
command.response_representation = Google::Apis::FirebaseappcheckV1::GoogleProtobufEmpty::Representation
|
|
855
862
|
command.response_class = Google::Apis::FirebaseappcheckV1::GoogleProtobufEmpty
|
|
856
863
|
command.params['name'] = name unless name.nil?
|
|
864
|
+
command.query['etag'] = etag unless etag.nil?
|
|
857
865
|
command.query['fields'] = fields unless fields.nil?
|
|
858
866
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
859
867
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-firebaseappcheck_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.22.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseappcheck_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1/v0.22.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseappcheck_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|