Skip to content

Commit ac3475e

Browse files
1 parent 5b75782 commit ac3475e

16 files changed

Lines changed: 1295 additions & 12 deletions

File tree

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

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

Lines changed: 532 additions & 0 deletions
Large diffs are not rendered by default.

clients/google-api-services-netapp/v1/2.0.0/com/google/api/services/netapp/v1/model/Backup.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ public final class Backup extends com.google.api.client.json.GenericJson {
8989
@com.google.api.client.util.Key
9090
private java.lang.String name;
9191

92+
/**
93+
* Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source
94+
* should be provided.
95+
* The value may be {@code null}.
96+
*/
97+
@com.google.api.client.util.Key
98+
private OntapSource ontapSource;
99+
92100
/**
93101
* Output only. Reserved for future use
94102
* The value may be {@code null}.
@@ -288,6 +296,25 @@ public Backup setName(java.lang.String name) {
288296
return this;
289297
}
290298

299+
/**
300+
* Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source
301+
* should be provided.
302+
* @return value or {@code null} for none
303+
*/
304+
public OntapSource getOntapSource() {
305+
return ontapSource;
306+
}
307+
308+
/**
309+
* Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source
310+
* should be provided.
311+
* @param ontapSource ontapSource or {@code null} for none
312+
*/
313+
public Backup setOntapSource(OntapSource ontapSource) {
314+
this.ontapSource = ontapSource;
315+
return this;
316+
}
317+
291318
/**
292319
* Output only. Reserved for future use
293320
* @return value or {@code null} for none
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
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.netapp.v1.model;
18+
19+
/**
20+
* Represents the backup source of the restore operation.
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 NetApp 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 BackupSource extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The backup resource name.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String backup;
38+
39+
/**
40+
* Optional. List of files to be restored in the form of their absolute path as in source volume.
41+
* If provided, only these files will be restored. If not provided, the entire backup will be
42+
* restored (Full Backup Restore)
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.util.List<java.lang.String> fileList;
47+
48+
/**
49+
* Required. The backup resource name.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.lang.String getBackup() {
53+
return backup;
54+
}
55+
56+
/**
57+
* Required. The backup resource name.
58+
* @param backup backup or {@code null} for none
59+
*/
60+
public BackupSource setBackup(java.lang.String backup) {
61+
this.backup = backup;
62+
return this;
63+
}
64+
65+
/**
66+
* Optional. List of files to be restored in the form of their absolute path as in source volume.
67+
* If provided, only these files will be restored. If not provided, the entire backup will be
68+
* restored (Full Backup Restore)
69+
* @return value or {@code null} for none
70+
*/
71+
public java.util.List<java.lang.String> getFileList() {
72+
return fileList;
73+
}
74+
75+
/**
76+
* Optional. List of files to be restored in the form of their absolute path as in source volume.
77+
* If provided, only these files will be restored. If not provided, the entire backup will be
78+
* restored (Full Backup Restore)
79+
* @param fileList fileList or {@code null} for none
80+
*/
81+
public BackupSource setFileList(java.util.List<java.lang.String> fileList) {
82+
this.fileList = fileList;
83+
return this;
84+
}
85+
86+
@Override
87+
public BackupSource set(String fieldName, Object value) {
88+
return (BackupSource) super.set(fieldName, value);
89+
}
90+
91+
@Override
92+
public BackupSource clone() {
93+
return (BackupSource) super.clone();
94+
}
95+
96+
}
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
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.netapp.v1.model;
18+
19+
/**
20+
* Message for response to listing BackupConfigs in an ONTAP StoragePool.
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 NetApp 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 ListBackupConfigsResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The token you can use to retrieve the next page of results. Not returned if there are no more
34+
* results in the list.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String nextPageToken;
39+
40+
/**
41+
* Unordered list. Locations that could not be reached.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<java.lang.String> unreachable;
46+
47+
/**
48+
* A list of backup configurations for volumes in the pool.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.util.List<VolumeBackupConfig> volumeBackupConfigs;
53+
54+
/**
55+
* The token you can use to retrieve the next page of results. Not returned if there are no more
56+
* results in the list.
57+
* @return value or {@code null} for none
58+
*/
59+
public java.lang.String getNextPageToken() {
60+
return nextPageToken;
61+
}
62+
63+
/**
64+
* The token you can use to retrieve the next page of results. Not returned if there are no more
65+
* results in the list.
66+
* @param nextPageToken nextPageToken or {@code null} for none
67+
*/
68+
public ListBackupConfigsResponse setNextPageToken(java.lang.String nextPageToken) {
69+
this.nextPageToken = nextPageToken;
70+
return this;
71+
}
72+
73+
/**
74+
* Unordered list. Locations that could not be reached.
75+
* @return value or {@code null} for none
76+
*/
77+
public java.util.List<java.lang.String> getUnreachable() {
78+
return unreachable;
79+
}
80+
81+
/**
82+
* Unordered list. Locations that could not be reached.
83+
* @param unreachable unreachable or {@code null} for none
84+
*/
85+
public ListBackupConfigsResponse setUnreachable(java.util.List<java.lang.String> unreachable) {
86+
this.unreachable = unreachable;
87+
return this;
88+
}
89+
90+
/**
91+
* A list of backup configurations for volumes in the pool.
92+
* @return value or {@code null} for none
93+
*/
94+
public java.util.List<VolumeBackupConfig> getVolumeBackupConfigs() {
95+
return volumeBackupConfigs;
96+
}
97+
98+
/**
99+
* A list of backup configurations for volumes in the pool.
100+
* @param volumeBackupConfigs volumeBackupConfigs or {@code null} for none
101+
*/
102+
public ListBackupConfigsResponse setVolumeBackupConfigs(java.util.List<VolumeBackupConfig> volumeBackupConfigs) {
103+
this.volumeBackupConfigs = volumeBackupConfigs;
104+
return this;
105+
}
106+
107+
@Override
108+
public ListBackupConfigsResponse set(String fieldName, Object value) {
109+
return (ListBackupConfigsResponse) super.set(fieldName, value);
110+
}
111+
112+
@Override
113+
public ListBackupConfigsResponse clone() {
114+
return (ListBackupConfigsResponse) super.clone();
115+
}
116+
117+
}
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
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.netapp.v1.model;
18+
19+
/**
20+
* Represents ONTAP source details.
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 NetApp 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 OntapSource extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The UUID of the ONTAP source snapshot.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String snapshotUuid;
38+
39+
/**
40+
* Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode
41+
* volumes. Format: `projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}`
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String storagePool;
46+
47+
/**
48+
* Required. The UUID of the ONTAP source volume.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String volumeUuid;
53+
54+
/**
55+
* Optional. The UUID of the ONTAP source snapshot.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.lang.String getSnapshotUuid() {
59+
return snapshotUuid;
60+
}
61+
62+
/**
63+
* Optional. The UUID of the ONTAP source snapshot.
64+
* @param snapshotUuid snapshotUuid or {@code null} for none
65+
*/
66+
public OntapSource setSnapshotUuid(java.lang.String snapshotUuid) {
67+
this.snapshotUuid = snapshotUuid;
68+
return this;
69+
}
70+
71+
/**
72+
* Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode
73+
* volumes. Format: `projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}`
74+
* @return value or {@code null} for none
75+
*/
76+
public java.lang.String getStoragePool() {
77+
return storagePool;
78+
}
79+
80+
/**
81+
* Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode
82+
* volumes. Format: `projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}`
83+
* @param storagePool storagePool or {@code null} for none
84+
*/
85+
public OntapSource setStoragePool(java.lang.String storagePool) {
86+
this.storagePool = storagePool;
87+
return this;
88+
}
89+
90+
/**
91+
* Required. The UUID of the ONTAP source volume.
92+
* @return value or {@code null} for none
93+
*/
94+
public java.lang.String getVolumeUuid() {
95+
return volumeUuid;
96+
}
97+
98+
/**
99+
* Required. The UUID of the ONTAP source volume.
100+
* @param volumeUuid volumeUuid or {@code null} for none
101+
*/
102+
public OntapSource setVolumeUuid(java.lang.String volumeUuid) {
103+
this.volumeUuid = volumeUuid;
104+
return this;
105+
}
106+
107+
@Override
108+
public OntapSource set(String fieldName, Object value) {
109+
return (OntapSource) super.set(fieldName, value);
110+
}
111+
112+
@Override
113+
public OntapSource clone() {
114+
return (OntapSource) super.clone();
115+
}
116+
117+
}

0 commit comments

Comments
 (0)