@@ -2866,6 +2866,147 @@ public BatchUpdate set(String parameterName, Object value) {
28662866 return (BatchUpdate ) super .set (parameterName , value );
28672867 }
28682868 }
2869+ /**
2870+ * Clears cached test runs for a specific test case and device(s).
2871+ *
2872+ * Create a request for the method "testCases.clearTestCaseCache".
2873+ *
2874+ * This request holds the parameters needed by the firebaseappdistribution server. After setting
2875+ * any optional parameters, call the {@link ClearTestCaseCache#execute()} method to invoke the
2876+ * remote operation.
2877+ *
2878+ * @param testCase Required. The name of the test case resource for which to clear the cache. Format:
2879+ * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
2880+ * @param content the {@link com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest}
2881+ * @return the request
2882+ */
2883+ public ClearTestCaseCache clearTestCaseCache (java .lang .String testCase , com .google .api .services .firebaseappdistribution .v1alpha .model .GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest content ) throws java .io .IOException {
2884+ ClearTestCaseCache result = new ClearTestCaseCache (testCase , content );
2885+ initialize (result );
2886+ return result ;
2887+ }
2888+
2889+ public class ClearTestCaseCache extends FirebaseAppDistributionRequest <com .google .api .services .firebaseappdistribution .v1alpha .model .GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse > {
2890+
2891+ private static final String REST_PATH = "v1alpha/{+testCase}:clearTestCaseCache" ;
2892+
2893+ private final java .util .regex .Pattern TEST_CASE_PATTERN =
2894+ java .util .regex .Pattern .compile ("^projects/[^/]+/apps/[^/]+/testCases/[^/]+$" );
2895+
2896+ /**
2897+ * Clears cached test runs for a specific test case and device(s).
2898+ *
2899+ * Create a request for the method "testCases.clearTestCaseCache".
2900+ *
2901+ * This request holds the parameters needed by the the firebaseappdistribution server. After
2902+ * setting any optional parameters, call the {@link ClearTestCaseCache#execute()} method to invoke
2903+ * the remote operation. <p> {@link ClearTestCaseCache#initialize(com.google.api.client.googleapis
2904+ * .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
2905+ * after invoking the constructor. </p>
2906+ *
2907+ * @param testCase Required. The name of the test case resource for which to clear the cache. Format:
2908+ * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
2909+ * @param content the {@link com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest}
2910+ * @since 1.13
2911+ */
2912+ protected ClearTestCaseCache (java .lang .String testCase , com .google .api .services .firebaseappdistribution .v1alpha .model .GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest content ) {
2913+ super (FirebaseAppDistribution .this , "POST" , REST_PATH , content , com .google .api .services .firebaseappdistribution .v1alpha .model .GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse .class );
2914+ this .testCase = com .google .api .client .util .Preconditions .checkNotNull (testCase , "Required parameter testCase must be specified." );
2915+ if (!getSuppressPatternChecks ()) {
2916+ com .google .api .client .util .Preconditions .checkArgument (TEST_CASE_PATTERN .matcher (testCase ).matches (),
2917+ "Parameter testCase must conform to the pattern " +
2918+ "^projects/[^/]+/apps/[^/]+/testCases/[^/]+$" );
2919+ }
2920+ }
2921+
2922+ @ Override
2923+ public ClearTestCaseCache set$Xgafv (java .lang .String $Xgafv ) {
2924+ return (ClearTestCaseCache ) super .set$Xgafv ($Xgafv );
2925+ }
2926+
2927+ @ Override
2928+ public ClearTestCaseCache setAccessToken (java .lang .String accessToken ) {
2929+ return (ClearTestCaseCache ) super .setAccessToken (accessToken );
2930+ }
2931+
2932+ @ Override
2933+ public ClearTestCaseCache setAlt (java .lang .String alt ) {
2934+ return (ClearTestCaseCache ) super .setAlt (alt );
2935+ }
2936+
2937+ @ Override
2938+ public ClearTestCaseCache setCallback (java .lang .String callback ) {
2939+ return (ClearTestCaseCache ) super .setCallback (callback );
2940+ }
2941+
2942+ @ Override
2943+ public ClearTestCaseCache setFields (java .lang .String fields ) {
2944+ return (ClearTestCaseCache ) super .setFields (fields );
2945+ }
2946+
2947+ @ Override
2948+ public ClearTestCaseCache setKey (java .lang .String key ) {
2949+ return (ClearTestCaseCache ) super .setKey (key );
2950+ }
2951+
2952+ @ Override
2953+ public ClearTestCaseCache setOauthToken (java .lang .String oauthToken ) {
2954+ return (ClearTestCaseCache ) super .setOauthToken (oauthToken );
2955+ }
2956+
2957+ @ Override
2958+ public ClearTestCaseCache setPrettyPrint (java .lang .Boolean prettyPrint ) {
2959+ return (ClearTestCaseCache ) super .setPrettyPrint (prettyPrint );
2960+ }
2961+
2962+ @ Override
2963+ public ClearTestCaseCache setQuotaUser (java .lang .String quotaUser ) {
2964+ return (ClearTestCaseCache ) super .setQuotaUser (quotaUser );
2965+ }
2966+
2967+ @ Override
2968+ public ClearTestCaseCache setUploadType (java .lang .String uploadType ) {
2969+ return (ClearTestCaseCache ) super .setUploadType (uploadType );
2970+ }
2971+
2972+ @ Override
2973+ public ClearTestCaseCache setUploadProtocol (java .lang .String uploadProtocol ) {
2974+ return (ClearTestCaseCache ) super .setUploadProtocol (uploadProtocol );
2975+ }
2976+
2977+ /**
2978+ * Required. The name of the test case resource for which to clear the cache. Format:
2979+ * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
2980+ */
2981+ @ com .google .api .client .util .Key
2982+ private java .lang .String testCase ;
2983+
2984+ /** Required. The name of the test case resource for which to clear the cache. Format:
2985+ `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
2986+ */
2987+ public java .lang .String getTestCase () {
2988+ return testCase ;
2989+ }
2990+
2991+ /**
2992+ * Required. The name of the test case resource for which to clear the cache. Format:
2993+ * `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`
2994+ */
2995+ public ClearTestCaseCache setTestCase (java .lang .String testCase ) {
2996+ if (!getSuppressPatternChecks ()) {
2997+ com .google .api .client .util .Preconditions .checkArgument (TEST_CASE_PATTERN .matcher (testCase ).matches (),
2998+ "Parameter testCase must conform to the pattern " +
2999+ "^projects/[^/]+/apps/[^/]+/testCases/[^/]+$" );
3000+ }
3001+ this .testCase = testCase ;
3002+ return this ;
3003+ }
3004+
3005+ @ Override
3006+ public ClearTestCaseCache set (String parameterName , Object value ) {
3007+ return (ClearTestCaseCache ) super .set (parameterName , value );
3008+ }
3009+ }
28693010 /**
28703011 * Create a new test case.
28713012 *
0 commit comments