google-cloud-monitoring-dashboard-v1 0.14.2 → 0.15.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.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/client.rb +4 -3
  3. data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/rest/client.rb +4 -3
  4. data/lib/google/cloud/monitoring/dashboard/v1/version.rb +1 -1
  5. data/lib/google/monitoring/dashboard/v1/alertchart_pb.rb +1 -1
  6. data/lib/google/monitoring/dashboard/v1/common_pb.rb +3 -1
  7. data/lib/google/monitoring/dashboard/v1/dashboard_filter_pb.rb +1 -1
  8. data/lib/google/monitoring/dashboard/v1/dashboard_pb.rb +1 -1
  9. data/lib/google/monitoring/dashboard/v1/dashboards_service_pb.rb +1 -1
  10. data/lib/google/monitoring/dashboard/v1/error_reporting_panel_pb.rb +42 -0
  11. data/lib/google/monitoring/dashboard/v1/incident_list_pb.rb +48 -0
  12. data/lib/google/monitoring/dashboard/v1/metrics_pb.rb +1 -1
  13. data/lib/google/monitoring/dashboard/v1/piechart_pb.rb +52 -0
  14. data/lib/google/monitoring/dashboard/v1/scorecard_pb.rb +3 -1
  15. data/lib/google/monitoring/dashboard/v1/section_header_pb.rb +44 -0
  16. data/lib/google/monitoring/dashboard/v1/single_view_group_pb.rb +44 -0
  17. data/lib/google/monitoring/dashboard/v1/table_display_options_pb.rb +1 -1
  18. data/lib/google/monitoring/dashboard/v1/table_pb.rb +1 -1
  19. data/lib/google/monitoring/dashboard/v1/text_pb.rb +7 -1
  20. data/lib/google/monitoring/dashboard/v1/widget_pb.rb +11 -1
  21. data/lib/google/monitoring/dashboard/v1/xychart_pb.rb +1 -1
  22. data/proto_docs/google/api/label.rb +49 -0
  23. data/proto_docs/google/api/monitored_resource.rb +150 -0
  24. data/proto_docs/google/monitoring/dashboard/v1/common.rb +3 -0
  25. data/proto_docs/google/monitoring/dashboard/v1/dashboard.rb +1 -1
  26. data/proto_docs/google/monitoring/dashboard/v1/dashboards_service.rb +4 -3
  27. data/proto_docs/google/monitoring/dashboard/v1/error_reporting_panel.rb +55 -0
  28. data/proto_docs/google/monitoring/dashboard/v1/incident_list.rb +45 -0
  29. data/proto_docs/google/monitoring/dashboard/v1/metrics.rb +9 -0
  30. data/proto_docs/google/monitoring/dashboard/v1/piechart.rb +80 -0
  31. data/proto_docs/google/monitoring/dashboard/v1/scorecard.rb +4 -0
  32. data/proto_docs/google/monitoring/dashboard/v1/section_header.rb +41 -0
  33. data/proto_docs/google/monitoring/dashboard/v1/single_view_group.rb +36 -0
  34. data/proto_docs/google/monitoring/dashboard/v1/text.rb +146 -0
  35. data/proto_docs/google/monitoring/dashboard/v1/widget.rb +20 -0
  36. data/proto_docs/google/monitoring/dashboard/v1/xychart.rb +5 -5
  37. data/proto_docs/google/protobuf/struct.rb +96 -0
  38. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  39. data/proto_docs/google/type/interval.rb +45 -0
  40. metadata +17 -2
@@ -38,13 +38,13 @@ module Google
38
38
  # Threshold lines drawn horizontally across the chart.
39
39
  # @!attribute [rw] x_axis
40
40
  # @return [::Google::Cloud::Monitoring::Dashboard::V1::XyChart::Axis]
41
- # The properties applied to the X axis.
41
+ # The properties applied to the x-axis.
42
42
  # @!attribute [rw] y_axis
43
43
  # @return [::Google::Cloud::Monitoring::Dashboard::V1::XyChart::Axis]
44
- # The properties applied to the Y axis.
44
+ # The properties applied to the y-axis.
45
45
  # @!attribute [rw] y2_axis
46
46
  # @return [::Google::Cloud::Monitoring::Dashboard::V1::XyChart::Axis]
47
- # The properties applied to the Y2 axis.
47
+ # The properties applied to the y2-axis.
48
48
  # @!attribute [rw] chart_options
