Compute V1 Client - Class NetworksGetEffectiveFirewallsResponse (1.10.1)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ firewall_policys array<Google\Cloud\Compute\V1\NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy>

Effective firewalls from firewall policy.

↳ firewalls array<Google\Cloud\Compute\V1\Firewall>

Effective firewalls on the network.

getFirewallPolicys

Effective firewalls from firewall policy.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFirewallPolicys

Effective firewalls from firewall policy.

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy>
Returns
TypeDescription
$this

getFirewalls

Effective firewalls on the network.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFirewalls

Effective firewalls on the network.

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\Firewall>
Returns
TypeDescription
$this