Compute Engine v1 API - Class GetRuleSecurityPolicyRequest (2.10.0)

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

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

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

Inheritance

object > GetRuleSecurityPolicyRequest

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

GetRuleSecurityPolicyRequest()

public GetRuleSecurityPolicyRequest()

GetRuleSecurityPolicyRequest(GetRuleSecurityPolicyRequest)

public GetRuleSecurityPolicyRequest(GetRuleSecurityPolicyRequest other)
Parameter
NameDescription
otherGetRuleSecurityPolicyRequest

Properties

HasPriority

public bool HasPriority { get; }

Gets whether the "priority" field is set

Property Value
TypeDescription
bool

Priority

public int Priority { get; set; }

The priority of the rule to get from the security policy.

Property Value
TypeDescription
int

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 which the queried rule belongs.

Property Value
TypeDescription
string