Skip to content

Commit 7c441a0

Browse files
chore: regenerate netapp client
1 parent abed618 commit 7c441a0

7 files changed

Lines changed: 488 additions & 6 deletions

File tree

clients/google-api-services-netapp/v1beta1/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-netapp</artifactId>
25-
<version>v1beta1-rev20260518-2.0.0</version>
25+
<version>v1beta1-rev20260621-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-netapp:v1beta1-rev20260518-2.0.0'
38+
implementation 'com.google.apis:google-api-services-netapp:v1beta1-rev20260621-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/NetAppFiles.java

Lines changed: 296 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9393,6 +9393,158 @@ public Get set(String parameterName, Object value) {
93939393
return (Get) super.set(parameterName, value);
93949394
}
93959395
}
9396+
/**
9397+
* Retrieves the current state, progress, and details of a split operation for a volume. This method
9398+
* is relevant when the volume is a clone. For volumes that are not clones, this method will return
9399+
* an error.
9400+
*
9401+
* Create a request for the method "volumes.getSplitStatus".
9402+
*
9403+
* This request holds the parameters needed by the netapp server. After setting any optional
9404+
* parameters, call the {@link GetSplitStatus#execute()} method to invoke the remote operation.
9405+
*
9406+
* @param name Required. The full name of the volume. Format:
9407+
* projects/{project_number}/locations/{location}/volumes/{volume_id}
9408+
* @return the request
9409+
*/
9410+
public GetSplitStatus getSplitStatus(java.lang.String name) throws java.io.IOException {
9411+
GetSplitStatus result = new GetSplitStatus(name);
9412+
initialize(result);
9413+
return result;
9414+
}
9415+
9416+
public class GetSplitStatus extends NetAppFilesRequest<com.google.api.services.netapp.v1beta1.model.SplitStatus> {
9417+
9418+
private static final String REST_PATH = "v1beta1/{+name}:getSplitStatus";
9419+
9420+
private final java.util.regex.Pattern NAME_PATTERN =
9421+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/volumes/[^/]+$");
9422+
9423+
/**
9424+
* Retrieves the current state, progress, and details of a split operation for a volume. This
9425+
* method is relevant when the volume is a clone. For volumes that are not clones, this method
9426+
* will return an error.
9427+
*
9428+
* Create a request for the method "volumes.getSplitStatus".
9429+
*
9430+
* This request holds the parameters needed by the the netapp server. After setting any optional
9431+
* parameters, call the {@link GetSplitStatus#execute()} method to invoke the remote operation.
9432+
* <p> {@link GetSplitStatus#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
9433+
* ientRequest)} must be called to initialize this instance immediately after invoking the
9434+
* constructor. </p>
9435+
*
9436+
* @param name Required. The full name of the volume. Format:
9437+
* projects/{project_number}/locations/{location}/volumes/{volume_id}
9438+
* @since 1.13
9439+
*/
9440+
protected GetSplitStatus(java.lang.String name) {
9441+
super(NetAppFiles.this, "GET", REST_PATH, null, com.google.api.services.netapp.v1beta1.model.SplitStatus.class);
9442+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
9443+
if (!getSuppressPatternChecks()) {
9444+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
9445+
"Parameter name must conform to the pattern " +
9446+
"^projects/[^/]+/locations/[^/]+/volumes/[^/]+$");
9447+
}
9448+
}
9449+
9450+
@Override
9451+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
9452+
return super.executeUsingHead();
9453+
}
9454+
9455+
@Override
9456+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
9457+
return super.buildHttpRequestUsingHead();
9458+
}
9459+
9460+
@Override
9461+
public GetSplitStatus set$Xgafv(java.lang.String $Xgafv) {
9462+
return (GetSplitStatus) super.set$Xgafv($Xgafv);
9463+
}
9464+
9465+
@Override
9466+
public GetSplitStatus setAccessToken(java.lang.String accessToken) {
9467+
return (GetSplitStatus) super.setAccessToken(accessToken);
9468+
}
9469+
9470+
@Override
9471+
public GetSplitStatus setAlt(java.lang.String alt) {
9472+
return (GetSplitStatus) super.setAlt(alt);
9473+
}
9474+
9475+
@Override
9476+
public GetSplitStatus setCallback(java.lang.String callback) {
9477+
return (GetSplitStatus) super.setCallback(callback);
9478+
}
9479+
9480+
@Override
9481+
public GetSplitStatus setFields(java.lang.String fields) {
9482+
return (GetSplitStatus) super.setFields(fields);
9483+
}
9484+
9485+
@Override
9486+
public GetSplitStatus setKey(java.lang.String key) {
9487+
return (GetSplitStatus) super.setKey(key);
9488+
}
9489+
9490+
@Override
9491+
public GetSplitStatus setOauthToken(java.lang.String oauthToken) {
9492+
return (GetSplitStatus) super.setOauthToken(oauthToken);
9493+
}
9494+
9495+
@Override
9496+
public GetSplitStatus setPrettyPrint(java.lang.Boolean prettyPrint) {
9497+
return (GetSplitStatus) super.setPrettyPrint(prettyPrint);
9498+
}
9499+
9500+
@Override
9501+
public GetSplitStatus setQuotaUser(java.lang.String quotaUser) {
9502+
return (GetSplitStatus) super.setQuotaUser(quotaUser);
9503+
}
9504+
9505+
@Override
9506+
public GetSplitStatus setUploadType(java.lang.String uploadType) {
9507+
return (GetSplitStatus) super.setUploadType(uploadType);
9508+
}
9509+
9510+
@Override
9511+
public GetSplitStatus setUploadProtocol(java.lang.String uploadProtocol) {
9512+
return (GetSplitStatus) super.setUploadProtocol(uploadProtocol);
9513+
}
9514+
9515+
/**
9516+
* Required. The full name of the volume. Format:
9517+
* projects/{project_number}/locations/{location}/volumes/{volume_id}
9518+
*/
9519+
@com.google.api.client.util.Key
9520+
private java.lang.String name;
9521+
9522+
/** Required. The full name of the volume. Format:
9523+
projects/{project_number}/locations/{location}/volumes/{volume_id}
9524+
*/
9525+
public java.lang.String getName() {
9526+
return name;
9527+
}
9528+
9529+
/**
9530+
* Required. The full name of the volume. Format:
9531+
* projects/{project_number}/locations/{location}/volumes/{volume_id}
9532+
*/
9533+
public GetSplitStatus setName(java.lang.String name) {
9534+
if (!getSuppressPatternChecks()) {
9535+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
9536+
"Parameter name must conform to the pattern " +
9537+
"^projects/[^/]+/locations/[^/]+/volumes/[^/]+$");
9538+
}
9539+
this.name = name;
9540+
return this;
9541+
}
9542+
9543+
@Override
9544+
public GetSplitStatus set(String parameterName, Object value) {
9545+
return (GetSplitStatus) super.set(parameterName, value);
9546+
}
9547+
}
93969548
/**
93979549
* Lists Volumes in a given project.
93989550
*
@@ -10042,6 +10194,150 @@ public Revert set(String parameterName, Object value) {
1004210194
return (Revert) super.set(parameterName, value);
1004310195
}
1004410196
}
10197+
/**
10198+
* Splits a clone volume from its source volume. This operation will only work for volumes which
10199+
* have clone_details set(clones). For volumes that are not clones, this operation will return an
10200+
* error.
10201+
*
10202+
* Create a request for the method "volumes.startSplit".
10203+
*
10204+
* This request holds the parameters needed by the netapp server. After setting any optional
10205+
* parameters, call the {@link StartSplit#execute()} method to invoke the remote operation.
10206+
*
10207+
* @param name Required. The full name of the clone volume to be split from its source. Format:
10208+
* projects/{project_number}/locations/{location}/volumes/{volume_id}
10209+
* @param content the {@link com.google.api.services.netapp.v1beta1.model.StartSplitRequest}
10210+
* @return the request
10211+
*/
10212+
public StartSplit startSplit(java.lang.String name, com.google.api.services.netapp.v1beta1.model.StartSplitRequest content) throws java.io.IOException {
10213+
StartSplit result = new StartSplit(name, content);
10214+
initialize(result);
10215+
return result;
10216+
}
10217+
10218+
public class StartSplit extends NetAppFilesRequest<com.google.api.services.netapp.v1beta1.model.Operation> {
10219+
10220+
private static final String REST_PATH = "v1beta1/{+name}:startSplit";
10221+
10222+
private final java.util.regex.Pattern NAME_PATTERN =
10223+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/volumes/[^/]+$");
10224+
10225+
/**
10226+
* Splits a clone volume from its source volume. This operation will only work for volumes which
10227+
* have clone_details set(clones). For volumes that are not clones, this operation will return an
10228+
* error.
10229+
*
10230+
* Create a request for the method "volumes.startSplit".
10231+
*
10232+
* This request holds the parameters needed by the the netapp server. After setting any optional
10233+
* parameters, call the {@link StartSplit#execute()} method to invoke the remote operation. <p>
10234+
* {@link
10235+
* StartSplit#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
10236+
* must be called to initialize this instance immediately after invoking the constructor. </p>
10237+
*
10238+
* @param name Required. The full name of the clone volume to be split from its source. Format:
10239+
* projects/{project_number}/locations/{location}/volumes/{volume_id}
10240+
* @param content the {@link com.google.api.services.netapp.v1beta1.model.StartSplitRequest}
10241+
* @since 1.13
10242+
*/
10243+
protected StartSplit(java.lang.String name, com.google.api.services.netapp.v1beta1.model.StartSplitRequest content) {
10244+
super(NetAppFiles.this, "POST", REST_PATH, content, com.google.api.services.netapp.v1beta1.model.Operation.class);
10245+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
10246+
if (!getSuppressPatternChecks()) {
10247+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
10248+
"Parameter name must conform to the pattern " +
10249+
"^projects/[^/]+/locations/[^/]+/volumes/[^/]+$");
10250+
}
10251+
}
10252+
10253+
@Override
10254+
public StartSplit set$Xgafv(java.lang.String $Xgafv) {
10255+
return (StartSplit) super.set$Xgafv($Xgafv);
10256+
}
10257+
10258+
@Override
10259+
public StartSplit setAccessToken(java.lang.String accessToken) {
10260+
return (StartSplit) super.setAccessToken(accessToken);
10261+
}
10262+
10263+
@Override
10264+
public StartSplit setAlt(java.lang.String alt) {
10265+
return (StartSplit) super.setAlt(alt);
10266+
}
10267+
10268+
@Override
10269+
public StartSplit setCallback(java.lang.String callback) {
10270+
return (StartSplit) super.setCallback(callback);
10271+
}
10272+
10273+
@Override
10274+
public StartSplit setFields(java.lang.String fields) {
10275+
return (StartSplit) super.setFields(fields);
10276+
}
10277+
10278+
@Override
10279+
public StartSplit setKey(java.lang.String key) {
10280+
return (StartSplit) super.setKey(key);
10281+
}
10282+
10283+
@Override
10284+
public StartSplit setOauthToken(java.lang.String oauthToken) {
10285+
return (StartSplit) super.setOauthToken(oauthToken);
10286+
}
10287+
10288+
@Override
10289+
public StartSplit setPrettyPrint(java.lang.Boolean prettyPrint) {
10290+
return (StartSplit) super.setPrettyPrint(prettyPrint);
10291+
}
10292+
10293+
@Override
10294+
public StartSplit setQuotaUser(java.lang.String quotaUser) {
10295+
return (StartSplit) super.setQuotaUser(quotaUser);
10296+
}
10297+
10298+
@Override
10299+
public StartSplit setUploadType(java.lang.String uploadType) {
10300+
return (StartSplit) super.setUploadType(uploadType);
10301+
}
10302+
10303+
@Override
10304+
public StartSplit setUploadProtocol(java.lang.String uploadProtocol) {
10305+
return (StartSplit) super.setUploadProtocol(uploadProtocol);
10306+
}
10307+
10308+
/**
10309+
* Required. The full name of the clone volume to be split from its source. Format:
10310+
* projects/{project_number}/locations/{location}/volumes/{volume_id}
10311+
*/
10312+
@com.google.api.client.util.Key
10313+
private java.lang.String name;
10314+
10315+
/** Required. The full name of the clone volume to be split from its source. Format:
10316+
projects/{project_number}/locations/{location}/volumes/{volume_id}
10317+
*/
10318+
public java.lang.String getName() {
10319+
return name;
10320+
}
10321+
10322+
/**
10323+
* Required. The full name of the clone volume to be split from its source. Format:
10324+
* projects/{project_number}/locations/{location}/volumes/{volume_id}
10325+
*/
10326+
public StartSplit setName(java.lang.String name) {
10327+
if (!getSuppressPatternChecks()) {
10328+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
10329+
"Parameter name must conform to the pattern " +
10330+
"^projects/[^/]+/locations/[^/]+/volumes/[^/]+$");
10331+
}
10332+
this.name = name;
10333+
return this;
10334+
}
10335+
10336+
@Override
10337+
public StartSplit set(String parameterName, Object value) {
10338+
return (StartSplit) super.set(parameterName, value);
10339+
}
10340+
}
1004510341

