google-apis-monitoring_v1 0.43.0 → 0.45.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: fe27f7e4832f73dd29cc017d4ba71b02b9579f42b5181d0ae4db750d0d08862d
|
4
|
+
data.tar.gz: f88d6fd97283c953b8b0c1bc2d1149eeb029f6c396b7af917157c3b7f71c674b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf897390d8d2e28ca28466aaa747a1731a2f26efea51803d76631048eda495f72f449362cffc04025cfc43bc8819a918b9a1eb76d0adbba37d8652a7c1920478
|
7
|
+
data.tar.gz: 56e8df7018beedbe5f907eb2ab3e66102b8c27b233dfcb4533f038e991bc2b4714e5dc5a18263ba671cc8aeb6e7ecae4ff69dbf63c765d1a8ed37136f3ee440d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v1
|
2
2
|
|
3
|
+
### v0.45.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240115
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
8
|
+
### v0.44.0 (2023-12-17)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20231212
|
11
|
+
|
3
12
|
### v0.43.0 (2023-12-10)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20231205
|
@@ -920,6 +920,36 @@ module Google
|
|
920
920
|
end
|
921
921
|
end
|
922
922
|
|
923
|
+
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
924
|
+
# Timestamp end (exclusive).The start must be less than or equal to the end.
|
925
|
+
# When the start equals the end, the interval is empty (matches no time). When
|
926
|
+
# both start and end are unspecified, the interval matches any time.
|
927
|
+
class Interval
|
928
|
+
include Google::Apis::Core::Hashable
|
929
|
+
|
930
|
+
# Optional. Exclusive end of the interval.If specified, a Timestamp matching
|
931
|
+
# this interval will have to be before the end.
|
932
|
+
# Corresponds to the JSON property `endTime`
|
933
|
+
# @return [String]
|
934
|
+
attr_accessor :end_time
|
935
|
+
|
936
|
+
# Optional. Inclusive start of the interval.If specified, a Timestamp matching
|
937
|
+
# this interval will have to be the same or after the start.
|
938
|
+
# Corresponds to the JSON property `startTime`
|
939
|
+
# @return [String]
|
940
|
+
attr_accessor :start_time
|
941
|
+
|
942
|
+
def initialize(**args)
|
943
|
+
update!(**args)
|
944
|
+
end
|
945
|
+
|
946
|
+
# Update properties of this object
|
947
|
+
def update!(**args)
|
948
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
949
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
950
|
+
end
|
951
|
+
end
|
952
|
+
|
923
953
|
# The ListDashboards request.
|
924
954
|
class ListDashboardsResponse
|
925
955
|
include Google::Apis::Core::Hashable
|
@@ -1350,6 +1380,14 @@ module Google
|
|
1350
1380
|
# @return [String]
|
1351
1381
|
attr_accessor :direction
|
1352
1382
|
|
1383
|
+
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
1384
|
+
# Timestamp end (exclusive).The start must be less than or equal to the end.
|
1385
|
+
# When the start equals the end, the interval is empty (matches no time). When
|
1386
|
+
# both start and end are unspecified, the interval matches any time.
|
1387
|
+
# Corresponds to the JSON property `interval`
|
1388
|
+
# @return [Google::Apis::MonitoringV1::Interval]
|
1389
|
+
attr_accessor :interval
|
1390
|
+
|
1353
1391
|
# How many time series to allow to pass through the filter.
|
1354
1392
|
# Corresponds to the JSON property `numTimeSeries`
|
1355
1393
|
# @return [Fixnum]
|
@@ -1368,6 +1406,7 @@ module Google
|
|
1368
1406
|
# Update properties of this object
|
1369
1407
|
def update!(**args)
|
1370
1408
|
@direction = args[:direction] if args.key?(:direction)
|
1409
|
+
@interval = args[:interval] if args.key?(:interval)
|
1371
1410
|
@num_time_series = args[:num_time_series] if args.key?(:num_time_series)
|
1372
1411
|
@ranking_method = args[:ranking_method] if args.key?(:ranking_method)
|
1373
1412
|
end
|
@@ -1796,6 +1835,48 @@ module Google
|
|
1796
1835
|
end
|
1797
1836
|
end
|
1798
1837
|
|
1838
|
+
# A widget that defines a new section header. Sections populate a table of
|
1839
|
+
# contents and allow easier navigation of long-form content.
|
1840
|
+
class SectionHeader
|
1841
|
+
include Google::Apis::Core::Hashable
|
1842
|
+
|
1843
|
+
# Whether to insert a divider below the section in the table of contents
|
1844
|
+
# Corresponds to the JSON property `dividerBelow`
|
1845
|
+
# @return [Boolean]
|
1846
|
+
attr_accessor :divider_below
|
1847
|
+
alias_method :divider_below?, :divider_below
|
1848
|
+
|
1849
|
+
# The subtitle of the section
|
1850
|
+
# Corresponds to the JSON property `subtitle`
|
1851
|
+
# @return [String]
|
1852
|
+
attr_accessor :subtitle
|
1853
|
+
|
1854
|
+
def initialize(**args)
|
1855
|
+
update!(**args)
|
1856
|
+
end
|
1857
|
+
|
1858
|
+
# Update properties of this object
|
1859
|
+
def update!(**args)
|
1860
|
+
@divider_below = args[:divider_below] if args.key?(:divider_below)
|
1861
|
+
@subtitle = args[:subtitle] if args.key?(:subtitle)
|
1862
|
+
end
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
# A widget that groups the other widgets by using a dropdown menu. All widgets
|
1866
|
+
# that are within the area spanned by the grouping widget are considered member
|
1867
|
+
# widgets.
|
1868
|
+
class SingleViewGroup
|
1869
|
+
include Google::Apis::Core::Hashable
|
1870
|
+
|
1871
|
+
def initialize(**args)
|
1872
|
+
update!(**args)
|
1873
|
+
end
|
1874
|
+
|
1875
|
+
# Update properties of this object
|
1876
|
+
def update!(**args)
|
1877
|
+
end
|
1878
|
+
end
|
1879
|
+
|
1799
1880
|
# SourceContext represents information about the source of a protobuf element,
|
1800
1881
|
# like the file in which it is defined.
|
1801
1882
|
class SourceContext
|
@@ -2566,6 +2647,19 @@ module Google
|
|
2566
2647
|
# @return [Google::Apis::MonitoringV1::Scorecard]
|
2567
2648
|
attr_accessor :scorecard
|
2568
2649
|
|
2650
|
+
# A widget that defines a new section header. Sections populate a table of
|
2651
|
+
# contents and allow easier navigation of long-form content.
|
2652
|
+
# Corresponds to the JSON property `sectionHeader`
|
2653
|
+
# @return [Google::Apis::MonitoringV1::SectionHeader]
|
2654
|
+
attr_accessor :section_header
|
2655
|
+
|
2656
|
+
# A widget that groups the other widgets by using a dropdown menu. All widgets
|
2657
|
+
# that are within the area spanned by the grouping widget are considered member
|
2658
|
+
# widgets.
|
2659
|
+
# Corresponds to the JSON property `singleViewGroup`
|
2660
|
+
# @return [Google::Apis::MonitoringV1::SingleViewGroup]
|
2661
|
+
attr_accessor :single_view_group
|
2662
|
+
|
2569
2663
|
# A widget that displays textual content.
|
2570
2664
|
# Corresponds to the JSON property `text`
|
2571
2665
|
# @return [Google::Apis::MonitoringV1::Text]
|
@@ -2601,6 +2695,8 @@ module Google
|
|
2601
2695
|
@logs_panel = args[:logs_panel] if args.key?(:logs_panel)
|
2602
2696
|
@pie_chart = args[:pie_chart] if args.key?(:pie_chart)
|
2603
2697
|
@scorecard = args[:scorecard] if args.key?(:scorecard)
|
2698
|
+
@section_header = args[:section_header] if args.key?(:section_header)
|
2699
|
+
@single_view_group = args[:single_view_group] if args.key?(:single_view_group)
|
2604
2700
|
@text = args[:text] if args.key?(:text)
|
2605
2701
|
@time_series_table = args[:time_series_table] if args.key?(:time_series_table)
|
2606
2702
|
@title = args[:title] if args.key?(:title)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MonitoringV1
|
18
18
|
# Version of the google-apis-monitoring_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.45.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240115"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -154,6 +154,12 @@ module Google
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
155
155
|
end
|
156
156
|
|
157
|
+
class Interval
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
157
163
|
class ListDashboardsResponse
|
158
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
165
|
|
@@ -304,6 +310,18 @@ module Google
|
|
304
310
|
include Google::Apis::Core::JsonObjectSupport
|
305
311
|
end
|
306
312
|
|
313
|
+
class SectionHeader
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
319
|
+
class SingleViewGroup
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
307
325
|
class SourceContext
|
308
326
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
327
|
|
@@ -633,6 +651,14 @@ module Google
|
|
633
651
|
end
|
634
652
|
end
|
635
653
|
|
654
|
+
class Interval
|
655
|
+
# @private
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
657
|
+
property :end_time, as: 'endTime'
|
658
|
+
property :start_time, as: 'startTime'
|
659
|
+
end
|
660
|
+
end
|
661
|
+
|
636
662
|
class ListDashboardsResponse
|
637
663
|
# @private
|
638
664
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -751,6 +777,8 @@ module Google
|
|
751
777
|
# @private
|
752
778
|
class Representation < Google::Apis::Core::JsonRepresentation
|
753
779
|
property :direction, as: 'direction'
|
780
|
+
property :interval, as: 'interval', class: Google::Apis::MonitoringV1::Interval, decorator: Google::Apis::MonitoringV1::Interval::Representation
|
781
|
+
|
754
782
|
property :num_time_series, as: 'numTimeSeries'
|
755
783
|
property :ranking_method, as: 'rankingMethod'
|
756
784
|
end
|
@@ -864,6 +892,20 @@ module Google
|
|
864
892
|
end
|
865
893
|
end
|
866
894
|
|
895
|
+
class SectionHeader
|
896
|
+
# @private
|
897
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
898
|
+
property :divider_below, as: 'dividerBelow'
|
899
|
+
property :subtitle, as: 'subtitle'
|
900
|
+
end
|
901
|
+
end
|
902
|
+
|
903
|
+
class SingleViewGroup
|
904
|
+
# @private
|
905
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
906
|
+
end
|
907
|
+
end
|
908
|
+
|
867
909
|
class SourceContext
|
868
910
|
# @private
|
869
911
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1062,6 +1104,10 @@ module Google
|
|
1062
1104
|
|
1063
1105
|
property :scorecard, as: 'scorecard', class: Google::Apis::MonitoringV1::Scorecard, decorator: Google::Apis::MonitoringV1::Scorecard::Representation
|
1064
1106
|
|
1107
|
+
property :section_header, as: 'sectionHeader', class: Google::Apis::MonitoringV1::SectionHeader, decorator: Google::Apis::MonitoringV1::SectionHeader::Representation
|
1108
|
+
|
1109
|
+
property :single_view_group, as: 'singleViewGroup', class: Google::Apis::MonitoringV1::SingleViewGroup, decorator: Google::Apis::MonitoringV1::SingleViewGroup::Representation
|
1110
|
+
|
1065
1111
|
property :text, as: 'text', class: Google::Apis::MonitoringV1::Text, decorator: Google::Apis::MonitoringV1::Text::Representation
|
1066
1112
|
|
1067
1113
|
property :time_series_table, as: 'timeSeriesTable', class: Google::Apis::MonitoringV1::TimeSeriesTable, decorator: Google::Apis::MonitoringV1::TimeSeriesTable::Representation
|
@@ -32,6 +32,8 @@ module Google
|
|
32
32
|
#
|
33
33
|
# @see https://cloud.google.com/monitoring/api/
|
34
34
|
class MonitoringService < Google::Apis::Core::BaseService
|
35
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://monitoring.$UNIVERSE_DOMAIN$/"
|
36
|
+
|
35
37
|
# @return [String]
|
36
38
|
# API key. Your API key identifies your project and provides you with API access,
|
37
39
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -43,7 +45,7 @@ module Google
|
|
43
45
|
attr_accessor :quota_user
|
44
46
|
|
45
47
|
def initialize
|
46
|
-
super(
|
48
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
47
49
|
client_name: 'google-apis-monitoring_v1',
|
48
50
|
client_version: Google::Apis::MonitoringV1::GEM_VERSION)
|
49
51
|
@batch_path = 'batch'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-monitoring_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.45.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:
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.12.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.12.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.45.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Monitoring API V1
|