@@ -136,13 +136,14 @@ service Controller {
136
136
option (alpha_method) = true ;
137
137
}
138
138
139
- rpc GetVolumeGroup ( GetVolumeGroupRequest )
140
- returns (GetVolumeGroupResponse ) {
139
+ rpc ControllerGetVolumeGroup ( ControllerGetVolumeGroupRequest )
140
+ returns (ControllerGetVolumeGroupResponse ) {
141
141
option (alpha_method) = true ;
142
142
}
143
143
144
- rpc GetVolumeGroupSnapshot (GetVolumeGroupSnapshotRequest )
145
- returns (GetVolumeGroupSnapshotResponse ) {
144
+ rpc ControllerGetVolumeGroupSnapshot (
145
+ ControllerGetVolumeGroupSnapshotRequest )
146
+ returns (ControllerGetVolumeGroupSnapshotResponse ) {
146
147
option (alpha_method) = true ;
147
148
}
148
149
}
@@ -1103,7 +1104,7 @@ message VolumeGroup {
1103
1104
// This field is REQUIRED.
1104
1105
// To support the creation of an empty group, this list can be empty.
1105
1106
// However, this field is not empty in the following cases:
1106
- // - Response from ListVolumeGroups or GetVolumeGroup if the
1107
+ // - Response from ListVolumeGroups or ControllerGetVolumeGroup if the
1107
1108
// VolumeGroup is not empty.
1108
1109
// - Response from ModifyVolumeGroup if the VolumeGroup is not
1109
1110
// empty after modification.
@@ -1346,11 +1347,16 @@ message ListVolumeGroupSnapshotsRequest {
1346
1347
// An empty string is equal to an unspecified field value.
1347
1348
string starting_token = 2 ;
1348
1349
1350
+ // Identity information for the source volume group.
1351
+ // This field is OPTIONAL.
1352
+ // It can be used to list group snapshots by volume group.
1353
+ string source_volume_group_id = 3 ;
1354
+
1349
1355
// Secrets required by plugin to complete ListVolumeGroupSnapshot
1350
1356
// request.
1351
1357
// This field is OPTIONAL. Refer to the `Secrets Requirements`
1352
1358
// section on how to use this field.
1353
- map <string , string > secrets = 3 [(csi_secret) = true ];
1359
+ map <string , string > secrets = 4 [(csi_secret) = true ];
1354
1360
}
1355
1361
1356
1362
message ListVolumeGroupSnapshotsResponse {
0 commit comments