@@ -4505,6 +4505,46 @@ public List setName(java.lang.String name) {
45054505 return this;
45064506 }
45074507
4508+ /**
4509+ * Optional. If true, only metrics and monitored resource types that have recent data
4510+ * (within roughly 25 hours) will be included in the response. - If a metric descriptor
4511+ * enumerates monitored resource types, only the monitored resource types for which the
4512+ * metric type has recent data will be included in the returned metric descriptor, and if
4513+ * none of them have recent data, the metric descriptor will not be returned. - If a metric
4514+ * descriptor does not enumerate the compatible monitored resource types, it will be
4515+ * returned only if the metric type has recent data for some monitored resource type. The
4516+ * returned descriptor will not enumerate any monitored resource types.
4517+ */
4518+ @com.google.api.client.util.Key
4519+ private java.lang.Boolean activeOnly;
4520+
4521+ /** Optional. If true, only metrics and monitored resource types that have recent data (within roughly
4522+ 25 hours) will be included in the response. - If a metric descriptor enumerates monitored resource
4523+ types, only the monitored resource types for which the metric type has recent data will be included
4524+ in the returned metric descriptor, and if none of them have recent data, the metric descriptor will
4525+ not be returned. - If a metric descriptor does not enumerate the compatible monitored resource
4526+ types, it will be returned only if the metric type has recent data for some monitored resource
4527+ type. The returned descriptor will not enumerate any monitored resource types.
4528+ */
4529+ public java.lang.Boolean getActiveOnly() {
4530+ return activeOnly;
4531+ }
4532+
4533+ /**
4534+ * Optional. If true, only metrics and monitored resource types that have recent data
4535+ * (within roughly 25 hours) will be included in the response. - If a metric descriptor
4536+ * enumerates monitored resource types, only the monitored resource types for which the
4537+ * metric type has recent data will be included in the returned metric descriptor, and if
4538+ * none of them have recent data, the metric descriptor will not be returned. - If a metric
4539+ * descriptor does not enumerate the compatible monitored resource types, it will be
4540+ * returned only if the metric type has recent data for some monitored resource type. The
4541+ * returned descriptor will not enumerate any monitored resource types.
4542+ */
4543+ public List setActiveOnly(java.lang.Boolean activeOnly) {
4544+ this.activeOnly = activeOnly;
4545+ return this;
4546+ }
4547+
45084548 /**
45094549 * Optional. If this field is empty, all custom and system-defined metric descriptors are
45104550 * returned. Otherwise, the filter (https://cloud.google.com/monitoring/api/v3/filters)
0 commit comments