google-apis-monitoring_v1 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d77f39bc37e651ebdf187c18beb23071d307e81b975fcb5f2372d1a35cec8726
4
- data.tar.gz: d829526718c427ec5788ac8f488e52512f147aa9288b8a652c48d0781c4691ac
3
+ metadata.gz: 9a1a4515110e24ba662cb294a6de46ae2a93eca9c5f5fd45a1302807c6393c57
4
+ data.tar.gz: bdacc02fb90a7cd526f6f35df52ee456d384c490a6215bc81ba525c897921a06
5
5
  SHA512:
6
- metadata.gz: 463297005022f20a0a5666c742e58337c72e1aabb628545fe2e2d66aa4fe7d37dfb2065ea80ca63c5be4ab63152f03cb3ae1039224e7f54e92af2df29434f158
7
- data.tar.gz: 6df27e09cbcae11219ea186663ca5fbd0869483bfbb9a21e572f638d8b3862dd30effa5c4dc72a9d789fbb001103c14ec0057f00bc51106f3027128b76eb3054
6
+ metadata.gz: e58040b22e9fdb7ac45d2b0688163097d4d1bdb2ca6d62f942800f821b134ae0488e4491806f98ec6865f91e226ed83742ef46aeaab967b50f2d7e0386e78b15
7
+ data.tar.gz: 046ab564f64e1dbece61e45c325c3671ffc231fb147c86ea54e3006ca414f1a3fdffae67c8d2df1ed435c61865e25a0fc4178aece2bbb9f64771ddf451ca612b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-monitoring_v1
2
2
 
3
+ ### v0.13.0 (2021-09-24)
4
+
5
+ * Regenerated from discovery document revision 20210922
6
+
3
7
  ### v0.12.0 (2021-09-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20210809
@@ -1131,6 +1131,71 @@ module Google
1131
1131
  end
1132
1132
  end
1133
1133
 
1134
+ # Groups a time series query definition with table options.
1135
+ class TableDataSet
1136
+ include Google::Apis::Core::Hashable
1137
+
1138
+ # Optional. The lower bound on data point frequency for this data set,
1139
+ # implemented by specifying the minimum alignment period to use in a time series
1140
+ # query For example, if the data is published once every 10 minutes, the
1141
+ # min_alignment_period should be at least 10 minutes. It would not make sense to
1142
+ # fetch and align data at one minute intervals.
1143
+ # Corresponds to the JSON property `minAlignmentPeriod`
1144
+ # @return [String]
1145
+ attr_accessor :min_alignment_period
1146
+
1147
+ # Table display options that can be reused.
1148
+ # Corresponds to the JSON property `tableDisplayOptions`
1149
+ # @return [Google::Apis::MonitoringV1::TableDisplayOptions]
1150
+ attr_accessor :table_display_options
1151
+
1152
+ # Optional. A template string for naming TimeSeries in the resulting data set.
1153
+ # This should be a string with interpolations of the form $`label_name`, which
1154
+ # will resolve to the label's value i.e. "$`resource.labels.project_id`."
1155
+ # Corresponds to the JSON property `tableTemplate`
1156
+ # @return [String]
1157
+ attr_accessor :table_template
1158
+
1159
+ # TimeSeriesQuery collects the set of supported methods for querying time series
1160
+ # data from the Stackdriver metrics API.
1161
+ # Corresponds to the JSON property `timeSeriesQuery`
1162
+ # @return [Google::Apis::MonitoringV1::TimeSeriesQuery]
1163
+ attr_accessor :time_series_query
1164
+
1165
+ def initialize(**args)
1166
+ update!(**args)
1167
+ end
1168
+
1169
+ # Update properties of this object
1170
+ def update!(**args)
1171
+ @min_alignment_period = args[:min_alignment_period] if args.key?(:min_alignment_period)
1172
+ @table_display_options = args[:table_display_options] if args.key?(:table_display_options)
1173
+ @table_template = args[:table_template] if args.key?(:table_template)
1174
+ @time_series_query = args[:time_series_query] if args.key?(:time_series_query)
1175
+ end
1176
+ end
1177
+
1178
+ # Table display options that can be reused.
1179
+ class TableDisplayOptions
1180
+ include Google::Apis::Core::Hashable
1181
+
1182
+ # Optional. Columns to display in the table. Leave empty to display all
1183
+ # available columns. Note: This field is for future features and is not
1184
+ # currently used.
1185
+ # Corresponds to the JSON property `shownColumns`
1186
+ # @return [Array<String>]
1187
+ attr_accessor :shown_columns
1188
+
1189
+ def initialize(**args)
1190
+ update!(**args)
1191
+ end
1192
+
1193
+ # Update properties of this object
1194
+ def update!(**args)
1195
+ @shown_columns = args[:shown_columns] if args.key?(:shown_columns)
1196
+ end
1197
+ end
1198
+
1134
1199
  # A widget that displays textual content.
1135
1200
  class Text
1136
1201
  include Google::Apis::Core::Hashable
@@ -1463,6 +1528,25 @@ module Google
1463
1528
  end
