Google Cloud Security Command Center V2 Client - Class Allowed (2.2.1)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class Allowed.

Allowed IP rule.

Generated from protobuf message google.cloud.securitycenter.v2.Allowed

Namespace

Google \ Cloud \ SecurityCenter \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ ip_rules array<IpRule>

Optional. Optional list of allowed IP rules.

getIpRules

Optional. Optional list of allowed IP rules.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setIpRules

Optional. Optional list of allowed IP rules.

Parameter
Name Description
var array<IpRule>
Returns
Type Description
$this