google-apis-monitoring_v3 0.33.0 → 0.64.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.
@@ -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.33.0"
19
+ GEM_VERSION = "0.64.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.9.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220819"
25
+ REVISION = "20240616"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class BasicService
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class BasicSli
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -76,6 +82,12 @@ module Google
76
82
  include Google::Apis::Core::JsonObjectSupport
77
83
  end
78
84
 
85
+ class CloudFunctionV2Target
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class CloudRun
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -148,6 +160,12 @@ module Google
148
160
  include Google::Apis::Core::JsonObjectSupport
149
161
  end
150
162
 
163
+ class Criteria
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
151
169
  class Custom
152
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
171
 
@@ -214,6 +232,12 @@ module Google
214
232
  include Google::Apis::Core::JsonObjectSupport
215
233
  end
216
234
 
235
+ class ForecastOptions
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
217
241
  class GetNotificationChannelVerificationCodeRequest
218
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
243
 
@@ -304,6 +328,12 @@ module Google
304
328
  include Google::Apis::Core::JsonObjectSupport
305
329
  end
306
330
 
331
+ class Link
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
307
337
  class ListAlertPoliciesResponse
308
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
339
 
@@ -358,6 +388,12 @@ module Google
358
388
  include Google::Apis::Core::JsonObjectSupport
359
389
  end
360
390
 
391
+ class ListSnoozesResponse
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
361
397
  class ListTimeSeriesResponse
362
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
399
 
@@ -466,6 +502,12 @@ module Google
466
502
  include Google::Apis::Core::JsonObjectSupport
467
503
  end
468
504
 
505
+ class NotificationChannelStrategy
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
469
511
  class NotificationRateLimit
470
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
513
 
@@ -508,6 +550,12 @@ module Google
508
550
  include Google::Apis::Core::JsonObjectSupport
509
551
  end
510
552
 
553
+ class PrometheusQueryLanguageCondition
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
511
559
  class QueryTimeSeriesRequest
512
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
561
 
@@ -556,6 +604,12 @@ module Google
556
604
  include Google::Apis::Core::JsonObjectSupport
557
605
  end
558
606
 
607
+ class ServiceAgentAuthentication
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
559
613
  class ServiceLevelIndicator
560
614
  class Representation < Google::Apis::Core::JsonRepresentation; end
561
615
 
@@ -568,6 +622,12 @@ module Google
568
622
  include Google::Apis::Core::JsonObjectSupport
569
623
  end
570
624
 
625
+ class Snooze
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
571
631
  class SourceContext
572
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
633
 
@@ -586,6 +646,12 @@ module Google
586
646
  include Google::Apis::Core::JsonObjectSupport
587
647
  end
588
648
 
649
+ class SyntheticMonitorTarget
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
589
655
  class TcpCheck
590
656
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
657
 
@@ -704,6 +770,7 @@ module Google
704
770
 
705
771
  property :name, as: 'name'
706
772
  collection :notification_channels, as: 'notificationChannels'
773
+ property :severity, as: 'severity'
707
774
  hash :user_labels, as: 'userLabels'
708
775
  property :validity, as: 'validity', class: Google::Apis::MonitoringV3::Status, decorator: Google::Apis::MonitoringV3::Status::Representation
709
776
 
@@ -714,6 +781,8 @@ module Google
714
781
  # @private
715
782
  class Representation < Google::Apis::Core::JsonRepresentation
716
783
  property :auto_close, as: 'autoClose'
784
+ collection :notification_channel_strategy, as: 'notificationChannelStrategy', class: Google::Apis::MonitoringV3::NotificationChannelStrategy, decorator: Google::Apis::MonitoringV3::NotificationChannelStrategy::Representation
785
+
717
786
  property :notification_rate_limit, as: 'notificationRateLimit', class: Google::Apis::MonitoringV3::NotificationRateLimit, decorator: Google::Apis::MonitoringV3::NotificationRateLimit::Representation
718
787
 
719
788
  end
@@ -740,6 +809,14 @@ module Google
740
809
  end
741
810
  end
742
811
 
812
+ class BasicService
813
+ # @private
814
+ class Representation < Google::Apis::Core::JsonRepresentation
815
+ hash :service_labels, as: 'serviceLabels'
816
+ property :service_type, as: 'serviceType'
817
+ end
818
+ end
819
+
743
820
  class BasicSli
744
821
  # @private
745
822
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -772,6 +849,15 @@ module Google
772
849
  end
773
850
  end
774
851
 
852
+ class CloudFunctionV2Target
853
+ # @private
854
+ class Representation < Google::Apis::Core::JsonRepresentation
855
+ property :cloud_run_revision, as: 'cloudRunRevision', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
856
+
857
+ property :name, as: 'name'
858
+ end
859
+ end
860
+
775
861
  class CloudRun
776
862
  # @private
777
863
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -845,6 +931,8 @@ module Google
845
931
 
846
932
  property :condition_monitoring_query_language, as: 'conditionMonitoringQueryLanguage', class: Google::Apis::MonitoringV3::MonitoringQueryLanguageCondition, decorator: Google::Apis::MonitoringV3::MonitoringQueryLanguageCondition::Representation
