google-cloud-monitoring-dashboard-v1 0.6.5 → 0.8.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 (36) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -1
  3. data/AUTHENTICATION.md +7 -25
  4. data/README.md +11 -6
  5. data/lib/google/cloud/monitoring/dashboard/v1/version.rb +1 -1
  6. data/lib/google/cloud/monitoring/dashboard/v1.rb +2 -0
  7. data/lib/google/monitoring/dashboard/v1/alertchart_pb.rb +2 -1
  8. data/lib/google/monitoring/dashboard/v1/collapsible_group_pb.rb +24 -0
  9. data/lib/google/monitoring/dashboard/v1/common_pb.rb +2 -2
  10. data/lib/google/monitoring/dashboard/v1/dashboard_filter_pb.rb +40 -0
  11. data/lib/google/monitoring/dashboard/v1/dashboard_pb.rb +5 -1
  12. data/lib/google/monitoring/dashboard/v1/dashboards_service_pb.rb +3 -3
  13. data/lib/google/monitoring/dashboard/v1/drilldowns_pb.rb +0 -1
  14. data/lib/google/monitoring/dashboard/v1/layouts_pb.rb +2 -1
  15. data/lib/google/monitoring/dashboard/v1/logs_panel_pb.rb +25 -0
  16. data/lib/google/monitoring/dashboard/v1/metrics_pb.rb +9 -1
  17. data/lib/google/monitoring/dashboard/v1/scorecard_pb.rb +2 -2
  18. data/lib/google/monitoring/dashboard/v1/table_display_options_pb.rb +26 -0
  19. data/lib/google/monitoring/dashboard/v1/table_pb.rb +36 -0
  20. data/lib/google/monitoring/dashboard/v1/widget_pb.rb +8 -1
  21. data/lib/google/monitoring/dashboard/v1/xychart_pb.rb +10 -1
  22. data/proto_docs/google/api/resource.rb +10 -71
  23. data/proto_docs/google/monitoring/dashboard/v1/collapsible_group.rb +38 -0
  24. data/proto_docs/google/monitoring/dashboard/v1/dashboard.rb +15 -0
  25. data/proto_docs/google/monitoring/dashboard/v1/dashboard_filter.rb +69 -0
  26. data/proto_docs/google/monitoring/dashboard/v1/logs_panel.rb +44 -0
  27. data/proto_docs/google/monitoring/dashboard/v1/metrics.rb +16 -0
  28. data/proto_docs/google/monitoring/dashboard/v1/table.rb +63 -0
  29. data/proto_docs/google/monitoring/dashboard/v1/table_display_options.rb +38 -0
  30. data/proto_docs/google/monitoring/dashboard/v1/widget.rb +10 -0
  31. data/proto_docs/google/monitoring/dashboard/v1/xychart.rb +18 -0
  32. metadata +22 -16
  33. data/proto_docs/google/api/distribution.rb +0 -225
  34. data/proto_docs/google/protobuf/any.rb +0 -141
  35. data/proto_docs/google/protobuf/field_mask.rb +0 -229
  36. data/proto_docs/google/protobuf/timestamp.rb +0 -129
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d07f5493bdabf286a7a764ac089fdacb6028704c152ccad44380e47371d20219
4
- data.tar.gz: 5eb799747b24539301c252dbfacd50d789d1560b3e7e21904c6caf0971216cc1
3
+ metadata.gz: 5f917e731ef766d8339385cf0208e99fa22ef12e141416540f0fcfeded2d63af
4
+ data.tar.gz: 1bdf157a022e0670e4b5dffb4c016b467b3be93ca023f155aafaa1e993d69e6b
5
5
  SHA512:
6
- metadata.gz: 8c4dd80ea4ad8038e149dcb6c81e0e5b8b4e561dfd0cc245a3e40b0a9a6a6312dd5ed7b6a2a440d007c8b92a7a480b8b002fe130f76ed16f45de404075b816ff
7
- data.tar.gz: 1ab55106c237de847e7be1bde42bda70cb532b2e2b4245484dff726fbbef680263dd404199e2c55ff4ac5ea5f36d28bbe7ad00bb9a1cdfd44c463b3e30c03057
6
+ metadata.gz: fa6b9297c149e673c4d1a796b2feea5527e4b8f54f2cfcfcc8878ae321f97fa469fa035ee0a667c195176e6530ce0b070d59d8ed62a96d38d3b3ca35eb44fd2f
7
+ data.tar.gz: 26df84583ea75337d6cc89d65da22e8b7e71525b5db3473e2c8c9bab2d4fdea0bc0d5baf2e472f0bb3ebbd1dda30a47bcfda817e0dd04b13907d3b00b1a46aa3
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Cloud Monitoring Dashboards V1 API
2
+ --title="Cloud Monitoring Dashboards V1 API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
data/AUTHENTICATION.md CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
121
121
  *should* only be used during development.
