Bluemage/schemas/proto/device/v1/count.proto

25 lines
496 B
Protocol Buffer

syntax = "proto3";
package device.v1;
import "device/v1/list.proto";
message CountDevicesRequest {
// Limits the counts to devices that contains the given name.
// case insensitive.
//
// Ignored if empty.
//
// default: empty string.
string search = 1;
// disabled limit the counting to devices with the given status.
//
// If unspecified, devices with either status will be counted.
DisabledFilter disabled = 2;
}
message CountDevicesResponse {
uint64 count = 1;
}