google-apis-firebaseappcheck_v1beta 0.1.0 → 0.2.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 +5 -0
- data/lib/google/apis/firebaseappcheck_v1beta/classes.rb +140 -0
- data/lib/google/apis/firebaseappcheck_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/firebaseappcheck_v1beta/representations.rb +71 -0
- data/lib/google/apis/firebaseappcheck_v1beta/service.rb +109 -0
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55357d11e61c1b555ee8665ab6a3831da635fc3cbec4801b03859fd5b0541189
|
4
|
+
data.tar.gz: a6bb12fed9bccdad2ca9255169b0730c8a12b271943006ecceba709fb9d6521f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e1aa826c37ef0110fec226c54cd4691dd8e6e7d56b4766436c1dc0a04dde0488e1b460bbe858a8fdf98c2f63770989fc20b7826423c84e00b69c170792b01d6
|
7
|
+
data.tar.gz: a959ab466a02247f2d4e7aa0ffcf781c54b7171809a2dbe9fdd291feaf57603c89eabe1d72bb5a97a82eb89f367d7af34723bc94523e3b22bcfd387204341016
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-firebaseappcheck_v1beta
|
2
2
|
|
3
|
+
### v0.2.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210621
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
3
8
|
### v0.1.0 (2021-05-27)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20210524
|
@@ -22,6 +22,36 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module FirebaseappcheckV1beta
|
24
24
|
|
25
|
+
# Response object for GenerateAppAttestChallenge
|
26
|
+
class GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# A one time use challenge for the client to pass to Apple's App Attest API.
|
30
|
+
# Corresponds to the JSON property `challenge`
|
31
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
32
|
+
# @return [String]
|
33
|
+
attr_accessor :challenge
|
34
|
+
|
35
|
+
# The duration from the time this challenge is minted until it is expired. This
|
36
|
+
# field is intended to ease client-side token management, since the device may
|
37
|
+
# have clock skew, but is still able to accurately measure a duration. This
|
38
|
+
# expiration is intended to minimize the replay window within which a single
|
39
|
+
# challenge may be reused. See AIP 142 for naming of this field.
|
40
|
+
# Corresponds to the JSON property `ttl`
|
41
|
+
# @return [String]
|
42
|
+
attr_accessor :ttl
|
43
|
+
|
44
|
+
def initialize(**args)
|
45
|
+
update!(**args)
|
46
|
+
end
|
47
|
+
|
48
|
+
# Update properties of this object
|
49
|
+
def update!(**args)
|
50
|
+
@challenge = args[:challenge] if args.key?(:challenge)
|
51
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
25
55
|
# Encapsulates an *App Check token*, which are used to access Firebase services
|
26
56
|
# protected by App Check.
|
27
57
|
class GoogleFirebaseAppcheckV1betaAttestationTokenResponse
|
@@ -224,6 +254,103 @@ module Google
|
|
224
254
|
end
|
225
255
|
end
|
226
256
|
|
257
|
+
# Request message for ExchangeAppAttestAssertion
|
258
|
+
class GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest
|
259
|
+
include Google::Apis::Core::Hashable
|
260
|
+
|
261
|
+
# The artifact previously returned by ExchangeAppAttestAttestation.
|
262
|
+
# Corresponds to the JSON property `artifact`
|
263
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
264
|
+
# @return [String]
|
265
|
+
attr_accessor :artifact
|
266
|
+
|
267
|
+
# The CBOR encoded assertion provided by the Apple App Attest SDK.
|
268
|
+
# Corresponds to the JSON property `assertion`
|
269
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
270
|
+
# @return [String]
|
271
|
+
attr_accessor :assertion
|
272
|
+
|
273
|
+
# A one time challenge returned by GenerateAppAttestChallenge.
|
274
|
+
# Corresponds to the JSON property `challenge`
|
275
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
276
|
+
# @return [String]
|
277
|
+
attr_accessor :challenge
|
278
|
+
|
279
|
+
def initialize(**args)
|
280
|
+
update!(**args)
|
281
|
+
end
|
282
|
+
|
283
|
+
# Update properties of this object
|
284
|
+
def update!(**args)
|
285
|
+
@artifact = args[:artifact] if args.key?(:artifact)
|
286
|
+
@assertion = args[:assertion] if args.key?(:assertion)
|
287
|
+
@challenge = args[:challenge] if args.key?(:challenge)
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
# Request message for ExchangeAppAttestAttestation
|
292
|
+
class GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest
|
293
|
+
include Google::Apis::Core::Hashable
|
294
|
+
|
295
|
+
# The App Attest statement as returned by Apple's client-side App Attest API.
|
296
|
+
# This is the CBOR object returned by Apple, which will be Base64 encoded in the
|
297
|
+
# JSON API.
|
298
|
+
# Corresponds to the JSON property `attestationStatement`
|
299
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
300
|
+
# @return [String]
|
301
|
+
attr_accessor :attestation_statement
|
302
|
+
|
303
|
+
# The challenge previously generated by the FAC backend.
|
304
|
+
# Corresponds to the JSON property `challenge`
|
305
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
306
|
+
# @return [String]
|
307
|
+
attr_accessor :challenge
|
308
|
+
|
309
|
+
# The key ID generated by App Attest for the client app.
|
310
|
+
# Corresponds to the JSON property `keyId`
|
311
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
312
|
+
# @return [String]
|
313
|
+
attr_accessor :key_id
|
314
|
+
|
315
|
+
def initialize(**args)
|
316
|
+
update!(**args)
|
317
|
+
end
|
318
|
+
|
319
|
+
# Update properties of this object
|
320
|
+
def update!(**args)
|
321
|
+
@attestation_statement = args[:attestation_statement] if args.key?(:attestation_statement)
|
322
|
+
@challenge = args[:challenge] if args.key?(:challenge)
|
323
|
+
@key_id = args[:key_id] if args.key?(:key_id)
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
# Response message for ExchangeAppAttestAttestation
|
328
|
+
class GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse
|
329
|
+
include Google::Apis::Core::Hashable
|
330
|
+
|
331
|
+
# An artifact that should be passed back during the Assertion flow.
|
332
|
+
# Corresponds to the JSON property `artifact`
|
333
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
334
|
+
# @return [String]
|
335
|
+
attr_accessor :artifact
|
336
|
+
|
337
|
+
# Encapsulates an *App Check token*, which are used to access Firebase services
|
338
|
+
# protected by App Check.
|
339
|
+
# Corresponds to the JSON property `attestationToken`
|
340
|
+
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAttestationTokenResponse]
|
341
|
+
attr_accessor :attestation_token
|
342
|
+
|
343
|
+
def initialize(**args)
|
344
|
+
update!(**args)
|
345
|
+
end
|
346
|
+
|
347
|
+
# Update properties of this object
|
348
|
+
def update!(**args)
|
349
|
+
@artifact = args[:artifact] if args.key?(:artifact)
|
350
|
+
@attestation_token = args[:attestation_token] if args.key?(:attestation_token)
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
227
354
|
# Request message for the ExchangeCustomToken method.
|
228
355
|
class GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
|
229
356
|
include Google::Apis::Core::Hashable
|
@@ -325,6 +452,19 @@ module Google
|
|
325
452
|
end
|
326
453
|
end
|
327
454
|
|
455
|
+
# Request message for GenerateAppAttestChallenge
|
456
|
+
class GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest
|
457
|
+
include Google::Apis::Core::Hashable
|
458
|
+
|
459
|
+
def initialize(**args)
|
460
|
+
update!(**args)
|
461
|
+
end
|
462
|
+
|
463
|
+
# Update properties of this object
|
464
|
+
def update!(**args)
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
328
468
|
# Response message for the ListDebugTokens method.
|
329
469
|
class GoogleFirebaseAppcheckV1betaListDebugTokensResponse
|
330
470
|
include Google::Apis::Core::Hashable
|
@@ -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.2.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210621"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module FirebaseappcheckV1beta
|
24
24
|
|
25
|
+
class GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class GoogleFirebaseAppcheckV1betaAttestationTokenResponse
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -64,6 +70,24 @@ module Google
|
|
64
70
|
include Google::Apis::Core::JsonObjectSupport
|
65
71
|
end
|
66
72
|
|
73
|
+
class GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
67
91
|
class GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
|
68
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
93
|
|
@@ -94,6 +118,12 @@ module Google
|
|
94
118
|
include Google::Apis::Core::JsonObjectSupport
|
95
119
|
end
|
96
120
|
|
121
|
+
class GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
97
127
|
class GoogleFirebaseAppcheckV1betaListDebugTokensResponse
|
98
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
129
|
|
@@ -142,6 +172,14 @@ module Google
|
|
142
172
|
include Google::Apis::Core::JsonObjectSupport
|
143
173
|
end
|
144
174
|
|
175
|
+
class GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse
|
176
|
+
# @private
|
177
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
178
|
+
property :challenge, :base64 => true, as: 'challenge'
|
179
|
+
property :ttl, as: 'ttl'
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
145
183
|
class GoogleFirebaseAppcheckV1betaAttestationTokenResponse
|
146
184
|
# @private
|
147
185
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -202,6 +240,33 @@ module Google
|
|
202
240
|
end
|
203
241
|
end
|
204
242
|
|
243
|
+
class GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest
|
244
|
+
# @private
|
245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
246
|
+
property :artifact, :base64 => true, as: 'artifact'
|
247
|
+
property :assertion, :base64 => true, as: 'assertion'
|
248
|
+
property :challenge, :base64 => true, as: 'challenge'
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
class GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest
|
253
|
+
# @private
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
255
|
+
property :attestation_statement, :base64 => true, as: 'attestationStatement'
|
256
|
+
property :challenge, :base64 => true, as: 'challenge'
|
257
|
+
property :key_id, :base64 => true, as: 'keyId'
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
261
|
+
class GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse
|
262
|
+
# @private
|
263
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
264
|
+
property :artifact, :base64 => true, as: 'artifact'
|
265
|
+
property :attestation_token, as: 'attestationToken', class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAttestationTokenResponse, decorator: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAttestationTokenResponse::Representation
|
266
|
+
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
205
270
|
class GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
|
206
271
|
# @private
|
207
272
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -237,6 +302,12 @@ module Google
|
|
237
302
|
end
|
238
303
|
end
|
239
304
|
|
305
|
+
class GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest
|
306
|
+
# @private
|
307
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
240
311
|
class GoogleFirebaseAppcheckV1betaListDebugTokensResponse
|
241
312
|
# @private
|
242
313
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -94,6 +94,80 @@ module Google
|
|
94
94
|
execute_or_queue_command(command, &block)
|
95
95
|
end
|
96
96
|
|
97
|
+
# Accepts a AppAttest Artifact and Assertion, and uses the developer's
|
98
|
+
# preconfigured auth token to verify the token with Apple. Returns an
|
99
|
+
# AttestationToken with the App ID as specified by the `app` field included as
|
100
|
+
# attested claims.
|
101
|
+
# @param [String] app
|
102
|
+
# Required. The full resource name to the iOS App. Format: "projects/`project_id`
|
103
|
+
# /apps/`app_id`"
|
104
|
+
# @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest] google_firebase_appcheck_v1beta_exchange_app_attest_assertion_request_object
|
105
|
+
# @param [String] fields
|
106
|
+
# Selector specifying which fields to include in a partial response.
|
107
|
+
# @param [String] quota_user
|
108
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
109
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
110
|
+
# @param [Google::Apis::RequestOptions] options
|
111
|
+
# Request-specific options
|
112
|
+
#
|
113
|
+
# @yield [result, err] Result & error if block supplied
|
114
|
+
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAttestationTokenResponse] parsed result object
|
115
|
+
# @yieldparam err [StandardError] error object if request failed
|
116
|
+
#
|
117
|
+
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAttestationTokenResponse]
|
118
|
+
#
|
119
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
120
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
121
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
122
|
+
def exchange_project_app_app_attest_assertion(app, google_firebase_appcheck_v1beta_exchange_app_attest_assertion_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
123
|
+
command = make_simple_command(:post, 'v1beta/{+app}:exchangeAppAttestAssertion', options)
|
124
|
+
command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest::Representation
|
125
|
+
command.request_object = google_firebase_appcheck_v1beta_exchange_app_attest_assertion_request_object
|
126
|
+
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAttestationTokenResponse::Representation
|
127
|
+
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAttestationTokenResponse
|
128
|
+
command.params['app'] = app unless app.nil?
|
129
|
+
command.query['fields'] = fields unless fields.nil?
|
130
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
131
|
+
execute_or_queue_command(command, &block)
|
132
|
+
end
|
133
|
+
|
134
|
+
# Accepts a AppAttest CBOR Attestation, and uses the developer's preconfigured
|
135
|
+
# team and bundle IDs to verify the token with Apple. Returns an Attestation
|
136
|
+
# Artifact that can later be exchanged for an AttestationToken in
|
137
|
+
# ExchangeAppAttestAssertion.
|
138
|
+
# @param [String] app
|
139
|
+
# Required. The full resource name to the iOS App. Format: "projects/`project_id`
|
140
|
+
# /apps/`app_id`"
|
141
|
+
# @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest] google_firebase_appcheck_v1beta_exchange_app_attest_attestation_request_object
|
142
|
+
# @param [String] fields
|
143
|
+
# Selector specifying which fields to include in a partial response.
|
144
|
+
# @param [String] quota_user
|
145
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
146
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
147
|
+
# @param [Google::Apis::RequestOptions] options
|
148
|
+
# Request-specific options
|
149
|
+
#
|
150
|
+
# @yield [result, err] Result & error if block supplied
|
151
|
+
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse] parsed result object
|
152
|
+
# @yieldparam err [StandardError] error object if request failed
|
153
|
+
#
|
154
|
+
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse]
|
155
|
+
#
|
156
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
157
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
158
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
159
|
+
def exchange_project_app_app_attest_attestation(app, google_firebase_appcheck_v1beta_exchange_app_attest_attestation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
160
|
+
command = make_simple_command(:post, 'v1beta/{+app}:exchangeAppAttestAttestation', options)
|
161
|
+
command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest::Representation
|
162
|
+
command.request_object = google_firebase_appcheck_v1beta_exchange_app_attest_attestation_request_object
|
163
|
+
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse::Representation
|
164
|
+
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse
|
165
|
+
command.params['app'] = app unless app.nil?
|
166
|
+
command.query['fields'] = fields unless fields.nil?
|
167
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
168
|
+
execute_or_queue_command(command, &block)
|
169
|
+
end
|
170
|
+
|
97
171
|
# Validates a custom token signed using your project's Admin SDK service account
|
98
172
|
# credentials. If valid, returns an App Check token encapsulated in an
|
99
173
|
# AttestationTokenResponse.
|
@@ -291,6 +365,41 @@ module Google
|
|
291
365
|
execute_or_queue_command(command, &block)
|
292
366
|
end
|
293
367
|
|
368
|
+
# Initiates the App Attest flow by generating a challenge which will be used as
|
369
|
+
# a type of nonce for this attestation.
|
370
|
+
# @param [String] app
|
371
|
+
# Required. The full resource name to the iOS App. Format: "projects/`project_id`
|
372
|
+
# /apps/`app_id`"
|
373
|
+
# @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest] google_firebase_appcheck_v1beta_generate_app_attest_challenge_request_object
|
374
|
+
# @param [String] fields
|
375
|
+
# Selector specifying which fields to include in a partial response.
|
376
|
+
# @param [String] quota_user
|
377
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
378
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
379
|
+
# @param [Google::Apis::RequestOptions] options
|
380
|
+
# Request-specific options
|
381
|
+
#
|
382
|
+
# @yield [result, err] Result & error if block supplied
|
383
|
+
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse] parsed result object
|
384
|
+
# @yieldparam err [StandardError] error object if request failed
|
385
|
+
#
|
386
|
+
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse]
|
387
|
+
#
|
388
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
389
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
390
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
391
|
+
def generate_project_app_app_attest_challenge(app, google_firebase_appcheck_v1beta_generate_app_attest_challenge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
392
|
+
command = make_simple_command(:post, 'v1beta/{+app}:generateAppAttestChallenge', options)
|
393
|
+
command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest::Representation
|
394
|
+
command.request_object = google_firebase_appcheck_v1beta_generate_app_attest_challenge_request_object
|
395
|
+
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse::Representation
|
396
|
+
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse
|
397
|
+
command.params['app'] = app unless app.nil?
|
398
|
+
command.query['fields'] = fields unless fields.nil?
|
399
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
400
|
+
execute_or_queue_command(command, &block)
|
401
|
+
end
|
402
|
+
|
294
403
|
# Creates a new DebugToken for the specified app. For security reasons, after
|
295
404
|
# the creation operation completes, the `token` field cannot be updated or
|
296
405
|
# retrieved, but you can revoke the debug token using DeleteDebugToken. Each app
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.2.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-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Firebase App Check API V1beta. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-firebaseappcheck_v1beta/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0.2.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-firebaseappcheck_v1beta
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|