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.
The request to create a new rule.
Implements
IMessageCreateRuleRequest, IEquatableCreateRuleRequest, IDeepCloneableCreateRuleRequest, IBufferMessage, IMessageNamespace
Google.Cloud.ArtifactRegistry.V1Assembly
Google.Cloud.ArtifactRegistry.V1.dll
Constructors
CreateRuleRequest()
public CreateRuleRequest()
CreateRuleRequest(CreateRuleRequest)
public CreateRuleRequest(CreateRuleRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateRuleRequest |
Properties
Parent
public string Parent { get; set; }
Required. The name of the parent resource where the rule will be created.
Property Value | |
---|---|
Type | Description |
string |
ParentAsRepositoryName
public RepositoryName ParentAsRepositoryName { get; set; }
RepositoryName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
RepositoryName |
Rule
public Rule Rule { get; set; }
The rule to be created.
Property Value | |
---|---|
Type | Description |
Rule |
RuleId
public string RuleId { get; set; }
The rule id to use for this repository.
Property Value | |
---|---|
Type | Description |
string |