@@ -947,6 +947,42 @@ message GetCapacityResponse {
947947 // storage. This field is REQUIRED.
948948 // The value of this field MUST NOT be negative.
949949 int64 available_capacity = 1 ;
950+
951+ // The largest size that may be used in a
952+ // CreateVolumeRequest.capacity_range.required_bytes field
953+ // to create a volume with the same parameters as those in
954+ // GetCapacityRequest.
955+ //
956+ // If `volume_capabilities` or `parameters` is
957+ // specified in the request, the Plugin SHALL take those into
958+ // consideration when calculating the minimum volume size of the
959+ // storage.
960+ //
961+ // This field is OPTIONAL. MUST NOT be negative.
962+ // The Plugin SHOULD provide a value for this field if it has
963+ // a maximum size for individual volumes and leave it unset
964+ // otherwise. COs MAY use it to make decision about
965+ // where to create volumes.
966+ google.protobuf.Int64Value maximum_volume_size = 2
967+ [(alpha_field) = true ];
968+
969+ // The smallest size that may be used in a
970+ // CreateVolumeRequest.capacity_range.limit_bytes field
971+ // to create a volume with the same parameters as those in
972+ // GetCapacityRequest.
973+ //
974+ // If `volume_capabilities` or `parameters` is
975+ // specified in the request, the Plugin SHALL take those into
976+ // consideration when calculating the maximum volume size of the
977+ // storage.
978+ //
979+ // This field is OPTIONAL. MUST NOT be negative.
980+ // The Plugin SHOULD provide a value for this field if it has
981+ // a minimum size for individual volumes and leave it unset
982+ // otherwise. COs MAY use it to make decision about
983+ // where to create volumes.
984+ google.protobuf.Int64Value minimum_volume_size = 3
985+ [(alpha_field) = true ];
950986}
951987message ControllerGetCapabilitiesRequest {
952988 // Intentionally empty.
0 commit comments