Skip to content
This repository was archived by the owner on Sep 25, 2023. It is now read-only.

Commit c90af2d

Browse files
feat: Sync public protos with latests public api state. This adds support for collapsible groups, filters, labels, drilldowns, logs panels and tables (#586)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 440139643 Source-Link: googleapis/googleapis@2bff0f3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/8c92aa77466a1fe5016e25d806dd4eb45b62e5a2 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGM5MmFhNzc0NjZhMWZlNTAxNmUyNWQ4MDZkZDRlYjQ1YjYyZTVhMiJ9
1 parent 866d2a1 commit c90af2d

Some content is hidden

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

46 files changed

+10936
-103
lines changed

google-cloud-monitoring-dashboard/src/test/java/com/google/cloud/monitoring/dashboard/v1/DashboardsServiceClientTest.java

+9
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import com.google.common.collect.Lists;
2929
import com.google.monitoring.dashboard.v1.CreateDashboardRequest;
3030
import com.google.monitoring.dashboard.v1.Dashboard;
31+
import com.google.monitoring.dashboard.v1.DashboardFilter;
3132
import com.google.monitoring.dashboard.v1.DashboardName;
3233
import com.google.monitoring.dashboard.v1.DeleteDashboardRequest;
3334
import com.google.monitoring.dashboard.v1.GetDashboardRequest;
@@ -39,7 +40,9 @@
3940
import com.google.protobuf.Empty;
4041
import io.grpc.StatusRuntimeException;
4142
import java.io.IOException;
43+
import java.util.ArrayList;
4244
import java.util.Arrays;
45+
import java.util.HashMap;
4346
import java.util.List;
4447
import java.util.UUID;
4548
import javax.annotation.Generated;
@@ -95,6 +98,8 @@ public void createDashboardTest() throws Exception {
9598
.setName(DashboardName.of("[PROJECT]", "[DASHBOARD]").toString())
9699
.setDisplayName("displayName1714148973")
97100
.setEtag("etag3123477")
101+
.addAllDashboardFilters(new ArrayList<DashboardFilter>())
102+
.putAllLabels(new HashMap<String, String>())
98103
.build();
99104
mockDashboardsService.addResponse(expectedResponse);
100105

@@ -203,6 +208,8 @@ public void getDashboardTest() throws Exception {
203208
.setName(DashboardName.of("[PROJECT]", "[DASHBOARD]").toString())
204209
.setDisplayName("displayName1714148973")
205210
.setEtag("etag3123477")
211+
.addAllDashboardFilters(new ArrayList<DashboardFilter>())
212+
.putAllLabels(new HashMap<String, String>())
206213
.build();
207214
mockDashboardsService.addResponse(expectedResponse);
208215

@@ -289,6 +296,8 @@ public void updateDashboardTest() throws Exception {
289296
.setName(DashboardName.of("[PROJECT]", "[DASHBOARD]").toString())
290297
.setDisplayName("displayName1714148973")
291298
.setEtag("etag3123477")
299+
.addAllDashboardFilters(new ArrayList<DashboardFilter>())
300+
.putAllLabels(new HashMap<String, String>())
292301
.build();
293302
mockDashboardsService.addResponse(expectedResponse);
294303

0 commit comments

Comments
 (0)