Usage class

Configuration controlling usage of a service.

Constructors

Usage()
Usage.fromJson(Map _json)

Properties

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 https://cloud.google.com/pubsub/docs/overview.
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 'serviceusage.googleapis.com/billing-enabled'.
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

Methods

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

Operators

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