public sealed class AndroidKeyRestrictions : IMessage<AndroidKeyRestrictions>, IEquatable<AndroidKeyRestrictions>, IDeepCloneable<AndroidKeyRestrictions>, IBufferMessage, IMessage
Reference documentation and code samples for the API Keys v2 API class AndroidKeyRestrictions.
[[["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 \u003ccode\u003eAndroidKeyRestrictions\u003c/code\u003e class, part of the API Keys v2 API, defines restrictions for Android applications using an API key.\u003c/p\u003e\n"],["\u003cp\u003eThis class is the main focus of the documentation, and is a sealed class implementing multiple interfaces such as \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\u003eThe \u003ccode\u003eAndroidKeyRestrictions\u003c/code\u003e class allows you to define a list of allowed Android applications through its \u003ccode\u003eAllowedApplications\u003c/code\u003e property, which is a \u003ccode\u003eRepeatedField\u003c/code\u003e of \u003ccode\u003eAndroidApplication\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class has two constructors, one default and one that takes another \u003ccode\u003eAndroidKeyRestrictions\u003c/code\u003e object as a parameter, and it inherits certain members from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides links to various versions of the \u003ccode\u003eAndroidKeyRestrictions\u003c/code\u003e class, ranging from version 1.0.0 to the latest 1.4.0, and the current namespace for this class is \u003ccode\u003eGoogle.Cloud.ApiKeys.V2\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]