Reference documentation and code samples for the Service Management V1 API class Google::Api::Usage.
Configuration controlling usage of a service.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#producer_notification_channel
def producer_notification_channel() -> ::String
-
(::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.
#producer_notification_channel=
def producer_notification_channel=(value) -> ::String
-
value (::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.
-
(::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.
#requirements
def requirements() -> ::Array<::String>
- (::Array<::String>) — Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form
#requirements=
def requirements=(value) -> ::Array<::String>
- value (::Array<::String>) — Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form
- (::Array<::String>) — Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form
#rules
def rules() -> ::Array<::Google::Api::UsageRule>
-
(::Array<::Google::Api::UsageRule>) — A list of usage rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
#rules=
def rules=(value) -> ::Array<::Google::Api::UsageRule>
-
value (::Array<::Google::Api::UsageRule>) — A list of usage rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
-
(::Array<::Google::Api::UsageRule>) — A list of usage rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.