Reference documentation and code samples for the Google Cloud Network Management V1 Client class FirewallInfo.
For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a hierarchical firewall policy rule.
Generated from protobuf message google.cloud.networkmanagement.v1.FirewallInfo
Namespace
Google \ Cloud \ NetworkManagement \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ display_name
string
The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
↳ uri
string
The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.
↳ direction
string
Possible values: INGRESS, EGRESS
↳ action
string
Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP
↳ priority
int
The priority of the firewall rule.
↳ network_uri
string
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.
↳ target_tags
array
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
↳ target_service_accounts
array
The target service accounts specified by the firewall rule.
↳ policy
string
The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.
↳ firewall_rule_type
int
The firewall rule's type.
getDisplayName
The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
string
setDisplayName
The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
var
string
$this
getUri
The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.
string
setUri
The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.
var
string
$this
getDirection
Possible values: INGRESS, EGRESS
string
setDirection
Possible values: INGRESS, EGRESS
var
string
$this
getAction
Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP
string
setAction
Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP
var
string
$this
getPriority
The priority of the firewall rule.
int
setPriority
The priority of the firewall rule.
var
int
$this
getNetworkUri
The URI of the VPC network that the firewall rule is associated with.
This field is not applicable to hierarchical firewall policy rules.
string
setNetworkUri
The URI of the VPC network that the firewall rule is associated with.
This field is not applicable to hierarchical firewall policy rules.
var
string
$this
getTargetTags
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
setTargetTags
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
var
string[]
$this
getTargetServiceAccounts
The target service accounts specified by the firewall rule.
setTargetServiceAccounts
The target service accounts specified by the firewall rule.
var
string[]
$this
getPolicy
The hierarchical firewall policy that this rule is associated with.
This field is not applicable to VPC firewall rules.
string
setPolicy
The hierarchical firewall policy that this rule is associated with.
This field is not applicable to VPC firewall rules.
var
string
$this
getFirewallRuleType
The firewall rule's type.
int
setFirewallRuleType
The firewall rule's type.
var
int
$this