window.proto 441 B

12345678910111213141516
  1. syntax = "proto3";
  2. package model;
  3. import "google/protobuf/timestamp.proto";
  4. // Sets the golang package for the protobuf generated code
  5. option go_package = "github.com/opencost/opencost/core/pkg/model/pb";
  6. // Window defines a unit of time by a resolution and a start time
  7. message Window {
  8. // resolution in "1h" or "1d" format
  9. string resolution = 1;
  10. // the start time of the window described
  11. google.protobuf.Timestamp start = 2;
  12. }