Compute V1 Client - Class NetworksGetEffectiveFirewallsResponse (1.22.0)

Reference documentation and code samples for the Compute V1 Client class NetworksGetEffectiveFirewallsResponse.

Generated from protobuf message google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponse

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ firewall_policys array<NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy>

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

↳ firewalls array<Firewall>

Effective firewalls on the network.

getFirewallPolicys

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFirewallPolicys

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

Parameter
Name Description
var array<NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy>
Returns
Type Description
$this

getFirewalls

Effective firewalls on the network.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFirewalls

Effective firewalls on the network.

Parameter
Name Description
var array<Firewall>
Returns
Type Description
$this