Skip to content

Commit dd5d117

Browse files
chore: regenerate workloadmanager client
1 parent 5ec85f7 commit dd5d117

File tree

16 files changed

+914
-46
lines changed

16 files changed

+914
-46
lines changed

clients/google-api-services-workloadmanager/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-workloadmanager</artifactId>
25-
<version>v1-rev20251112-2.0.0</version>
25+
<version>v1-rev20260128-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-workloadmanager:v1-rev20251112-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workloadmanager:v1-rev20260128-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/WorkloadManager.java

Lines changed: 306 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,10 @@ public Get set(String parameterName, Object value) {
312312
}
313313
}
314314
/**
315-
* Lists information about the supported locations for this service.
315+
* Lists information about the supported locations for this service. This method can be called in
316+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
317+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
318+
* public locations as well as private or other locations specifically visible to the project.
316319
*
317320
* Create a request for the method "locations.list".
318321
*
@@ -336,7 +339,10 @@ public class List extends WorkloadManagerRequest<com.google.api.services.workloa
336339
java.util.regex.Pattern.compile("^projects/[^/]+$");
337340

338341
/**
339-
* Lists information about the supported locations for this service.
342+
* Lists information about the supported locations for this service. This method can be called in
343+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
344+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
345+
* public locations as well as private or other locations specifically visible to the project.
340346
*
341347
* Create a request for the method "locations.list".
342348
*
@@ -557,6 +563,144 @@ public Discoveredprofiles discoveredprofiles() {
557563
*/
558564
public class Discoveredprofiles {
559565

566+
/**
567+
* Gets details of a discovered workload profile.
568+
*
569+
* Create a request for the method "discoveredprofiles.get".
570+
*
571+
* This request holds the parameters needed by the workloadmanager server. After setting any
572+
* optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
573+
*
574+
* @param name Required. Name of the resource
575+
* @return the request
576+
*/
577+
public Get get(java.lang.String name) throws java.io.IOException {
578+
Get result = new Get(name);
579+
initialize(result);
580+
return result;
581+
}
582+
583+
public class Get extends WorkloadManagerRequest<com.google.api.services.workloadmanager.v1.model.WorkloadProfile> {
584+
585+
private static final String REST_PATH = "v1/{+name}";
586+
587+
private final java.util.regex.Pattern NAME_PATTERN =
588+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+$");
589+
590+
/**
591+
* Gets details of a discovered workload profile.
592+
*
593+
* Create a request for the method "discoveredprofiles.get".
594+
*
595+
* This request holds the parameters needed by the the workloadmanager server. After setting any
596+
* optional parameters, call the {@link Get#execute()} method to invoke the remote operation. <p>
597+
* {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
598+
* must be called to initialize this instance immediately after invoking the constructor. </p>
599+
*
600+
* @param name Required. Name of the resource
601+
* @since 1.13
602+
*/
603+
protected Get(java.lang.String name) {
604+
super(WorkloadManager.this, "GET", REST_PATH, null, com.google.api.services.workloadmanager.v1.model.WorkloadProfile.class);
605+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
606+
if (!getSuppressPatternChecks()) {
607+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
608+
"Parameter name must conform to the pattern " +
609+
"^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+$");
610+
}
611+
}
612+
613+
@Override
614+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
615+
return super.executeUsingHead();
616+
}
617+
618+
@Override
619+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
620+
return super.buildHttpRequestUsingHead();
621+
}
622+
623+
@Override
624+
public Get set$Xgafv(java.lang.String $Xgafv) {
625+
return (Get) super.set$Xgafv($Xgafv);
626+
}
627+
628+
@Override
629+
public Get setAccessToken(java.lang.String accessToken) {
630+
return (Get) super.setAccessToken(accessToken);
631+
}
632+
633+
@Override
634+
public Get setAlt(java.lang.String alt) {
635+
return (Get) super.setAlt(alt);
636+
}
637+
638+
@Override
639+
public Get setCallback(java.lang.String callback) {
640+
return (Get) super.setCallback(callback);
641+
}
642+
643+
@Override
644+
public Get setFields(java.lang.String fields) {
645+
return (Get) super.setFields(fields);
646+
}
647+
648+
@Override
649+
public Get setKey(java.lang.String key) {
650+
return (Get) super.setKey(key);
651+
}
652+
653+
@Override
654+
public Get setOauthToken(java.lang.String oauthToken) {
655+
return (Get) super.setOauthToken(oauthToken);
656+
}
657+
658+
@Override
659+
public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
660+
return (Get) super.setPrettyPrint(prettyPrint);
661+
}
662+
663+
@Override
664+
public Get setQuotaUser(java.lang.String quotaUser) {
665+
return (Get) super.setQuotaUser(quotaUser);
666+
}
667+
668+
@Override
669+
public Get setUploadType(java.lang.String uploadType) {
670+
return (Get) super.setUploadType(uploadType);
671+
}
672+
673+
@Override
674+
public Get setUploadProtocol(java.lang.String uploadProtocol) {
675+
return (Get) super.setUploadProtocol(uploadProtocol);
676+
}
677+
678+
/** Required. Name of the resource */
679+
@com.google.api.client.util.Key
680+
private java.lang.String name;
681+
682+
/** Required. Name of the resource
683+
*/
684+
public java.lang.String getName() {
685+
return name;
686+
}
687+
688+
/** Required. Name of the resource */
689+
public Get setName(java.lang.String name) {
690+
if (!getSuppressPatternChecks()) {
691+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
692+
"Parameter name must conform to the pattern " +
693+
"^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+$");
694+
}
695+
this.name = name;
696+
return this;
697+
}
698+
699+
@Override
700+
public Get set(String parameterName, Object value) {
701+
return (Get) super.set(parameterName, value);
702+
}
703+
}
560704
/**
561705
* List discovered workload profiles
562706
*
@@ -751,6 +895,166 @@ public List set(String parameterName, Object value) {
751895
}
752896
}
753897

898+
/**
899+
* An accessor for creating requests from the Health collection.
900+
*
901+
* <p>The typical use is:</p>
902+
* <pre>
903+
* {@code WorkloadManager workloadmanager = new WorkloadManager(...);}
904+
* {@code WorkloadManager.Health.List request = workloadmanager.health().list(parameters ...)}
905+
* </pre>
906+
*
907+
* @return the resource collection
908+
*/
909+
public Health health() {
910+
return new Health();
911+
}
912+
913+
/**
914+
* The "health" collection of methods.
915+
*/
916+
public class Health {
917+
918+
/**
919+
* Get the health of a discovered workload profile.
920+
*
921+
* Create a request for the method "health.get".
922+
*
923+
* This request holds the parameters needed by the workloadmanager server. After setting any
924+
* optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
925+
*
926+
* @param name Required. The resource name
927+
* @return the request
928+
*/
929+
public Get get(java.lang.String name) throws java.io.IOException {
930+
Get result = new Get(name);
931+
initialize(result);
932+
return result;
933+
}
934+
935+
public class Get extends WorkloadManagerRequest<com.google.api.services.workloadmanager.v1.model.WorkloadProfileHealth> {
936+
937+
private static final String REST_PATH = "v1/{+name}";
938+
939+
private final java.util.regex.Pattern NAME_PATTERN =
940+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+/health/[^/]+$");
941+
942+
/**
943+
* Get the health of a discovered workload profile.
944+
*
945+
* Create a request for the method "health.get".
946+
*
947+
* This request holds the parameters needed by the the workloadmanager server. After setting any
948+
* optional parameters, call the {@link Get#execute()} method to invoke the remote operation. <p>
949+
* {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
950+
* must be called to initialize this instance immediately after invoking the constructor. </p>
951+
*
952+
* @param name Required. The resource name
953+
* @since 1.13
954+
*/
955+
protected Get(java.lang.String name) {
956+
super(WorkloadManager.this, "GET", REST_PATH, null, com.google.api.services.workloadmanager.v1.model.WorkloadProfileHealth.class);
957+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
958+
if (!getSuppressPatternChecks()) {
959+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
960+
"Parameter name must conform to the pattern " +
961+
"^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+/health/[^/]+$");
962+
}
963+
}
964+
965+
@Override
966+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
967+
return super.executeUsingHead();
968+
}
969+
970+
@Override
971+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
972+
return super.buildHttpRequestUsingHead();
973+
}
974+
975+
@Override
976+
public Get set$Xgafv(java.lang.String $Xgafv) {
977+
return (Get) super.set$Xgafv($Xgafv);
978+
}
979+
980+
@Override
981+
public Get setAccessToken(java.lang.String accessToken) {
982+
return (Get) super.setAccessToken(accessToken);
983+
}
984+
985+
@Override
986+
public Get setAlt(java.lang.String alt) {
987+
return (Get) super.setAlt(alt);
988+
}
989+
990+
@Override
991+
public Get setCallback(java.lang.String callback) {
992+
return (Get) super.setCallback(callback);
993+
}
994+
995+
@Override
996+
public Get setFields(java.lang.String fields) {
997+
return (Get) super.setFields(fields);
998+
}
999+
1000+
@Override
1001+
public Get setKey(java.lang.String key) {
1002+
return (Get) super.setKey(key);
1003+
}
1004+
1005+
@Override
1006+
public Get setOauthToken(java.lang.String oauthToken) {
1007+
return (Get) super.setOauthToken(oauthToken);
1008+
}
1009+
1010+
@Override
1011+
public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
1012+
return (Get) super.setPrettyPrint(prettyPrint);
1013+
}
1014+
1015+
@Override
1016+
public Get setQuotaUser(java.lang.String quotaUser) {
1017+
return (Get) super.setQuotaUser(quotaUser);
1018+
}
1019+
1020+
@Override
1021+
public Get setUploadType(java.lang.String uploadType) {
1022+
return (Get) super.setUploadType(uploadType);
1023+
}
1024+
1025+
@Override
1026+
public Get setUploadProtocol(java.lang.String uploadProtocol) {
1027+
return (Get) super.setUploadProtocol(uploadProtocol);
1028+
}
1029+
1030+
/** Required. The resource name */
1031+
@com.google.api.client.util.Key
1032+
private java.lang.String name;
1033+
1034+
/** Required. The resource name
1035+
*/
1036+
public java.lang.String getName() {
1037+
return name;
1038+
}
1039+
1040+
/** Required. The resource name */
1041+
public Get setName(java.lang.String name) {
1042+
if (!getSuppressPatternChecks()) {
1043+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
1044+
"Parameter name must conform to the pattern " +
1045+
"^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+/health/[^/]+$");
1046+
}
1047+
this.name = name;
1048+
return this;
1049+
}
1050+
1051+
@Override
1052+
public Get set(String parameterName, Object value) {
1053+
return (Get) super.set(parameterName, value);
1054+
}
1055+
}
1056+
1057+
}
7541058
}
7551059
/**
7561060
* An accessor for creating requests from the Evaluations collection.

0 commit comments

Comments
 (0)