Skip to content

Commit f81607d

Browse files
1 parent 6173377 commit f81607d

File tree

6 files changed

+323
-6
lines changed

6 files changed

+323
-6
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-rev20250120-2.0.0</version>
25+
<version>v1-rev20250205-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-rev20250120-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workloadmanager:v1-rev20250205-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: 203 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3454,6 +3454,209 @@ public List set(String parameterName, Object value) {
34543454
}
34553455

34563456
}
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+
}
34573660
}
34583661
}
34593662

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ public final class SapDiscoveryResourceInstanceProperties extends com.google.api
4343
@com.google.api.client.util.Key
4444
private java.util.List<java.lang.String> clusterInstances;
4545

46+
/**
47+
* Optional. Disk mounts on the instance.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.util.List<SapDiscoveryResourceInstancePropertiesDiskMount> diskMounts;
52+
4653
/**
4754
* Optional. The VM's instance number.
4855
* The value may be {@code null}.
@@ -105,6 +112,23 @@ public SapDiscoveryResourceInstanceProperties setClusterInstances(java.util.List
105112
return this;
106113
}
107114

115+
/**
116+
* Optional. Disk mounts on the instance.
117+
* @return value or {@code null} for none
118+
*/
119+
public java.util.List<SapDiscoveryResourceInstancePropertiesDiskMount> getDiskMounts() {
120+
return diskMounts;
121+
}
122+
123+
/**
124+
* Optional. Disk mounts on the instance.
125+
* @param diskMounts diskMounts or {@code null} for none
126+
*/
127+
public SapDiscoveryResourceInstanceProperties setDiskMounts(java.util.List<SapDiscoveryResourceInstancePropertiesDiskMount> diskMounts) {
128+
this.diskMounts = diskMounts;
129+
return this;
130+
}
131+
108132
/**
109133
* Optional. The VM's instance number.
110134
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.workloadmanager.v1.model;
18+
19+
/**
20+
* Disk mount on the instance.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Workload Manager API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class SapDiscoveryResourceInstancePropertiesDiskMount extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Filesystem mount point.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String mountPoint;
38+
39+
/**
40+
* Optional. Name of the disk.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String name;
45+
46+
/**
47+
* Optional. Filesystem mount point.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getMountPoint() {
51+
return mountPoint;
52+
}
53+
54+
/**
55+
* Optional. Filesystem mount point.
56+
* @param mountPoint mountPoint or {@code null} for none
57+
*/
58+
public SapDiscoveryResourceInstancePropertiesDiskMount setMountPoint(java.lang.String mountPoint) {
59+
this.mountPoint = mountPoint;
60+
return this;
61+
}
62+
63+
/**
64+
* Optional. Name of the disk.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getName() {
68+
return name;
69+
}
70+
71+
/**
72+
* Optional. Name of the disk.
73+
* @param name name or {@code null} for none
74+
*/
75+
public SapDiscoveryResourceInstancePropertiesDiskMount setName(java.lang.String name) {
76+
this.name = name;
77+
return this;
78+
}
79+
80+
@Override
81+
public SapDiscoveryResourceInstancePropertiesDiskMount set(String fieldName, Object value) {
82+
return (SapDiscoveryResourceInstancePropertiesDiskMount) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public SapDiscoveryResourceInstancePropertiesDiskMount clone() {
87+
return (SapDiscoveryResourceInstancePropertiesDiskMount) super.clone();
88+
}
89+
90+
}

clients/google-api-services-workloadmanager/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-workloadmanager</artifactId>
11-
<version>v1-rev20250120-2.0.0</version>
12-
<name>Workload Manager API v1-rev20250120-2.0.0</name>
11+
<version>v1-rev20250205-2.0.0</version>
12+
<name>Workload Manager API v1-rev20250205-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-workloadmanager/v1/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-rev20250120-2.0.0</version>
25+
<version>v1-rev20250205-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-rev20250120-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workloadmanager:v1-rev20250205-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)