Compute V1 Client - Class InstancesGetEffectiveFirewallsResponse (1.20.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

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

[Output Only] Effective firewalls from firewall policies.

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

Effective firewalls on the instance.

getFirewallPolicys

[Output Only] Effective firewalls from firewall policies.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFirewallPolicys

[Output Only] Effective firewalls from firewall policies.

Parameter
Name Description
var array<Google\Cloud\Compute\V1\InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>
Returns
Type Description
$this

getFirewalls

Effective firewalls on the instance.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFirewalls

Effective firewalls on the instance.

Parameter
Name Description
var array<Google\Cloud\Compute\V1\Firewall>
Returns
Type Description
$this