Compute V1 Client - Class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy (1.5.0)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ display_name string

[Output Only] Deprecated, please use short name instead. 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.

↳ short_name string

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

↳ type string

[Output Only] The type of the firewall policy. Check the Type enum for the list of possible values.

getDisplayName

[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.

Generated from protobuf field optional string display_name = 4473832;

Returns
TypeDescription
string

hasDisplayName

clearDisplayName

setDisplayName

[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.

Generated from protobuf field optional string display_name = 4473832;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getName

[Output Only] The name of the firewall policy.

Generated from protobuf field optional string name = 3373707;

Returns
TypeDescription
string

hasName

clearName

setName

[Output Only] The name of the firewall policy.

Generated from protobuf field optional string name = 3373707;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRules

The rules that apply to the network.

Generated from protobuf field repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRules

The rules that apply to the network.

Generated from protobuf field repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;

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

getShortName

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

Generated from protobuf field optional string short_name = 492051566;

Returns
TypeDescription
string

hasShortName

clearShortName

setShortName

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

Generated from protobuf field optional string short_name = 492051566;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

[Output Only] The type of the firewall policy.

Check the Type enum for the list of possible values.

Generated from protobuf field optional string type = 3575610;

Returns
TypeDescription
string

hasType

clearType

setType

[Output Only] The type of the firewall policy.

Check the Type enum for the list of possible values.

Generated from protobuf field optional string type = 3575610;

Parameter
NameDescription
var string
Returns
TypeDescription
$this