Reference documentation and code samples for the Compute V1 Client class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.
Generated from protobuf message google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ display_name |
string
[Output Only] The display name of the firewall policy. |
↳ name |
string
[Output Only] The name of the firewall policy. |
↳ rules |
array<Google\Cloud\Compute\V1\FirewallPolicyRule>
The rules that apply to the network. |
↳ type |
string
[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. Check the Type enum for the list of possible values. |
getDisplayName
[Output Only] The display name of the firewall policy.
Generated from protobuf field optional string display_name = 4473832;
Returns | |
---|---|
Type | Description |
string |
hasDisplayName
clearDisplayName
setDisplayName
[Output Only] The display name of the firewall policy.
Generated from protobuf field optional string display_name = 4473832;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getName
[Output Only] The name of the firewall policy.
Generated from protobuf field optional string name = 3373707;
Returns | |
---|---|
Type | Description |
string |
hasName
clearName
setName
[Output Only] The name of the firewall policy.
Generated from protobuf field optional string name = 3373707;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRules
The rules that apply to the network.
Generated from protobuf field repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRules
The rules that apply to the network.
Generated from protobuf field repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Compute\V1\FirewallPolicyRule>
|
Returns | |
---|---|
Type | Description |
$this |
getType
[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
Check the Type enum for the list of possible values.
Generated from protobuf field optional string type = 3575610;
Returns | |
---|---|
Type | Description |
string |
hasType
clearType
setType
[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
Check the Type enum for the list of possible values.
Generated from protobuf field optional string type = 3575610;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |