UsageRule constructor

const UsageRule({
  1. Input<bool>? allowUnregisteredCalls,
  2. Input<String>? selector,
  3. Input<bool>? skipServiceControl,
})

Creates a new UsageRule. allowUnregisteredCalls If true, the selected method allows unregistered calls, e.g. calls that don't identify any user or application. selector Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details. skipServiceControl If true, the selected method should skip service control and the control plane features, such as quota and billing, will not be available. This flag is used by Google Cloud Endpoints to bypass checks for internal methods, such as service health check methods.

Implementation

const UsageRule({
  this.allowUnregisteredCalls,
  this.selector,
  this.skipServiceControl,
});