public sealed class GetQuotaPreferenceRequest : IMessage<GetQuotaPreferenceRequest>, IEquatable<GetQuotaPreferenceRequest>, IDeepCloneable<GetQuotaPreferenceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Quotas v1beta API class GetQuotaPreferenceRequest.
[[["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\u003e\u003ccode\u003eGetQuotaPreferenceRequest\u003c/code\u003e is a sealed class within the Cloud Quotas v1beta API, specifically used for retrieving a QuotaPreference.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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, allowing for functionalities like deep cloning and buffer message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor and one that accepts another \u003ccode\u003eGetQuotaPreferenceRequest\u003c/code\u003e object for creating a copy.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two properties, \u003ccode\u003eName\u003c/code\u003e which is a required string, and \u003ccode\u003eQuotaPreferenceName\u003c/code\u003e, which is a \u003ccode\u003eQuotaPreferenceName\u003c/code\u003e-typed view of the name property.\u003c/p\u003e\n"],["\u003cp\u003eThe primary function of the class is to serve as a message for fetching a \u003ccode\u003eQuotaPreference\u003c/code\u003e, with the name property being required to identify the specific resource.\u003c/p\u003e\n"]]],[],null,["# Cloud Quotas v1beta API - Class GetQuotaPreferenceRequest (1.0.0-beta02)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta02 (latest)](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta.GetQuotaPreferenceRequest)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/1.0.0-beta01/Google.Cloud.CloudQuotas.V1Beta.GetQuotaPreferenceRequest) \n\n public sealed class GetQuotaPreferenceRequest : IMessage\u003cGetQuotaPreferenceRequest\u003e, IEquatable\u003cGetQuotaPreferenceRequest\u003e, IDeepCloneable\u003cGetQuotaPreferenceRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Quotas v1beta API class GetQuotaPreferenceRequest.\n\nMessage for getting a QuotaPreference \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetQuotaPreferenceRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetQuotaPreferenceRequest](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta.GetQuotaPreferenceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetQuotaPreferenceRequest](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta.GetQuotaPreferenceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetQuotaPreferenceRequest](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta.GetQuotaPreferenceRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.CloudQuotas.V1Beta](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudQuotas.V1Beta.dll\n\nConstructors\n------------\n\n### GetQuotaPreferenceRequest()\n\n public GetQuotaPreferenceRequest()\n\n### GetQuotaPreferenceRequest(GetQuotaPreferenceRequest)\n\n public GetQuotaPreferenceRequest(GetQuotaPreferenceRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Name of the resource\n\nExample name:\n`projects/123/locations/global/quota_preferences/my-config-for-us-east1`\n\n### QuotaPreferenceName\n\n public QuotaPreferenceName QuotaPreferenceName { get; set; }\n\n[QuotaPreferenceName](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta.QuotaPreferenceName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.CloudQuotas.V1Beta/latest/Google.Cloud.CloudQuotas.V1Beta.GetQuotaPreferenceRequest#Google_Cloud_CloudQuotas_V1Beta_GetQuotaPreferenceRequest_Name) resource name property."]]