Compute V1 Client - Class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy (1.9.1)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ display_name string

[Output Only] The display name of the firewall policy.

↳ name string

[Output Only] The name of the firewall policy.

↳ rules array<Google\Cloud\Compute\V1\FirewallPolicyRule>

The rules that apply to the network.

↳ type string

[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. Check the Type enum for the list of possible values.

getDisplayName

[Output Only] The display name of the firewall policy.

Returns
TypeDescription
string

hasDisplayName

clearDisplayName

setDisplayName

[Output Only] The display name of the firewall policy.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getName

[Output Only] The name of the firewall policy.

Returns
TypeDescription
string

hasName

clearName

setName

[Output Only] The name of the firewall policy.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRules

The rules that apply to the network.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRules

The rules that apply to the network.

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

getType

[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.

Check the Type enum for the list of possible values.

Returns
TypeDescription
string

hasType

clearType

setType

[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.

Check the Type enum for the list of possible values.

Parameter
NameDescription
var string
Returns
TypeDescription
$this