MetricPolicyRule

A setting that enables metrics at the object level. Each rule contains an object group and an object group name. If the policy includes the MetricPolicyRules parameter, you must include at least one rule. Each metric policy can include up to five rules by default. You can also request a quota increase to allow up to 300 rules per policy.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A path or file name that defines which objects to include in the group. Wildcards (*) are acceptable.

Link copied to clipboard

A name that allows you to refer to the object group.

Functions

Link copied to clipboard
inline fun copy(block: MetricPolicyRule.Builder.() -> Unit = {}): MetricPolicyRule
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String