847
933
 
934
+ property :condition_prometheus_query_language, as: 'conditionPrometheusQueryLanguage', class: Google::Apis::MonitoringV3::PrometheusQueryLanguageCondition, decorator: Google::Apis::MonitoringV3::PrometheusQueryLanguageCondition::Representation
935
+
848
936
  property :condition_threshold, as: 'conditionThreshold', class: Google::Apis::MonitoringV3::MetricThreshold, decorator: Google::Apis::MonitoringV3::MetricThreshold::Representation
849
937
 
850
938
  property :display_name, as: 'displayName'
@@ -901,6 +989,13 @@ module Google
901
989
  end
902
990
  end
903
991
 
992
+ class Criteria
993
+ # @private
994
+ class Representation < Google::Apis::Core::JsonRepresentation
995
+ collection :policies, as: 'policies'
996
+ end
997
+ end
998
+
904
999
  class Custom
905
1000
  # @private
906
1001
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -936,7 +1031,10 @@ module Google
936
1031
  # @private
937
1032
  class Representation < Google::Apis::Core::JsonRepresentation
938
1033
  property :content, as: 'content'
1034
+ collection :links, as: 'links', class: Google::Apis::MonitoringV3::Link, decorator: Google::Apis::MonitoringV3::Link::Representation
1035
+
939
1036
  property :mime_type, as: 'mimeType'
1037
+ property :subject, as: 'subject'
940
1038
  end
941
1039
  end
942
1040
 
@@ -1004,6 +1102,13 @@ module Google
1004
1102
  end
1005
1103
  end
1006
1104
 
1105
+ class ForecastOptions
1106
+ # @private
1107
+ class Representation < Google::Apis::Core::JsonRepresentation
1108
+ property :forecast_horizon, as: 'forecastHorizon'
1109
+ end
1110
+ end
1111
+
1007
1112
  class GetNotificationChannelVerificationCodeRequest
1008
1113
  # @private
1009
1114
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1080,6 +1185,7 @@ module Google
1080
1185
 
1081
1186
  property :body, :base64 => true, as: 'body'
1082
1187
  property :content_type, as: 'contentType'
1188
+ property :custom_content_type, as: 'customContentType'
1083
1189
  hash :headers, as: 'headers'
1084
1190
  property :mask_headers, as: 'maskHeaders'
1085
1191
  property :path, as: 'path'
@@ -1087,6 +1193,8 @@ module Google
1087
1193
 
1088
1194
  property :port, as: 'port'
1089
1195
  property :request_method, as: 'requestMethod'
1196
+ property :service_agent_authentication, as: 'serviceAgentAuthentication', class: Google::Apis::MonitoringV3::ServiceAgentAuthentication, decorator: Google::Apis::MonitoringV3::ServiceAgentAuthentication::Representation
1197
+
1090
1198
  property :use_ssl, as: 'useSsl'
1091
1199
  property :validate_ssl, as: 'validateSsl'
1092
1200
  end
@@ -1155,6 +1263,14 @@ module Google
1155
1263
  end
1156
1264
  end
1157
1265
 
1266
+ class Link
1267
+ # @private
1268
+ class Representation < Google::Apis::Core::JsonRepresentation
1269
+ property :display_name, as: 'displayName'
1270
+ property :url, as: 'url'
1271
+ end
1272
+ end
1273
+
1158
1274
  class ListAlertPoliciesResponse
1159
1275
  # @private
1160
1276
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1239,6 +1355,15 @@ module Google
1239
1355
  end
1240
1356
  end
1241
1357
 
1358
+ class ListSnoozesResponse
1359
+ # @private
1360
+ class Representation < Google::Apis::Core::JsonRepresentation
1361
+ property :next_page_token, as: 'nextPageToken'
1362
+ collection :snoozes, as: 'snoozes', class: Google::Apis::MonitoringV3::Snooze, decorator: Google::Apis::MonitoringV3::Snooze::Representation
1363
+
1364
+ end
1365
+ end
1366
+
1242
1367
  class ListTimeSeriesResponse
1243
1368
  # @private
1244
1369
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1356,6 +1481,8 @@ module Google
1356
1481
  property :duration, as: 'duration'
1357
1482
  property :evaluation_missing_data, as: 'evaluationMissingData'
1358
1483
  property :filter, as: 'filter'
1484
+ property :forecast_options, as: 'forecastOptions', class: Google::Apis::MonitoringV3::ForecastOptions, decorator: Google::Apis::MonitoringV3::ForecastOptions::Representation
1485
+
1359
1486
  property :threshold_value, as: 'thresholdValue'
1360
1487
  property :trigger, as: 'trigger', class: Google::Apis::MonitoringV3::Trigger, decorator: Google::Apis::MonitoringV3::Trigger::Representation
1361
1488
 
@@ -1442,6 +1569,14 @@ module Google
1442
1569
  end
1443
1570
  end
1444
1571
 
1572
+ class NotificationChannelStrategy
1573
+ # @private
1574
+ class Representation < Google::Apis::Core::JsonRepresentation
1575
+ collection :notification_channel_names, as: 'notificationChannelNames'
1576
+ property :renotify_interval, as: 'renotifyInterval'
1577
+ end
1578
+ end
1579
+
1445
1580
  class NotificationRateLimit
