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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b8ef29688672e4ee5b5c43c3b6c71a69a0649d2f3e4c470ee360155d9bc5e1d8
4
- data.tar.gz: 691ed515074cb98b6579f9d7a41948c41eb5f4ef91f22cc4e32424fdd78ab44f
3
+ metadata.gz: 534037815cd333f832767b65a352ed53f1296971d3ddbb811ff9cd02a8873767
4
+ data.tar.gz: 1574c4078a076fb9cf6dee73ceedfa81481b50dde9c1fce7900d2ba8a4f02bbf
5
5
  SHA512:
6
- metadata.gz: d72061bf559cfe76f81ffecdfcbfdf3179b08ea1f4dab9977d5f0c807b5b1380047a247bf0cfea2e07456ac3d4cea86b9c19d993d742704b34bba6deed096027
7
- data.tar.gz: 32e0e9ffc708096b5d6034264fc58ea71faa54bbda6fa1d1d2baf0747554689edee82246ba212bb26d2cd479914de76cd6a4cd8c2efb48a653e1abbcc294e231
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 create dashboards, see [Managing dashboards by API](https://cloud.google.com/monitoring/dashboards/api-dashboard).
162
- # 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).
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
- # To load this service and instantiate a client:
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
@@ -22,7 +22,7 @@ module Google
22
22
  module Monitoring
23
23
  module Dashboard
24
24
  module V1
25
- VERSION = "0.9.1"
25
+ VERSION = "0.10.0"
26
26
  end
27
27
  end
28
28
  end
@@ -24,9 +24,9 @@ module Google
24
24
  module Monitoring
25
25
  module Dashboard
26
26
  ##
27
- # To load this package, including all its services, and instantiate a client:
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 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).
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 filter](https://cloud.google.com/monitoring/api/v3/filters)
58
- # that identifies the metric types, resources, and projects to query.
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 set.
41
- # This should be a string with interpolations of the form `${label_name}`,
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, implemented by
47
- # specifying the minimum alignment period to use in a time series query
48
- # For example, if the data is published once every 10 minutes, the
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 rendered.
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, implemented by
71
- # specifying the minimum alignment period to use in a time series query
72
- # For example, if the data is published once every 10 minutes, the
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.9.1
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: 2022-12-09 00:00:00.000000000 Z
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: '0.12'
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: '0.12'
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.3.14
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