diff --git a/api_names_out.yaml b/api_names_out.yaml index 83b5aca9f78..158daebddb4 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -193143,6 +193143,8 @@ "/firebaseappcheck:v1beta/firebaseappcheck.oauthClients.exchangeAppAttestAssertion/app": app "/firebaseappcheck:v1beta/firebaseappcheck.oauthClients.exchangeAppAttestAttestation": exchange_oauth_client_app_attest_attestation "/firebaseappcheck:v1beta/firebaseappcheck.oauthClients.exchangeAppAttestAttestation/app": app +"/firebaseappcheck:v1beta/firebaseappcheck.oauthClients.exchangeDebugToken": exchange_oauth_client_debug_token +"/firebaseappcheck:v1beta/firebaseappcheck.oauthClients.exchangeDebugToken/app": app "/firebaseappcheck:v1beta/firebaseappcheck.oauthClients.generateAppAttestChallenge": generate_oauth_client_app_attest_challenge "/firebaseappcheck:v1beta/firebaseappcheck.oauthClients.generateAppAttestChallenge/app": app "/firebaseappcheck:v1beta/firebaseappcheck.projects.apps.appAttestConfig.batchGet": batch_project_app_app_attest_config_get diff --git a/generated/google-apis-firebaseappcheck_v1beta/CHANGELOG.md b/generated/google-apis-firebaseappcheck_v1beta/CHANGELOG.md index c399b09b812..10c4f1f62ba 100644 --- a/generated/google-apis-firebaseappcheck_v1beta/CHANGELOG.md +++ b/generated/google-apis-firebaseappcheck_v1beta/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-firebaseappcheck_v1beta +### v0.32.0 (2023-08-27) + +* Regenerated from discovery document revision 20230814 + ### v0.31.0 (2023-08-13) * Regenerated from discovery document revision 20230807 diff --git a/generated/google-apis-firebaseappcheck_v1beta/lib/google/apis/firebaseappcheck_v1beta/gem_version.rb b/generated/google-apis-firebaseappcheck_v1beta/lib/google/apis/firebaseappcheck_v1beta/gem_version.rb index 7a826afda90..ff8726ae046 100644 --- a/generated/google-apis-firebaseappcheck_v1beta/lib/google/apis/firebaseappcheck_v1beta/gem_version.rb +++ b/generated/google-apis-firebaseappcheck_v1beta/lib/google/apis/firebaseappcheck_v1beta/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module FirebaseappcheckV1beta # Version of the google-apis-firebaseappcheck_v1beta gem - GEM_VERSION = "0.31.0" + GEM_VERSION = "0.32.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.12.0" # Revision of the discovery document this client was generated from - REVISION = "20230807" + REVISION = "20230814" end end end diff --git a/generated/google-apis-firebaseappcheck_v1beta/lib/google/apis/firebaseappcheck_v1beta/service.rb b/generated/google-apis-firebaseappcheck_v1beta/lib/google/apis/firebaseappcheck_v1beta/service.rb index 78d04573307..78bc52cb215 100644 --- a/generated/google-apis-firebaseappcheck_v1beta/lib/google/apis/firebaseappcheck_v1beta/service.rb +++ b/generated/google-apis-firebaseappcheck_v1beta/lib/google/apis/firebaseappcheck_v1beta/service.rb @@ -165,6 +165,46 @@ def exchange_oauth_client_app_attest_attestation(app, google_firebase_appcheck_v execute_or_queue_command(command, &block) end + # Validates a debug token secret that you have previously created using + # CreateDebugToken. If valid, returns an AppCheckToken. Note that a restrictive + # quota is enforced on this method to prevent accidental exposure of the app to + # abuse. + # @param [String] app + # Required. The relative resource name of the app, in the format: ``` projects/` + # project_number`/apps/`app_id` ``` If necessary, the `project_number` element + # can be replaced with the project ID of the Firebase project. Learn more about + # using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/ + # 2510) standard. + # @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest] google_firebase_appcheck_v1beta_exchange_debug_token_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def exchange_oauth_client_debug_token(app, google_firebase_appcheck_v1beta_exchange_debug_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta/{+app}:exchangeDebugToken', options) + command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest::Representation + command.request_object = google_firebase_appcheck_v1beta_exchange_debug_token_request_object + command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken::Representation + command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken + command.params['app'] = app unless app.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Generates a challenge that protects the integrity of an immediately following # call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A # challenge should not be reused for multiple calls.