Compute Engine v1 API - Class PatchRuleRegionSecurityPolicyRequest (2.15.0)

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

Reference documentation and code samples for the Compute Engine v1 API class PatchRuleRegionSecurityPolicyRequest.

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

Inheritance

object > PatchRuleRegionSecurityPolicyRequest

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

PatchRuleRegionSecurityPolicyRequest()

public PatchRuleRegionSecurityPolicyRequest()

PatchRuleRegionSecurityPolicyRequest(PatchRuleRegionSecurityPolicyRequest)

public PatchRuleRegionSecurityPolicyRequest(PatchRuleRegionSecurityPolicyRequest other)
Parameter
NameDescription
otherPatchRuleRegionSecurityPolicyRequest

Properties

HasPriority

public bool HasPriority { get; }

Gets whether the "priority" field is set

Property Value
TypeDescription
bool

HasUpdateMask

public bool HasUpdateMask { get; }

Gets whether the "update_mask" field is set

Property Value
TypeDescription
bool

HasValidateOnly

public bool HasValidateOnly { get; }

Gets whether the "validate_only" field is set

Property Value
TypeDescription
bool

Priority

public int Priority { get; set; }

The priority of the rule to patch.

Property Value
TypeDescription
int

Project

public string Project { get; set; }

Project ID for this request.

Property Value
TypeDescription
string

Region

public string Region { get; set; }

Name of the region scoping 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

UpdateMask

public string UpdateMask { get; set; }

Indicates fields to be cleared as part of this request.

Property Value
TypeDescription
string

ValidateOnly

public bool ValidateOnly { get; set; }

If true, the request will not be committed.

Property Value
TypeDescription
bool