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\u003eThis document provides reference information for the \u003ccode\u003eInput.Types.SecurityRule\u003c/code\u003e class within the Google Cloud Live Stream v1 API, detailing security rules for access control.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecurityRule\u003c/code\u003e class has multiple versions, with version 1.8.0 being the latest, and versions ranging from 1.0.0 up to 1.8.0 are all documented and available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecurityRule\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSecurityRule\u003c/code\u003e objects can be constructed using a default constructor, or by using another \u003ccode\u003eSecurityRule\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eIpRanges\u003c/code\u003e property allows defining IP ranges or single IP addresses using CIDR notation to specify which source addresses are accepted.\u003c/p\u003e\n"]]],[],null,[]]