1446
1581
  # @private
1447
1582
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1504,6 +1639,18 @@ module Google
1504
1639
  end
1505
1640
  end
1506
1641
 
1642
+ class PrometheusQueryLanguageCondition
1643
+ # @private
1644
+ class Representation < Google::Apis::Core::JsonRepresentation
1645
+ property :alert_rule, as: 'alertRule'
1646
+ property :duration, as: 'duration'
1647
+ property :evaluation_interval, as: 'evaluationInterval'
1648
+ hash :labels, as: 'labels'
1649
+ property :query, as: 'query'
1650
+ property :rule_group, as: 'ruleGroup'
1651
+ end
1652
+ end
1653
+
1507
1654
  class QueryTimeSeriesRequest
1508
1655
  # @private
1509
1656
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1571,6 +1718,8 @@ module Google
1571
1718
  class Representation < Google::Apis::Core::JsonRepresentation
1572
1719
  property :app_engine, as: 'appEngine', class: Google::Apis::MonitoringV3::AppEngine, decorator: Google::Apis::MonitoringV3::AppEngine::Representation
1573
1720
 
1721
+ property :basic_service, as: 'basicService', class: Google::Apis::MonitoringV3::BasicService, decorator: Google::Apis::MonitoringV3::BasicService::Representation
1722
+
1574
1723
  property :cloud_endpoints, as: 'cloudEndpoints', class: Google::Apis::MonitoringV3::CloudEndpoints, decorator: Google::Apis::MonitoringV3::CloudEndpoints::Representation
1575
1724
 
1576
1725
  property :cloud_run, as: 'cloudRun', class: Google::Apis::MonitoringV3::CloudRun, decorator: Google::Apis::MonitoringV3::CloudRun::Representation
@@ -1597,6 +1746,13 @@ module Google
1597
1746
  end
1598
1747
  end
1599
1748
 
1749
+ class ServiceAgentAuthentication
1750
+ # @private
1751
+ class Representation < Google::Apis::Core::JsonRepresentation
1752
+ property :type, as: 'type'
1753
+ end
1754
+ end
1755
+
1600
1756
  class ServiceLevelIndicator
1601
1757
  # @private
1602
1758
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1623,6 +1779,18 @@ module Google
1623
1779
  end
1624
1780
  end
1625
1781
 
1782
+ class Snooze
1783
+ # @private
1784
+ class Representation < Google::Apis::Core::JsonRepresentation
1785
+ property :criteria, as: 'criteria', class: Google::Apis::MonitoringV3::Criteria, decorator: Google::Apis::MonitoringV3::Criteria::Representation
1786
+
1787
+ property :display_name, as: 'displayName'
1788
+ property :interval, as: 'interval', class: Google::Apis::MonitoringV3::TimeInterval, decorator: Google::Apis::MonitoringV3::TimeInterval::Representation
1789
+
1790
+ property :name, as: 'name'
1791
+ end
1792
+ end
1793
+
1626
1794
  class SourceContext
1627
1795
  # @private
1628
1796
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1646,6 +1814,14 @@ module Google
1646
1814
  end
1647
1815
  end
1648
1816
 
1817
+ class SyntheticMonitorTarget
1818
+ # @private
1819
+ class Representation < Google::Apis::Core::JsonRepresentation
1820
+ property :cloud_function_v2, as: 'cloudFunctionV2', class: Google::Apis::MonitoringV3::CloudFunctionV2Target, decorator: Google::Apis::MonitoringV3::CloudFunctionV2Target::Representation
1821
+
1822
+ end
1823
+ end
1824
+
1649
1825
  class TcpCheck
1650
1826
  # @private
1651
1827
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1727,6 +1903,7 @@ module Google
1727
1903
  class Type
1728
1904
  # @private
1729
1905
  class Representation < Google::Apis::Core::JsonRepresentation
1906
+ property :edition, as: 'edition'
1730
1907
  collection :fields, as: 'fields', class: Google::Apis::MonitoringV3::Field, decorator: Google::Apis::MonitoringV3::Field::Representation
1731
1908
 
1732
1909
  property :name, as: 'name'
@@ -1770,6 +1947,8 @@ module Google
1770
1947
  property :resource_group, as: 'resourceGroup', class: Google::Apis::MonitoringV3::ResourceGroup, decorator: Google::Apis::MonitoringV3::ResourceGroup::Representation
1771
1948
 
1772
1949
  collection :selected_regions, as: 'selectedRegions'
1950
+ property :synthetic_monitor, as: 'syntheticMonitor', class: Google::Apis::MonitoringV3::SyntheticMonitorTarget, decorator: Google::Apis::MonitoringV3::SyntheticMonitorTarget::Representation
1951
+
1773
1952
  property :tcp_check, as: 'tcpCheck', class: Google::Apis::MonitoringV3::TcpCheck, decorator: Google::Apis::MonitoringV3::TcpCheck::Representation
1774
1953
 
1775
1954
  property :timeout, as: 'timeout'