Reference documentation and code samples for the Compute V1 Client class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.
Generated from protobuf message google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ display_name |
string
[Output Only] Deprecated, please use short name instead. The display name of the firewall policy. |
↳ name |
string
[Output Only] The name of the firewall policy. |
↳ packet_mirroring_rules |
array<FirewallPolicyRule>
[Output Only] The packet mirroring rules that apply to the network. |
↳ priority |
int
[Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY. |
↳ rules |
array<FirewallPolicyRule>
[Output Only] The rules that apply to the network. |
↳ short_name |
string
[Output Only] The short name of the firewall policy. |
↳ type |
string
[Output Only] The type of the firewall policy. Check the Type enum for the list of possible values. |
getDisplayName
[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasDisplayName
clearDisplayName
setDisplayName
[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
[Output Only] The name of the firewall policy.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasName
clearName
setName
[Output Only] The name of the firewall policy.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPacketMirroringRules
[Output Only] The packet mirroring rules that apply to the network.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setPacketMirroringRules
[Output Only] The packet mirroring rules that apply to the network.
| Parameter | |
|---|---|
| Name | Description |
var |
array<FirewallPolicyRule>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPriority
[Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasPriority
clearPriority
setPriority
[Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRules
[Output Only] The rules that apply to the network.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setRules
[Output Only] The rules that apply to the network.
| Parameter | |
|---|---|
| Name | Description |
var |
array<FirewallPolicyRule>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getShortName
[Output Only] The short name of the firewall policy.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasShortName
clearShortName
setShortName
[Output Only] The short name of the firewall policy.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
[Output Only] The type of the firewall policy.
Check the Type enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasType
clearType
setType
[Output Only] The type of the firewall policy.
Check the Type enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|