49
49
  # @return [::Google::Cloud::Monitoring::Dashboard::V1::ChartOptions]
50
50
  # Display options for the chart.
@@ -89,13 +89,13 @@ module Google
89
89
 
90
90
  # The data is plotted as a set of filled areas (one area per series),
91
91
  # with the areas stacked vertically (the base of each area is the top of
92
- # its predecessor, and the base of the first area is the X axis). Since
92
+ # its predecessor, and the base of the first area is the x-axis). Since
93
93
  # the areas do not overlap, each is filled with a different opaque color.
94
94
  STACKED_AREA = 2
95
95
 
96
96
  # The data is plotted as a set of rectangular boxes (one box per series),
97
97
  # with the boxes stacked vertically (the base of each box is the top of
98
- # its predecessor, and the base of the first box is the X axis). Since
98
+ # its predecessor, and the base of the first box is the x-axis). Since
99
99
  # the boxes do not overlap, each is filled with a different opaque color.
100
100
  STACKED_BAR = 3
101
101
 
@@ -0,0 +1,96 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Protobuf
22
+ # `Struct` represents a structured data value, consisting of fields
23
+ # which map to dynamically typed values. In some languages, `Struct`
24
+ # might be supported by a native representation. For example, in
25
+ # scripting languages like JS a struct is represented as an
26
+ # object. The details of that representation are described together
27
+ # with the proto support for the language.
28
+ #
29
+ # The JSON representation for `Struct` is JSON object.
30
+ # @!attribute [rw] fields
31
+ # @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}]
32
+ # Unordered map of dynamically typed values.
33
+ class Struct
34
+ include ::Google::Protobuf::MessageExts
35
+ extend ::Google::Protobuf::MessageExts::ClassMethods
36
+
37
+ # @!attribute [rw] key
38
+ # @return [::String]
39
+ # @!attribute [rw] value
40
+ # @return [::Google::Protobuf::Value]
41
+ class FieldsEntry
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+ end
46
+
47
+ # `Value` represents a dynamically typed value which can be either
48
+ # null, a number, a string, a boolean, a recursive struct value, or a
49
+ # list of values. A producer of value is expected to set one of these
50
+ # variants. Absence of any variant indicates an error.
51
+ #
52
+ # The JSON representation for `Value` is JSON value.
53
+ # @!attribute [rw] null_value
54
+ # @return [::Google::Protobuf::NullValue]
55
+ # Represents a null value.
56
+ # @!attribute [rw] number_value
57
+ # @return [::Float]
58
+ # Represents a double value.
59
+ # @!attribute [rw] string_value
60
+ # @return [::String]
61
+ # Represents a string value.
62
+ # @!attribute [rw] bool_value
63
+ # @return [::Boolean]
64
+ # Represents a boolean value.
65
+ # @!attribute [rw] struct_value
66
+ # @return [::Google::Protobuf::Struct]
67
+ # Represents a structured value.
68
+ # @!attribute [rw] list_value
69
+ # @return [::Google::Protobuf::ListValue]
70
+ # Represents a repeated `Value`.
71
+ class Value
72
+ include ::Google::Protobuf::MessageExts
73
+ extend ::Google::Protobuf::MessageExts::ClassMethods
74
+ end
75
+
76
+ # `ListValue` is a wrapper around a repeated field of values.
77
+ #
78
+ # The JSON representation for `ListValue` is JSON array.
79
+ # @!attribute [rw] values
80
+ # @return [::Array<::Google::Protobuf::Value>]
81
+ # Repeated field of dynamically typed values.
82
+ class ListValue
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+ end
86
+
87
+ # `NullValue` is a singleton enumeration to represent the null value for the
88
+ # `Value` type union.
89
+ #
90
+ # The JSON representation for `NullValue` is JSON `null`.
91
+ module NullValue
92
+ # Null value.
93
+ NULL_VALUE = 0
94
+ end
95
+ end
96
+ end
@@ -0,0 +1,127 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Protobuf
22
+ # A Timestamp represents a point in time independent of any time zone or local
23
+ # calendar, encoded as a count of seconds and fractions of seconds at
24
+ # nanosecond resolution. The count is relative to an epoch at UTC midnight on
25
+ # January 1, 1970, in the proleptic Gregorian calendar which extends the
26
+ # Gregorian calendar backwards to year one.
27
+ #
28
+ # All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
29
+ # second table is needed for interpretation, using a [24-hour linear
30
+ # smear](https://developers.google.com/time/smear).
31
+ #
32
+ # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
33
+ # restricting to that range, we ensure that we can convert to and from [RFC
34
+ # 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
35
+ #
36
+ # # Examples
37
+ #
38
+ # Example 1: Compute Timestamp from POSIX `time()`.
39
+ #
40
+ # Timestamp timestamp;
41
+ # timestamp.set_seconds(time(NULL));
42
+ # timestamp.set_nanos(0);
43
+ #
44
+ # Example 2: Compute Timestamp from POSIX `gettimeofday()`.
45
+ #
46
+ # struct timeval tv;
47
+ # gettimeofday(&tv, NULL);
48
+ #
49
+ # Timestamp timestamp;
50
+ # timestamp.set_seconds(tv.tv_sec);
51
+ # timestamp.set_nanos(tv.tv_usec * 1000);
52
+ #
53
+ # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
54
+ #
55
+ # FILETIME ft;
56
+ # GetSystemTimeAsFileTime(&ft);
57
+ # UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
58
+ #
59
+ # // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
60
+ # // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
61
+ # Timestamp timestamp;
62
+ # timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
63
+ # timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
64
+ #
65
+ # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
66
+ #
67
+ # long millis = System.currentTimeMillis();
68
+ #
69
+ # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
+ # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
+ #
72
+ # Example 5: Compute Timestamp from Java `Instant.now()`.
73
+ #
74
+ # Instant now = Instant.now();
75
+ #
76
+ # Timestamp timestamp =
77
+ # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
78
+ # .setNanos(now.getNano()).build();
79
+ #
80
+ # Example 6: Compute Timestamp from current time in Python.
81
+ #
82
+ # timestamp = Timestamp()
83
+ # timestamp.GetCurrentTime()
84
+ #
85
+ # # JSON Mapping
86
+ #
87
+ # In JSON format, the Timestamp type is encoded as a string in the
88
+ # [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
89
+ # format is "\\{year}-\\{month}-\\{day}T\\{hour}:\\{min}:\\{sec}[.\\{frac_sec}]Z"
90
+ # where \\{year} is always expressed using four digits while \\{month}, \\{day},
91
+ # \\{hour}, \\{min}, and \\{sec} are zero-padded to two digits each. The fractional
92
+ # seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
93
+ # are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
94
+ # is required. A proto3 JSON serializer should always use UTC (as indicated by
95
+ # "Z") when printing the Timestamp type and a proto3 JSON parser should be
96
+ # able to accept both UTC and other timezones (as indicated by an offset).
97
+ #
98
+ # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
99
+ # 01:30 UTC on January 15, 2017.
100
+ #
101
+ # In JavaScript, one can convert a Date object to this format using the
102
+ # standard
103
+ # [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
104
+ # method. In Python, a standard `datetime.datetime` object can be converted
105
+ # to this format using
106
+ # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
107
+ # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
108
+ # the Joda Time's [`ISODateTimeFormat.dateTime()`](
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
110
+ # ) to obtain a formatter capable of generating timestamps in this format.
111
+ # @!attribute [rw] seconds
112
+ # @return [::Integer]
113
+ # Represents seconds of UTC time since Unix epoch
114
+ # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
115
+ # 9999-12-31T23:59:59Z inclusive.
116
+ # @!attribute [rw] nanos
117
+ # @return [::Integer]
118
+ # Non-negative fractions of a second at nanosecond resolution. Negative
119
+ # second values with fractions must still have non-negative nanos values
120
+ # that count forward in time. Must be from 0 to 999,999,999
121
+ # inclusive.
122
+ class Timestamp
123
+ include ::Google::Protobuf::MessageExts
124
+ extend ::Google::Protobuf::MessageExts::ClassMethods
125
+ end
126
+ end
127
+ end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Type
22
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
23
+ # Timestamp end (exclusive).
24
+ #
25
+ # The start must be less than or equal to the end.
26
+ # When the start equals the end, the interval is empty (matches no time).
27
+ # When both start and end are unspecified, the interval matches any time.
28
+ # @!attribute [rw] start_time
29
+ # @return [::Google::Protobuf::Timestamp]
30
+ # Optional. Inclusive start of the interval.
31
+ #
32
+ # If specified, a Timestamp matching this interval will have to be the same
33
+ # or after the start.
34
+ # @!attribute [rw] end_time
35
+ # @return [::Google::Protobuf::Timestamp]
36
+ # Optional. Exclusive end of the interval.
37
+ #
38
+ # If specified, a Timestamp matching this interval will have to be before the
39
+ # end.
40
+ class Interval
41
+ include ::Google::Protobuf::MessageExts
42
+ extend ::Google::Protobuf::MessageExts::ClassMethods
43
+ end
44
+ end
45
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-monitoring-dashboard-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.2
4
+ version: 0.15.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-02-01 00:00:00.000000000 Z
11
+ date: 2024-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -189,11 +189,16 @@ files:
189
189
  - lib/google/monitoring/dashboard/v1/dashboards_service_pb.rb
