/** * Creates a {@code MonitoredResource} object given the resource's type and labels. */ public static MonitoredResource of(String type, Map<String, String> labels) { return builder(type).labels(labels).build(); }
/** * Creates a {@code MonitoredResource} object given the resource's type and labels. */ public static MonitoredResource of(String type, Map<String, String> labels) { return builder(type).labels(labels).build(); }