Compute V1 Client - Class InstancesGetEffectiveFirewallsResponse (1.14.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
NameDescription
data array

Optional. Data for populating the Message object.

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

Effective firewalls from firewall policies.

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

Effective firewalls on the instance.

getFirewallPolicys

Effective firewalls from firewall policies.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFirewallPolicys

Effective firewalls from firewall policies.

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

getFirewalls

Effective firewalls on the instance.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFirewalls

Effective firewalls on the instance.

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