Skip to content

Commit bc9cebd

Browse files
feat: [monitoring-dashboards] Add support for pie charts, incident lists, dropdown groups, error reporting panels, section headers, and styling options on text widgets (#10355)
* feat: Add support for pie charts, incident lists, dropdown groups, error reporting panels, section headers, and styling options on text widgets docs: updated some comments PiperOrigin-RevId: 605410874 Source-Link: googleapis/googleapis@8aa8817 Source-Link: https://github.com/googleapis/googleapis-gen/commit/6782599ff384fd1851b9ae270536d130ecb5ee7a Copy-Tag: eyJwIjoiamF2YS1tb25pdG9yaW5nLWRhc2hib2FyZHMvLk93bEJvdC55YW1sIiwiaCI6IjY3ODI1OTlmZjM4NGZkMTg1MWI5YWUyNzA1MzZkMTMwZWNiNWVlN2EifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 3bf2de6 commit bc9cebd

File tree

82 files changed

+16212
-504
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+16212
-504
lines changed

java-monitoring-dashboards/google-cloud-monitoring-dashboard/src/main/java/com/google/cloud/monitoring/dashboard/v1/DashboardsServiceClient.java

+293-9
Large diffs are not rendered by default.

java-monitoring-dashboards/google-cloud-monitoring-dashboard/src/main/java/com/google/cloud/monitoring/dashboard/v1/gapic_metadata.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
"libraryClient": "DashboardsServiceClient",
1212
"rpcs": {
1313
"CreateDashboard": {
14-
"methods": ["createDashboard", "createDashboardCallable"]
14+
"methods": ["createDashboard", "createDashboard", "createDashboard", "createDashboardCallable"]
1515
},
1616
"DeleteDashboard": {
17-
"methods": ["deleteDashboard", "deleteDashboardCallable"]
17+
"methods": ["deleteDashboard", "deleteDashboard", "deleteDashboard", "deleteDashboardCallable"]
1818
},
1919
"GetDashboard": {
20-
"methods": ["getDashboard", "getDashboardCallable"]
20+
"methods": ["getDashboard", "getDashboard", "getDashboard", "getDashboardCallable"]
2121
},
2222
"ListDashboards": {
23-
"methods": ["listDashboards", "listDashboardsPagedCallable", "listDashboardsCallable"]
23+
"methods": ["listDashboards", "listDashboards", "listDashboards", "listDashboardsPagedCallable", "listDashboardsCallable"]
2424
},
2525
"UpdateDashboard": {
2626
"methods": ["updateDashboard", "updateDashboardCallable"]

java-monitoring-dashboards/google-cloud-monitoring-dashboard/src/main/java/com/google/cloud/monitoring/dashboard/v1/package-info.java

+3-7
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,9 @@
3333
* // - It may require specifying regional endpoints when creating the service client as shown in
3434
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3535
* try (DashboardsServiceClient dashboardsServiceClient = DashboardsServiceClient.create()) {
36-
* CreateDashboardRequest request =
37-
* CreateDashboardRequest.newBuilder()
38-
* .setParent("parent-995424086")
39-
* .setDashboard(Dashboard.newBuilder().build())
40-
* .setValidateOnly(true)
41-
* .build();
42-
* Dashboard response = dashboardsServiceClient.createDashboard(request);
36+
* ProjectName parent = ProjectName.of("[PROJECT]");
37+
* Dashboard dashboard = Dashboard.newBuilder().build();
38+
* Dashboard response = dashboardsServiceClient.createDashboard(parent, dashboard);
4339
* }
4440
* }</pre>
4541
*/

0 commit comments

Comments
 (0)