diff --git a/api_names_out.yaml b/api_names_out.yaml index dfd53947380..291fc9e938d 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -252448,6 +252448,10 @@ "/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse/testCases": test_cases "/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse/testCases/test_case": test_case "/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse": google_firebase_appdistro_v1alpha_cancel_release_test_response +"/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest": google_firebase_appdistro_v1alpha_clear_test_case_cache_request +"/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest/testDevices": test_devices +"/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest/testDevices/test_device": test_device +"/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse": google_firebase_appdistro_v1alpha_clear_test_case_cache_response "/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest": google_firebase_appdistro_v1alpha_create_release_notes_request "/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest/releaseNotes": release_notes "/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse": google_firebase_appdistro_v1alpha_create_release_notes_response @@ -252654,6 +252658,8 @@ "/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.apps.testCases.batchDelete/parent": parent "/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.apps.testCases.batchUpdate": batch_project_app_test_case_update "/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.apps.testCases.batchUpdate/parent": parent +"/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.apps.testCases.clearTestCaseCache": clear_project_app_test_case_test_case_cache +"/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.apps.testCases.clearTestCaseCache/testCase": test_case "/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.apps.testCases.create": create_project_app_test_case "/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.apps.testCases.create/parent": parent "/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.apps.testCases.create/testCaseId": test_case_id diff --git a/generated/google-apis-firebaseappdistribution_v1alpha/CHANGELOG.md b/generated/google-apis-firebaseappdistribution_v1alpha/CHANGELOG.md index 389cdf7fc4c..0c50ccfea41 100644 --- a/generated/google-apis-firebaseappdistribution_v1alpha/CHANGELOG.md +++ b/generated/google-apis-firebaseappdistribution_v1alpha/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-firebaseappdistribution_v1alpha +### v0.22.0 (2025-10-26) + +* Regenerated from discovery document revision 20251022 + ### v0.21.0 (2025-10-19) * Regenerated from discovery document revision 20251015 diff --git a/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/classes.rb b/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/classes.rb index fd565e553c5..15f86dd938a 100644 --- a/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/classes.rb +++ b/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/classes.rb @@ -543,6 +543,39 @@ def update!(**args) end end + # Request message for `ClearTestCaseCache`. + class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest + include Google::Apis::Core::Hashable + + # Optional. The list of devices for which to clear the cache. If not present, + # clear all of them. + # Corresponds to the JSON property `testDevices` + # @return [Array] + attr_accessor :test_devices + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @test_devices = args[:test_devices] if args.key?(:test_devices) + end + end + + # Response empty (google.protobuf.Empty) message for `ClearTestCaseCache` + class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # The request message for `CreateReleaseNotes`. class GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest include Google::Apis::Core::Hashable diff --git a/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/gem_version.rb b/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/gem_version.rb index abb51ef2c23..4e65a305007 100644 --- a/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/gem_version.rb +++ b/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module FirebaseappdistributionV1alpha # Version of the google-apis-firebaseappdistribution_v1alpha gem - GEM_VERSION = "0.21.0" + GEM_VERSION = "0.22.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20251015" + REVISION = "20251022" end end end diff --git a/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/representations.rb b/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/representations.rb index 27fbc7c6b9b..34f294b2313 100644 --- a/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/representations.rb +++ b/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/representations.rb @@ -124,6 +124,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -505,6 +517,20 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :test_devices, as: 'testDevices', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestDevice, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestDevice::Representation + + end + end + + class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/service.rb b/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/service.rb index 1c96687c647..577c4ea9365 100644 --- a/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/service.rb +++ b/generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/service.rb @@ -611,6 +611,40 @@ def batch_project_app_test_case_update(parent, google_firebase_appdistro_v1alpha execute_or_queue_command(command, &block) end + # Clears cached test runs for a specific test case and device(s). + # @param [String] test_case + # Required. The name of the test case resource for which to clear the cache. + # Format: `projects/`project_number`/apps/`app_id`/testCases/`test_case_id`` + # @param [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest] google_firebase_appdistro_v1alpha_clear_test_case_cache_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::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse] + # + # @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 clear_project_app_test_case_test_case_cache(test_case, google_firebase_appdistro_v1alpha_clear_test_case_cache_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1alpha/{+testCase}:clearTestCaseCache', options) + command.request_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest::Representation + command.request_object = google_firebase_appdistro_v1alpha_clear_test_case_cache_request_object + command.response_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse::Representation + command.response_class = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse + command.params['testCase'] = test_case unless test_case.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Create a new test case. # @param [String] parent # Required. The parent resource where this test case will be created. Format: `