google-cloud-monitoring-dashboard-v1 0.9.1 → 0.10.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 -2
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service.rb +1 -1
- data/lib/google/cloud/monitoring/dashboard/v1/version.rb +1 -1
- data/lib/google/cloud/monitoring/dashboard/v1.rb +2 -2
- data/lib/google/monitoring/dashboard/v1/dashboards_service_services_pb.rb +6 -2
- data/lib/google/monitoring/dashboard/v1/table_pb.rb +13 -0
- data/proto_docs/google/monitoring/dashboard/v1/metrics.rb +3 -2
- data/proto_docs/google/monitoring/dashboard/v1/table.rb +39 -8
- data/proto_docs/google/monitoring/dashboard/v1/xychart.rb +4 -4
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 534037815cd333f832767b65a352ed53f1296971d3ddbb811ff9cd02a8873767
|
4
|
+
data.tar.gz: 1574c4078a076fb9cf6dee73ceedfa81481b50dde9c1fce7900d2ba8a4f02bbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf98cb8d25ae0603861d0204acd8c5cb60d9b2e3ceea39af14df0b7c3c2b63f7b59f0788d34228cfdeaee106ed383e95e35df57676d42e1034328beefaf51b4a
|
7
|
+
data.tar.gz: ee962b989ae7f566c6cb4aa447965d56263caa2f7cc9270d6e03c0d4c71e00ed665f861db1d00148eaeb606a219298e55fd3abd91307b8368b88d19ddb9d79b7
|
@@ -158,8 +158,12 @@ module Google
|
|
158
158
|
# Service calls
|
159
159
|
|
160
160
|
##
|
161
|
-
# Creates a new custom dashboard. For examples on how you can use this API to
|
162
|
-
#
|
161
|
+
# Creates a new custom dashboard. For examples on how you can use this API to
|
162
|
+
# create dashboards, see [Managing dashboards by
|
163
|
+
# API](https://cloud.google.com/monitoring/dashboards/api-dashboard). This
|
164
|
+
# method requires the `monitoring.dashboards.create` permission on the
|
165
|
+
# specified project. For more information about permissions, see [Cloud
|
166
|
+
# Identity and Access Management](https://cloud.google.com/iam).
|
163
167
|
#
|
164
168
|
# @overload create_dashboard(request, options = nil)
|
165
169
|
# Pass arguments to `create_dashboard` via a request object, either of type
|
@@ -35,7 +35,7 @@ module Google
|
|
35
35
|
# Manages Stackdriver dashboards. A dashboard is an arrangement of data display
|
36
36
|
# widgets in a specific layout.
|
37
37
|
#
|
38
|
-
#
|
38
|
+
# @example Load this service and instantiate a gRPC client
|
39
39
|
#
|
40
40
|
# require "google/cloud/monitoring/dashboard/v1/dashboards_service"
|
41
41
|
# client = ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.new
|
@@ -24,9 +24,9 @@ module Google
|
|
24
24
|
module Monitoring
|
25
25
|
module Dashboard
|
26
26
|
##
|
27
|
-
#
|
27
|
+
# API client module.
|
28
28
|
#
|
29
|
-
# @example
|
29
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
30
30
|
#
|
31
31
|
# require "google/cloud/monitoring/dashboard/v1"
|
32
32
|
# client = ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.new
|
@@ -35,8 +35,12 @@ 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. For examples on how you can use this API to
|
39
|
-
#
|
38
|
+
# Creates a new custom dashboard. For examples on how you can use this API to
|
39
|
+
# create dashboards, see [Managing dashboards by
|
40
|
+
# API](https://cloud.google.com/monitoring/dashboards/api-dashboard). This
|
41
|
+
# method requires the `monitoring.dashboards.create` permission on the
|
42
|
+
# specified project. For more information about permissions, see [Cloud
|
43
|
+
# Identity and Access Management](https://cloud.google.com/iam).
|
40
44
|
rpc :CreateDashboard, ::Google::Cloud::Monitoring::Dashboard::V1::CreateDashboardRequest, ::Google::Cloud::Monitoring::Dashboard::V1::Dashboard
|
41
45
|
# Lists the existing dashboards.
|
42
46
|
#
|
@@ -12,6 +12,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
12
12
|
add_file("google/monitoring/dashboard/v1/table.proto", :syntax => :proto3) do
|
13
13
|
add_message "google.monitoring.dashboard.v1.TimeSeriesTable" do
|
14
14
|
repeated :data_sets, :message, 1, "google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet"
|
15
|
+
optional :metric_visualization, :enum, 2, "google.monitoring.dashboard.v1.TimeSeriesTable.MetricVisualization"
|
16
|
+
repeated :column_settings, :message, 4, "google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings"
|
15
17
|
end
|
16
18
|
add_message "google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet" do
|
17
19
|
optional :time_series_query, :message, 1, "google.monitoring.dashboard.v1.TimeSeriesQuery"
|
@@ -19,6 +21,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
19
21
|
optional :min_alignment_period, :message, 3, "google.protobuf.Duration"
|
20
22
|
optional :table_display_options, :message, 4, "google.monitoring.dashboard.v1.TableDisplayOptions"
|
21
23
|
end
|
24
|
+
add_message "google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings" do
|
25
|
+
optional :column, :string, 1
|
26
|
+
optional :visible, :bool, 2
|
27
|
+
end
|
28
|
+
add_enum "google.monitoring.dashboard.v1.TimeSeriesTable.MetricVisualization" do
|
29
|
+
value :METRIC_VISUALIZATION_UNSPECIFIED, 0
|
30
|
+
value :NUMBER, 1
|
31
|
+
value :BAR, 2
|
32
|
+
end
|
22
33
|
end
|
23
34
|
end
|
24
35
|
|
@@ -29,6 +40,8 @@ module Google
|
|
29
40
|
module V1
|
30
41
|
TimeSeriesTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.TimeSeriesTable").msgclass
|
31
42
|
TimeSeriesTable::TableDataSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet").msgclass
|
43
|
+
TimeSeriesTable::ColumnSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings").msgclass
|
44
|
+
TimeSeriesTable::MetricVisualization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.TimeSeriesTable.MetricVisualization").enummodule
|
32
45
|
end
|
33
46
|
end
|
34
47
|
end
|
@@ -54,8 +54,9 @@ module Google
|
|
54
54
|
# method.
|
55
55
|
# @!attribute [rw] filter
|
56
56
|
# @return [::String]
|
57
|
-
# Required. The [monitoring
|
58
|
-
# that identifies
|
57
|
+
# Required. The [monitoring
|
58
|
+
# filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies
|
59
|
+
# the metric types, resources, and projects to query.
|
59
60
|
# @!attribute [rw] aggregation
|
60
61
|
# @return [::Google::Cloud::Monitoring::Dashboard::V1::Aggregation]
|
61
62
|
# By default, the raw time series data is returned.
|
@@ -26,6 +26,12 @@ module Google
|
|
26
26
|
# @!attribute [rw] data_sets
|
27
27
|
# @return [::Array<::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesTable::TableDataSet>]
|
28
28
|
# Required. The data displayed in this table.
|
29
|
+
# @!attribute [rw] metric_visualization
|
30
|
+
# @return [::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesTable::MetricVisualization]
|
31
|
+
# Optional. Store rendering strategy
|
32
|
+
# @!attribute [rw] column_settings
|
33
|
+
# @return [::Array<::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesTable::ColumnSettings>]
|
34
|
+
# Optional. The list of the persistent column settings for the table.
|
29
35
|
class TimeSeriesTable
|
30
36
|
include ::Google::Protobuf::MessageExts
|
31
37
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -37,24 +43,49 @@ module Google
|
|
37
43
|
# Stackdriver metrics API.
|
38
44
|
# @!attribute [rw] table_template
|
39
45
|
# @return [::String]
|
40
|
-
# Optional. A template string for naming `TimeSeries` in the resulting data
|
41
|
-
# This should be a string with interpolations of the form
|
42
|
-
# which will resolve to the label's value i.e.
|
46
|
+
# Optional. A template string for naming `TimeSeries` in the resulting data
|
47
|
+
# set. This should be a string with interpolations of the form
|
48
|
+
# `${label_name}`, which will resolve to the label's value i.e.
|
43
49
|
# "$\\{resource.labels.project_id}."
|
44
50
|
# @!attribute [rw] min_alignment_period
|
45
51
|
# @return [::Google::Protobuf::Duration]
|
46
|
-
# Optional. The lower bound on data point frequency for this data set,
|
47
|
-
# specifying the minimum alignment period to use in a time
|
48
|
-
# For example, if the data is published once every 10 minutes,
|
49
|
-
# `min_alignment_period` should be at least 10 minutes. It would not
|
52
|
+
# Optional. The lower bound on data point frequency for this data set,
|
53
|
+
# implemented by specifying the minimum alignment period to use in a time
|
54
|
+
# series query For example, if the data is published once every 10 minutes,
|
55
|
+
# the `min_alignment_period` should be at least 10 minutes. It would not
|
50
56
|
# make sense to fetch and align data at one minute intervals.
|
51
57
|
# @!attribute [rw] table_display_options
|
52
58
|
# @return [::Google::Cloud::Monitoring::Dashboard::V1::TableDisplayOptions]
|
53
|
-
# Optional. Table display options for configuring how the table is
|
59
|
+
# Optional. Table display options for configuring how the table is
|
60
|
+
# rendered.
|
54
61
|
class TableDataSet
|
55
62
|
include ::Google::Protobuf::MessageExts
|
56
63
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
57
64
|
end
|
65
|
+
|
66
|
+
# The persistent settings for a table's columns.
|
67
|
+
# @!attribute [rw] column
|
68
|
+
# @return [::String]
|
69
|
+
# Required. The id of the column.
|
70
|
+
# @!attribute [rw] visible
|
71
|
+
# @return [::Boolean]
|
72
|
+
# Required. Whether the column should be visible on page load.
|
73
|
+
class ColumnSettings
|
74
|
+
include ::Google::Protobuf::MessageExts
|
75
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
76
|
+
end
|
77
|
+
|
78
|
+
# Enum for metric metric_visualization
|
79
|
+
module MetricVisualization
|
80
|
+
# Unspecified state
|
81
|
+
METRIC_VISUALIZATION_UNSPECIFIED = 0
|
82
|
+
|
83
|
+
# Default text rendering
|
84
|
+
NUMBER = 1
|
85
|
+
|
86
|
+
# Horizontal bar rendering
|
87
|
+
BAR = 2
|
88
|
+
end
|
58
89
|
end
|
59
90
|
end
|
60
91
|
end
|
@@ -67,10 +67,10 @@ module Google
|
|
67
67
|
# which will resolve to the label's value.
|
68
68
|
# @!attribute [rw] min_alignment_period
|
69
69
|
# @return [::Google::Protobuf::Duration]
|
70
|
-
# Optional. The lower bound on data point frequency for this data set,
|
71
|
-
# specifying the minimum alignment period to use in a time
|
72
|
-
# For example, if the data is published once every 10 minutes,
|
73
|
-
# `min_alignment_period` should be at least 10 minutes. It would not
|
70
|
+
# Optional. The lower bound on data point frequency for this data set,
|
71
|
+
# implemented by specifying the minimum alignment period to use in a time
|
72
|
+
# series query For example, if the data is published once every 10 minutes,
|
73
|
+
# the `min_alignment_period` should be at least 10 minutes. It would not
|
74
74
|
# make sense to fetch and align data at one minute intervals.
|
75
75
|
# @!attribute [rw] target_axis
|
76
76
|
# @return [::Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet::TargetAxis]
|
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.10.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: 2023-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.16.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:
|
29
|
+
version: 0.16.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -236,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
236
236
|
- !ruby/object:Gem::Version
|
237
237
|
version: '0'
|
238
238
|
requirements: []
|
239
|
-
rubygems_version: 3.
|
239
|
+
rubygems_version: 3.4.2
|
240
240
|
signing_key:
|
241
241
|
specification_version: 4
|
242
242
|
summary: API Client library for the Cloud Monitoring Dashboards V1 API
|