Skip to content

Commit f083611

Browse files
Google APIscopybara-github
authored andcommitted
feat: Adding new workload specific fields for AlloyDB
PiperOrigin-RevId: 888045819
1 parent b9dd237 commit f083611

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

google/cloud/backupdr/v1/backupplanassociation.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package google.cloud.backupdr.v1;
1919
import "google/api/field_behavior.proto";
2020
import "google/api/field_info.proto";
2121
import "google/api/resource.proto";
22+
import "google/cloud/backupdr/v1/backupvault_alloydb.proto";
2223
import "google/cloud/backupdr/v1/backupvault_cloudsql.proto";
2324
import "google/protobuf/field_mask.proto";
2425
import "google/protobuf/timestamp.proto";
@@ -126,6 +127,11 @@ message BackupPlanAssociation {
126127
CloudSqlInstanceBackupPlanAssociationProperties
127128
cloud_sql_instance_backup_plan_association_properties = 10
128129
[(google.api.field_behavior) = OUTPUT_ONLY];
130+
131+
// Output only. AlloyDB cluster's backup plan association properties.
132+
AlloyDBClusterBackupPlanAssociationProperties
133+
alloydb_cluster_backup_plan_association_properties = 15
134+
[(google.api.field_behavior) = OUTPUT_ONLY];
129135
}
130136

131137
// Output only. The user friendly revision ID of the `BackupPlanRevision`.

google/cloud/backupdr/v1/backupvault_alloydb.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ syntax = "proto3";
1717
package google.cloud.backupdr.v1;
1818

1919
import "google/api/field_behavior.proto";
20+
import "google/api/field_info.proto";
2021
import "google/api/resource.proto";
2122

2223
option csharp_namespace = "Google.Cloud.BackupDR.V1";
@@ -61,3 +62,12 @@ message AlloyDbClusterBackupProperties {
6162
// backup was taken.
6263
string database_version = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
6364
}
65+
66+
// Properties for an AlloyDB cluster backup plan association.
67+
message AlloyDBClusterBackupPlanAssociationProperties {
68+
// Output only. The cluster UID of the AlloyDB cluster.
69+
string cluster_uid = 1 [
70+
(google.api.field_info).format = UUID4,
71+
(google.api.field_behavior) = OUTPUT_ONLY
72+
];
73+
}

0 commit comments

Comments
 (0)