@@ -674,8 +674,9 @@ class Condition
674674 # @return [Google::Apis::MonitoringV3::MetricAbsence]
675675 attr_accessor :condition_absent
676676
677- # A condition type that checks whether a log message from any project monitored
678- # by the alert policy’s workspace satisfies the given filter.
677+ # A condition type that checks whether a log message in the scoping project (
678+ # https://cloud.google.com/monitoring/api/v3#project_name) satisfies the given
679+ # filter. Logs from other projects in the metrics scope are not evaluated.
679680 # Corresponds to the JSON property `conditionMatchedLog`
680681 # @return [Google::Apis::MonitoringV3::LogMatch]
681682 attr_accessor :condition_matched_log
@@ -2162,8 +2163,9 @@ def update!(**args)
21622163 end
21632164 end
21642165
2165- # A condition type that checks whether a log message from any project monitored
2166- # by the alert policy’s workspace satisfies the given filter.
2166+ # A condition type that checks whether a log message in the scoping project (
2167+ # https://cloud.google.com/monitoring/api/v3#project_name) satisfies the given
2168+ # filter. Logs from other projects in the metrics scope are not evaluated.
21672169 class LogMatch
21682170 include Google ::Apis ::Core ::Hashable
21692171
@@ -2646,7 +2648,8 @@ class MonitoredResource
26462648 # Required. The monitored resource type. This field must match the type field of
26472649 # a MonitoredResourceDescriptor object. For example, the type of a Compute
26482650 # Engine VM instance is gce_instance. For a list of types, see Monitoring
2649- # resource types and Logging resource types.
2651+ # resource types (https://cloud.google.com/monitoring/api/resources) and Logging
2652+ # resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
26502653 # Corresponds to the JSON property `type`
26512654 # @return [String]
26522655 attr_accessor :type
@@ -3124,28 +3127,30 @@ class Point
31243127
31253128 # A closed time interval. It extends from the start time to the end time, and
31263129 # includes both: [startTime, endTime]. Valid time intervals depend on the
3127- # MetricKind of the metric value. The end time must not be earlier than the
3128- # start time. When writing data points, the start time must not be more than 25
3129- # hours in the past and the end time must not be more than five minutes in the
3130- # future. For GAUGE metrics, the startTime value is technically optional; if no
3131- # value is specified, the start time defaults to the value of the end time, and
3132- # the interval represents a single point in time. If both start and end times
3133- # are specified, they must be identical. Such an interval is valid only for
3134- # GAUGE metrics, which are point-in-time measurements. The end time of a new
3130+ # MetricKind (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.
3131+ # metricDescriptors#MetricKind) of the metric value. The end time must not be
3132+ # earlier than the start time. When writing data points, the start time must not
3133+ # be more than 25 hours in the past and the end time must not be more than five
3134+ # minutes in the future. For GAUGE metrics, the startTime value is technically
3135+ # optional; if no value is specified, the start time defaults to the value of
3136+ # the end time, and the interval represents a single point in time. If both
3137+ # start and end times are specified, they must be identical. Such an interval is
3138+ # valid only for GAUGE metrics, which are point-in-time measurements. The end
3139+ # time of a new interval must be at least a millisecond after the end time of
3140+ # the previous interval. For DELTA metrics, the start time and end time must
3141+ # specify a non-zero interval, with subsequent points specifying contiguous and
3142+ # non-overlapping intervals. For DELTA metrics, the start time of the next
31353143 # interval must be at least a millisecond after the end time of the previous
3136- # interval. For DELTA metrics, the start time and end time must specify a non-
3137- # zero interval, with subsequent points specifying contiguous and non-
3138- # overlapping intervals. For DELTA metrics, the start time of the next interval
3139- # must be at least a millisecond after the end time of the previous interval.
3140- # For CUMULATIVE metrics, the start time and end time must specify a a non-zero
3141- # interval, with subsequent points specifying the same start time and increasing
3142- # end times, until an event resets the cumulative value to zero and sets a new
3143- # start time for the following points. The new start time must be at least a
3144- # millisecond after the end time of the previous interval. The start time of a
3145- # new interval must be at least a millisecond after the end time of the previous
3146- # interval because intervals are closed. If the start time of a new interval is
3147- # the same as the end time of the previous interval, then data written at the
3148- # new start time could overwrite data written at the previous end time.
3144+ # interval. For CUMULATIVE metrics, the start time and end time must specify a a
3145+ # non-zero interval, with subsequent points specifying the same start time and
3146+ # increasing end times, until an event resets the cumulative value to zero and
3147+ # sets a new start time for the following points. The new start time must be at
3148+ # least a millisecond after the end time of the previous interval. The start
3149+ # time of a new interval must be at least a millisecond after the end time of
3150+ # the previous interval because intervals are closed. If the start time of a new
3151+ # interval is the same as the end time of the previous interval, then data
3152+ # written at the new start time could overwrite data written at the previous end
3153+ # time.
31493154 # Corresponds to the JSON property `interval`
31503155 # @return [Google::Apis::MonitoringV3::TimeInterval]
31513156 attr_accessor :interval
@@ -3174,28 +3179,30 @@ class PointData
31743179
31753180 # A closed time interval. It extends from the start time to the end time, and
31763181 # includes both: [startTime, endTime]. Valid time intervals depend on the
3177- # MetricKind of the metric value. The end time must not be earlier than the
3178- # start time. When writing data points, the start time must not be more than 25
3179- # hours in the past and the end time must not be more than five minutes in the
3180- # future. For GAUGE metrics, the startTime value is technically optional; if no
3181- # value is specified, the start time defaults to the value of the end time, and
3182- # the interval represents a single point in time. If both start and end times
3183- # are specified, they must be identical. Such an interval is valid only for
3184- # GAUGE metrics, which are point-in-time measurements. The end time of a new
3182+ # MetricKind (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.
3183+ # metricDescriptors#MetricKind) of the metric value. The end time must not be
3184+ # earlier than the start time. When writing data points, the start time must not
3185+ # be more than 25 hours in the past and the end time must not be more than five
3186+ # minutes in the future. For GAUGE metrics, the startTime value is technically
3187+ # optional; if no value is specified, the start time defaults to the value of
3188+ # the end time, and the interval represents a single point in time. If both
3189+ # start and end times are specified, they must be identical. Such an interval is
3190+ # valid only for GAUGE metrics, which are point-in-time measurements. The end
3191+ # time of a new interval must be at least a millisecond after the end time of
3192+ # the previous interval. For DELTA metrics, the start time and end time must
3193+ # specify a non-zero interval, with subsequent points specifying contiguous and
3194+ # non-overlapping intervals. For DELTA metrics, the start time of the next
31853195 # interval must be at least a millisecond after the end time of the previous
3186- # interval. For DELTA metrics, the start time and end time must specify a non-
3187- # zero interval, with subsequent points specifying contiguous and non-
3188- # overlapping intervals. For DELTA metrics, the start time of the next interval
3189- # must be at least a millisecond after the end time of the previous interval.
3190- # For CUMULATIVE metrics, the start time and end time must specify a a non-zero
3191- # interval, with subsequent points specifying the same start time and increasing
3192- # end times, until an event resets the cumulative value to zero and sets a new
3193- # start time for the following points. The new start time must be at least a
3194- # millisecond after the end time of the previous interval. The start time of a
3195- # new interval must be at least a millisecond after the end time of the previous
3196- # interval because intervals are closed. If the start time of a new interval is
3197- # the same as the end time of the previous interval, then data written at the
3198- # new start time could overwrite data written at the previous end time.
3196+ # interval. For CUMULATIVE metrics, the start time and end time must specify a a
3197+ # non-zero interval, with subsequent points specifying the same start time and
3198+ # increasing end times, until an event resets the cumulative value to zero and
3199+ # sets a new start time for the following points. The new start time must be at
3200+ # least a millisecond after the end time of the previous interval. The start
3201+ # time of a new interval must be at least a millisecond after the end time of
3202+ # the previous interval because intervals are closed. If the start time of a new
3203+ # interval is the same as the end time of the previous interval, then data
3204+ # written at the new start time could overwrite data written at the previous end
3205+ # time.
31993206 # Corresponds to the JSON property `timeInterval`
32003207 # @return [Google::Apis::MonitoringV3::TimeInterval]
32013208 attr_accessor :time_interval
@@ -3734,28 +3741,30 @@ def update!(**args)
37343741
37353742 # A closed time interval. It extends from the start time to the end time, and
37363743 # includes both: [startTime, endTime]. Valid time intervals depend on the
3737- # MetricKind of the metric value. The end time must not be earlier than the
3738- # start time. When writing data points, the start time must not be more than 25
3739- # hours in the past and the end time must not be more than five minutes in the
3740- # future. For GAUGE metrics, the startTime value is technically optional; if no
3741- # value is specified, the start time defaults to the value of the end time, and
3742- # the interval represents a single point in time. If both start and end times
3743- # are specified, they must be identical. Such an interval is valid only for
3744- # GAUGE metrics, which are point-in-time measurements. The end time of a new
3744+ # MetricKind (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.
3745+ # metricDescriptors#MetricKind) of the metric value. The end time must not be
3746+ # earlier than the start time. When writing data points, the start time must not
3747+ # be more than 25 hours in the past and the end time must not be more than five
3748+ # minutes in the future. For GAUGE metrics, the startTime value is technically
3749+ # optional; if no value is specified, the start time defaults to the value of
3750+ # the end time, and the interval represents a single point in time. If both
3751+ # start and end times are specified, they must be identical. Such an interval is
3752+ # valid only for GAUGE metrics, which are point-in-time measurements. The end
3753+ # time of a new interval must be at least a millisecond after the end time of
3754+ # the previous interval. For DELTA metrics, the start time and end time must
3755+ # specify a non-zero interval, with subsequent points specifying contiguous and
3756+ # non-overlapping intervals. For DELTA metrics, the start time of the next
37453757 # interval must be at least a millisecond after the end time of the previous
3746- # interval. For DELTA metrics, the start time and end time must specify a non-
3747- # zero interval, with subsequent points specifying contiguous and non-
3748- # overlapping intervals. For DELTA metrics, the start time of the next interval
3749- # must be at least a millisecond after the end time of the previous interval.
3750- # For CUMULATIVE metrics, the start time and end time must specify a a non-zero
3751- # interval, with subsequent points specifying the same start time and increasing
3752- # end times, until an event resets the cumulative value to zero and sets a new
3753- # start time for the following points. The new start time must be at least a
3754- # millisecond after the end time of the previous interval. The start time of a
3755- # new interval must be at least a millisecond after the end time of the previous
3756- # interval because intervals are closed. If the start time of a new interval is
3757- # the same as the end time of the previous interval, then data written at the
3758- # new start time could overwrite data written at the previous end time.
3758+ # interval. For CUMULATIVE metrics, the start time and end time must specify a a
3759+ # non-zero interval, with subsequent points specifying the same start time and
3760+ # increasing end times, until an event resets the cumulative value to zero and
3761+ # sets a new start time for the following points. The new start time must be at
3762+ # least a millisecond after the end time of the previous interval. The start
3763+ # time of a new interval must be at least a millisecond after the end time of
3764+ # the previous interval because intervals are closed. If the start time of a new
3765+ # interval is the same as the end time of the previous interval, then data
3766+ # written at the new start time could overwrite data written at the previous end
3767+ # time.
37593768 class TimeInterval
37603769 include Google ::Apis ::Core ::Hashable
37613770
0 commit comments