Class PatchRuleSecurityPolicyRequest (2.1.0)

public sealed class PatchRuleSecurityPolicyRequest : IMessage<PatchRuleSecurityPolicyRequest>, IEquatable<PatchRuleSecurityPolicyRequest>, IDeepCloneable<PatchRuleSecurityPolicyRequest>, IBufferMessage, IMessage

A request message for SecurityPolicies.PatchRule. See the method description for details.

Inheritance

Object > PatchRuleSecurityPolicyRequest

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

PatchRuleSecurityPolicyRequest()

public PatchRuleSecurityPolicyRequest()

PatchRuleSecurityPolicyRequest(PatchRuleSecurityPolicyRequest)

public PatchRuleSecurityPolicyRequest(PatchRuleSecurityPolicyRequest other)
Parameter
NameDescription
otherPatchRuleSecurityPolicyRequest

Properties

HasPriority

public bool HasPriority { get; }

Gets whether the "priority" field is set

Property Value
TypeDescription
Boolean

HasValidateOnly

public bool HasValidateOnly { get; }

Gets whether the "validate_only" field is set

Property Value
TypeDescription
Boolean

Priority

public int Priority { get; set; }

The priority of the rule to patch.

Property Value
TypeDescription
Int32

Project

public string Project { get; set; }

Project ID for this request.

Property Value
TypeDescription
String

SecurityPolicy

public string SecurityPolicy { get; set; }

Name of the security policy to update.

Property Value
TypeDescription
String

SecurityPolicyRuleResource

public SecurityPolicyRule SecurityPolicyRuleResource { get; set; }

The body resource for this request

Property Value
TypeDescription
SecurityPolicyRule

ValidateOnly

public bool ValidateOnly { get; set; }

If true, the request will not be committed.

Property Value
TypeDescription
Boolean