Class AddRuleSecurityPolicyRequest (1.3.0)

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

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

Inheritance

Object > AddRuleSecurityPolicyRequest

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

AddRuleSecurityPolicyRequest()

public AddRuleSecurityPolicyRequest()

AddRuleSecurityPolicyRequest(AddRuleSecurityPolicyRequest)

public AddRuleSecurityPolicyRequest(AddRuleSecurityPolicyRequest other)
Parameter
NameDescription
otherAddRuleSecurityPolicyRequest

Properties

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