Compute Engine v1 API - Class AddRuleRegionSecurityPolicyRequest (2.16.0)

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

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

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

Inheritance

object > AddRuleRegionSecurityPolicyRequest

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

AddRuleRegionSecurityPolicyRequest()

public AddRuleRegionSecurityPolicyRequest()

AddRuleRegionSecurityPolicyRequest(AddRuleRegionSecurityPolicyRequest)

public AddRuleRegionSecurityPolicyRequest(AddRuleRegionSecurityPolicyRequest other)
Parameter
Name Description
other AddRuleRegionSecurityPolicyRequest

Properties

HasValidateOnly

public bool HasValidateOnly { get; }

Gets whether the "validate_only" field is set

Property Value
Type Description
bool

Project

public string Project { get; set; }

Project ID for this request.

Property Value
Type Description
string

Region

public string Region { get; set; }

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