public sealed class FirewallInfo : IMessage<FirewallInfo>, IEquatable<FirewallInfo>, IDeepCloneable<FirewallInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Management v1 API class FirewallInfo.
For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a hierarchical firewall policy rule.
Implements
IMessageFirewallInfo, IEquatableFirewallInfo, IDeepCloneableFirewallInfo, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkManagement.V1Assembly
Google.Cloud.NetworkManagement.V1.dll
Constructors
FirewallInfo()
public FirewallInfo()
FirewallInfo(FirewallInfo)
public FirewallInfo(FirewallInfo other)
Parameter | |
---|---|
Name | Description |
other | FirewallInfo |
Properties
Action
public string Action { get; set; }
Possible values: ALLOW, DENY
Property Value | |
---|---|
Type | Description |
string |
Direction
public string Direction { get; set; }
Possible values: INGRESS, EGRESS
Property Value | |
---|---|
Type | Description |
string |
DisplayName
public string DisplayName { get; set; }
The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
Property Value | |
---|---|
Type | Description |
string |
FirewallRuleType
public FirewallInfo.Types.FirewallRuleType FirewallRuleType { get; set; }
The firewall rule's type.
Property Value | |
---|---|
Type | Description |
FirewallInfoTypesFirewallRuleType |
NetworkUri
public string NetworkUri { get; set; }
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.
Property Value | |
---|---|
Type | Description |
string |
Policy
public string Policy { get; set; }
The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.
Property Value | |
---|---|
Type | Description |
string |
Priority
public int Priority { get; set; }
The priority of the firewall rule.
Property Value | |
---|---|
Type | Description |
int |
TargetServiceAccounts
public RepeatedField<string> TargetServiceAccounts { get; }
The target service accounts specified by the firewall rule.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
TargetTags
public RepeatedField<string> TargetTags { get; }
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Uri
public string Uri { get; set; }
The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.
Property Value | |
---|---|
Type | Description |
string |