public sealed class CreateRuleRequest : IMessage<CreateRuleRequest>, IEquatable<CreateRuleRequest>, IDeepCloneable<CreateRuleRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1 API class CreateRuleRequest.
[[["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-03-21 UTC."],[[["The latest version of the `CreateRuleRequest` class in the Artifact Registry v1 API is 2.9.0, with older versions available from 2.8.0 down to 1.0.0."],["The `CreateRuleRequest` class is used to make a request to create a new rule in the Artifact Registry and implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `CreateRuleRequest` class has properties for `Parent` (where the rule will be created), `ParentAsRepositoryName` (typed view over the parent resource name), `Rule` (the rule to be created), and `RuleId` (the ID for the rule)."],["There are two constructors available: a default one `CreateRuleRequest()` and another for copying another `CreateRuleRequest` object `CreateRuleRequest(CreateRuleRequest other)`."]]],[]]