Usage class

Configuration controlling usage of a service.


Usage.fromJson(Map _json)


hashCode int
The hash code for this object. [...]
read-only, inherited
producerNotificationChannel String
The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports Google Cloud Pub/Sub as 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 in
read / write
requirements List<String>
Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example ''.
read / write
rules List<UsageRule>
A list of usage rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
serviceIdentity ServiceIdentity
The configuration of a per-product per-project service identity.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]