google-apis-monitoring_v3 0.46.0 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1b0ea5e07511b8ea9a501134bce2ebcf517c9f9d5ad748ad5516c5211968aed
|
4
|
+
data.tar.gz: 20b5ed8fb26dbde9c8044c9fe15ba9d570929a0b454cd61ebd1fd1cacfada310
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2750c1d6c3caad1dc34c5a9fcad380ea82d3a37cd6f82e9f296ebcdf577e07d55b27377fa6bb4bd276e5650040919e1462e88e12aa6a929906cbdbaa41064d2e
|
7
|
+
data.tar.gz: 4495abcbb8a9a9922c85c149ade510b03172466dd70d35f0ac11a0cd90d63a1ba9e30416d7423dc753f303f02ea91191d744e23f7e481b65b5dd5495df5cfe9e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v3
|
2
2
|
|
3
|
+
### v0.48.0 (2023-07-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230716
|
6
|
+
|
7
|
+
### v0.47.0 (2023-07-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230703
|
10
|
+
|
3
11
|
### v0.46.0 (2023-05-28)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230521
|
@@ -155,9 +155,10 @@ module Google
|
|
155
155
|
# notifications, and incidents. To avoid confusion, don't use the same display
|
156
156
|
# name for multiple policies in the same project. The name is limited to 512
|
157
157
|
# Unicode characters.The convention for the display_name of a
|
158
|
-
# PrometheusQueryLanguageCondition is "
|
159
|
-
# the
|
160
|
-
#
|
158
|
+
# PrometheusQueryLanguageCondition is "`rule group name`/`alert name`", where
|
159
|
+
# the `rule group name` and `alert name` should be taken from the corresponding
|
160
|
+
# Prometheus configuration file. This convention is not enforced. In any case
|
161
|
+
# the display_name is not a unique key of the AlertPolicy.
|
161
162
|
# Corresponds to the JSON property `displayName`
|
162
163
|
# @return [String]
|
163
164
|
attr_accessor :display_name
|
@@ -205,10 +206,11 @@ module Google
|
|
205
206
|
# AlertPolicy objects.The field can contain up to 64 entries. Each key and value
|
206
207
|
# is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels
|
207
208
|
# and values can contain only lowercase letters, numerals, underscores, and
|
208
|
-
# dashes. Keys must begin with a letter.Note that Prometheus
|
209
|
-
# Prometheus label names (https://prometheus.io/docs/
|
210
|
-
# names-and-labels). This means that they cannot be
|
211
|
-
# because Prometheus labels may contain upper-case
|
209
|
+
# dashes. Keys must begin with a letter.Note that Prometheus `rule group name`
|
210
|
+
# and `alert name` are valid Prometheus label names (https://prometheus.io/docs/
|
211
|
+
# concepts/data_model/#metric-names-and-labels). This means that they cannot be
|
212
|
+
# stored as-is in user labels, because Prometheus labels may contain upper-case
|
213
|
+
# letters.
|
212
214
|
# Corresponds to the JSON property `userLabels`
|
213
215
|
# @return [Hash<String,String>]
|
214
216
|
attr_accessor :user_labels
|
@@ -507,6 +509,41 @@ module Google
|
|
507
509
|
end
|
508
510
|
end
|
509
511
|
|
512
|
+
# A Synthetic Monitor deployed to a Cloud Functions V2 instance.
|
513
|
+
class CloudFunctionV2Target
|
514
|
+
include Google::Apis::Core::Hashable
|
515
|
+
|
516
|
+
# An object representing a resource that can be used for monitoring, logging,
|
517
|
+
# billing, or other purposes. Examples include virtual machine instances,
|
518
|
+
# databases, and storage devices such as disks. The type field identifies a
|
519
|
+
# MonitoredResourceDescriptor object that describes the resource's schema.
|
520
|
+
# Information in the labels field identifies the actual resource and its
|
521
|
+
# attributes according to the schema. For example, a particular Compute Engine
|
522
|
+
# VM instance could be represented by the following object, because the
|
523
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "project_id", "
|
524
|
+
# instance_id" and "zone": ` "type": "gce_instance", "labels": ` "project_id": "
|
525
|
+
# my-project", "instance_id": "12345678901234", "zone": "us-central1-a" ``
|
526
|
+
# Corresponds to the JSON property `cloudRunRevision`
|
527
|
+
# @return [Google::Apis::MonitoringV3::MonitoredResource]
|
528
|
+
attr_accessor :cloud_run_revision
|
529
|
+
|
530
|
+
# Required. Fully qualified GCFv2 resource name i.e. projects/`project`/
|
531
|
+
# locations/`location`/functions/`function` Required.
|
532
|
+
# Corresponds to the JSON property `name`
|
533
|
+
# @return [String]
|
534
|
+
attr_accessor :name
|
535
|
+
|
536
|
+
def initialize(**args)
|
537
|
+
update!(**args)
|
538
|
+
end
|
539
|
+
|
540
|
+
# Update properties of this object
|
541
|
+
def update!(**args)
|
542
|
+
@cloud_run_revision = args[:cloud_run_revision] if args.key?(:cloud_run_revision)
|
543
|
+
@name = args[:name] if args.key?(:name)
|
544
|
+
end
|
545
|
+
end
|
546
|
+
|
510
547
|
# Cloud Run service. Learn more at https://cloud.google.com/run.
|
511
548
|
class CloudRun
|
512
549
|
include Google::Apis::Core::Hashable
|
@@ -770,6 +807,32 @@ module Google
|
|
770
807
|
# @return [Google::Apis::MonitoringV3::MonitoringQueryLanguageCondition]
|
771
808
|
attr_accessor :condition_monitoring_query_language
|
772
809
|
|
810
|
+
# A condition type that allows alert policies to be defined using Prometheus
|
811
|
+
# Query Language (PromQL) (https://prometheus.io/docs/prometheus/latest/querying/
|
812
|
+
# basics/).The PrometheusQueryLanguageCondition message contains information
|
813
|
+
# from a Prometheus alerting rule and its associated rule group.A Prometheus
|
814
|
+
# alerting rule is described here (https://prometheus.io/docs/prometheus/latest/
|
815
|
+
# configuration/alerting_rules/). The semantics of a Prometheus alerting rule is
|
816
|
+
# described here (https://prometheus.io/docs/prometheus/latest/configuration/
|
817
|
+
# recording_rules/#rule).A Prometheus rule group is described here (https://
|
818
|
+
# prometheus.io/docs/prometheus/latest/configuration/recording_rules/). The
|
819
|
+
# semantics of a Prometheus rule group is described here (https://prometheus.io/
|
820
|
+
# docs/prometheus/latest/configuration/recording_rules/#rule_group).Because
|
821
|
+
# Cloud Alerting has no representation of a Prometheus rule group resource, we
|
822
|
+
# must embed the information of the parent rule group inside each of the
|
823
|
+
# conditions that refer to it. We must also update the contents of all
|
824
|
+
# Prometheus alerts in case the information of their rule group changes.The
|
825
|
+
# PrometheusQueryLanguageCondition protocol buffer combines the information of
|
826
|
+
# the corresponding rule group and alerting rule. The structure of the
|
827
|
+
# PrometheusQueryLanguageCondition protocol buffer does NOT mimic the structure
|
828
|
+
# of the Prometheus rule group and alerting rule YAML declarations. The
|
829
|
+
# PrometheusQueryLanguageCondition protocol buffer may change in the future to
|
830
|
+
# support future rule group and/or alerting rule features. There are no new such
|
831
|
+
# features at the present time (2023-06-26).
|
832
|
+
# Corresponds to the JSON property `conditionPrometheusQueryLanguage`
|
833
|
+
# @return [Google::Apis::MonitoringV3::PrometheusQueryLanguageCondition]
|
834
|
+
attr_accessor :condition_prometheus_query_language
|
835
|
+
|
773
836
|
# A condition type that compares a collection of time series against a threshold.
|
774
837
|
# Corresponds to the JSON property `conditionThreshold`
|
775
838
|
# @return [Google::Apis::MonitoringV3::MetricThreshold]
|
@@ -809,6 +872,7 @@ module Google
|
|
809
872
|
@condition_absent = args[:condition_absent] if args.key?(:condition_absent)
|
810
873
|
@condition_matched_log = args[:condition_matched_log] if args.key?(:condition_matched_log)
|
811
874
|
@condition_monitoring_query_language = args[:condition_monitoring_query_language] if args.key?(:condition_monitoring_query_language)
|
875
|
+
@condition_prometheus_query_language = args[:condition_prometheus_query_language] if args.key?(:condition_prometheus_query_language)
|
812
876
|
@condition_threshold = args[:condition_threshold] if args.key?(:condition_threshold)
|
813
877
|
@display_name = args[:display_name] if args.key?(:display_name)
|
814
878
|
@name = args[:name] if args.key?(:name)
|
@@ -1159,6 +1223,20 @@ module Google
|
|
1159
1223
|
# @return [String]
|
1160
1224
|
attr_accessor :mime_type
|
1161
1225
|
|
1226
|
+
# Optional. The subject line of the notification. The subject line may not
|
1227
|
+
# exceed 10,240 bytes. In notifications generated by this policy, the contents
|
1228
|
+
# of the subject line after variable expansion will be truncated to 255 bytes or
|
1229
|
+
# shorter at the latest UTF-8 character boundary. The 255-byte limit is
|
1230
|
+
# recommended by this thread (https://stackoverflow.com/questions/1592291/what-
|
1231
|
+
# is-the-email-subject-length-limit). It is both the limit imposed by some third-
|
1232
|
+
# party ticketing products and it is common to define textual fields in
|
1233
|
+
# databases as VARCHAR(255).The contents of the subject line can be templatized
|
1234
|
+
# by using variables (https://cloud.google.com/monitoring/alerts/doc-variables).
|
1235
|
+
# If this field is missing or empty, a default subject line will be generated.
|
1236
|
+
# Corresponds to the JSON property `subject`
|
1237
|
+
# @return [String]
|
1238
|
+
attr_accessor :subject
|
1239
|
+
|
1162
1240
|
def initialize(**args)
|
1163
1241
|
update!(**args)
|
1164
1242
|
end
|
@@ -1167,6 +1245,7 @@ module Google
|
|
1167
1245
|
def update!(**args)
|
1168
1246
|
@content = args[:content] if args.key?(:content)
|
1169
1247
|
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
1248
|
+
@subject = args[:subject] if args.key?(:subject)
|
1170
1249
|
end
|
1171
1250
|
end
|
1172
1251
|
|
@@ -3669,6 +3748,103 @@ module Google
|
|
3669
3748
|
end
|
3670
3749
|
end
|
3671
3750
|
|
3751
|
+
# A condition type that allows alert policies to be defined using Prometheus
|
3752
|
+
# Query Language (PromQL) (https://prometheus.io/docs/prometheus/latest/querying/
|
3753
|
+
# basics/).The PrometheusQueryLanguageCondition message contains information
|
3754
|
+
# from a Prometheus alerting rule and its associated rule group.A Prometheus
|
3755
|
+
# alerting rule is described here (https://prometheus.io/docs/prometheus/latest/
|
3756
|
+
# configuration/alerting_rules/). The semantics of a Prometheus alerting rule is
|
3757
|
+
# described here (https://prometheus.io/docs/prometheus/latest/configuration/
|
3758
|
+
# recording_rules/#rule).A Prometheus rule group is described here (https://
|
3759
|
+
# prometheus.io/docs/prometheus/latest/configuration/recording_rules/). The
|
3760
|
+
# semantics of a Prometheus rule group is described here (https://prometheus.io/
|
3761
|
+
# docs/prometheus/latest/configuration/recording_rules/#rule_group).Because
|
3762
|
+
# Cloud Alerting has no representation of a Prometheus rule group resource, we
|
3763
|
+
# must embed the information of the parent rule group inside each of the
|
3764
|
+
# conditions that refer to it. We must also update the contents of all
|
3765
|
+
# Prometheus alerts in case the information of their rule group changes.The
|
3766
|
+
# PrometheusQueryLanguageCondition protocol buffer combines the information of
|
3767
|
+
# the corresponding rule group and alerting rule. The structure of the
|
3768
|
+
# PrometheusQueryLanguageCondition protocol buffer does NOT mimic the structure
|
3769
|
+
# of the Prometheus rule group and alerting rule YAML declarations. The
|
3770
|
+
# PrometheusQueryLanguageCondition protocol buffer may change in the future to
|
3771
|
+
# support future rule group and/or alerting rule features. There are no new such
|
3772
|
+
# features at the present time (2023-06-26).
|
3773
|
+
class PrometheusQueryLanguageCondition
|
3774
|
+
include Google::Apis::Core::Hashable
|
3775
|
+
|
3776
|
+
# Optional. The alerting rule name of this alert in the corresponding Prometheus
|
3777
|
+
# configuration file.Some external tools may require this field to be populated
|
3778
|
+
# correctly in order to refer to the original Prometheus configuration file. The
|
3779
|
+
# rule group name and the alert name are necessary to update the relevant
|
3780
|
+
# AlertPolicies in case the definition of the rule group changes in the future.
|
3781
|
+
# This field is optional. If this field is not empty, then it must be a valid
|
3782
|
+
# Prometheus label name (https://prometheus.io/docs/concepts/data_model/#metric-
|
3783
|
+
# names-and-labels).
|
3784
|
+
# Corresponds to the JSON property `alertRule`
|
3785
|
+
# @return [String]
|
3786
|
+
attr_accessor :alert_rule
|
3787
|
+
|
3788
|
+
# Optional. Alerts are considered firing once their PromQL expression was
|
3789
|
+
# evaluated to be "true" for this long. Alerts whose PromQL expression was not
|
3790
|
+
# evaluated to be "true" for long enough are considered pending. The default
|
3791
|
+
# value is zero. Must be zero or positive.
|
3792
|
+
# Corresponds to the JSON property `duration`
|
3793
|
+
# @return [String]
|
3794
|
+
attr_accessor :duration
|
3795
|
+
|
3796
|
+
# Required. How often this rule should be evaluated. Must be a positive multiple
|
3797
|
+
# of 30 seconds or missing. The default value is 30 seconds. If this
|
3798
|
+
# PrometheusQueryLanguageCondition was generated from a Prometheus alerting rule,
|
3799
|
+
# then this value should be taken from the enclosing rule group.
|
3800
|
+
# Corresponds to the JSON property `evaluationInterval`
|
3801
|
+
# @return [String]
|
3802
|
+
attr_accessor :evaluation_interval
|
3803
|
+
|
3804
|
+
# Optional. Labels to add to or overwrite in the PromQL query result. Label
|
3805
|
+
# names must be valid (https://prometheus.io/docs/concepts/data_model/#metric-
|
3806
|
+
# names-and-labels). Label values can be templatized by using variables (https://
|
3807
|
+
# cloud.google.com/monitoring/alerts/doc-variables). The only available variable
|
3808
|
+
# names are the names of the labels in the PromQL result, including "__name__"
|
3809
|
+
# and "value". "labels" may be empty.
|
3810
|
+
# Corresponds to the JSON property `labels`
|
3811
|
+
# @return [Hash<String,String>]
|
3812
|
+
attr_accessor :labels
|
3813
|
+
|
3814
|
+
# Required. The PromQL expression to evaluate. Every evaluation cycle this
|
3815
|
+
# expression is evaluated at the current time, and all resultant time series
|
3816
|
+
# become pending/firing alerts. This field must not be empty.
|
3817
|
+
# Corresponds to the JSON property `query`
|
3818
|
+
# @return [String]
|
3819
|
+
attr_accessor :query
|
3820
|
+
|
3821
|
+
# Optional. The rule group name of this alert in the corresponding Prometheus
|
3822
|
+
# configuration file.Some external tools may require this field to be populated
|
3823
|
+
# correctly in order to refer to the original Prometheus configuration file. The
|
3824
|
+
# rule group name and the alert name are necessary to update the relevant
|
3825
|
+
# AlertPolicies in case the definition of the rule group changes in the future.
|
3826
|
+
# This field is optional. If this field is not empty, then it must be a valid
|
3827
|
+
# Prometheus label name (https://prometheus.io/docs/concepts/data_model/#metric-
|
3828
|
+
# names-and-labels).
|
3829
|
+
# Corresponds to the JSON property `ruleGroup`
|
3830
|
+
# @return [String]
|
3831
|
+
attr_accessor :rule_group
|
3832
|
+
|
3833
|
+
def initialize(**args)
|
3834
|
+
update!(**args)
|
3835
|
+
end
|
3836
|
+
|
3837
|
+
# Update properties of this object
|
3838
|
+
def update!(**args)
|
3839
|
+
@alert_rule = args[:alert_rule] if args.key?(:alert_rule)
|
3840
|
+
@duration = args[:duration] if args.key?(:duration)
|
3841
|
+
@evaluation_interval = args[:evaluation_interval] if args.key?(:evaluation_interval)
|
3842
|
+
@labels = args[:labels] if args.key?(:labels)
|
3843
|
+
@query = args[:query] if args.key?(:query)
|
3844
|
+
@rule_group = args[:rule_group] if args.key?(:rule_group)
|
3845
|
+
end
|
3846
|
+
end
|
3847
|
+
|
3672
3848
|
# The QueryTimeSeries request.
|
3673
3849
|
class QueryTimeSeriesRequest
|
3674
3850
|
include Google::Apis::Core::Hashable
|
@@ -4283,6 +4459,25 @@ module Google
|
|
4283
4459
|
end
|
4284
4460
|
end
|
4285
4461
|
|
4462
|
+
# Describes a Synthetic Monitor to be invoked by Uptime.
|
4463
|
+
class SyntheticMonitorTarget
|
4464
|
+
include Google::Apis::Core::Hashable
|
4465
|
+
|
4466
|
+
# A Synthetic Monitor deployed to a Cloud Functions V2 instance.
|
4467
|
+
# Corresponds to the JSON property `cloudFunctionV2`
|
4468
|
+
# @return [Google::Apis::MonitoringV3::CloudFunctionV2Target]
|
4469
|
+
attr_accessor :cloud_function_v2
|
4470
|
+
|
4471
|
+
def initialize(**args)
|
4472
|
+
update!(**args)
|
4473
|
+
end
|
4474
|
+
|
4475
|
+
# Update properties of this object
|
4476
|
+
def update!(**args)
|
4477
|
+
@cloud_function_v2 = args[:cloud_function_v2] if args.key?(:cloud_function_v2)
|
4478
|
+
end
|
4479
|
+
end
|
4480
|
+
|
4286
4481
|
# Information required for a TCP Uptime check request.
|
4287
4482
|
class TcpCheck
|
4288
4483
|
include Google::Apis::Core::Hashable
|
@@ -4804,6 +4999,11 @@ module Google
|
|
4804
4999
|
# @return [Array<String>]
|
4805
5000
|
attr_accessor :selected_regions
|
4806
5001
|
|
5002
|
+
# Describes a Synthetic Monitor to be invoked by Uptime.
|
5003
|
+
# Corresponds to the JSON property `syntheticMonitor`
|
5004
|
+
# @return [Google::Apis::MonitoringV3::SyntheticMonitorTarget]
|
5005
|
+
attr_accessor :synthetic_monitor
|
5006
|
+
|
4807
5007
|
# Information required for a TCP Uptime check request.
|
4808
5008
|
# Corresponds to the JSON property `tcpCheck`
|
4809
5009
|
# @return [Google::Apis::MonitoringV3::TcpCheck]
|
@@ -4841,6 +5041,7 @@ module Google
|
|
4841
5041
|
@period = args[:period] if args.key?(:period)
|
4842
5042
|
@resource_group = args[:resource_group] if args.key?(:resource_group)
|
4843
5043
|
@selected_regions = args[:selected_regions] if args.key?(:selected_regions)
|
5044
|
+
@synthetic_monitor = args[:synthetic_monitor] if args.key?(:synthetic_monitor)
|
4844
5045
|
@tcp_check = args[:tcp_check] if args.key?(:tcp_check)
|
4845
5046
|
@timeout = args[:timeout] if args.key?(:timeout)
|
4846
5047
|
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MonitoringV3
|
18
18
|
# Version of the google-apis-monitoring_v3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.48.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230716"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class CloudFunctionV2Target
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class CloudRun
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -538,6 +544,12 @@ module Google
|
|
538
544
|
include Google::Apis::Core::JsonObjectSupport
|
539
545
|
end
|
540
546
|
|
547
|
+
class PrometheusQueryLanguageCondition
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
|
+
|
550
|
+
include Google::Apis::Core::JsonObjectSupport
|
551
|
+
end
|
552
|
+
|
541
553
|
class QueryTimeSeriesRequest
|
542
554
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
555
|
|
@@ -622,6 +634,12 @@ module Google
|
|
622
634
|
include Google::Apis::Core::JsonObjectSupport
|
623
635
|
end
|
624
636
|
|
637
|
+
class SyntheticMonitorTarget
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
639
|
+
|
640
|
+
include Google::Apis::Core::JsonObjectSupport
|
641
|
+
end
|
642
|
+
|
625
643
|
class TcpCheck
|
626
644
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
645
|
|
@@ -818,6 +836,15 @@ module Google
|
|
818
836
|
end
|
819
837
|
end
|
820
838
|
|
839
|
+
class CloudFunctionV2Target
|
840
|
+
# @private
|
841
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
842
|
+
property :cloud_run_revision, as: 'cloudRunRevision', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
|
843
|
+
|
844
|
+
property :name, as: 'name'
|
845
|
+
end
|
846
|
+
end
|
847
|
+
|
821
848
|
class CloudRun
|
822
849
|
# @private
|
823
850
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -891,6 +918,8 @@ module Google
|
|
891
918
|
|
892
919
|
property :condition_monitoring_query_language, as: 'conditionMonitoringQueryLanguage', class: Google::Apis::MonitoringV3::MonitoringQueryLanguageCondition, decorator: Google::Apis::MonitoringV3::MonitoringQueryLanguageCondition::Representation
|
893
920
|
|
921
|
+
property :condition_prometheus_query_language, as: 'conditionPrometheusQueryLanguage', class: Google::Apis::MonitoringV3::PrometheusQueryLanguageCondition, decorator: Google::Apis::MonitoringV3::PrometheusQueryLanguageCondition::Representation
|
922
|
+
|
894
923
|
property :condition_threshold, as: 'conditionThreshold', class: Google::Apis::MonitoringV3::MetricThreshold, decorator: Google::Apis::MonitoringV3::MetricThreshold::Representation
|
895
924
|
|
896
925
|
property :display_name, as: 'displayName'
|
@@ -990,6 +1019,7 @@ module Google
|
|
990
1019
|
class Representation < Google::Apis::Core::JsonRepresentation
|
991
1020
|
property :content, as: 'content'
|
992
1021
|
property :mime_type, as: 'mimeType'
|
1022
|
+
property :subject, as: 'subject'
|
993
1023
|
end
|
994
1024
|
end
|
995
1025
|
|
@@ -1584,6 +1614,18 @@ module Google
|
|
1584
1614
|
end
|
1585
1615
|
end
|
1586
1616
|
|
1617
|
+
class PrometheusQueryLanguageCondition
|
1618
|
+
# @private
|
1619
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1620
|
+
property :alert_rule, as: 'alertRule'
|
1621
|
+
property :duration, as: 'duration'
|
1622
|
+
property :evaluation_interval, as: 'evaluationInterval'
|
1623
|
+
hash :labels, as: 'labels'
|
1624
|
+
property :query, as: 'query'
|
1625
|
+
property :rule_group, as: 'ruleGroup'
|
1626
|
+
end
|
1627
|
+
end
|
1628
|
+
|
1587
1629
|
class QueryTimeSeriesRequest
|
1588
1630
|
# @private
|
1589
1631
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1740,6 +1782,14 @@ module Google
|
|
1740
1782
|
end
|
1741
1783
|
end
|
1742
1784
|
|
1785
|
+
class SyntheticMonitorTarget
|
1786
|
+
# @private
|
1787
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1788
|
+
property :cloud_function_v2, as: 'cloudFunctionV2', class: Google::Apis::MonitoringV3::CloudFunctionV2Target, decorator: Google::Apis::MonitoringV3::CloudFunctionV2Target::Representation
|
1789
|
+
|
1790
|
+
end
|
1791
|
+
end
|
1792
|
+
|
1743
1793
|
class TcpCheck
|
1744
1794
|
# @private
|
1745
1795
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1865,6 +1915,8 @@ module Google
|
|
1865
1915
|
property :resource_group, as: 'resourceGroup', class: Google::Apis::MonitoringV3::ResourceGroup, decorator: Google::Apis::MonitoringV3::ResourceGroup::Representation
|
1866
1916
|
|
1867
1917
|
collection :selected_regions, as: 'selectedRegions'
|
1918
|
+
property :synthetic_monitor, as: 'syntheticMonitor', class: Google::Apis::MonitoringV3::SyntheticMonitorTarget, decorator: Google::Apis::MonitoringV3::SyntheticMonitorTarget::Representation
|
1919
|
+
|
1868
1920
|
property :tcp_check, as: 'tcpCheck', class: Google::Apis::MonitoringV3::TcpCheck, decorator: Google::Apis::MonitoringV3::TcpCheck::Representation
|
1869
1921
|
|
1870
1922
|
property :timeout, as: 'timeout'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-monitoring_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.48.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.48.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|