public sealed class ResourcePolicyHourlyCycle : IMessage<ResourcePolicyHourlyCycle>, IEquatable<ResourcePolicyHourlyCycle>, IDeepCloneable<ResourcePolicyHourlyCycle>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class ResourcePolicyHourlyCycle.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eResourcePolicyHourlyCycle\u003c/code\u003e class is 3.6.0, but this page specifically references version 3.4.0, which is one of the many versions available for this API class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourcePolicyHourlyCycle\u003c/code\u003e class is part of the Google Compute Engine v1 API, specifically within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class is designed for defining time windows for operations measured in hours, with properties for setting the duration, hours in the cycle, and the start time.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourcePolicyHourlyCycle\u003c/code\u003e class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, one default and one that takes an existing \u003ccode\u003eResourcePolicyHourlyCycle\u003c/code\u003e object as a parameter for duplication, alongside four properties, being \u003ccode\u003eDuration\u003c/code\u003e, \u003ccode\u003eHasDuration\u003c/code\u003e, \u003ccode\u003eHasHoursInCycle\u003c/code\u003e, \u003ccode\u003eHasStartTime\u003c/code\u003e, \u003ccode\u003eHoursInCycle\u003c/code\u003e, and \u003ccode\u003eStartTime\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]