Google Calendar allows you to set your working hours as well as your availability. This helps other users to know when you're not in the office. Details on how to use these features are available in this article:
When you use these features, other Google apps will also respect the settings. For example, users will be notified of your availability when they send you a Chat message while you're out of the office and when they try to schedule a meeting with you outside of your normal working hours.