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

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
Name Description
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
Type Description
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
Name Description
var string[]
Returns
Type Description
$this