Compute Engine v1 API - Class GetRuleSecurityPolicyRequest (3.1.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
Name Description
other GetRuleSecurityPolicyRequest

Properties

HasPriority

public bool HasPriority { get; }

Gets whether the "priority" field is set

Property Value
Type Description
bool

Priority

public int Priority { get; set; }

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

Property Value
Type Description
int

Project

public string Project { get; set; }

Project ID for this request.

Property Value
Type Description
string

SecurityPolicy

public string SecurityPolicy { get; set; }

Name of the security policy to which the queried rule belongs.

Property Value
Type Description
string