google-apis-firebaseappcheck_v1 0.14.0 → 0.16.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: c82652c0d29847ab5d8745a97e2165b200ece455b6f084454a6f3aeffb5592b7
4
- data.tar.gz: '08ef10b7f7a952e61e32882f0f2a3f6fc9e1473df7e89d5812ea46a0e232b54e'
3
+ metadata.gz: eca7f1eb6fca1e4078b1c286ad46933c7841f6c5b784a847fe6f7996a79ce620
4
+ data.tar.gz: 5cbe03a67ca4c4b38c93e512ab3576de773cdedbec1352efc9bd631675e81643
5
5
  SHA512:
6
- metadata.gz: 4f8a657028caf3aa13a9c98682d206fe1185822848bc4aac7eaa900b4daf1e3e55fad31c29080a976194e3ac3cd6dbeb9397bf4f8cb83991fdda7c7a0540ddac
7
- data.tar.gz: de33ccc5c9f5a0876113e573267bb3ea14fd1cc406f59eeeab9037011d53a0a4cbc050af81aa35564441c2e34f2928d440f91a0b0e0a7eba40d9690e579c83ec
6
+ metadata.gz: 0f1581968255a39ada2532552970f1fe9490d18d2162af98b5e90a4dc7c590dcf536a48f3f4c690d31d024a17f38ed014c16401be545db67a405597fa38a1d0f
7
+ data.tar.gz: 6535f175b227bb065624b1a23f8a208e245db69abf71443b993998e9d57b45f28e920cb13403198db2c13d4b249a563524ae6b4e5c971c1ad5c55b4d6fd56bac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firebaseappcheck_v1
2
2
 
3
+ ### v0.16.0 (2024-06-02)
4
+
5
+ * Regenerated from discovery document revision 20240528
6
+
7
+ ### v0.15.0 (2024-05-19)
8
+
9
+ * Regenerated using generator version 0.15.0
10
+
3
11
  ### v0.14.0 (2024-05-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20240429
@@ -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.14.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240429"
25
+ REVISION = "20240528"
26
26
  end
27
27
  end
28
28
  end
@@ -86,6 +86,166 @@ module Google
86
86
  execute_or_queue_command(command, &block)
87
87
  end
88
88
 
