@@ -2699,6 +2699,147 @@ public TestCases testCases() {
26992699 */
27002700 public class TestCases {
27012701
2702+ /**
2703+ * Delete test cases.
2704+ *
2705+ * Create a request for the method "testCases.batchDelete".
2706+ *
2707+ * This request holds the parameters needed by the firebaseappdistribution server. After setting
2708+ * any optional parameters, call the {@link BatchDelete#execute()} method to invoke the remote
2709+ * operation.
2710+ *
2711+ * @param parent Required. The parent resource where these test cases will be deleted. Format:
2712+ * `projects/{project_number}/apps/{app_id}`
2713+ * @param content the {@link com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest}
2714+ * @return the request
2715+ */
2716+ public BatchDelete batchDelete (java .lang .String parent , com .google .api .services .firebaseappdistribution .v1alpha .model .GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest content ) throws java .io .IOException {
2717+ BatchDelete result = new BatchDelete (parent , content );
2718+ initialize (result );
2719+ return result ;
2720+ }
2721+
2722+ public class BatchDelete extends FirebaseAppDistributionRequest <com .google .api .services .firebaseappdistribution .v1alpha .model .GoogleProtobufEmpty > {
2723+
2724+ private static final String REST_PATH = "v1alpha/{+parent}/testCases:batchDelete" ;
2725+
2726+ private final java .util .regex .Pattern PARENT_PATTERN =
2727+ java .util .regex .Pattern .compile ("^projects/[^/]+/apps/[^/]+$" );
2728+
2729+ /**
2730+ * Delete test cases.
2731+ *
2732+ * Create a request for the method "testCases.batchDelete".
2733+ *
2734+ * This request holds the parameters needed by the the firebaseappdistribution server. After
2735+ * setting any optional parameters, call the {@link BatchDelete#execute()} method to invoke the
2736+ * remote operation. <p> {@link
2737+ * BatchDelete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
2738+ * must be called to initialize this instance immediately after invoking the constructor. </p>
2739+ *
2740+ * @param parent Required. The parent resource where these test cases will be deleted. Format:
2741+ * `projects/{project_number}/apps/{app_id}`
2742+ * @param content the {@link com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest}
2743+ * @since 1.13
2744+ */
2745+ protected BatchDelete (java .lang .String parent , com .google .api .services .firebaseappdistribution .v1alpha .model .GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest content ) {
2746+ super (FirebaseAppDistribution .this , "POST" , REST_PATH , content , com .google .api .services .firebaseappdistribution .v1alpha .model .GoogleProtobufEmpty .class );
2747+ this .parent = com .google .api .client .util .Preconditions .checkNotNull (parent , "Required parameter parent must be specified." );
2748+ if (!getSuppressPatternChecks ()) {
2749+ com .google .api .client .util .Preconditions .checkArgument (PARENT_PATTERN .matcher (parent ).matches (),
2750+ "Parameter parent must conform to the pattern " +
2751+ "^projects/[^/]+/apps/[^/]+$" );
2752+ }
2753+ }
2754+
2755+ @ Override
2756+ public BatchDelete set$Xgafv (java .lang .String $Xgafv ) {
2757+ return (BatchDelete ) super .set$Xgafv ($Xgafv );
2758+ }
2759+
2760+ @ Override
2761+ public BatchDelete setAccessToken (java .lang .String accessToken ) {
2762+ return (BatchDelete ) super .setAccessToken (accessToken );
2763+ }
2764+
2765+ @ Override
2766+ public BatchDelete setAlt (java .lang .String alt ) {
2767+ return (BatchDelete ) super .setAlt (alt );
2768+ }
2769+
2770+ @ Override
2771+ public BatchDelete setCallback (java .lang .String callback ) {
2772+ return (BatchDelete ) super .setCallback (callback );
2773+ }
2774+
2775+ @ Override
2776+ public BatchDelete setFields (java .lang .String fields ) {
2777+ return (BatchDelete ) super .setFields (fields );
2778+ }
2779+
2780+ @ Override
2781+ public BatchDelete setKey (java .lang .String key ) {
2782+ return (BatchDelete ) super .setKey (key );
2783+ }
2784+
2785+ @ Override
2786+ public BatchDelete setOauthToken (java .lang .String oauthToken ) {
2787+ return (BatchDelete ) super .setOauthToken (oauthToken );
2788+ }
2789+
2790+ @ Override
2791+ public BatchDelete setPrettyPrint (java .lang .Boolean prettyPrint ) {
2792+ return (BatchDelete ) super .setPrettyPrint (prettyPrint );
2793+ }
2794+
2795+ @ Override
2796+ public BatchDelete setQuotaUser (java .lang .String quotaUser ) {
2797+ return (BatchDelete ) super .setQuotaUser (quotaUser );
2798+ }
2799+
2800+ @ Override
2801+ public BatchDelete setUploadType (java .lang .String uploadType ) {
2802+ return (BatchDelete ) super .setUploadType (uploadType );
2803+ }
2804+
2805+ @ Override
2806+ public BatchDelete setUploadProtocol (java .lang .String uploadProtocol ) {
2807+ return (BatchDelete ) super .setUploadProtocol (uploadProtocol );
2808+ }
2809+
2810+ /**
2811+ * Required. The parent resource where these test cases will be deleted. Format:
2812+ * `projects/{project_number}/apps/{app_id}`
2813+ */
2814+ @ com .google .api .client .util .Key
2815+ private java .lang .String parent ;
2816+
2817+ /** Required. The parent resource where these test cases will be deleted. Format:
2818+ `projects/{project_number}/apps/{app_id}`
2819+ */
2820+ public java .lang .String getParent () {
2821+ return parent ;
2822+ }
2823+
2824+ /**
2825+ * Required. The parent resource where these test cases will be deleted. Format:
2826+ * `projects/{project_number}/apps/{app_id}`
2827+ */
2828+ public BatchDelete setParent (java .lang .String parent ) {
2829+ if (!getSuppressPatternChecks ()) {
2830+ com .google .api .client .util .Preconditions .checkArgument (PARENT_PATTERN .matcher (parent ).matches (),
2831+ "Parameter parent must conform to the pattern " +
2832+ "^projects/[^/]+/apps/[^/]+$" );
2833+ }
2834+ this .parent = parent ;
2835+ return this ;
2836+ }
2837+
2838+ @ Override
2839+ public BatchDelete set (String parameterName , Object value ) {
2840+ return (BatchDelete ) super .set (parameterName , value );
2841+ }
2842+ }
27022843 /**
27032844 * Create a new test case.
27042845 *
0 commit comments