public sealed class GetRuleSecurityPolicyRequest : IMessage<GetRuleSecurityPolicyRequest>, IEquatable<GetRuleSecurityPolicyRequest>, IDeepCloneable<GetRuleSecurityPolicyRequest>, IBufferMessage, IMessageReference documentation and code samples for the Compute Engine v1 API class GetRuleSecurityPolicyRequest.
A request message for SecurityPolicies.GetRule. See the method description for details.
Implements
IMessageGetRuleSecurityPolicyRequest, IEquatableGetRuleSecurityPolicyRequest, IDeepCloneableGetRuleSecurityPolicyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
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 | 
        |