public sealed class 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\u003eThe document provides reference documentation for the \u003ccode\u003eInput.Types.SecurityRule\u003c/code\u003e class within the Google Cloud Live Stream v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSecurityRule\u003c/code\u003e is a class used to define access control rules for input streams, ensuring that only sources meeting specified criteria are accepted.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation is version 1.8.0, with versions back to 1.0.0 also available, detailing the class \u003ccode\u003eSecurityRule\u003c/code\u003e from the \u003ccode\u003eGoogle.Cloud.Video.LiveStream.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eSecurityRule\u003c/code\u003e offers constructors for creating instances, including a parameter to copy from another SecurityRule object, and it includes a property called \u003ccode\u003eIpRanges\u003c/code\u003e that defines valid CIDR ip ranges.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eSecurityRule\u003c/code\u003e inherits from \u003ccode\u003eObject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionality for message handling, equality checks, deep cloning, and buffered message operations.\u003c/p\u003e\n"]]],[],null,[]]