def enable_metrics_collection(options = {})
      options = options.merge(auto_scaling_group_name: @name)
      resp = @client.enable_metrics_collection(options)
      resp.data
    end
def enable_metrics_collection(options = {})
      options = options.merge(auto_scaling_group_name: @name)
      resp = @client.enable_metrics_collection(options)
      resp.data
    end
@example Request syntax with placeholder values

   auto_scaling_group.enable_metrics_collection({
     metrics: ["XmlStringMaxLen255"],
     granularity: "XmlStringMaxLen255", # required
   })
 @param [Hash] options ({})
 @option options [Array<String>] :metrics
   One or more of the following metrics. If you omit this parameter, all
   metrics are enabled.

   * `GroupMinSize`

   * `GroupMaxSize`

   * `GroupDesiredCapacity`

   * `GroupInServiceInstances`

   * `GroupPendingInstances`

   * `GroupStandbyInstances`

   * `GroupTerminatingInstances`

   * `GroupTotalInstances`
 @option options [required, String] :granularity
   The granularity to associate with the metrics to collect. The only
   valid value is `1Minute`.
 @return [EmptyStructure]