122
122
 
123
- [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
124
- [dev-console]: https://console.cloud.google.com/project
125
-
126
- [enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
127
-
128
- [create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
129
- [create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
130
- [reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
131
-
132
123
  ## Creating a Service Account
133
124
 
134
125
  Google Cloud requires **Service Account Credentials** to
@@ -139,31 +130,22 @@ If you are not running this client within
139
130
  [Google Cloud Platform environments](#google-cloud-platform-environments), you
140
131
  need a Google Developers service account.
141
132
 
142
- 1. Visit the [Google Developers Console][dev-console].
133
+ 1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
143
134
  2. Create a new project or click on an existing project.
144
- 3. Activate the slide-out navigation tray and select **API Manager**. From
135
+ 3. Activate the menu in the upper left and select **APIs & Services**. From
145
136
  here, you will enable the APIs that your application requires.
146
137
 
147
- ![Enable the APIs that your application requires][enable-apis]
148
-
149
138
  *Note: You may need to enable billing in order to use these services.*
150
139
 
151
140
  4. Select **Credentials** from the side navigation.
152
141
 
153
- You should see a screen like one of the following.
154
-
155
- ![Create a new service account][create-new-service-account]
156
-
157
- ![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
158
-
159
- Find the "Add credentials" drop down and select "Service account" to be
160
- guided through downloading a new JSON key file.
142
+ Find the "Create credentials" drop down near the top of the page, and select
143
+ "Service account" to be guided through downloading a new JSON key file.
161
144
 
162
145
  If you want to re-use an existing service account, you can easily generate a
163
- new key file. Just select the account you wish to re-use, and click "Generate
164
- new JSON key":
165
-
166
- ![Re-use an existing service account][reuse-service-account]
146
+ new key file. Just select the account you wish to re-use, click the pencil
147
+ tool on the right side to edit the service account, select the **Keys** tab,
148
+ and then select **Add Key**.
167
149
 
168
150
  The key file you download will be used by this library to authenticate API
169
151
  requests and should be stored in a secure location.
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Monitoring::Dashboard::V1::CreateDashboardRequest.new
37
37
  response = client.create_dashboard request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-monitoring-dashboard-v1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/monitoring)
@@ -69,16 +69,21 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
75
80
 
76
81
  Google provides official support for Ruby versions that are actively supported
77
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
78
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
82
87
 
83
88
  ## Which client should I use?
84
89
 
@@ -22,7 +22,7 @@ module Google
22
22
  module Monitoring
23
23
  module Dashboard
24
24
  module V1
25
- VERSION = "0.6.5"
25
+ VERSION = "0.8.0"
26
26
  end
27
27
  end
28
28
  end
@@ -26,6 +26,8 @@ module Google
26
26
  ##
27
27
  # To load this package, including all its services, and instantiate a client:
28
28
  #
29
+ # @example
30
+ #
29
31
  # require "google/cloud/monitoring/dashboard/v1"
30
32
  # client = ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.new
31
33
  #
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/monitoring/dashboard/v1/alertchart.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/monitoring/dashboard/v1/alertchart.proto", :syntax => :proto3) do
@@ -0,0 +1,24 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/collapsible_group.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/monitoring/dashboard/v1/collapsible_group.proto", :syntax => :proto3) do
8
+ add_message "google.monitoring.dashboard.v1.CollapsibleGroup" do
9
+ optional :collapsed, :bool, 1
10
+ end
11
+ end
12
+ end
13
+
14
+ module Google
15
+ module Cloud
16
+ module Monitoring
17
+ module Dashboard
18
+ module V1
19
+ CollapsibleGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.CollapsibleGroup").msgclass
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/monitoring/dashboard/v1/common.proto
3
3
 
4
- require 'google/api/distribution_pb'
5
- require 'google/protobuf/duration_pb'
6
4
  require 'google/protobuf'
7
5
 
6
+ require 'google/protobuf/duration_pb'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("google/monitoring/dashboard/v1/common.proto", :syntax => :proto3) do
10
10
  add_message "google.monitoring.dashboard.v1.Aggregation" do
@@ -0,0 +1,40 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/dashboard_filter.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/monitoring/dashboard/v1/dashboard_filter.proto", :syntax => :proto3) do
10
+ add_message "google.monitoring.dashboard.v1.DashboardFilter" do
11
+ optional :label_key, :string, 1
12
+ optional :template_variable, :string, 3
13
+ optional :filter_type, :enum, 5, "google.monitoring.dashboard.v1.DashboardFilter.FilterType"
14
+ oneof :default_value do
15
+ optional :string_value, :string, 4
16
+ end
17
+ end
18
+ add_enum "google.monitoring.dashboard.v1.DashboardFilter.FilterType" do
19
+ value :FILTER_TYPE_UNSPECIFIED, 0
20
+ value :RESOURCE_LABEL, 1
21
+ value :METRIC_LABEL, 2
22
+ value :USER_METADATA_LABEL, 3
23
+ value :SYSTEM_METADATA_LABEL, 4
24
+ value :GROUP, 5
25
+ end
26
+ end
27
+ end
28
+
29
+ module Google
30
+ module Cloud
31
+ module Monitoring
32
+ module Dashboard
33
+ module V1
34
+ DashboardFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.DashboardFilter").msgclass
35
+ DashboardFilter::FilterType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.DashboardFilter.FilterType").enummodule
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
@@ -1,10 +1,12 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/monitoring/dashboard/v1/dashboard.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
8
+ require 'google/monitoring/dashboard/v1/dashboard_filter_pb'
6
9
  require 'google/monitoring/dashboard/v1/layouts_pb'
7
- require 'google/protobuf'
8
10
 
9
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
12
  add_file("google/monitoring/dashboard/v1/dashboard.proto", :syntax => :proto3) do
@@ -12,6 +14,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
12
14
  optional :name, :string, 1
13
15
  optional :display_name, :string, 2
14
16
  optional :etag, :string, 4
17
+ repeated :dashboard_filters, :message, 11, "google.monitoring.dashboard.v1.DashboardFilter"
18
+ map :labels, :string, :string, 12
15
19
  oneof :layout do
16
20
  optional :grid_layout, :message, 5, "google.monitoring.dashboard.v1.GridLayout"
17
21
  optional :mosaic_layout, :message, 6, "google.monitoring.dashboard.v1.MosaicLayout"
@@ -1,14 +1,14 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/monitoring/dashboard/v1/dashboards_service.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
7
+ require 'google/api/client_pb'
5
8
  require 'google/api/field_behavior_pb'
6
9
  require 'google/api/resource_pb'
7
10
  require 'google/monitoring/dashboard/v1/dashboard_pb'
8
11
  require 'google/protobuf/empty_pb'
9
- require 'google/protobuf/field_mask_pb'
10
- require 'google/api/client_pb'
11
- require 'google/protobuf'
12
12
 
13
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
14
  add_file("google/monitoring/dashboard/v1/dashboards_service.proto", :syntax => :proto3) do
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/monitoring/dashboard/v1/drilldowns.proto
3
3
 
4
- require 'google/monitoring/dashboard/v1/common_pb'
5
4
  require 'google/protobuf'
6
5
 
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/monitoring/dashboard/v1/layouts.proto
3
3
 
4
- require 'google/monitoring/dashboard/v1/widget_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/monitoring/dashboard/v1/widget_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/monitoring/dashboard/v1/layouts.proto", :syntax => :proto3) do
9
10
  add_message "google.monitoring.dashboard.v1.GridLayout" do
@@ -0,0 +1,25 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/logs_panel.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/monitoring/dashboard/v1/logs_panel.proto", :syntax => :proto3) do
8
+ add_message "google.monitoring.dashboard.v1.LogsPanel" do
9
+ optional :filter, :string, 1
10
+ repeated :resource_names, :string, 2
11
+ end
12
+ end
13
+ end
14
+
15
+ module Google
16
+ module Cloud
17
+ module Monitoring
18
+ module Dashboard
19
+ module V1
20
+ LogsPanel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.LogsPanel").msgclass
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/monitoring/dashboard/v1/metrics.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/monitoring/dashboard/v1/common_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/monitoring/dashboard/v1/metrics.proto", :syntax => :proto3) do
@@ -42,6 +43,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
42
43
  optional :value, :double, 2
43
44
  optional :color, :enum, 3, "google.monitoring.dashboard.v1.Threshold.Color"
44
45
  optional :direction, :enum, 4, "google.monitoring.dashboard.v1.Threshold.Direction"
46
+ optional :target_axis, :enum, 5, "google.monitoring.dashboard.v1.Threshold.TargetAxis"
45
47
  end
46
48
  add_enum "google.monitoring.dashboard.v1.Threshold.Color" do
47
49
  value :COLOR_UNSPECIFIED, 0
@@ -53,6 +55,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
53
55
  value :ABOVE, 1
54
56
  value :BELOW, 2
55
57
  end
58
+ add_enum "google.monitoring.dashboard.v1.Threshold.TargetAxis" do
59
+ value :TARGET_AXIS_UNSPECIFIED, 0
60
+ value :Y1, 1
61
+ value :Y2, 2
62
+ end
56
63
  add_enum "google.monitoring.dashboard.v1.SparkChartType" do
57
64
  value :SPARK_CHART_TYPE_UNSPECIFIED, 0
58
65
  value :SPARK_LINE, 1
@@ -73,6 +80,7 @@ module Google
73
80
  Threshold = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Threshold").msgclass
74
81
  Threshold::Color = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Threshold.Color").enummodule
75
82
  Threshold::Direction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Threshold.Direction").enummodule
83
+ Threshold::TargetAxis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Threshold.TargetAxis").enummodule
76
84
  SparkChartType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.SparkChartType").enummodule
77
85
  end
78
86
  end
@@ -1,11 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/monitoring/dashboard/v1/scorecard.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/monitoring/dashboard/v1/metrics_pb'
6
8
  require 'google/protobuf/duration_pb'
7
- require 'google/protobuf/empty_pb'
8
- require 'google/protobuf'
9
9
 
10
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  add_file("google/monitoring/dashboard/v1/scorecard.proto", :syntax => :proto3) do
@@ -0,0 +1,26 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/table_display_options.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/monitoring/dashboard/v1/table_display_options.proto", :syntax => :proto3) do
10
+ add_message "google.monitoring.dashboard.v1.TableDisplayOptions" do
11
+ repeated :shown_columns, :string, 1
12
+ end
13
+ end
14
+ end
15
+
16
+ module Google
17
+ module Cloud
18
+ module Monitoring
19
+ module Dashboard
20
+ module V1
21
+ TableDisplayOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.TableDisplayOptions").msgclass
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,36 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/monitoring/dashboard/v1/table.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/monitoring/dashboard/v1/metrics_pb'
8
+ require 'google/monitoring/dashboard/v1/table_display_options_pb'
9
+ require 'google/protobuf/duration_pb'
10
+
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_file("google/monitoring/dashboard/v1/table.proto", :syntax => :proto3) do
13
+ add_message "google.monitoring.dashboard.v1.TimeSeriesTable" do
14
+ repeated :data_sets, :message, 1, "google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet"
15
+ end
16
+ add_message "google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet" do
17
+ optional :time_series_query, :message, 1, "google.monitoring.dashboard.v1.TimeSeriesQuery"
18
+ optional :table_template, :string, 2
19
+ optional :min_alignment_period, :message, 3, "google.protobuf.Duration"
20
+ optional :table_display_options, :message, 4, "google.monitoring.dashboard.v1.TableDisplayOptions"
21
+ end
22
+ end
23
+ end
24
+
25
+ module Google
26
+ module Cloud
27
+ module Monitoring
28
+ module Dashboard
29
+ module V1
30
+ TimeSeriesTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.TimeSeriesTable").msgclass
31
+ TimeSeriesTable::TableDataSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet").msgclass
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -1,13 +1,17 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/monitoring/dashboard/v1/widget.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/monitoring/dashboard/v1/alertchart_pb'
8
+ require 'google/monitoring/dashboard/v1/collapsible_group_pb'
9
+ require 'google/monitoring/dashboard/v1/logs_panel_pb'
6
10
  require 'google/monitoring/dashboard/v1/scorecard_pb'
11
+ require 'google/monitoring/dashboard/v1/table_pb'
7
12
  require 'google/monitoring/dashboard/v1/text_pb'
8
13
  require 'google/monitoring/dashboard/v1/xychart_pb'
9
14
  require 'google/protobuf/empty_pb'
10
- require 'google/protobuf'
11
15
 
12
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
17
  add_file("google/monitoring/dashboard/v1/widget.proto", :syntax => :proto3) do
@@ -19,6 +23,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
19
23
  optional :text, :message, 4, "google.monitoring.dashboard.v1.Text"
20
24
  optional :blank, :message, 5, "google.protobuf.Empty"
21
25
  optional :alert_chart, :message, 7, "google.monitoring.dashboard.v1.AlertChart"
26
+ optional :time_series_table, :message, 8, "google.monitoring.dashboard.v1.TimeSeriesTable"
27
+ optional :collapsible_group, :message, 9, "google.monitoring.dashboard.v1.CollapsibleGroup"
28
+ optional :logs_panel, :message, 10, "google.monitoring.dashboard.v1.LogsPanel"
22
29
  end
23
30
  end
24
31
  end
@@ -1,10 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/monitoring/dashboard/v1/xychart.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/monitoring/dashboard/v1/metrics_pb'
6
8
  require 'google/protobuf/duration_pb'
7
- require 'google/protobuf'
8
9
 
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_file("google/monitoring/dashboard/v1/xychart.proto", :syntax => :proto3) do
@@ -14,6 +15,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  repeated :thresholds, :message, 5, "google.monitoring.dashboard.v1.Threshold"
15
16
  optional :x_axis, :message, 6, "google.monitoring.dashboard.v1.XyChart.Axis"
16
17
  optional :y_axis, :message, 7, "google.monitoring.dashboard.v1.XyChart.Axis"
18
+ optional :y2_axis, :message, 9, "google.monitoring.dashboard.v1.XyChart.Axis"
17
19
  optional :chart_options, :message, 8, "google.monitoring.dashboard.v1.ChartOptions"
18
20
  end
19
21
  add_message "google.monitoring.dashboard.v1.XyChart.DataSet" do
@@ -21,6 +23,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
21
23
  optional :plot_type, :enum, 2, "google.monitoring.dashboard.v1.XyChart.DataSet.PlotType"
22
24
  optional :legend_template, :string, 3
23
25
  optional :min_alignment_period, :message, 4, "google.protobuf.Duration"
26
+ optional :target_axis, :enum, 5, "google.monitoring.dashboard.v1.XyChart.DataSet.TargetAxis"
24
27
  end
25
28
  add_enum "google.monitoring.dashboard.v1.XyChart.DataSet.PlotType" do
26
29
  value :PLOT_TYPE_UNSPECIFIED, 0
@@ -29,6 +32,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
29
32
  value :STACKED_BAR, 3
30
33
  value :HEATMAP, 4
31
34
  end
35
+ add_enum "google.monitoring.dashboard.v1.XyChart.DataSet.TargetAxis" do
36
+ value :TARGET_AXIS_UNSPECIFIED, 0
37
+ value :Y1, 1
38
+ value :Y2, 2
39
+ end
32
40
  add_message "google.monitoring.dashboard.v1.XyChart.Axis" do
33
41
  optional :label, :string, 1
34
42
  optional :scale, :enum, 2, "google.monitoring.dashboard.v1.XyChart.Axis.Scale"
@@ -58,6 +66,7 @@ module Google
58
66
  XyChart = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart").msgclass
59
67
  XyChart::DataSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart.DataSet").msgclass
60
68
  XyChart::DataSet::PlotType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart.DataSet.PlotType").enummodule
69
+ XyChart::DataSet::TargetAxis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart.DataSet.TargetAxis").enummodule
61
70
  XyChart::Axis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart.Axis").msgclass
62
71
  XyChart::Axis::Scale = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.XyChart.Axis.Scale").enummodule
63
72
  ChartOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.ChartOptions").msgclass
@@ -33,11 +33,7 @@ module Google
33
33
  # // For Kubernetes resources, the format is {api group}/{kind}.
34
34
  # option (google.api.resource) = {
35
35
  # type: "pubsub.googleapis.com/Topic"
36
- # name_descriptor: {
37
- # pattern: "projects/{project}/topics/{topic}"
38
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
39
- # parent_name_extractor: "projects/{project}"
40
- # }
36
+ # pattern: "projects/{project}/topics/{topic}"
41
37
  # };
42
38
  # }
43
39
  #
@@ -45,10 +41,7 @@ module Google
45
41
  #
46
42
  # resources:
47
43
  # - type: "pubsub.googleapis.com/Topic"
48
- # name_descriptor:
49
- # - pattern: "projects/{project}/topics/{topic}"
50
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
51
- # parent_name_extractor: "projects/{project}"
44
+ # pattern: "projects/{project}/topics/{topic}"
52
45
  #
53
46
  # Sometimes, resources have multiple patterns, typically because they can
54
47
  # live under multiple parents.
@@ -58,26 +51,10 @@ module Google
58
51
  # message LogEntry {
59
52
  # option (google.api.resource) = {
60
53
  # type: "logging.googleapis.com/LogEntry"
61
- # name_descriptor: {
62
- # pattern: "projects/{project}/logs/{log}"
63
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
64
- # parent_name_extractor: "projects/{project}"
65
- # }
66
- # name_descriptor: {
67
- # pattern: "folders/{folder}/logs/{log}"
68
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
69
- # parent_name_extractor: "folders/{folder}"
70
- # }
71
- # name_descriptor: {
72
- # pattern: "organizations/{organization}/logs/{log}"
73
- # parent_type: "cloudresourcemanager.googleapis.com/Organization"
74
- # parent_name_extractor: "organizations/{organization}"
75
- # }
76
- # name_descriptor: {
77
- # pattern: "billingAccounts/{billing_account}/logs/{log}"
78
- # parent_type: "billing.googleapis.com/BillingAccount"
79
- # parent_name_extractor: "billingAccounts/{billing_account}"
80
- # }
54
+ # pattern: "projects/{project}/logs/{log}"
55
+ # pattern: "folders/{folder}/logs/{log}"
56
+ # pattern: "organizations/{organization}/logs/{log}"
57
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
81
58
  # };
82
59
  # }
83
60
  #
@@ -85,48 +62,10 @@ module Google
85
62
  #
86
63
  # resources:
87
64
  # - type: 'logging.googleapis.com/LogEntry'
88
- # name_descriptor:
89
- # - pattern: "projects/{project}/logs/{log}"
90
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
91
- # parent_name_extractor: "projects/{project}"
92
- # - pattern: "folders/{folder}/logs/{log}"
93
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
94
- # parent_name_extractor: "folders/{folder}"
95
- # - pattern: "organizations/{organization}/logs/{log}"
96
- # parent_type: "cloudresourcemanager.googleapis.com/Organization"
97
- # parent_name_extractor: "organizations/{organization}"
98
- # - pattern: "billingAccounts/{billing_account}/logs/{log}"
99
- # parent_type: "billing.googleapis.com/BillingAccount"
100
- # parent_name_extractor: "billingAccounts/{billing_account}"
101
- #
102
- # For flexible resources, the resource name doesn't contain parent names, but
103
- # the resource itself has parents for policy evaluation.
104
- #
105
- # Example:
106
- #
107
- # message Shelf {
108
- # option (google.api.resource) = {
109
- # type: "library.googleapis.com/Shelf"
110
- # name_descriptor: {
111
- # pattern: "shelves/{shelf}"
112
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
113
- # }
114
- # name_descriptor: {
115
- # pattern: "shelves/{shelf}"
116
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
117
- # }
118
- # };
119
- # }
120
- #
121
- # The ResourceDescriptor Yaml config will look like:
122
- #
123
- # resources:
124
- # - type: 'library.googleapis.com/Shelf'
125
- # name_descriptor:
126
- # - pattern: "shelves/{shelf}"
127
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
128
- # - pattern: "shelves/{shelf}"
129
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
65
+ # pattern: "projects/{project}/logs/{log}"
66
+ # pattern: "folders/{folder}/logs/{log}"
67
+ # pattern: "organizations/{organization}/logs/{log}"
68
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
130
69
  # @!attribute [rw] type
131
70
  # @return [::String]
132
71
  # The resource type. It must be in the format of