Skip to content

Commit b1e2cbe

Browse files
1 parent 3371382 commit b1e2cbe

File tree

17 files changed

+633
-18
lines changed

17 files changed

+633
-18
lines changed

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ public final class Backup extends com.google.api.client.json.GenericJson {
6767
@com.google.api.client.util.Key
6868
private java.lang.String description;
6969

70+
/**
71+
* Output only. The time until which the backup is not deletable.
72+
* The value may be {@code null}.
73+
*/
74+
@com.google.api.client.util.Key
75+
private String enforcedRetentionEndTime;
76+
7077
/**
7178
* Resource labels to represent user provided metadata.
7279
* The value may be {@code null}.
@@ -227,6 +234,23 @@ public Backup setDescription(java.lang.String description) {
227234
return this;
228235
}
229236

237+
/**
238+
* Output only. The time until which the backup is not deletable.
239+
* @return value or {@code null} for none
240+
*/
241+
public String getEnforcedRetentionEndTime() {
242+
return enforcedRetentionEndTime;
243+
}
244+
245+
/**
246+
* Output only. The time until which the backup is not deletable.
247+
* @param enforcedRetentionEndTime enforcedRetentionEndTime or {@code null} for none
248+
*/
249+
public Backup setEnforcedRetentionEndTime(String enforcedRetentionEndTime) {
250+
this.enforcedRetentionEndTime = enforcedRetentionEndTime;
251+
return this;
252+
}
253+
230254
/**
231255
* Resource labels to represent user provided metadata.
232256
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
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+
* Retention policy for backups in the backup vault
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 BackupRetentionPolicy extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. Minimum retention duration in days for backups in the backup vault.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Integer backupMinimumEnforcedRetentionDays;
38+
39+
/**
40+
* Optional. Indicates if the daily backups are immutable. Atleast one of daily_backup_immutable,
41+
* weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Boolean dailyBackupImmutable;
46+
47+
/**
48+
* Optional. Indicates if the manual backups are immutable. Atleast one of daily_backup_immutable,
49+
* weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.Boolean manualBackupImmutable;
54+
55+
/**
56+
* Optional. Indicates if the monthly backups are immutable. Atleast one of
57+
* daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and
58+
* manual_backup_immutable must be true.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.lang.Boolean monthlyBackupImmutable;
63+
64+
/**
65+
* Optional. Indicates if the weekly backups are immutable. Atleast one of daily_backup_immutable,
66+
* weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
67+
* The value may be {@code null}.
68+
*/
69+
@com.google.api.client.util.Key
70+
private java.lang.Boolean weeklyBackupImmutable;
71+
72+
/**
73+
* Required. Minimum retention duration in days for backups in the backup vault.
74+
* @return value or {@code null} for none
75+
*/
76+
public java.lang.Integer getBackupMinimumEnforcedRetentionDays() {
77+
return backupMinimumEnforcedRetentionDays;
78+
}
79+
80+
/**
81+
* Required. Minimum retention duration in days for backups in the backup vault.
82+
* @param backupMinimumEnforcedRetentionDays backupMinimumEnforcedRetentionDays or {@code null} for none
83+
*/
84+
public BackupRetentionPolicy setBackupMinimumEnforcedRetentionDays(java.lang.Integer backupMinimumEnforcedRetentionDays) {
85+
this.backupMinimumEnforcedRetentionDays = backupMinimumEnforcedRetentionDays;
86+
return this;
87+
}
88+
89+
/**
90+
* Optional. Indicates if the daily backups are immutable. Atleast one of daily_backup_immutable,
91+
* weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
92+
* @return value or {@code null} for none
93+
*/
94+
public java.lang.Boolean getDailyBackupImmutable() {
95+
return dailyBackupImmutable;
96+
}
97+
98+
/**
99+
* Optional. Indicates if the daily backups are immutable. Atleast one of daily_backup_immutable,
100+
* weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
101+
* @param dailyBackupImmutable dailyBackupImmutable or {@code null} for none
102+
*/
103+
public BackupRetentionPolicy setDailyBackupImmutable(java.lang.Boolean dailyBackupImmutable) {
104+
this.dailyBackupImmutable = dailyBackupImmutable;
105+
return this;
106+
}
107+
108+
/**
109+
* Optional. Indicates if the manual backups are immutable. Atleast one of daily_backup_immutable,
110+
* weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
111+
* @return value or {@code null} for none
112+
*/
113+
public java.lang.Boolean getManualBackupImmutable() {
114+
return manualBackupImmutable;
115+
}
116+
117+
/**
118+
* Optional. Indicates if the manual backups are immutable. Atleast one of daily_backup_immutable,
119+
* weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
120+
* @param manualBackupImmutable manualBackupImmutable or {@code null} for none
121+
*/
122+
public BackupRetentionPolicy setManualBackupImmutable(java.lang.Boolean manualBackupImmutable) {
123+
this.manualBackupImmutable = manualBackupImmutable;
124+
return this;
125+
}
126+
127+
/**
128+
* Optional. Indicates if the monthly backups are immutable. Atleast one of
129+
* daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and
130+
* manual_backup_immutable must be true.
131+
* @return value or {@code null} for none
132+
*/
133+
public java.lang.Boolean getMonthlyBackupImmutable() {
134+
return monthlyBackupImmutable;
135+
}
136+
137+
/**
138+
* Optional. Indicates if the monthly backups are immutable. Atleast one of
139+
* daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and
140+
* manual_backup_immutable must be true.
141+
* @param monthlyBackupImmutable monthlyBackupImmutable or {@code null} for none
142+
*/
143+
public BackupRetentionPolicy setMonthlyBackupImmutable(java.lang.Boolean monthlyBackupImmutable) {
144+
this.monthlyBackupImmutable = monthlyBackupImmutable;
145+
return this;
146+
}
147+
148+
/**
149+
* Optional. Indicates if the weekly backups are immutable. Atleast one of daily_backup_immutable,
150+
* weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
151+
* @return value or {@code null} for none
152+
*/
153+
public java.lang.Boolean getWeeklyBackupImmutable() {
154+
return weeklyBackupImmutable;
155+
}
156+
157+
/**
158+
* Optional. Indicates if the weekly backups are immutable. Atleast one of daily_backup_immutable,
159+
* weekly_backup_immutable, monthly_backup_immutable and manual_backup_immutable must be true.
160+
* @param weeklyBackupImmutable weeklyBackupImmutable or {@code null} for none
161+
*/
162+
public BackupRetentionPolicy setWeeklyBackupImmutable(java.lang.Boolean weeklyBackupImmutable) {
163+
this.weeklyBackupImmutable = weeklyBackupImmutable;
164+
return this;
165+
}
166+
167+
@Override
168+
public BackupRetentionPolicy set(String fieldName, Object value) {
169+
return (BackupRetentionPolicy) super.set(fieldName, value);
170+
}
171+
172+
@Override
173+
public BackupRetentionPolicy clone() {
174+
return (BackupRetentionPolicy) super.clone();
175+
}
176+
177+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class BackupVault extends com.google.api.client.json.GenericJson {
3737
@com.google.api.client.util.Key
3838
private java.lang.String backupRegion;
3939

40+
/**
41+
* Optional. Backup retention policy defining the retenton of backups.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private BackupRetentionPolicy backupRetentionPolicy;
46+
4047
/**
4148
* Optional. Type of backup vault to be created. Default is IN_REGION.
4249
* The value may be {@code null}.
@@ -123,6 +130,23 @@ public BackupVault setBackupRegion(java.lang.String backupRegion) {
123130
return this;
124131
}
125132

133+
/**
134+
* Optional. Backup retention policy defining the retenton of backups.
135+
* @return value or {@code null} for none
136+
*/
137+
public BackupRetentionPolicy getBackupRetentionPolicy() {
138+
return backupRetentionPolicy;
139+
}
140+
141+
/**
142+
* Optional. Backup retention policy defining the retenton of backups.
143+
* @param backupRetentionPolicy backupRetentionPolicy or {@code null} for none
144+
*/
145+
public BackupVault setBackupRetentionPolicy(BackupRetentionPolicy backupRetentionPolicy) {
146+
this.backupRetentionPolicy = backupRetentionPolicy;
147+
return this;
148+
}
149+
126150
/**
127151
* Optional. Type of backup vault to be created. Default is IN_REGION.
128152
* @return value or {@code null} for none

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

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ public final class StoragePool extends com.google.api.client.json.GenericJson {
5959
@com.google.api.client.util.Key
6060
private String createTime;
6161

62+
/**
63+
* Optional. True if using Independent Scaling of capacity and performance (Hyperdisk) By default
64+
* set to false
65+
* The value may be {@code null}.
66+
*/
67+
@com.google.api.client.util.Key
68+
private java.lang.Boolean customPerformanceEnabled;
69+
6270
/**
6371
* Optional. Description of the storage pool
6472
* The value may be {@code null}.
@@ -164,6 +172,21 @@ public final class StoragePool extends com.google.api.client.json.GenericJson {
164172
@com.google.api.client.util.Key
165173
private java.lang.String stateDetails;
166174

175+
/**
176+
* Optional. Custom Performance Total IOPS of the pool If not provided, it will be calculated
177+
* based on the total_throughput_mibps
178+
* The value may be {@code null}.
179+
*/
180+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
181+
private java.lang.Long totalIops;
182+
183+
/**
184+
* Optional. Custom Performance Total Throughput of the pool (in MiB/s)
185+
* The value may be {@code null}.
186+
*/
187+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
188+
private java.lang.Long totalThroughputMibps;
189+
167190
/**
168191
* Output only. Allocated size of all volumes in GIB in the storage pool
169192
* The value may be {@code null}.
@@ -255,6 +278,25 @@ public StoragePool setCreateTime(String createTime) {
255278
return this;
256279
}
257280

281+
/**
282+
* Optional. True if using Independent Scaling of capacity and performance (Hyperdisk) By default
283+
* set to false
284+
* @return value or {@code null} for none
285+
*/
286+
public java.lang.Boolean getCustomPerformanceEnabled() {
287+
return customPerformanceEnabled;
288+
}
289+
290+
/**
291+
* Optional. True if using Independent Scaling of capacity and performance (Hyperdisk) By default
292+
* set to false
293+
* @param customPerformanceEnabled customPerformanceEnabled or {@code null} for none
294+
*/
295+
public StoragePool setCustomPerformanceEnabled(java.lang.Boolean customPerformanceEnabled) {
296+
this.customPerformanceEnabled = customPerformanceEnabled;
297+
return this;
298+
}
299+
258300
/**
259301
* Optional. Description of the storage pool
260302
* @return value or {@code null} for none
@@ -510,6 +552,42 @@ public StoragePool setStateDetails(java.lang.String stateDetails) {
510552
return this;
511553
}
512554

555+
/**
556+
* Optional. Custom Performance Total IOPS of the pool If not provided, it will be calculated
557+
* based on the total_throughput_mibps
558+
* @return value or {@code null} for none
559+
*/
560+
public java.lang.Long getTotalIops() {
561+
return totalIops;
562+
}
563+
564+
/**
565+
* Optional. Custom Performance Total IOPS of the pool If not provided, it will be calculated
566+
* based on the total_throughput_mibps
567+
* @param totalIops totalIops or {@code null} for none
568+
*/
569+
public StoragePool setTotalIops(java.lang.Long totalIops) {
570+
this.totalIops = totalIops;
571+
return this;
572+
}
573+
574+
/**
575+
* Optional. Custom Performance Total Throughput of the pool (in MiB/s)
576+
* @return value or {@code null} for none
577+
*/
578+
public java.lang.Long getTotalThroughputMibps() {
579+
return totalThroughputMibps;
580+
}
581+
582+
/**
583+
* Optional. Custom Performance Total Throughput of the pool (in MiB/s)
584+
* @param totalThroughputMibps totalThroughputMibps or {@code null} for none
585+
*/
586+
public StoragePool setTotalThroughputMibps(java.lang.Long totalThroughputMibps) {
587+
this.totalThroughputMibps = totalThroughputMibps;
588+
return this;
589+
}
590+
513591
/**
514592
* Output only. Allocated size of all volumes in GIB in the storage pool
515593
* @return value or {@code null} for none

0 commit comments

Comments
 (0)