public sealed class ResourcePolicy : IMessage<ResourcePolicy>, IEquatable<ResourcePolicy>, IDeepCloneable<ResourcePolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class ResourcePolicy.
Represents a Resource Policy resource. You can use resource policies to schedule actions for some Compute Engine resources. For example, you can use them to schedule persistent disk snapshots.
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[[["This webpage provides reference documentation for the `ResourcePolicy` class within the Google Cloud Compute Engine v1 API for .NET, detailing its structure and functionality."],["The `ResourcePolicy` class is used to manage actions on Compute Engine resources, such as scheduling persistent disk snapshots, managing disk consistency groups, and scheduling instance operations."],["The page lists available versions of the `ResourcePolicy`, with version 3.6.0 being the latest, and version history dating back to version 1.0.0."],["The documentation details various properties of the `ResourcePolicy` class, including `CreationTimestamp`, `Description`, and `Id`, along with several related policy objects like `DiskConsistencyGroupPolicy` and `SnapshotSchedulePolicy`."],["The `ResourcePolicy` class has several implemented interfaces, such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."]]],[]]