public sealed class PatchRuleSecurityPolicyRequest : IMessage<PatchRuleSecurityPolicyRequest>, IEquatable<PatchRuleSecurityPolicyRequest>, IDeepCloneable<PatchRuleSecurityPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class PatchRuleSecurityPolicyRequest.
A request message for SecurityPolicies.PatchRule. See the method description for details.
Implements
IMessagePatchRuleSecurityPolicyRequest, IEquatablePatchRuleSecurityPolicyRequest, IDeepCloneablePatchRuleSecurityPolicyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
PatchRuleSecurityPolicyRequest()
public PatchRuleSecurityPolicyRequest()
PatchRuleSecurityPolicyRequest(PatchRuleSecurityPolicyRequest)
public PatchRuleSecurityPolicyRequest(PatchRuleSecurityPolicyRequest other)
Parameter | |
---|---|
Name | Description |
other | PatchRuleSecurityPolicyRequest |
Properties
HasPriority
public bool HasPriority { get; }
Gets whether the "priority" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasValidateOnly
public bool HasValidateOnly { get; }
Gets whether the "validate_only" field is set
Property Value | |
---|---|
Type | Description |
bool |
Priority
public int Priority { get; set; }
The priority of the rule to patch.
Property Value | |
---|---|
Type | Description |
int |
Project
public string Project { get; set; }
Project ID for this request.
Property Value | |
---|---|
Type | Description |
string |
SecurityPolicy
public string SecurityPolicy { get; set; }
Name of the security policy to update.
Property Value | |
---|---|
Type | Description |
string |
SecurityPolicyRuleResource
public SecurityPolicyRule SecurityPolicyRuleResource { get; set; }
The body resource for this request
Property Value | |
---|---|
Type | Description |
SecurityPolicyRule |
ValidateOnly
public bool ValidateOnly { get; set; }
If true, the request will not be committed.
Property Value | |
---|---|
Type | Description |
bool |