@@ -3454,6 +3454,209 @@ public List set(String parameterName, Object value) {
3454
3454
}
3455
3455
3456
3456
}
3457
+ /**
3458
+ * An accessor for creating requests from the SapSystems collection.
3459
+ *
3460
+ * <p>The typical use is:</p>
3461
+ * <pre>
3462
+ * {@code WorkloadManager workloadmanager = new WorkloadManager(...);}
3463
+ * {@code WorkloadManager.SapSystems.List request = workloadmanager.sapSystems().list(parameters ...)}
3464
+ * </pre>
3465
+ *
3466
+ * @return the resource collection
3467
+ */
3468
+ public SapSystems sapSystems () {
3469
+ return new SapSystems ();
3470
+ }
3471
+
3472
+ /**
3473
+ * The "sapSystems" collection of methods.
3474
+ */
3475
+ public class SapSystems {
3476
+
3477
+ /**
3478
+ * Delete the data insights from workload manager data warehouse.
3479
+ *
3480
+ * Create a request for the method "sapSystems.delete".
3481
+ *
3482
+ * This request holds the parameters needed by the workloadmanager server. After setting any
3483
+ * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
3484
+ *
3485
+ * @param name Required. The system id of the SAP system resource to delete. Formatted as
3486
+ * projects/{project}/locations/{location}/sapSystems/{sap_system_id}
3487
+ * @return the request
3488
+ */
3489
+ public Delete delete (java .lang .String name ) throws java .io .IOException {
3490
+ Delete result = new Delete (name );
3491
+ initialize (result );
3492
+ return result ;
3493
+ }
3494
+
3495
+ public class Delete extends WorkloadManagerRequest <com .google .api .services .workloadmanager .v1 .model .Empty > {
3496
+
3497
+ private static final String REST_PATH = "v1/{+name}" ;
3498
+
3499
+ private final java .util .regex .Pattern NAME_PATTERN =
3500
+ java .util .regex .Pattern .compile ("^projects/[^/]+/locations/[^/]+/sapSystems/[^/]+$" );
3501
+
3502
+ /**
3503
+ * Delete the data insights from workload manager data warehouse.
3504
+ *
3505
+ * Create a request for the method "sapSystems.delete".
3506
+ *
3507
+ * This request holds the parameters needed by the the workloadmanager server. After setting any
3508
+ * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
3509
+ * <p> {@link
3510
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
3511
+ * be called to initialize this instance immediately after invoking the constructor. </p>
3512
+ *
3513
+ * @param name Required. The system id of the SAP system resource to delete. Formatted as
3514
+ * projects/{project}/locations/{location}/sapSystems/{sap_system_id}
3515
+ * @since 1.13
3516
+ */
3517
+ protected Delete (java .lang .String name ) {
3518
+ super (WorkloadManager .this , "DELETE" , REST_PATH , null , com .google .api .services .workloadmanager .v1 .model .Empty .class );
3519
+ this .name = com .google .api .client .util .Preconditions .checkNotNull (name , "Required parameter name must be specified." );
3520
+ if (!getSuppressPatternChecks ()) {
3521
+ com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
3522
+ "Parameter name must conform to the pattern " +
3523
+ "^projects/[^/]+/locations/[^/]+/sapSystems/[^/]+$" );
3524
+ }
3525
+ }
3526
+
3527
+ @ Override
3528
+ public Delete set$Xgafv (java .lang .String $Xgafv ) {
3529
+ return (Delete ) super .set$Xgafv ($Xgafv );
3530
+ }
3531
+
3532
+ @ Override
3533
+ public Delete setAccessToken (java .lang .String accessToken ) {
3534
+ return (Delete ) super .setAccessToken (accessToken );
3535
+ }
3536
+
3537
+ @ Override
3538
+ public Delete setAlt (java .lang .String alt ) {
3539
+ return (Delete ) super .setAlt (alt );
3540
+ }
3541
+
3542
+ @ Override
3543
+ public Delete setCallback (java .lang .String callback ) {
3544
+ return (Delete ) super .setCallback (callback );
3545
+ }
3546
+
3547
+ @ Override
3548
+ public Delete setFields (java .lang .String fields ) {
3549
+ return (Delete ) super .setFields (fields );
3550
+ }
3551
+
3552
+ @ Override
3553
+ public Delete setKey (java .lang .String key ) {
3554
+ return (Delete ) super .setKey (key );
3555
+ }
3556
+
3557
+ @ Override
3558
+ public Delete setOauthToken (java .lang .String oauthToken ) {
3559
+ return (Delete ) super .setOauthToken (oauthToken );
3560
+ }
3561
+
3562
+ @ Override
3563
+ public Delete setPrettyPrint (java .lang .Boolean prettyPrint ) {
3564
+ return (Delete ) super .setPrettyPrint (prettyPrint );
3565
+ }
3566
+
3567
+ @ Override
3568
+ public Delete setQuotaUser (java .lang .String quotaUser ) {
3569
+ return (Delete ) super .setQuotaUser (quotaUser );
3570
+ }
3571
+
3572
+ @ Override
3573
+ public Delete setUploadType (java .lang .String uploadType ) {
3574
+ return (Delete ) super .setUploadType (uploadType );
3575
+ }
3576
+
3577
+ @ Override
3578
+ public Delete setUploadProtocol (java .lang .String uploadProtocol ) {
3579
+ return (Delete ) super .setUploadProtocol (uploadProtocol );
3580
+ }
3581
+
3582
+ /**
3583
+ * Required. The system id of the SAP system resource to delete. Formatted as
3584
+ * projects/{project}/locations/{location}/sapSystems/{sap_system_id}
3585
+ */
3586
+ @ com .google .api .client .util .Key
3587
+ private java .lang .String name ;
3588
+
3589
+ /** Required. The system id of the SAP system resource to delete. Formatted as
3590
+ projects/{project}/locations/{location}/sapSystems/{sap_system_id}
3591
+ */
3592
+ public java .lang .String getName () {
3593
+ return name ;
3594
+ }
3595
+
3596
+ /**
3597
+ * Required. The system id of the SAP system resource to delete. Formatted as
3598
+ * projects/{project}/locations/{location}/sapSystems/{sap_system_id}
3599
+ */
3600
+ public Delete setName (java .lang .String name ) {
3601
+ if (!getSuppressPatternChecks ()) {
3602
+ com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
3603
+ "Parameter name must conform to the pattern " +
3604
+ "^projects/[^/]+/locations/[^/]+/sapSystems/[^/]+$" );
3605
+ }
3606
+ this .name = name ;
3607
+ return this ;
3608
+ }
3609
+
3610
+ /**
3611
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so
3612
+ * that if you must retry your request, the server will know to ignore the request if it
3613
+ * has already been completed. The server will guarantee that for at least 60 minutes
3614
+ * since the first request. For example, consider a situation where you make an initial
3615
+ * request and the request times out. If you make the request again with the same request
3616
+ * ID, the server can check if original operation with the same request ID was received,
3617
+ * and if so, will ignore the second request. This prevents clients from accidentally
3618
+ * creating duplicate commitments. The request ID must be a valid UUID with the exception
3619
+ * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3620
+ */
3621
+ @ com .google .api .client .util .Key
3622
+ private java .lang .String requestId ;
3623
+
3624
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
3625
+ must retry your request, the server will know to ignore the request if it has already been
3626
+ completed. The server will guarantee that for at least 60 minutes since the first request. For
3627
+ example, consider a situation where you make an initial request and the request times out. If you
3628
+ make the request again with the same request ID, the server can check if original operation with
3629
+ the same request ID was received, and if so, will ignore the second request. This prevents clients
3630
+ from accidentally creating duplicate commitments. The request ID must be a valid UUID with the
3631
+ exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3632
+ */
3633
+ public java .lang .String getRequestId () {
3634
+ return requestId ;
3635
+ }
3636
+
3637
+ /**
3638
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so
3639
+ * that if you must retry your request, the server will know to ignore the request if it
3640
+ * has already been completed. The server will guarantee that for at least 60 minutes
3641
+ * since the first request. For example, consider a situation where you make an initial
3642
+ * request and the request times out. If you make the request again with the same request
3643
+ * ID, the server can check if original operation with the same request ID was received,
3644
+ * and if so, will ignore the second request. This prevents clients from accidentally
3645
+ * creating duplicate commitments. The request ID must be a valid UUID with the exception
3646
+ * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3647
+ */
3648
+ public Delete setRequestId (java .lang .String requestId ) {
3649
+ this .requestId = requestId ;
3650
+ return this ;
3651
+ }
3652
+
3653
+ @ Override
3654
+ public Delete set (String parameterName , Object value ) {
3655
+ return (Delete ) super .set (parameterName , value );
3656
+ }
3657
+ }
3658
+
3659
+ }
3457
3660
}
3458
3661
}
3459
3662
0 commit comments