google-cloud-monitoring-dashboard-v1 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/client.rb +6 -9
- data/lib/google/cloud/monitoring/dashboard/v1/version.rb +1 -1
- data/lib/google/monitoring/dashboard/v1/dashboard_pb.rb +1 -0
- data/lib/google/monitoring/dashboard/v1/dashboards_service_services_pb.rb +6 -9
- data/lib/google/monitoring/dashboard/v1/layouts_pb.rb +13 -0
- data/lib/google/monitoring/dashboard/v1/scorecard_pb.rb +1 -0
- data/proto_docs/google/monitoring/dashboard/v1/common.rb +2 -0
- data/proto_docs/google/monitoring/dashboard/v1/dashboard.rb +4 -0
- data/proto_docs/google/monitoring/dashboard/v1/layouts.rb +42 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edf124aa6639e6dce4e181e6318f42380824709f3fc704cd7049bc26b5bffb1b
|
4
|
+
data.tar.gz: c78e5315883cd180c0c30922a9bc624ddb4c5cd3123fffdd6a598462e1d9683c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45f40e6eec546e1ab0ae5b53258ec459ba532ed990f1de4c97985e7175ab943785eb11ee8a49585d98777b6430f97476654bb211222b7227fe100b7be9879043
|
7
|
+
data.tar.gz: ebf8935b0f4424023e7d68e282b6a55a6af83eb1cb867b695978c8ea6e22c223b5224950bb64ca4b56eba864035137d5bdda1e6c2bb23ebe249dcb6917b2badd
|
@@ -167,11 +167,8 @@ module Google
|
|
167
167
|
# Service calls
|
168
168
|
|
169
169
|
##
|
170
|
-
# Creates a new custom dashboard.
|
171
|
-
#
|
172
|
-
# This method requires the `monitoring.dashboards.create` permission
|
173
|
-
# on the specified project. For more information, see
|
174
|
-
# [Google Cloud IAM](https://cloud.google.com/iam).
|
170
|
+
# Creates a new custom dashboard. For examples on how you can use this API to create dashboards, see [Managing dashboards by API](https://cloud.google.com/monitoring/dashboards/api-dashboard).
|
171
|
+
# This method requires the `monitoring.dashboards.create` permission on the specified project. For more information about permissions, see [Cloud Identity and Access Management](https://cloud.google.com/iam).
|
175
172
|
#
|
176
173
|
# @overload create_dashboard(request, options = nil)
|
177
174
|
# Pass arguments to `create_dashboard` via a request object, either of type
|
@@ -247,7 +244,7 @@ module Google
|
|
247
244
|
#
|
248
245
|
# This method requires the `monitoring.dashboards.list` permission
|
249
246
|
# on the specified project. For more information, see
|
250
|
-
# [
|
247
|
+
# [Cloud Identity and Access Management](https://cloud.google.com/iam).
|
251
248
|
#
|
252
249
|
# @overload list_dashboards(request, options = nil)
|
253
250
|
# Pass arguments to `list_dashboards` via a request object, either of type
|
@@ -327,7 +324,7 @@ module Google
|
|
327
324
|
#
|
328
325
|
# This method requires the `monitoring.dashboards.get` permission
|
329
326
|
# on the specified dashboard. For more information, see
|
330
|
-
# [
|
327
|
+
# [Cloud Identity and Access Management](https://cloud.google.com/iam).
|
331
328
|
#
|
332
329
|
# @overload get_dashboard(request, options = nil)
|
333
330
|
# Pass arguments to `get_dashboard` via a request object, either of type
|
@@ -401,7 +398,7 @@ module Google
|
|
401
398
|
#
|
402
399
|
# This method requires the `monitoring.dashboards.delete` permission
|
403
400
|
# on the specified dashboard. For more information, see
|
404
|
-
# [
|
401
|
+
# [Cloud Identity and Access Management](https://cloud.google.com/iam).
|
405
402
|
#
|
406
403
|
# @overload delete_dashboard(request, options = nil)
|
407
404
|
# Pass arguments to `delete_dashboard` via a request object, either of type
|
@@ -473,7 +470,7 @@ module Google
|
|
473
470
|
#
|
474
471
|
# This method requires the `monitoring.dashboards.update` permission
|
475
472
|
# on the specified dashboard. For more information, see
|
476
|
-
# [
|
473
|
+
# [Cloud Identity and Access Management](https://cloud.google.com/iam).
|
477
474
|
#
|
478
475
|
# @overload update_dashboard(request, options = nil)
|
479
476
|
# Pass arguments to `update_dashboard` via a request object, either of type
|
@@ -14,6 +14,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
14
14
|
optional :etag, :string, 4
|
15
15
|
oneof :layout do
|
16
16
|
optional :grid_layout, :message, 5, "google.monitoring.dashboard.v1.GridLayout"
|
17
|
+
optional :mosaic_layout, :message, 6, "google.monitoring.dashboard.v1.MosaicLayout"
|
17
18
|
optional :row_layout, :message, 8, "google.monitoring.dashboard.v1.RowLayout"
|
18
19
|
optional :column_layout, :message, 9, "google.monitoring.dashboard.v1.ColumnLayout"
|
19
20
|
end
|
@@ -35,35 +35,32 @@ module Google
|
|
35
35
|
self.unmarshal_class_method = :decode
|
36
36
|
self.service_name = 'google.monitoring.dashboard.v1.DashboardsService'
|
37
37
|
|
38
|
-
# Creates a new custom dashboard.
|
39
|
-
#
|
40
|
-
# This method requires the `monitoring.dashboards.create` permission
|
41
|
-
# on the specified project. For more information, see
|
42
|
-
# [Google Cloud IAM](https://cloud.google.com/iam).
|
38
|
+
# Creates a new custom dashboard. For examples on how you can use this API to create dashboards, see [Managing dashboards by API](https://cloud.google.com/monitoring/dashboards/api-dashboard).
|
39
|
+
# This method requires the `monitoring.dashboards.create` permission on the specified project. For more information about permissions, see [Cloud Identity and Access Management](https://cloud.google.com/iam).
|
43
40
|
rpc :CreateDashboard, ::Google::Cloud::Monitoring::Dashboard::V1::CreateDashboardRequest, ::Google::Cloud::Monitoring::Dashboard::V1::Dashboard
|
44
41
|
# Lists the existing dashboards.
|
45
42
|
#
|
46
43
|
# This method requires the `monitoring.dashboards.list` permission
|
47
44
|
# on the specified project. For more information, see
|
48
|
-
# [
|
45
|
+
# [Cloud Identity and Access Management](https://cloud.google.com/iam).
|
49
46
|
rpc :ListDashboards, ::Google::Cloud::Monitoring::Dashboard::V1::ListDashboardsRequest, ::Google::Cloud::Monitoring::Dashboard::V1::ListDashboardsResponse
|
50
47
|
# Fetches a specific dashboard.
|
51
48
|
#
|
52
49
|
# This method requires the `monitoring.dashboards.get` permission
|
53
50
|
# on the specified dashboard. For more information, see
|
54
|
-
# [
|
51
|
+
# [Cloud Identity and Access Management](https://cloud.google.com/iam).
|
55
52
|
rpc :GetDashboard, ::Google::Cloud::Monitoring::Dashboard::V1::GetDashboardRequest, ::Google::Cloud::Monitoring::Dashboard::V1::Dashboard
|
56
53
|
# Deletes an existing custom dashboard.
|
57
54
|
#
|
58
55
|
# This method requires the `monitoring.dashboards.delete` permission
|
59
56
|
# on the specified dashboard. For more information, see
|
60
|
-
# [
|
57
|
+
# [Cloud Identity and Access Management](https://cloud.google.com/iam).
|
61
58
|
rpc :DeleteDashboard, ::Google::Cloud::Monitoring::Dashboard::V1::DeleteDashboardRequest, ::Google::Protobuf::Empty
|
62
59
|
# Replaces an existing custom dashboard with a new definition.
|
63
60
|
#
|
64
61
|
# This method requires the `monitoring.dashboards.update` permission
|
65
62
|
# on the specified dashboard. For more information, see
|
66
|
-
# [
|
63
|
+
# [Cloud Identity and Access Management](https://cloud.google.com/iam).
|
67
64
|
rpc :UpdateDashboard, ::Google::Cloud::Monitoring::Dashboard::V1::UpdateDashboardRequest, ::Google::Cloud::Monitoring::Dashboard::V1::Dashboard
|
68
65
|
end
|
69
66
|
|
@@ -10,6 +10,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
10
10
|
optional :columns, :int64, 1
|
11
11
|
repeated :widgets, :message, 2, "google.monitoring.dashboard.v1.Widget"
|
12
12
|
end
|
13
|
+
add_message "google.monitoring.dashboard.v1.MosaicLayout" do
|
14
|
+
optional :columns, :int32, 1
|
15
|
+
repeated :tiles, :message, 3, "google.monitoring.dashboard.v1.MosaicLayout.Tile"
|
16
|
+
end
|
17
|
+
add_message "google.monitoring.dashboard.v1.MosaicLayout.Tile" do
|
18
|
+
optional :x_pos, :int32, 1
|
19
|
+
optional :y_pos, :int32, 2
|
20
|
+
optional :width, :int32, 3
|
21
|
+
optional :height, :int32, 4
|
22
|
+
optional :widget, :message, 5, "google.monitoring.dashboard.v1.Widget"
|
23
|
+
end
|
13
24
|
add_message "google.monitoring.dashboard.v1.RowLayout" do
|
14
25
|
repeated :rows, :message, 1, "google.monitoring.dashboard.v1.RowLayout.Row"
|
15
26
|
end
|
@@ -33,6 +44,8 @@ module Google
|
|
33
44
|
module Dashboard
|
34
45
|
module V1
|
35
46
|
GridLayout = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.GridLayout").msgclass
|
47
|
+
MosaicLayout = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.MosaicLayout").msgclass
|
48
|
+
MosaicLayout::Tile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.MosaicLayout.Tile").msgclass
|
36
49
|
RowLayout = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.RowLayout").msgclass
|
37
50
|
RowLayout::Row = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.RowLayout.Row").msgclass
|
38
51
|
ColumnLayout = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.ColumnLayout").msgclass
|
@@ -6,6 +6,7 @@ require 'google/protobuf'
|
|
6
6
|
require 'google/api/field_behavior_pb'
|
7
7
|
require 'google/monitoring/dashboard/v1/metrics_pb'
|
8
8
|
require 'google/protobuf/duration_pb'
|
9
|
+
require 'google/protobuf/empty_pb'
|
9
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
11
|
add_file("google/monitoring/dashboard/v1/scorecard.proto", :syntax => :proto3) do
|
11
12
|
add_message "google.monitoring.dashboard.v1.Scorecard" do
|
@@ -60,6 +60,8 @@ module Google
|
|
60
60
|
# `ALIGN_NONE` is specified, this field is required or an error is returned.
|
61
61
|
# If no per-series aligner is specified, or the aligner `ALIGN_NONE` is
|
62
62
|
# specified, then this field is ignored.
|
63
|
+
#
|
64
|
+
# The maximum value of the `alignment_period` is 2 years, or 104 weeks.
|
63
65
|
# @!attribute [rw] per_series_aligner
|
64
66
|
# @return [::Google::Cloud::Monitoring::Dashboard::V1::Aggregation::Aligner]
|
65
67
|
# An `Aligner` describes how to bring the data points in a single
|
@@ -43,6 +43,10 @@ module Google
|
|
43
43
|
# @return [::Google::Cloud::Monitoring::Dashboard::V1::GridLayout]
|
44
44
|
# Content is arranged with a basic layout that re-flows a simple list of
|
45
45
|
# informational elements like widgets or tiles.
|
46
|
+
# @!attribute [rw] mosaic_layout
|
47
|
+
# @return [::Google::Cloud::Monitoring::Dashboard::V1::MosaicLayout]
|
48
|
+
# The content is arranged as a grid of tiles, with each content widget
|
49
|
+
# occupying one or more grid blocks.
|
46
50
|
# @!attribute [rw] row_layout
|
47
51
|
# @return [::Google::Cloud::Monitoring::Dashboard::V1::RowLayout]
|
48
52
|
# The content is divided into equally spaced rows and the widgets are
|
@@ -36,6 +36,48 @@ module Google
|
|
36
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
37
37
|
end
|
38
38
|
|
39
|
+
# A mosaic layout divides the available space into a grid of blocks, and
|
40
|
+
# overlays the grid with tiles. Unlike `GridLayout`, tiles may span multiple
|
41
|
+
# grid blocks and can be placed at arbitrary locations in the grid.
|
42
|
+
# @!attribute [rw] columns
|
43
|
+
# @return [::Integer]
|
44
|
+
# The number of columns in the mosaic grid. The number of columns must be
|
45
|
+
# between 1 and 12, inclusive.
|
46
|
+
# @!attribute [rw] tiles
|
47
|
+
# @return [::Array<::Google::Cloud::Monitoring::Dashboard::V1::MosaicLayout::Tile>]
|
48
|
+
# The tiles to display.
|
49
|
+
class MosaicLayout
|
50
|
+
include ::Google::Protobuf::MessageExts
|
51
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
52
|
+
|
53
|
+
# A single tile in the mosaic. The placement and size of the tile are
|
54
|
+
# configurable.
|
55
|
+
# @!attribute [rw] x_pos
|
56
|
+
# @return [::Integer]
|
57
|
+
# The zero-indexed position of the tile in grid blocks relative to the
|
58
|
+
# left edge of the grid. Tiles must be contained within the specified
|
59
|
+
# number of columns. `x_pos` cannot be negative.
|
60
|
+
# @!attribute [rw] y_pos
|
61
|
+
# @return [::Integer]
|
62
|
+
# The zero-indexed position of the tile in grid blocks relative to the
|
63
|
+
# top edge of the grid. `y_pos` cannot be negative.
|
64
|
+
# @!attribute [rw] width
|
65
|
+
# @return [::Integer]
|
66
|
+
# The width of the tile, measured in grid blocks. Tiles must have a
|
67
|
+
# minimum width of 1.
|
68
|
+
# @!attribute [rw] height
|
69
|
+
# @return [::Integer]
|
70
|
+
# The height of the tile, measured in grid blocks. Tiles must have a
|
71
|
+
# minimum height of 1.
|
72
|
+
# @!attribute [rw] widget
|
73
|
+
# @return [::Google::Cloud::Monitoring::Dashboard::V1::Widget]
|
74
|
+
# The informational widget contained in the tile. For example an `XyChart`.
|
75
|
+
class Tile
|
76
|
+
include ::Google::Protobuf::MessageExts
|
77
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
39
81
|
# A simplified layout that divides the available space into rows
|
40
82
|
# and arranges a set of widgets horizontally in each row.
|
41
83
|
# @!attribute [rw] rows
|
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.
|
4
|
+
version: 0.5.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-03-
|
11
|
+
date: 2021-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: google-cloud-errors
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|