1004610342
/**
1004710343
* An accessor for creating requests from the QuotaRules collection.

clients/google-api-services-netapp/v1beta1/2.0.0/com/google/api/services/netapp/v1beta1/model/CloneDetails.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ public final class CloneDetails extends com.google.api.client.json.GenericJson {
5353
@com.google.api.client.util.Key
5454
private java.lang.String sourceVolume;
5555

56+
/**
57+
* Output only. The current state of the clone split operation.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private java.lang.String splitState;
62+
5663
/**
5764
* Output only. Shared space in GiB. Determined at volume creation time based on size of source
5865
* snapshot.
@@ -110,6 +117,23 @@ public CloneDetails setSourceVolume(java.lang.String sourceVolume) {
110117
return this;
111118
}
112119

120+
/**
121+
* Output only. The current state of the clone split operation.
122+
* @return value or {@code null} for none
123+
*/
124+
public java.lang.String getSplitState() {
125+
return splitState;
126+
}
127+
128+
/**
129+
* Output only. The current state of the clone split operation.
130+
* @param splitState splitState or {@code null} for none
131+
*/
132+
public CloneDetails setSplitState(java.lang.String splitState) {
133+
this.splitState = splitState;
134+
return this;
135+
}
136+
113137
@Override
114138
public CloneDetails set(String fieldName, Object value) {
115139
return (CloneDetails) super.set(fieldName, value);

0 commit comments

Comments
 (0)