public sealed class ProjectProperties : IMessage<ProjectProperties>, IEquatable<ProjectProperties>, IDeepCloneable<ProjectProperties>, IBufferMessage, IMessage
A descriptor for defining project properties for a service. One service may
have many consumer projects, and the service may want to behave differently
depending on some properties on the project. For example, a project may be
associated with a school, or a business, or a government agency, a business
type property on the project may affect how a service responds to the client.
This descriptor defines which properties are allowed to be set on a project.
Example:
project_properties:
properties:
name: NO_WATERMARK
type: BOOL
description: Allows usage of the API without watermarks.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eProjectProperties\u003c/code\u003e class defines properties that can be set on a project, allowing services to behave differently based on these properties.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Api\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Api.CommonProtos.dll\u003c/code\u003e assembly, and is a \u003ccode\u003esealed\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, demonstrating its role in message handling and data management.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eProjectProperties\u003c/code\u003e include a list of per-consumer project-specific properties, such as \u003ccode\u003eNO_WATERMARK\u003c/code\u003e and \u003ccode\u003eEXTENDED_TILE_CACHE_PERIOD\u003c/code\u003e, that can affect how a service interacts with the client.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers methods for managing instances such as \u003ccode\u003eCalculateSize\u003c/code\u003e, \u003ccode\u003eClone\u003c/code\u003e, \u003ccode\u003eEquals\u003c/code\u003e, \u003ccode\u003eMergeFrom\u003c/code\u003e, and \u003ccode\u003eWriteTo\u003c/code\u003e, along with constructors to initialize the class.\u003c/p\u003e\n"]]],[],null,["# Class ProjectProperties (2.17.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.0 (latest)](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.ProjectProperties)\n- [2.15.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.15.0/Google.Api.ProjectProperties)\n- [2.10.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.10.0/Google.Api.ProjectProperties)\n- [2.2.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.2.0/Google.Api.ProjectProperties) \n\n public sealed class ProjectProperties : IMessage\u003cProjectProperties\u003e, IEquatable\u003cProjectProperties\u003e, IDeepCloneable\u003cProjectProperties\u003e, IBufferMessage, IMessage\n\nA descriptor for defining project properties for a service. One service may\nhave many consumer projects, and the service may want to behave differently\ndepending on some properties on the project. For example, a project may be\nassociated with a school, or a business, or a government agency, a business\ntype property on the project may affect how a service responds to the client.\nThis descriptor defines which properties are allowed to be set on a project.\n\nExample:\n\nproject_properties:\nproperties:\n\n- name: NO_WATERMARK type: BOOL description: Allows usage of the API without watermarks.\n- name: EXTENDED_TILE_CACHE_PERIOD type: INT64 \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ProjectProperties \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ProjectProperties](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.ProjectProperties), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ProjectProperties](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.ProjectProperties), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ProjectProperties](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.ProjectProperties), [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.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)\n\nNamespace\n---------\n\n[Google.Api](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api)\n\nAssembly\n--------\n\nGoogle.Api.CommonProtos.dll\n\nConstructors\n------------\n\n### ProjectProperties()\n\n public ProjectProperties()\n\n### ProjectProperties(ProjectProperties)\n\n public ProjectProperties(ProjectProperties other)\n\nFields\n------\n\n### PropertiesFieldNumber\n\n public const int PropertiesFieldNumber = 1\n\nField number for the \"properties\" field.\n\nProperties\n----------\n\n### Descriptor\n\n public static MessageDescriptor Descriptor { get; }\n\n### Parser\n\n public static MessageParser\u003cProjectProperties\u003e Parser { get; }\n\n### Properties\n\n public RepeatedField\u003cProperty\u003e Properties { get; }\n\nList of per consumer project-specific properties.\n\nMethods\n-------\n\n### CalculateSize()\n\n public int CalculateSize()\n\n### Clone()\n\n public ProjectProperties Clone()\n\n### Equals(ProjectProperties)\n\n public bool Equals(ProjectProperties other)\n\n### Equals(object)\n\n public override bool Equals(object other)\n\n**Overrides** \n[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object))\n\n### GetHashCode()\n\n public override int GetHashCode()\n\n**Overrides** \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)\n\n### MergeFrom(ProjectProperties)\n\n public void MergeFrom(ProjectProperties other)\n\n### MergeFrom(CodedInputStream)\n\n public void MergeFrom(CodedInputStream input)\n\n### ToString()\n\n public override string ToString()\n\n**Overrides** \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\n### WriteTo(CodedOutputStream)\n\n public void WriteTo(CodedOutputStream output)"]]