Skip to content

Instantly share code, notes, and snippets.

@thagomizer
Created May 11, 2017 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thagomizer/441c28b7a57a35566e89773cd196dc28 to your computer and use it in GitHub Desktop.
Save thagomizer/441c28b7a57a35566e89773cd196dc28 to your computer and use it in GitHub Desktop.
interval = Google::Monitoring::V3::TimeInterval.new
interval.start_time = Google::Protobuf::Timestamp.new(seconds: start_time)
interval.end_time = Google::Protobuf::Timestamp.new(seconds: end_time)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment