Compute V1 Client - Class InstancesGetEffectiveFirewallsResponse (1.5.0)

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

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

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.

Generated from protobuf field repeated .google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFirewallPolicys

Effective firewalls from firewall policies.

Generated from protobuf field repeated .google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

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

getFirewalls

Effective firewalls on the instance.

Generated from protobuf field repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFirewalls

Effective firewalls on the instance.

Generated from protobuf field repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

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