public string ProducerNotificationChannel { get; set; }
The full resource name of a channel used for sending notifications to the
service producer.
Google Service Management currently only supportsGoogle Cloud Pub/Subas a notification
channel. To use Google Cloud Pub/Sub as the channel, this must be the name
of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format
documented inhttps://cloud.google.com/pubsub/docs/overview.
public RepeatedField<string> Requirements { get; }
Requirements that must be satisfied before a consumer project can use the
service. Each requirement is of the form <service.name>/<requirement-id>;
for example 'serviceusage.googleapis.com/billing-enabled'.
For Google APIs, a Terms of Service requirement must be included here.
Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
Other Google APIs should include
"serviceusage.googleapis.com/tos/universal". Additional ToS can be
included based on the business needs.
[[["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-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eUsage\u003c/code\u003e class in the \u003ccode\u003eGoogle.Api\u003c/code\u003e namespace configures how a service is used and includes methods for managing service usage.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements 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, and inherits from \u003ccode\u003eobject\u003c/code\u003e, providing various capabilities like deep cloning and equality checks.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUsage\u003c/code\u003e class allows the specification of requirements that must be met before a consumer project can use the service, such as Terms of Service, and these are contained in the \u003ccode\u003eRequirements\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eIt also features properties like \u003ccode\u003eProducerNotificationChannel\u003c/code\u003e, which specifies a channel for sending notifications to the service producer, and \u003ccode\u003eRules\u003c/code\u003e, a list of rules applicable to individual API methods.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.15.0, with older versions such as 2.10.0 and 2.2.0 also being available for reference.\u003c/p\u003e\n"]]],[],null,["# Class Usage (2.17.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.0 (latest)](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Usage)\n- [2.15.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.15.0/Google.Api.Usage)\n- [2.10.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.10.0/Google.Api.Usage)\n- [2.2.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.2.0/Google.Api.Usage) \n\n public sealed class Usage : IMessage\u003cUsage\u003e, IEquatable\u003cUsage\u003e, IDeepCloneable\u003cUsage\u003e, IBufferMessage, IMessage\n\nConfiguration controlling usage of a service. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Usage \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Usage](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Usage), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Usage](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Usage), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Usage](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Usage), [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### Usage()\n\n public Usage()\n\n### Usage(Usage)\n\n public Usage(Usage other)\n\nFields\n------\n\n### ProducerNotificationChannelFieldNumber\n\n public const int ProducerNotificationChannelFieldNumber = 7\n\nField number for the \"producer_notification_channel\" field.\n\n### RequirementsFieldNumber\n\n public const int RequirementsFieldNumber = 1\n\nField number for the \"requirements\" field.\n\n### RulesFieldNumber\n\n public const int RulesFieldNumber = 6\n\nField number for the \"rules\" field.\n\nProperties\n----------\n\n### Descriptor\n\n public static MessageDescriptor Descriptor { get; }\n\n### Parser\n\n public static MessageParser\u003cUsage\u003e Parser { get; }\n\n### ProducerNotificationChannel\n\n public string ProducerNotificationChannel { get; set; }\n\nThe full resource name of a channel used for sending notifications to the\nservice producer.\n\nGoogle Service Management currently only supports\n[Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification\nchannel. To use Google Cloud Pub/Sub as the channel, this must be the name\nof a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format\ndocumented in \u003chttps://cloud.google.com/pubsub/docs/overview\u003e.\n\n### Requirements\n\n public RepeatedField\u003cstring\u003e Requirements { get; }\n\nRequirements that must be satisfied before a consumer project can use the\nservice. Each requirement is of the form \\\u003cservice.name\\\u003e/\\\u003crequirement-id\\\u003e;\nfor example 'serviceusage.googleapis.com/billing-enabled'.\n\nFor Google APIs, a Terms of Service requirement must be included here.\nGoogle Cloud APIs must include \"serviceusage.googleapis.com/tos/cloud\".\nOther Google APIs should include\n\"serviceusage.googleapis.com/tos/universal\". Additional ToS can be\nincluded based on the business needs.\n\n### Rules\n\n public RepeatedField\u003cUsageRule\u003e Rules { get; }\n\nA list of usage rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.\n\nMethods\n-------\n\n### CalculateSize()\n\n public int CalculateSize()\n\n### Clone()\n\n public Usage Clone()\n\n### Equals(Usage)\n\n public bool Equals(Usage 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(Usage)\n\n public void MergeFrom(Usage 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)"]]