89
+ # Accepts an App Attest assertion and an artifact previously obtained from
90
+ # ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns
91
+ # an AppCheckToken.
92
+ # @param [String] app
93
+ # Required. The relative resource name of the iOS app, in the format: ```
94
+ # projects/`project_number`/apps/`app_id` ``` If necessary, the `project_number`
95
+ # element can be replaced with the project ID of the Firebase project. Learn
96
+ # more about using project identifiers in Google's [AIP 2510](https://google.aip.
97
+ # dev/cloud/2510) standard.
98
+ # @param [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest] google_firebase_appcheck_v1_exchange_app_attest_assertion_request_object
99
+ # @param [String] fields
100
+ # Selector specifying which fields to include in a partial response.
101
+ # @param [String] quota_user
102
+ # Available to use for quota purposes for server-side applications. Can be any
103
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
104
+ # @param [Google::Apis::RequestOptions] options
105
+ # Request-specific options
106
+ #
107
+ # @yield [result, err] Result & error if block supplied
108
+ # @yieldparam result [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1AppCheckToken] parsed result object
109
+ # @yieldparam err [StandardError] error object if request failed
110
+ #
111
+ # @return [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1AppCheckToken]
112
+ #
113
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
114
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
115
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
116
+ def exchange_oauth_client_app_attest_assertion(app, google_firebase_appcheck_v1_exchange_app_attest_assertion_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
117
+ command = make_simple_command(:post, 'v1/{+app}:exchangeAppAttestAssertion', options)
118
+ command.request_representation = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest::Representation
119
+ command.request_object = google_firebase_appcheck_v1_exchange_app_attest_assertion_request_object
120
+ command.response_representation = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1AppCheckToken::Representation
121
+ command.response_class = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1AppCheckToken
122
+ command.params['app'] = app unless app.nil?
123
+ command.query['fields'] = fields unless fields.nil?
124
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
125
+ execute_or_queue_command(command, &block)
126
+ end
127
+
128
+ # Accepts an App Attest CBOR attestation and verifies it with Apple using your
129
+ # preconfigured team and bundle IDs. If valid, returns an attestation artifact
130
+ # that can later be exchanged for an AppCheckToken using
131
+ # ExchangeAppAttestAssertion. For convenience and performance, this method's
132
+ # response object will also contain an AppCheckToken (if the verification is
133
+ # successful).
134
+ # @param [String] app
135
+ # Required. The relative resource name of the iOS app, in the format: ```
136
+ # projects/`project_number`/apps/`app_id` ``` If necessary, the `project_number`
137
+ # element can be replaced with the project ID of the Firebase project. Learn
138
+ # more about using project identifiers in Google's [AIP 2510](https://google.aip.
139
+ # dev/cloud/2510) standard.
140
+ # @param [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest] google_firebase_appcheck_v1_exchange_app_attest_attestation_request_object
141
+ # @param [String] fields
142
+ # Selector specifying which fields to include in a partial response.
143
+ # @param [String] quota_user
144
+ # Available to use for quota purposes for server-side applications. Can be any
145
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
146
+ # @param [Google::Apis::RequestOptions] options
147
+ # Request-specific options
148
+ #
149
+ # @yield [result, err] Result & error if block supplied
150
+ # @yieldparam result [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse] parsed result object
151
+ # @yieldparam err [StandardError] error object if request failed
152
+ #
153
+ # @return [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse]
154
+ #
155
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
156
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
157
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
158
+ def exchange_oauth_client_app_attest_attestation(app, google_firebase_appcheck_v1_exchange_app_attest_attestation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
159
+ command = make_simple_command(:post, 'v1/{+app}:exchangeAppAttestAttestation', options)
160
+ command.request_representation = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest::Representation
161
+ command.request_object = google_firebase_appcheck_v1_exchange_app_attest_attestation_request_object
162
+ command.response_representation = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse::Representation
163
+ command.response_class = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse
164
+ command.params['app'] = app unless app.nil?
165
+ command.query['fields'] = fields unless fields.nil?
166
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
167
+ execute_or_queue_command(command, &block)
168
+ end
169
+
170
+ # Validates a debug token secret that you have previously created using
171
+ # CreateDebugToken. If valid, returns an AppCheckToken. Note that a restrictive
172
+ # quota is enforced on this method to prevent accidental exposure of the app to
173
+ # abuse.
174
+ # @param [String] app
175
+ # Required. The relative resource name of the app, in the format: ``` projects/`
176
+ # project_number`/apps/`app_id` ``` If necessary, the `project_number` element
177
+ # can be replaced with the project ID of the Firebase project. Learn more about
178
+ # using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/
179
+ # 2510) standard.
180
+ # @param [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest] google_firebase_appcheck_v1_exchange_debug_token_request_object
181
+ # @param [String] fields
182
+ # Selector specifying which fields to include in a partial response.
183
+ # @param [String] quota_user
184
+ # Available to use for quota purposes for server-side applications. Can be any
185
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
186
+ # @param [Google::Apis::RequestOptions] options
187
+ # Request-specific options
188
+ #
189
+ # @yield [result, err] Result & error if block supplied
190
+ # @yieldparam result [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1AppCheckToken] parsed result object
191
+ # @yieldparam err [StandardError] error object if request failed
192
+ #
193
+ # @return [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1AppCheckToken]
194
+ #
195
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
196
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
197
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
198
+ def exchange_oauth_client_debug_token(app, google_firebase_appcheck_v1_exchange_debug_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
199
+ command = make_simple_command(:post, 'v1/{+app}:exchangeDebugToken', options)
200
+ command.request_representation = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest::Representation
201
+ command.request_object = google_firebase_appcheck_v1_exchange_debug_token_request_object
202
+ command.response_representation = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1AppCheckToken::Representation
203
+ command.response_class = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1AppCheckToken
204
+ command.params['app'] = app unless app.nil?
205
+ command.query['fields'] = fields unless fields.nil?
206
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
207
+ execute_or_queue_command(command, &block)
208
+ end
209
+
210
+ # Generates a challenge that protects the integrity of an immediately following
211
+ # call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A
212
+ # challenge should not be reused for multiple calls.
213
+ # @param [String] app
214
+ # Required. The relative resource name of the iOS app, in the format: ```
215
+ # projects/`project_number`/apps/`app_id` ``` If necessary, the `project_number`
216
+ # element can be replaced with the project ID of the Firebase project. Learn
217
+ # more about using project identifiers in Google's [AIP 2510](https://google.aip.
218
+ # dev/cloud/2510) standard.
219
+ # @param [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest] google_firebase_appcheck_v1_generate_app_attest_challenge_request_object
220
+ # @param [String] fields
221
+ # Selector specifying which fields to include in a partial response.
222
+ # @param [String] quota_user
223
+ # Available to use for quota purposes for server-side applications. Can be any
224
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
225
+ # @param [Google::Apis::RequestOptions] options
226
+ # Request-specific options
227
+ #
228
+ # @yield [result, err] Result & error if block supplied
229
+ # @yieldparam result [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse] parsed result object
230
+ # @yieldparam err [StandardError] error object if request failed
231
+ #
232
+ # @return [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse]
233
+ #
234
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
235
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
236
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
237
+ def generate_oauth_client_app_attest_challenge(app, google_firebase_appcheck_v1_generate_app_attest_challenge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
238
+ command = make_simple_command(:post, 'v1/{+app}:generateAppAttestChallenge', options)
239
+ command.request_representation = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest::Representation
240
+ command.request_object = google_firebase_appcheck_v1_generate_app_attest_challenge_request_object
241
+ command.response_representation = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse::Representation
242
+ command.response_class = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse
243
+ command.params['app'] = app unless app.nil?
244
+ command.query['fields'] = fields unless fields.nil?
245
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
246
+ execute_or_queue_command(command, &block)
247
+ end
248
+
89
249
  # Accepts an App Attest assertion and an artifact previously obtained from
90
250
  # ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns
91
251
  # an AppCheckToken.
@@ -1224,9 +1384,9 @@ module Google
1224
1384
  end
1225
1385
 
1226
1386
  # Updates the RecaptchaV3Config for the specified app. While this configuration
1227
- # is incomplete or invalid, the app will be unable to exchange reCAPTCHA tokens
1228
- # for App Check tokens. For security reasons, the `site_secret` field is never
1229
- # populated in the response.
1387
+ # is incomplete or invalid, the app will be unable to exchange reCAPTCHA V3
1388
+ # tokens for App Check tokens. For security reasons, the `site_secret` field is
1389
+ # never populated in the response.
1230
1390
  # @param [String] name
1231
1391
  # Required. The relative resource name of the reCAPTCHA v3 configuration object,
1232
1392
  # in the format: ``` projects/`project_number`/apps/`app_id`/recaptchaV3Config ``
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firebaseappcheck_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.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: 2024-05-05 00:00:00.000000000 Z
11
+ date: 2024-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseappcheck_v1
63
63
  post_install_message:
64
64
  rdoc_options: []