@@ -557,144 +557,6 @@ public Discoveredprofiles discoveredprofiles() {
557557 */
558558 public class Discoveredprofiles {
559559
560- /**
561- * Gets details of a discovered workload profile.
562- *
563- * Create a request for the method "discoveredprofiles.get".
564- *
565- * This request holds the parameters needed by the workloadmanager server. After setting any
566- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
567- *
568- * @param name Required. Name of the resource
569- * @return the request
570- */
571- public Get get (java .lang .String name ) throws java .io .IOException {
572- Get result = new Get (name );
573- initialize (result );
574- return result ;
575- }
576-
577- public class Get extends WorkloadManagerRequest <com .google .api .services .workloadmanager .v1 .model .WorkloadProfile > {
578-
579- private static final String REST_PATH = "v1/{+name}" ;
580-
581- private final java .util .regex .Pattern NAME_PATTERN =
582- java .util .regex .Pattern .compile ("^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+$" );
583-
584- /**
585- * Gets details of a discovered workload profile.
586- *
587- * Create a request for the method "discoveredprofiles.get".
588- *
589- * This request holds the parameters needed by the the workloadmanager server. After setting any
590- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. <p>
591- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
592- * must be called to initialize this instance immediately after invoking the constructor. </p>
593- *
594- * @param name Required. Name of the resource
595- * @since 1.13
596- */
597- protected Get (java .lang .String name ) {
598- super (WorkloadManager .this , "GET" , REST_PATH , null , com .google .api .services .workloadmanager .v1 .model .WorkloadProfile .class );
599- this .name = com .google .api .client .util .Preconditions .checkNotNull (name , "Required parameter name must be specified." );
600- if (!getSuppressPatternChecks ()) {
601- com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
602- "Parameter name must conform to the pattern " +
603- "^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+$" );
604- }
605- }
606-
607- @ Override
608- public com .google .api .client .http .HttpResponse executeUsingHead () throws java .io .IOException {
609- return super .executeUsingHead ();
610- }
611-
612- @ Override
613- public com .google .api .client .http .HttpRequest buildHttpRequestUsingHead () throws java .io .IOException {
614- return super .buildHttpRequestUsingHead ();
615- }
616-
617- @ Override
618- public Get set$Xgafv (java .lang .String $Xgafv ) {
619- return (Get ) super .set$Xgafv ($Xgafv );
620- }
621-
622- @ Override
623- public Get setAccessToken (java .lang .String accessToken ) {
624- return (Get ) super .setAccessToken (accessToken );
625- }
626-
627- @ Override
628- public Get setAlt (java .lang .String alt ) {
629- return (Get ) super .setAlt (alt );
630- }
631-
632- @ Override
633- public Get setCallback (java .lang .String callback ) {
634- return (Get ) super .setCallback (callback );
635- }
636-
637- @ Override
638- public Get setFields (java .lang .String fields ) {
639- return (Get ) super .setFields (fields );
640- }
641-
642- @ Override
643- public Get setKey (java .lang .String key ) {
644- return (Get ) super .setKey (key );
645- }
646-
647- @ Override
648- public Get setOauthToken (java .lang .String oauthToken ) {
649- return (Get ) super .setOauthToken (oauthToken );
650- }
651-
652- @ Override
653- public Get setPrettyPrint (java .lang .Boolean prettyPrint ) {
654- return (Get ) super .setPrettyPrint (prettyPrint );
655- }
656-
657- @ Override
658- public Get setQuotaUser (java .lang .String quotaUser ) {
659- return (Get ) super .setQuotaUser (quotaUser );
660- }
661-
662- @ Override
663- public Get setUploadType (java .lang .String uploadType ) {
664- return (Get ) super .setUploadType (uploadType );
665- }
666-
667- @ Override
668- public Get setUploadProtocol (java .lang .String uploadProtocol ) {
669- return (Get ) super .setUploadProtocol (uploadProtocol );
670- }
671-
672- /** Required. Name of the resource */
673- @ com .google .api .client .util .Key
674- private java .lang .String name ;
675-
676- /** Required. Name of the resource
677- */
678- public java .lang .String getName () {
679- return name ;
680- }
681-
682- /** Required. Name of the resource */
683- public Get setName (java .lang .String name ) {
684- if (!getSuppressPatternChecks ()) {
685- com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
686- "Parameter name must conform to the pattern " +
687- "^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+$" );
688- }
689- this .name = name ;
690- return this ;
691- }
692-
693- @ Override
694- public Get set (String parameterName , Object value ) {
695- return (Get ) super .set (parameterName , value );
696- }
697- }
698560 /**
699561 * List discovered workload profiles
700562 *
@@ -889,166 +751,6 @@ public List set(String parameterName, Object value) {
889751 }
890752 }
891753
892- /**
893- * An accessor for creating requests from the Healthes collection.
894- *
895- * <p>The typical use is:</p>
896- * <pre>
897- * {@code WorkloadManager workloadmanager = new WorkloadManager(...);}
898- * {@code WorkloadManager.Healthes.List request = workloadmanager.healthes().list(parameters ...)}
899- * </pre>
900- *
901- * @return the resource collection
902- */
903- public Healthes healthes () {
904- return new Healthes ();
905- }
906-
907- /**
908- * The "healthes" collection of methods.
909- */
910- public class Healthes {
911-
912- /**
913- * Get the health of a discovered workload profile.
914- *
915- * Create a request for the method "healthes.get".
916- *
917- * This request holds the parameters needed by the workloadmanager server. After setting any
918- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
919- *
920- * @param name Required. The resource name
921- * @return the request
922- */
923- public Get get (java .lang .String name ) throws java .io .IOException {
924- Get result = new Get (name );
925- initialize (result );
926- return result ;
927- }
928-
929- public class Get extends WorkloadManagerRequest <com .google .api .services .workloadmanager .v1 .model .WorkloadProfileHealth > {
930-
931- private static final String REST_PATH = "v1/{+name}" ;
932-
933- private final java .util .regex .Pattern NAME_PATTERN =
934- java .util .regex .Pattern .compile ("^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+/healthes/[^/]+$" );
935-
936- /**
937- * Get the health of a discovered workload profile.
938- *
939- * Create a request for the method "healthes.get".
940- *
941- * This request holds the parameters needed by the the workloadmanager server. After setting any
942- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. <p>
943- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
944- * must be called to initialize this instance immediately after invoking the constructor. </p>
945- *
946- * @param name Required. The resource name
947- * @since 1.13
948- */
949- protected Get (java .lang .String name ) {
950- super (WorkloadManager .this , "GET" , REST_PATH , null , com .google .api .services .workloadmanager .v1 .model .WorkloadProfileHealth .class );
951- this .name = com .google .api .client .util .Preconditions .checkNotNull (name , "Required parameter name must be specified." );
952- if (!getSuppressPatternChecks ()) {
953- com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
954- "Parameter name must conform to the pattern " +
955- "^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+/healthes/[^/]+$" );
956- }
957- }
958-
959- @ Override
960- public com .google .api .client .http .HttpResponse executeUsingHead () throws java .io .IOException {
961- return super .executeUsingHead ();
962- }
963-
964- @ Override
965- public com .google .api .client .http .HttpRequest buildHttpRequestUsingHead () throws java .io .IOException {
966- return super .buildHttpRequestUsingHead ();
967- }
968-
969- @ Override
970- public Get set$Xgafv (java .lang .String $Xgafv ) {
971- return (Get ) super .set$Xgafv ($Xgafv );
972- }
973-
974- @ Override
975- public Get setAccessToken (java .lang .String accessToken ) {
976- return (Get ) super .setAccessToken (accessToken );
977- }
978-
979- @ Override
980- public Get setAlt (java .lang .String alt ) {
981- return (Get ) super .setAlt (alt );
982- }
983-
984- @ Override
985- public Get setCallback (java .lang .String callback ) {
986- return (Get ) super .setCallback (callback );
987- }
988-
989- @ Override
990- public Get setFields (java .lang .String fields ) {
991- return (Get ) super .setFields (fields );
992- }
993-
994- @ Override
995- public Get setKey (java .lang .String key ) {
996- return (Get ) super .setKey (key );
997- }
998-
999- @ Override
1000- public Get setOauthToken (java .lang .String oauthToken ) {
1001- return (Get ) super .setOauthToken (oauthToken );
1002- }
1003-
1004- @ Override
1005- public Get setPrettyPrint (java .lang .Boolean prettyPrint ) {
1006- return (Get ) super .setPrettyPrint (prettyPrint );
1007- }
1008-
1009- @ Override
1010- public Get setQuotaUser (java .lang .String quotaUser ) {
1011- return (Get ) super .setQuotaUser (quotaUser );
1012- }
1013-
1014- @ Override
1015- public Get setUploadType (java .lang .String uploadType ) {
1016- return (Get ) super .setUploadType (uploadType );
1017- }
1018-
1019- @ Override
1020- public Get setUploadProtocol (java .lang .String uploadProtocol ) {
1021- return (Get ) super .setUploadProtocol (uploadProtocol );
1022- }
1023-
1024- /** Required. The resource name */
1025- @ com .google .api .client .util .Key
1026- private java .lang .String name ;
1027-
1028- /** Required. The resource name
1029- */
1030- public java .lang .String getName () {
1031- return name ;
1032- }
1033-
1034- /** Required. The resource name */
1035- public Get setName (java .lang .String name ) {
1036- if (!getSuppressPatternChecks ()) {
1037- com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
1038- "Parameter name must conform to the pattern " +
1039- "^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+/healthes/[^/]+$" );
1040- }
1041- this .name = name ;
1042- return this ;
1043- }
1044-
1045- @ Override
1046- public Get set (String parameterName , Object value ) {
1047- return (Get ) super .set (parameterName , value );
1048- }
1049- }
1050-
1051- }
1052754 }
1053755 /**
1054756 * An accessor for creating requests from the Evaluations collection.
0 commit comments