google-apis-monitoring_v3 0.67.0 → 0.69.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: 1d7c6715cb102eb536e1f92f8363b3ed0e7e8175a9bd99f61ea3ff5c9d6bced1
|
4
|
+
data.tar.gz: 7ee36081b4b72adafadeaf17f39ebf2e4966ea697997cc3fe20f4001c373c671
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1aebb665f32f112528cbf9e1dfcc0586182bc568c5a94a94672e92151b3cf802af4bf8576287f150194c91c358db20fa2d5f6c4533479839120c4a6abd5c865
|
7
|
+
data.tar.gz: 81376e4914bf551438a759548c72a7b9822370794dcf23118068dcbb0acb888dd503d5ff3a2f77f6258b89759d72a8182daf8a2361cdebbbe2ed9f63a416cd75
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v3
|
2
2
|
|
3
|
+
### v0.69.0 (2024-10-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240929
|
6
|
+
|
7
|
+
### v0.68.0 (2024-09-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240829
|
10
|
+
|
3
11
|
### v0.67.0 (2024-08-11)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240804
|
@@ -440,6 +440,27 @@ module Google
|
|
440
440
|
end
|
441
441
|
end
|
442
442
|
|
443
|
+
# A test that uses an alerting result in a boolean column produced by the SQL
|
444
|
+
# query.
|
445
|
+
class BooleanTest
|
446
|
+
include Google::Apis::Core::Hashable
|
447
|
+
|
448
|
+
# Required. The name of the column containing the boolean value. If the value in
|
449
|
+
# a row is NULL, that row is ignored.
|
450
|
+
# Corresponds to the JSON property `column`
|
451
|
+
# @return [String]
|
452
|
+
attr_accessor :column
|
453
|
+
|
454
|
+
def initialize(**args)
|
455
|
+
update!(**args)
|
456
|
+
end
|
457
|
+
|
458
|
+
# Update properties of this object
|
459
|
+
def update!(**args)
|
460
|
+
@column = args[:column] if args.key?(:column)
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
443
464
|
# BucketOptions describes the bucket boundaries used to create a histogram for
|
444
465
|
# the distribution. The buckets can be in a linear sequence, an exponential
|
445
466
|
# sequence, or each bucket can be specified explicitly. BucketOptions does not
|
@@ -842,6 +863,13 @@ module Google
|
|
842
863
|
# @return [Google::Apis::MonitoringV3::PrometheusQueryLanguageCondition]
|
843
864
|
attr_accessor :condition_prometheus_query_language
|
844
865
|
|
866
|
+
# A condition that allows alert policies to be defined using GoogleSQL. SQL
|
867
|
+
# conditions examine a sliding window of logs using GoogleSQL. Alert policies
|
868
|
+
# with SQL conditions may incur additional billing.
|
869
|
+
# Corresponds to the JSON property `conditionSql`
|
870
|
+
# @return [Google::Apis::MonitoringV3::SqlCondition]
|
871
|
+
attr_accessor :condition_sql
|
872
|
+
|
845
873
|
# A condition type that compares a collection of time series against a threshold.
|
846
874
|
# Corresponds to the JSON property `conditionThreshold`
|
847
875
|
# @return [Google::Apis::MonitoringV3::MetricThreshold]
|
@@ -882,6 +910,7 @@ module Google
|
|
882
910
|
@condition_matched_log = args[:condition_matched_log] if args.key?(:condition_matched_log)
|
883
911
|
@condition_monitoring_query_language = args[:condition_monitoring_query_language] if args.key?(:condition_monitoring_query_language)
|
884
912
|
@condition_prometheus_query_language = args[:condition_prometheus_query_language] if args.key?(:condition_prometheus_query_language)
|
913
|
+
@condition_sql = args[:condition_sql] if args.key?(:condition_sql)
|
885
914
|
@condition_threshold = args[:condition_threshold] if args.key?(:condition_threshold)
|
886
915
|
@display_name = args[:display_name] if args.key?(:display_name)
|
887
916
|
@name = args[:name] if args.key?(:name)
|
@@ -1091,6 +1120,35 @@ module Google
|
|
1091
1120
|
end
|
1092
1121
|
end
|
1093
1122
|
|
1123
|
+
# Used to schedule the query to run every so many days.
|
1124
|
+
class Daily
|
1125
|
+
include Google::Apis::Core::Hashable
|
1126
|
+
|
1127
|
+
# Represents a time of day. The date and time zone are either not significant or
|
1128
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
1129
|
+
# types are google.type.Date and google.protobuf.Timestamp.
|
1130
|
+
# Corresponds to the JSON property `executionTime`
|
1131
|
+
# @return [Google::Apis::MonitoringV3::TimeOfDay]
|
1132
|
+
attr_accessor :execution_time
|
1133
|
+
|
1134
|
+
# Required. LINT.IfChange The number of days between runs. Must be greater than
|
1135
|
+
# or equal to 1 day and less than or equal to 31 days. LINT.ThenChange(//depot/
|
1136
|
+
# google3/cloud/monitoring/api/alerts/policy_validation.cc)
|
1137
|
+
# Corresponds to the JSON property `periodicity`
|
1138
|
+
# @return [Fixnum]
|
1139
|
+
attr_accessor :periodicity
|
1140
|
+
|
1141
|
+
def initialize(**args)
|
1142
|
+
update!(**args)
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
# Update properties of this object
|
1146
|
+
def update!(**args)
|
1147
|
+
@execution_time = args[:execution_time] if args.key?(:execution_time)
|
1148
|
+
@periodicity = args[:periodicity] if args.key?(:periodicity)
|
1149
|
+
end
|
1150
|
+
end
|
1151
|
+
|
1094
1152
|
# Distribution contains summary statistics for a population of values. It
|
1095
1153
|
# optionally contains a histogram representing the distribution of those values
|
1096
1154
|
# across a set of buckets.The summary statistics are the count, mean, sum of the
|
@@ -1837,6 +1895,36 @@ module Google
|
|
1837
1895
|
end
|
1838
1896
|
end
|
1839
1897
|
|
1898
|
+
# Used to schedule the query to run every so many hours.
|
1899
|
+
class Hourly
|
1900
|
+
include Google::Apis::Core::Hashable
|
1901
|
+
|
1902
|
+
# Optional. LINT.IfChange The number of minutes after the hour (in UTC) to run
|
1903
|
+
# the query. Must be between 0 and 59 inclusive. If left unspecified, then an
|
1904
|
+
# arbitrary offset is used. LINT.ThenChange(//depot/google3/cloud/monitoring/api/
|
1905
|
+
# alerts/policy_validation.cc)
|
1906
|
+
# Corresponds to the JSON property `minuteOffset`
|
1907
|
+
# @return [Fixnum]
|
1908
|
+
attr_accessor :minute_offset
|
1909
|
+
|
1910
|
+
# Required. LINT.IfChange The number of hours between runs. Must be greater than
|
1911
|
+
# or equal to 1 hour and less than or equal to 48 hours. LINT.ThenChange(//depot/
|
1912
|
+
# google3/cloud/monitoring/api/alerts/policy_validation.cc)
|
1913
|
+
# Corresponds to the JSON property `periodicity`
|
1914
|
+
# @return [Fixnum]
|
1915
|
+
attr_accessor :periodicity
|
1916
|
+
|
1917
|
+
def initialize(**args)
|
1918
|
+
update!(**args)
|
1919
|
+
end
|
1920
|
+
|
1921
|
+
# Update properties of this object
|
1922
|
+
def update!(**args)
|
1923
|
+
@minute_offset = args[:minute_offset] if args.key?(:minute_offset)
|
1924
|
+
@periodicity = args[:periodicity] if args.key?(:periodicity)
|
1925
|
+
end
|
1926
|
+
end
|
1927
|
+
|
1840
1928
|
# Information involved in an HTTP/HTTPS Uptime check request.
|
1841
1929
|
class HttpCheck
|
1842
1930
|
include Google::Apis::Core::Hashable
|
@@ -2980,6 +3068,11 @@ module Google
|
|
2980
3068
|
# @return [String]
|
2981
3069
|
attr_accessor :sample_period
|
2982
3070
|
|
3071
|
+
# The scope of the timeseries data of the metric.
|
3072
|
+
# Corresponds to the JSON property `timeSeriesResourceHierarchyLevel`
|
3073
|
+
# @return [Array<String>]
|
3074
|
+
attr_accessor :time_series_resource_hierarchy_level
|
3075
|
+
|
2983
3076
|
def initialize(**args)
|
2984
3077
|
update!(**args)
|
2985
3078
|
end
|
@@ -2989,6 +3082,7 @@ module Google
|
|
2989
3082
|
@ingest_delay = args[:ingest_delay] if args.key?(:ingest_delay)
|
2990
3083
|
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
|
2991
3084
|
@sample_period = args[:sample_period] if args.key?(:sample_period)
|
3085
|
+
@time_series_resource_hierarchy_level = args[:time_series_resource_hierarchy_level] if args.key?(:time_series_resource_hierarchy_level)
|
2992
3086
|
end
|
2993
3087
|
end
|
2994
3088
|
|
@@ -3135,6 +3229,27 @@ module Google
|
|
3135
3229
|
end
|
3136
3230
|
end
|
3137
3231
|
|
3232
|
+
# Used to schedule the query to run every so many minutes.
|
3233
|
+
class Minutes
|
3234
|
+
include Google::Apis::Core::Hashable
|
3235
|
+
|
3236
|
+
# Required. LINT.IfChange Number of minutes between runs. The interval must be
|
3237
|
+
# between 5 minutes and 1440 minutes. LINT.ThenChange(//depot/google3/cloud/
|
3238
|
+
# monitoring/api/alerts/policy_validation.cc)
|
3239
|
+
# Corresponds to the JSON property `periodicity`
|
3240
|
+
# @return [Fixnum]
|
3241
|
+
attr_accessor :periodicity
|
3242
|
+
|
3243
|
+
def initialize(**args)
|
3244
|
+
update!(**args)
|
3245
|
+
end
|
3246
|
+
|
3247
|
+
# Update properties of this object
|
3248
|
+
def update!(**args)
|
3249
|
+
@periodicity = args[:periodicity] if args.key?(:periodicity)
|
3250
|
+
end
|
3251
|
+
end
|
3252
|
+
|
3138
3253
|
# An object representing a resource that can be used for monitoring, logging,
|
3139
3254
|
# billing, or other purposes. Examples include virtual machine instances,
|
3140
3255
|
# databases, and storage devices such as disks. The type field identifies a
|
@@ -3905,7 +4020,9 @@ module Google
|
|
3905
4020
|
end
|
3906
4021
|
end
|
3907
4022
|
|
3908
|
-
# The QueryTimeSeries request.
|
4023
|
+
# The QueryTimeSeries request. For information about the status of Monitoring
|
4024
|
+
# Query Language (MQL), see the MQL deprecation notice (https://cloud.google.com/
|
4025
|
+
# stackdriver/docs/deprecations/mql).
|
3909
4026
|
class QueryTimeSeriesRequest
|
3910
4027
|
include Google::Apis::Core::Hashable
|
3911
4028
|
|
@@ -3939,7 +4056,9 @@ module Google
|
|
3939
4056
|
end
|
3940
4057
|
end
|
3941
4058
|
|
3942
|
-
# The QueryTimeSeries response.
|
4059
|
+
# The QueryTimeSeries response. For information about the status of Monitoring
|
4060
|
+
# Query Language (MQL), see the MQL deprecation notice (https://cloud.google.com/
|
4061
|
+
# stackdriver/docs/deprecations/mql).
|
3943
4062
|
class QueryTimeSeriesResponse
|
3944
4063
|
include Google::Apis::Core::Hashable
|
3945
4064
|
|
@@ -4092,6 +4211,33 @@ module Google
|
|
4092
4211
|
end
|
4093
4212
|
end
|
4094
4213
|
|
4214
|
+
# A test that checks if the number of rows in the result set violates some
|
4215
|
+
# threshold.
|
4216
|
+
class RowCountTest
|
4217
|
+
include Google::Apis::Core::Hashable
|
4218
|
+
|
4219
|
+
# Required. The comparison to apply between the number of rows returned by the
|
4220
|
+
# query and the threshold.
|
4221
|
+
# Corresponds to the JSON property `comparison`
|
4222
|
+
# @return [String]
|
4223
|
+
attr_accessor :comparison
|
4224
|
+
|
4225
|
+
# Required. The value against which to compare the row count.
|
4226
|
+
# Corresponds to the JSON property `threshold`
|
4227
|
+
# @return [Fixnum]
|
4228
|
+
attr_accessor :threshold
|
4229
|
+
|
4230
|
+
def initialize(**args)
|
4231
|
+
update!(**args)
|
4232
|
+
end
|
4233
|
+
|
4234
|
+
# Update properties of this object
|
4235
|
+
def update!(**args)
|
4236
|
+
@comparison = args[:comparison] if args.key?(:comparison)
|
4237
|
+
@threshold = args[:threshold] if args.key?(:threshold)
|
4238
|
+
end
|
4239
|
+
end
|
4240
|
+
|
4095
4241
|
# The SendNotificationChannelVerificationCode request.
|
4096
4242
|
class SendNotificationChannelVerificationCodeRequest
|
4097
4243
|
include Google::Apis::Core::Hashable
|
@@ -4503,6 +4649,65 @@ module Google
|
|
4503
4649
|
end
|
4504
4650
|
end
|
4505
4651
|
|
4652
|
+
# A condition that allows alert policies to be defined using GoogleSQL. SQL
|
4653
|
+
# conditions examine a sliding window of logs using GoogleSQL. Alert policies
|
4654
|
+
# with SQL conditions may incur additional billing.
|
4655
|
+
class SqlCondition
|
4656
|
+
include Google::Apis::Core::Hashable
|
4657
|
+
|
4658
|
+
# A test that uses an alerting result in a boolean column produced by the SQL
|
4659
|
+
# query.
|
4660
|
+
# Corresponds to the JSON property `booleanTest`
|
4661
|
+
# @return [Google::Apis::MonitoringV3::BooleanTest]
|
4662
|
+
attr_accessor :boolean_test
|
4663
|
+
|
4664
|
+
# Used to schedule the query to run every so many days.
|
4665
|
+
# Corresponds to the JSON property `daily`
|
4666
|
+
# @return [Google::Apis::MonitoringV3::Daily]
|
4667
|
+
attr_accessor :daily
|
4668
|
+
|
4669
|
+
# Used to schedule the query to run every so many hours.
|
4670
|
+
# Corresponds to the JSON property `hourly`
|
4671
|
+
# @return [Google::Apis::MonitoringV3::Hourly]
|
4672
|
+
attr_accessor :hourly
|
4673
|
+
|
4674
|
+
# Used to schedule the query to run every so many minutes.
|
4675
|
+
# Corresponds to the JSON property `minutes`
|
4676
|
+
# @return [Google::Apis::MonitoringV3::Minutes]
|
4677
|
+
attr_accessor :minutes
|
4678
|
+
|
4679
|
+
# Required. The Log Analytics SQL query to run, as a string. The query must
|
4680
|
+
# conform to the required shape. Specifically, the query must not try to filter
|
4681
|
+
# the input by time. A filter will automatically be applied to filter the input
|
4682
|
+
# so that the query receives all rows received since the last time the query was
|
4683
|
+
# run.E.g. Extract all log entries containing an HTTP request:SELECT timestamp,
|
4684
|
+
# log_name, severity, http_request, resource, labels FROM my-project.global.
|
4685
|
+
# _Default._AllLogs WHERE http_request IS NOT NULL
|
4686
|
+
# Corresponds to the JSON property `query`
|
4687
|
+
# @return [String]
|
4688
|
+
attr_accessor :query
|
4689
|
+
|
4690
|
+
# A test that checks if the number of rows in the result set violates some
|
4691
|
+
# threshold.
|
4692
|
+
# Corresponds to the JSON property `rowCountTest`
|
4693
|
+
# @return [Google::Apis::MonitoringV3::RowCountTest]
|
4694
|
+
attr_accessor :row_count_test
|
4695
|
+
|
4696
|
+
def initialize(**args)
|
4697
|
+
update!(**args)
|
4698
|
+
end
|
4699
|
+
|
4700
|
+
# Update properties of this object
|
4701
|
+
def update!(**args)
|
4702
|
+
@boolean_test = args[:boolean_test] if args.key?(:boolean_test)
|
4703
|
+
@daily = args[:daily] if args.key?(:daily)
|
4704
|
+
@hourly = args[:hourly] if args.key?(:hourly)
|
4705
|
+
@minutes = args[:minutes] if args.key?(:minutes)
|
4706
|
+
@query = args[:query] if args.key?(:query)
|
4707
|
+
@row_count_test = args[:row_count_test] if args.key?(:row_count_test)
|
4708
|
+
end
|
4709
|
+
end
|
4710
|
+
|
4506
4711
|
# The Status type defines a logical error model that is suitable for different
|
4507
4712
|
# programming environments, including REST APIs and RPC APIs. It is used by gRPC
|
4508
4713
|
# (https://github.com/grpc). Each Status message contains three pieces of data:
|
@@ -4663,6 +4868,47 @@ module Google
|
|
4663
4868
|
end
|
4664
4869
|
end
|
4665
4870
|
|
4871
|
+
# Represents a time of day. The date and time zone are either not significant or
|
4872
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
4873
|
+
# types are google.type.Date and google.protobuf.Timestamp.
|
4874
|
+
class TimeOfDay
|
4875
|
+
include Google::Apis::Core::Hashable
|
4876
|
+
|
4877
|
+
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
|
4878
|
+
# allow the value "24:00:00" for scenarios like business closing time.
|
4879
|
+
# Corresponds to the JSON property `hours`
|
4880
|
+
# @return [Fixnum]
|
4881
|
+
attr_accessor :hours
|
4882
|
+
|
4883
|
+
# Minutes of hour of day. Must be from 0 to 59.
|
4884
|
+
# Corresponds to the JSON property `minutes`
|
4885
|
+
# @return [Fixnum]
|
4886
|
+
attr_accessor :minutes
|
4887
|
+
|
4888
|
+
# Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
|
4889
|
+
# Corresponds to the JSON property `nanos`
|
4890
|
+
# @return [Fixnum]
|
4891
|
+
attr_accessor :nanos
|
4892
|
+
|
4893
|
+
# Seconds of minutes of the time. Must normally be from 0 to 59. An API may
|
4894
|
+
# allow the value 60 if it allows leap-seconds.
|
4895
|
+
# Corresponds to the JSON property `seconds`
|
4896
|
+
# @return [Fixnum]
|
4897
|
+
attr_accessor :seconds
|
4898
|
+
|
4899
|
+
def initialize(**args)
|
4900
|
+
update!(**args)
|
4901
|
+
end
|
4902
|
+
|
4903
|
+
# Update properties of this object
|
4904
|
+
def update!(**args)
|
4905
|
+
@hours = args[:hours] if args.key?(:hours)
|
4906
|
+
@minutes = args[:minutes] if args.key?(:minutes)
|
4907
|
+
@nanos = args[:nanos] if args.key?(:nanos)
|
4908
|
+
@seconds = args[:seconds] if args.key?(:seconds)
|
4909
|
+
end
|
4910
|
+
end
|
4911
|
+
|
4666
4912
|
# A collection of data points that describes the time-varying values of a metric.
|
4667
4913
|
# A time series is identified by a combination of a fully-specified monitored
|
4668
4914
|
# resource and a fully-specified metric. This type is used for both listing and
|
@@ -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.69.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240929"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class BooleanTest
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class BucketOptions
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -172,6 +178,12 @@ module Google
|
|
172
178
|
include Google::Apis::Core::JsonObjectSupport
|
173
179
|
end
|
174
180
|
|
181
|
+
class Daily
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
175
187
|
class Distribution
|
176
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
189
|
|
@@ -280,6 +292,12 @@ module Google
|
|
280
292
|
include Google::Apis::Core::JsonObjectSupport
|
281
293
|
end
|
282
294
|
|
295
|
+
class Hourly
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
283
301
|
class HttpCheck
|
284
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
303
|
|
@@ -460,6 +478,12 @@ module Google
|
|
460
478
|
include Google::Apis::Core::JsonObjectSupport
|
461
479
|
end
|
462
480
|
|
481
|
+
class Minutes
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
463
487
|
class MonitoredResource
|
464
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
489
|
|
@@ -592,6 +616,12 @@ module Google
|
|
592
616
|
include Google::Apis::Core::JsonObjectSupport
|
593
617
|
end
|
594
618
|
|
619
|
+
class RowCountTest
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
595
625
|
class SendNotificationChannelVerificationCodeRequest
|
596
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
627
|
|
@@ -640,6 +670,12 @@ module Google
|
|
640
670
|
include Google::Apis::Core::JsonObjectSupport
|
641
671
|
end
|
642
672
|
|
673
|
+
class SqlCondition
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
|
+
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
677
|
+
end
|
678
|
+
|
643
679
|
class Status
|
644
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
681
|
|
@@ -670,6 +706,12 @@ module Google
|
|
670
706
|
include Google::Apis::Core::JsonObjectSupport
|
671
707
|
end
|
672
708
|
|
709
|
+
class TimeOfDay
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
|
+
|
712
|
+
include Google::Apis::Core::JsonObjectSupport
|
713
|
+
end
|
714
|
+
|
673
715
|
class TimeSeries
|
674
716
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
717
|
|
@@ -830,6 +872,13 @@ module Google
|
|
830
872
|
end
|
831
873
|
end
|
832
874
|
|
875
|
+
class BooleanTest
|
876
|
+
# @private
|
877
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
878
|
+
property :column, as: 'column'
|
879
|
+
end
|
880
|
+
end
|
881
|
+
|
833
882
|
class BucketOptions
|
834
883
|
# @private
|
835
884
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -933,6 +982,8 @@ module Google
|
|
933
982
|
|
934
983
|
property :condition_prometheus_query_language, as: 'conditionPrometheusQueryLanguage', class: Google::Apis::MonitoringV3::PrometheusQueryLanguageCondition, decorator: Google::Apis::MonitoringV3::PrometheusQueryLanguageCondition::Representation
|
935
984
|
|
985
|
+
property :condition_sql, as: 'conditionSql', class: Google::Apis::MonitoringV3::SqlCondition, decorator: Google::Apis::MonitoringV3::SqlCondition::Representation
|
986
|
+
|
936
987
|
property :condition_threshold, as: 'conditionThreshold', class: Google::Apis::MonitoringV3::MetricThreshold, decorator: Google::Apis::MonitoringV3::MetricThreshold::Representation
|
937
988
|
|
938
989
|
property :display_name, as: 'displayName'
|
@@ -1002,6 +1053,15 @@ module Google
|
|
1002
1053
|
end
|
1003
1054
|
end
|
1004
1055
|
|
1056
|
+
class Daily
|
1057
|
+
# @private
|
1058
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1059
|
+
property :execution_time, as: 'executionTime', class: Google::Apis::MonitoringV3::TimeOfDay, decorator: Google::Apis::MonitoringV3::TimeOfDay::Representation
|
1060
|
+
|
1061
|
+
property :periodicity, as: 'periodicity'
|
1062
|
+
end
|
1063
|
+
end
|
1064
|
+
|
1005
1065
|
class Distribution
|
1006
1066
|
# @private
|
1007
1067
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1176,6 +1236,14 @@ module Google
|
|
1176
1236
|
end
|
1177
1237
|
end
|
1178
1238
|
|
1239
|
+
class Hourly
|
1240
|
+
# @private
|
1241
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1242
|
+
property :minute_offset, as: 'minuteOffset'
|
1243
|
+
property :periodicity, as: 'periodicity'
|
1244
|
+
end
|
1245
|
+
end
|
1246
|
+
|
1179
1247
|
class HttpCheck
|
1180
1248
|
# @private
|
1181
1249
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1457,6 +1525,7 @@ module Google
|
|
1457
1525
|
property :ingest_delay, as: 'ingestDelay'
|
1458
1526
|
property :launch_stage, as: 'launchStage'
|
1459
1527
|
property :sample_period, as: 'samplePeriod'
|
1528
|
+
collection :time_series_resource_hierarchy_level, as: 'timeSeriesResourceHierarchyLevel'
|
1460
1529
|
end
|
1461
1530
|
end
|
1462
1531
|
|
@@ -1489,6 +1558,13 @@ module Google
|
|
1489
1558
|
end
|
1490
1559
|
end
|
1491
1560
|
|
1561
|
+
class Minutes
|
1562
|
+
# @private
|
1563
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1564
|
+
property :periodicity, as: 'periodicity'
|
1565
|
+
end
|
1566
|
+
end
|
1567
|
+
|
1492
1568
|
class MonitoredResource
|
1493
1569
|
# @private
|
1494
1570
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1707,6 +1783,14 @@ module Google
|
|
1707
1783
|
end
|
1708
1784
|
end
|
1709
1785
|
|
1786
|
+
class RowCountTest
|
1787
|
+
# @private
|
1788
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1789
|
+
property :comparison, as: 'comparison'
|
1790
|
+
property :threshold, :numeric_string => true, as: 'threshold'
|
1791
|
+
end
|
1792
|
+
end
|
1793
|
+
|
1710
1794
|
class SendNotificationChannelVerificationCodeRequest
|
1711
1795
|
# @private
|
1712
1796
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1805,6 +1889,23 @@ module Google
|
|
1805
1889
|
end
|
1806
1890
|
end
|
1807
1891
|
|
1892
|
+
class SqlCondition
|
1893
|
+
# @private
|
1894
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1895
|
+
property :boolean_test, as: 'booleanTest', class: Google::Apis::MonitoringV3::BooleanTest, decorator: Google::Apis::MonitoringV3::BooleanTest::Representation
|
1896
|
+
|
1897
|
+
property :daily, as: 'daily', class: Google::Apis::MonitoringV3::Daily, decorator: Google::Apis::MonitoringV3::Daily::Representation
|
1898
|
+
|
1899
|
+
property :hourly, as: 'hourly', class: Google::Apis::MonitoringV3::Hourly, decorator: Google::Apis::MonitoringV3::Hourly::Representation
|
1900
|
+
|
1901
|
+
property :minutes, as: 'minutes', class: Google::Apis::MonitoringV3::Minutes, decorator: Google::Apis::MonitoringV3::Minutes::Representation
|
1902
|
+
|
1903
|
+
property :query, as: 'query'
|
1904
|
+
property :row_count_test, as: 'rowCountTest', class: Google::Apis::MonitoringV3::RowCountTest, decorator: Google::Apis::MonitoringV3::RowCountTest::Representation
|
1905
|
+
|
1906
|
+
end
|
1907
|
+
end
|
1908
|
+
|
1808
1909
|
class Status
|
1809
1910
|
# @private
|
1810
1911
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1846,6 +1947,16 @@ module Google
|
|
1846
1947
|
end
|
1847
1948
|
end
|
1848
1949
|
|
1950
|
+
class TimeOfDay
|
1951
|
+
# @private
|
1952
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1953
|
+
property :hours, as: 'hours'
|
1954
|
+
property :minutes, as: 'minutes'
|
1955
|
+
property :nanos, as: 'nanos'
|
1956
|
+
property :seconds, as: 'seconds'
|
1957
|
+
end
|
1958
|
+
end
|
1959
|
+
|
1849
1960
|
class TimeSeries
|
1850
1961
|
# @private
|
1851
1962
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1946,7 +1946,10 @@ module Google
|
|
1946
1946
|
execute_or_queue_command(command, &block)
|
1947
1947
|
end
|
1948
1948
|
|
1949
|
-
# Queries time series using Monitoring Query Language.
|
1949
|
+
# Queries time series by using Monitoring Query Language (MQL). We recommend
|
1950
|
+
# using PromQL instead of MQL. For more information about the status of MQL, see
|
1951
|
+
# the MQL deprecation notice (https://cloud.google.com/stackdriver/docs/
|
1952
|
+
# deprecations/mql).
|
1950
1953
|
# @param [String] name
|
1951
1954
|
# Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
|
1952
1955
|
# on which to execute the request. The format is: projects/[
|
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.69.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: 2024-
|
11
|
+
date: 2024-10-06 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.69.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: []
|