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

27 lines
577 B
Protocol Buffer

syntax = "proto3";
package device.v1;
import "device/v1/list.proto";
option go_package = "github.com/tigorlazuardi/bluemage/go/gen/proto/device/v1";
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;
}