Compute Engine v1 API - Class AddRuleSecurityPolicyRequest (2.3.0)

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

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

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

HasValidateOnly

public bool HasValidateOnly { get; }

Gets whether the "validate_only" field is set

Property Value
TypeDescription
Boolean

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