190
190
  - lib/google/monitoring/dashboard/v1/dashboards_service_services_pb.rb
191
191
  - lib/google/monitoring/dashboard/v1/drilldowns_pb.rb
192
+ - lib/google/monitoring/dashboard/v1/error_reporting_panel_pb.rb
193
+ - lib/google/monitoring/dashboard/v1/incident_list_pb.rb
192
194
  - lib/google/monitoring/dashboard/v1/layouts_pb.rb
193
195
  - lib/google/monitoring/dashboard/v1/logs_panel_pb.rb
194
196
  - lib/google/monitoring/dashboard/v1/metrics_pb.rb
197
+ - lib/google/monitoring/dashboard/v1/piechart_pb.rb
195
198
  - lib/google/monitoring/dashboard/v1/scorecard_pb.rb
199
+ - lib/google/monitoring/dashboard/v1/section_header_pb.rb
196
200
  - lib/google/monitoring/dashboard/v1/service_pb.rb
201
+ - lib/google/monitoring/dashboard/v1/single_view_group_pb.rb
197
202
  - lib/google/monitoring/dashboard/v1/table_display_options_pb.rb
198
203
  - lib/google/monitoring/dashboard/v1/table_pb.rb
199
204
  - lib/google/monitoring/dashboard/v1/text_pb.rb
