Compute V1 Client - Class InstancesGetEffectiveFirewallsResponse (1.22.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<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>

[Output Only] Effective firewalls from firewall policies.

↳ firewalls array<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<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<Firewall>
Returns
Type Description
$this