Google Cloud Video Live Stream V1 Client - Class SecurityRule (0.5.0)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class SecurityRule.

Security rules for access control. Each field represents one security rule.

Only when the source of the input stream satisfies all the fields, this input stream can be accepted.

Generated from protobuf message google.cloud.video.livestream.v1.Input.SecurityRule

Namespace

Google \ Cloud \ Video \ LiveStream \ V1 \ Input

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ ip_ranges array

At least one ip range must match unless none specified. The IP range is defined by CIDR block: for example, 192.0.1.0/24 for a range and 192.0.1.0/32 for a single IP address.

getIpRanges

At least one ip range must match unless none specified. The IP range is defined by CIDR block: for example, 192.0.1.0/24 for a range and 192.0.1.0/32 for a single IP address.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setIpRanges

At least one ip range must match unless none specified. The IP range is defined by CIDR block: for example, 192.0.1.0/24 for a range and 192.0.1.0/32 for a single IP address.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this