@@ -202,7 +207,9 @@ files:
202
207
  - proto_docs/README.md
203
208
  - proto_docs/google/api/client.rb
204
209
  - proto_docs/google/api/field_behavior.rb
210
+ - proto_docs/google/api/label.rb
205
211
  - proto_docs/google/api/launch_stage.rb
212
+ - proto_docs/google/api/monitored_resource.rb
206
213
  - proto_docs/google/api/resource.rb
207
214
  - proto_docs/google/monitoring/dashboard/v1/alertchart.rb
208
215
  - proto_docs/google/monitoring/dashboard/v1/collapsible_group.rb
@@ -210,10 +217,15 @@ files:
210
217
  - proto_docs/google/monitoring/dashboard/v1/dashboard.rb
211
218
  - proto_docs/google/monitoring/dashboard/v1/dashboard_filter.rb
212
219
  - proto_docs/google/monitoring/dashboard/v1/dashboards_service.rb
220
+ - proto_docs/google/monitoring/dashboard/v1/error_reporting_panel.rb
221
+ - proto_docs/google/monitoring/dashboard/v1/incident_list.rb
213
222
  - proto_docs/google/monitoring/dashboard/v1/layouts.rb
214
223
  - proto_docs/google/monitoring/dashboard/v1/logs_panel.rb
215
224
  - proto_docs/google/monitoring/dashboard/v1/metrics.rb
225
+ - proto_docs/google/monitoring/dashboard/v1/piechart.rb
216
226
  - proto_docs/google/monitoring/dashboard/v1/scorecard.rb
227
+ - proto_docs/google/monitoring/dashboard/v1/section_header.rb
228
+ - proto_docs/google/monitoring/dashboard/v1/single_view_group.rb
217
229
  - proto_docs/google/monitoring/dashboard/v1/table.rb
218
230
  - proto_docs/google/monitoring/dashboard/v1/table_display_options.rb
219
231
  - proto_docs/google/monitoring/dashboard/v1/text.rb
@@ -221,6 +233,9 @@ files:
221
233
  - proto_docs/google/monitoring/dashboard/v1/xychart.rb
222
234
  - proto_docs/google/protobuf/duration.rb
223
235
  - proto_docs/google/protobuf/empty.rb
236
+ - proto_docs/google/protobuf/struct.rb
237
+ - proto_docs/google/protobuf/timestamp.rb
238
+ - proto_docs/google/type/interval.rb
224
239
  homepage: https://github.com/googleapis/google-cloud-ruby
225
240
  licenses:
226
241
  - Apache-2.0