Skip to content

Commit 943ef98

Browse files
gcf-owl-bot[bot]d-googsofisl
authored
feat: [netapp] A new message 'google.cloud.netapp.v1.BackupRetentionPolicy' is added in 'google.cloud.netapp.v1.BackupVault' (#6315)
* feat: add `volume_region` and `backup_region` to backup `Backup` message feat: add `source_region`, `backup_region`, `source_backup_vault`, `destination_backup_vault`, `backupVault_type` (of new enum type `BackupVaultType`) to `BackupVault` message PiperOrigin-RevId: 752905479 Source-Link: googleapis/googleapis@385d8b8 Source-Link: googleapis/googleapis-gen@e223a3c Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldGFwcC8uT3dsQm90LnlhbWwiLCJoIjoiZTIyM2EzYzIwMjI4YTc0Y2RiNWY1ZDQ0ZmE0ZDNhODg0MzU0MGJjNSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 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 Source-Link: googleapis/googleapis@90c4519 Source-Link: googleapis/googleapis-gen@08f073f Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldGFwcC8uT3dsQm90LnlhbWwiLCJoIjoiMDhmMDczZmI2MzI5ZjBiZjkyMzA2NTgxMzE3ZjJlZDA2ZjJiM2E5YSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: d-goog <[email protected]> Co-authored-by: sofisl <[email protected]>
1 parent 901c552 commit 943ef98

7 files changed

Lines changed: 1107 additions & 1 deletion

File tree

packages/google-cloud-netapp/protos/google/cloud/netapp/v1/backup.proto

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,28 @@ message Backup {
130130

131131
// Output only. Reserved for future use
132132
bool satisfies_pzi = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
133+
134+
// Output only. Region of the volume from which the backup was created.
135+
// Format: `projects/{project_id}/locations/{location}`
136+
string volume_region = 13 [
137+
(google.api.field_behavior) = OUTPUT_ONLY,
138+
(google.api.resource_reference) = {
139+
type: "locations.googleapis.com/Location"
140+
}
141+
];
142+
143+
// Output only. Region in which backup is stored.
144+
// Format: `projects/{project_id}/locations/{location}`
145+
string backup_region = 14 [
146+
(google.api.field_behavior) = OUTPUT_ONLY,
147+
(google.api.resource_reference) = {
148+
type: "locations.googleapis.com/Location"
149+
}
150+
];
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];
133155
}
134156

135157
// ListBackupsRequest lists backups.

packages/google-cloud-netapp/protos/google/cloud/netapp/v1/backup_vault.proto

Lines changed: 87 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.
@@ -59,6 +87,18 @@ message BackupVault {
5987
UPDATING = 5;
6088
}
6189

90+
// Backup Vault Type.
91+
enum BackupVaultType {
92+
// BackupVault type not set.
93+
BACKUP_VAULT_TYPE_UNSPECIFIED = 0;
94+
95+
// BackupVault type is IN_REGION.
96+
IN_REGION = 1;
97+
98+
// BackupVault type is CROSS_REGION.
99+
CROSS_REGION = 2;
100+
}
101+
62102
// Identifier. The resource name of the backup vault.
63103
// Format:
64104
// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.
@@ -76,6 +116,53 @@ message BackupVault {
76116

77117
// Resource labels to represent user provided metadata.
78118
map<string, string> labels = 5;
119+
120+
// Optional. Type of backup vault to be created.
121+
// Default is IN_REGION.
122+
BackupVaultType backup_vault_type = 6
123+
[(google.api.field_behavior) = OPTIONAL];
124+
125+
// Output only. Region in which the backup vault is created.
126+
// Format: `projects/{project_id}/locations/{location}`
127+
string source_region = 7 [
128+
(google.api.field_behavior) = OUTPUT_ONLY,
129+
(google.api.resource_reference) = {
130+
type: "locations.googleapis.com/Location"
131+
}
132+
];
133+
134+
// Optional. Region where the backups are stored.
135+
// Format: `projects/{project_id}/locations/{location}`
136+
string backup_region = 8 [
137+
(google.api.field_behavior) = OPTIONAL,
138+
(google.api.resource_reference) = {
139+
type: "locations.googleapis.com/Location"
140+
}
141+
];
142+
143+
// Output only. Name of the Backup vault created in source region.
144+
// Format:
145+
// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
146+
string source_backup_vault = 9 [
147+
(google.api.field_behavior) = OUTPUT_ONLY,
148+
(google.api.resource_reference) = {
149+
type: "netapp.googleapis.com/BackupVault"
150+
}
151+
];
152+
153+
// Output only. Name of the Backup vault created in backup region.
154+
// Format:
155+
// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
156+
string destination_backup_vault = 10 [
157+
(google.api.field_behavior) = OUTPUT_ONLY,
158+
(google.api.resource_reference) = {
159+
type: "netapp.googleapis.com/BackupVault"
160+
}
161+
];
162+
163+
// Optional. Backup retention policy defining the retenton of backups.
164+
BackupRetentionPolicy backup_retention_policy = 11
165+
[(google.api.field_behavior) = OPTIONAL];
79166
}
80167

81168
// GetBackupVaultRequest gets the state of a backupVault.

packages/google-cloud-netapp/protos/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

packages/google-cloud-netapp/protos/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)