public sealed class Input.Types.SecurityRule : IMessage<Input.Types.SecurityRule>, IEquatable<Input.Types.SecurityRule>, IDeepCloneable<Input.Types.SecurityRule>, IBufferMessage, IMessage
Reference documentation and code samples for the Live Stream v1 API class Input.Types.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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eInput.Types.SecurityRule\u003c/code\u003e class within the Google Cloud Live Stream v1 API, detailing its use for access control via security rules.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecurityRule\u003c/code\u003e class ensures that only input streams meeting specified criteria are accepted, validating the source by enforcing all the rule fields.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, as well as inheriting from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIpRanges\u003c/code\u003e property of the \u003ccode\u003eSecurityRule\u003c/code\u003e class allows configuration of authorized IP ranges, defined using CIDR notation, to control which sources can input streams.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage also contains the class documentation for versions 1.0.0 to 1.8.0, with the latest being 1.8.0.\u003c/p\u003e\n"]]],[],null,[]]