Skip to content

Commit 90c4519

Browse files
Google APIscopybara-github
authored andcommitted
feat: A new message 'google.cloud.netapp.v1.BackupRetentionPolicy' is added in 'google.cloud.netapp.v1.BackupVault'
feat: A new field 'enforced_retention_end_time' in message 'google.cloud.netapp.v1.Backup' is added feat: New fields 'custom_performance_enabled', 'total_throughput_mibps', 'total_iops' in message 'google.cloud.netapp.v1.StoragePool' are added docs: A comment for field `transfer_bytes` in message `.google.cloud.netapp.v1.TransferStats` is changed PiperOrigin-RevId: 759339617
1 parent 64a5e68 commit 90c4519

4 files changed

Lines changed: 48 additions & 1 deletion

File tree

google/cloud/netapp/v1/backup.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ message Backup {
148148
type: "locations.googleapis.com/Location"
149149
}
150150
];
151+
152+
// Output only. The time until which the backup is not deletable.
153+
google.protobuf.Timestamp enforced_retention_end_time = 15
154+
[(google.api.field_behavior) = OUTPUT_ONLY];
151155
}
152156

153157
// ListBackupsRequest lists backups.

google/cloud/netapp/v1/backup_vault.proto

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,34 @@ message BackupVault {
3838
singular: "backupVault"
3939
};
4040

41+
// Retention policy for backups in the backup vault
42+
message BackupRetentionPolicy {
43+
// Required. Minimum retention duration in days for backups in the backup
44+
// vault.
45+
int32 backup_minimum_enforced_retention_days = 1
46+
[(google.api.field_behavior) = REQUIRED];
47+
48+
// Optional. Indicates if the daily backups are immutable.
49+
// Atleast one of daily_backup_immutable, weekly_backup_immutable,
50+
// monthly_backup_immutable and manual_backup_immutable must be true.
51+
bool daily_backup_immutable = 2 [(google.api.field_behavior) = OPTIONAL];
52+
53+
// Optional. Indicates if the weekly backups are immutable.
54+
// Atleast one of daily_backup_immutable, weekly_backup_immutable,
55+
// monthly_backup_immutable and manual_backup_immutable must be true.
56+
bool weekly_backup_immutable = 3 [(google.api.field_behavior) = OPTIONAL];
57+
58+
// Optional. Indicates if the monthly backups are immutable.
59+
// Atleast one of daily_backup_immutable, weekly_backup_immutable,
60+
// monthly_backup_immutable and manual_backup_immutable must be true.
61+
bool monthly_backup_immutable = 4 [(google.api.field_behavior) = OPTIONAL];
62+
63+
// Optional. Indicates if the manual backups are immutable.
64+
// Atleast one of daily_backup_immutable, weekly_backup_immutable,
65+
// monthly_backup_immutable and manual_backup_immutable must be true.
66+
bool manual_backup_immutable = 5 [(google.api.field_behavior) = OPTIONAL];
67+
}
68+
4169
// The Backup Vault States
4270
enum State {
4371
// State not set.
@@ -131,6 +159,10 @@ message BackupVault {
131159
type: "netapp.googleapis.com/BackupVault"
132160
}
133161
];
162+
163+
// Optional. Backup retention policy defining the retenton of backups.
164+
BackupRetentionPolicy backup_retention_policy = 11
165+
[(google.api.field_behavior) = OPTIONAL];
134166
}
135167

136168
// GetBackupVaultRequest gets the state of a backupVault.

google/cloud/netapp/v1/replication.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ option ruby_package = "Google::Cloud::NetApp::V1";
3333

3434
// TransferStats reports all statistics related to replication transfer.
3535
message TransferStats {
36-
// Cumulative bytes trasferred so far for the replication relatinonship.
36+
// Cumulative bytes transferred so far for the replication relationship.
3737
optional int64 transfer_bytes = 1;
3838

3939
// Cumulative time taken across all transfers for the replication

google/cloud/netapp/v1/storage_pool.proto

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,17 @@ message StoragePool {
259259

260260
// Output only. Reserved for future use
261261
bool satisfies_pzi = 24 [(google.api.field_behavior) = OUTPUT_ONLY];
262+
263+
// Optional. True if using Independent Scaling of capacity and performance
264+
// (Hyperdisk) By default set to false
265+
bool custom_performance_enabled = 25 [(google.api.field_behavior) = OPTIONAL];
266+
267+
// Optional. Custom Performance Total Throughput of the pool (in MiB/s)
268+
int64 total_throughput_mibps = 26 [(google.api.field_behavior) = OPTIONAL];
269+
270+
// Optional. Custom Performance Total IOPS of the pool
271+
// If not provided, it will be calculated based on the total_throughput_mibps
272+
int64 total_iops = 27 [(google.api.field_behavior) = OPTIONAL];
262273
}
263274

264275
// ValidateDirectoryServiceRequest validates the directory service policy

0 commit comments

Comments
 (0)