1464
1529
  end
1465
1530
 
1531
+ # A table that displays time series data.
1532
+ class TimeSeriesTable
1533
+ include Google::Apis::Core::Hashable
1534
+
1535
+ # Required. The data displayed in this table.
1536
+ # Corresponds to the JSON property `dataSets`
1537
+ # @return [Array<Google::Apis::MonitoringV1::TableDataSet>]
1538
+ attr_accessor :data_sets
1539
+
1540
+ def initialize(**args)
1541
+ update!(**args)
1542
+ end
1543
+
1544
+ # Update properties of this object
1545
+ def update!(**args)
1546
+ @data_sets = args[:data_sets] if args.key?(:data_sets)
1547
+ end
1548
+ end
1549
+
1466
1550
  # A protocol buffer message type.
1467
1551
  class Type
1468
1552
  include Google::Apis::Core::Hashable
@@ -1543,6 +1627,11 @@ module Google
1543
1627
  # @return [Google::Apis::MonitoringV1::Text]
1544
1628
  attr_accessor :text
1545
1629
 
1630
+ # A table that displays time series data.
1631
+ # Corresponds to the JSON property `timeSeriesTable`
1632
+ # @return [Google::Apis::MonitoringV1::TimeSeriesTable]
1633
+ attr_accessor :time_series_table
1634
+
1546
1635
  # Optional. The title of the widget.
1547
1636
  # Corresponds to the JSON property `title`
1548
1637
  # @return [String]
@@ -1563,6 +1652,7 @@ module Google
1563
1652
  @blank = args[:blank] if args.key?(:blank)
1564
1653
  @scorecard = args[:scorecard] if args.key?(:scorecard)
1565
1654
  @text = args[:text] if args.key?(:text)
1655
+ @time_series_table = args[:time_series_table] if args.key?(:time_series_table)
1566
1656
  @title = args[:title] if args.key?(:title)
1567
1657
  @xy_chart = args[:xy_chart] if args.key?(:xy_chart)
1568
1658
  end
@@ -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.12.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210809"
25
+ REVISION = "20210922"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,18 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class TableDataSet
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class TableDisplayOptions
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
211
223
  class Text
212
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
225
 
@@ -244,6 +256,12 @@ module Google
244
256
  include Google::Apis::Core::JsonObjectSupport
245
257
  end
246
258
 
259
+ class TimeSeriesTable
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
247
265
  class Type
248
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
267
 
@@ -549,6 +567,25 @@ module Google
549
567
  end
550
568
  end
551
569
 
570
+ class TableDataSet
571
+ # @private
572
+ class Representation < Google::Apis::Core::JsonRepresentation
573
+ property :min_alignment_period, as: 'minAlignmentPeriod'
574
+ property :table_display_options, as: 'tableDisplayOptions', class: Google::Apis::MonitoringV1::TableDisplayOptions, decorator: Google::Apis::MonitoringV1::TableDisplayOptions::Representation
575
+
576
+ property :table_template, as: 'tableTemplate'
577
+ property :time_series_query, as: 'timeSeriesQuery', class: Google::Apis::MonitoringV1::TimeSeriesQuery, decorator: Google::Apis::MonitoringV1::TimeSeriesQuery::Representation
578
+
579
+ end
580
+ end
581
+
582
+ class TableDisplayOptions
583
+ # @private
584
+ class Representation < Google::Apis::Core::JsonRepresentation
585
+ collection :shown_columns, as: 'shownColumns'
586
+ end
587
+ end
588
+
552
589
  class Text
553
590
  # @private
554
591
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -623,6 +660,14 @@ module Google
623
660
  end
624
661
  end
625
662
 
663
+ class TimeSeriesTable
664
+ # @private
665
+ class Representation < Google::Apis::Core::JsonRepresentation
666
+ collection :data_sets, as: 'dataSets', class: Google::Apis::MonitoringV1::TableDataSet, decorator: Google::Apis::MonitoringV1::TableDataSet::Representation
667
+
668
+ end
669
+ end
670
+
626
671
  class Type
627
672
  # @private
628
673
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -649,6 +694,8 @@ module Google
649
694
 
650
695
  property :text, as: 'text', class: Google::Apis::MonitoringV1::Text, decorator: Google::Apis::MonitoringV1::Text::Representation
651
696
 
697
+ property :time_series_table, as: 'timeSeriesTable', class: Google::Apis::MonitoringV1::TimeSeriesTable, decorator: Google::Apis::MonitoringV1::TimeSeriesTable::Representation
698
+
652
699
  property :title, as: 'title'
653
700
  property :xy_chart, as: 'xyChart', class: Google::Apis::MonitoringV1::XyChart, decorator: Google::Apis::MonitoringV1::XyChart::Representation
654
701
 
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.12.0
4
+ version: 0.13.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: 2021-09-06 00:00:00.000000000 Z
11
+ date: 2021-09-27 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/master/generated/google-apis-monitoring_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.13.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-monitoring_v1
63
63
  post_install_message:
64
64
  rdoc_options: []