Skip to content

Commit 5a64eb3

Browse files
Google APIscopybara-github
authored andcommitted
chore: remove unused imports from google/monitoring/v3
PiperOrigin-RevId: 431809723
1 parent 513fc46 commit 5a64eb3

6 files changed

Lines changed: 22 additions & 23 deletions

File tree

google/monitoring/v3/metric.proto

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ syntax = "proto3";
1616

1717
package google.monitoring.v3;
1818

19-
import "google/api/distribution.proto";
2019
import "google/api/label.proto";
2120
import "google/api/metric.proto";
2221
import "google/api/monitored_resource.proto";
2322
import "google/monitoring/v3/common.proto";
24-
import "google/protobuf/duration.proto";
2523

2624
option csharp_namespace = "Google.Cloud.Monitoring.V3";
2725
option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring";

google/monitoring/v3/metric_service.proto

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ import "google/api/field_behavior.proto";
2222
import "google/api/metric.proto";
2323
import "google/api/monitored_resource.proto";
2424
import "google/api/resource.proto";
25-
import "google/monitoring/v3/alert.proto";
2625
import "google/monitoring/v3/common.proto";
2726
import "google/monitoring/v3/metric.proto";
28-
import "google/protobuf/duration.proto";
2927
import "google/protobuf/empty.proto";
3028
import "google/rpc/status.proto";
3129

google/monitoring/v3/notification_service.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import "google/api/resource.proto";
2323
import "google/monitoring/v3/notification.proto";
2424
import "google/protobuf/empty.proto";
2525
import "google/protobuf/field_mask.proto";
26-
import "google/protobuf/struct.proto";
2726
import "google/protobuf/timestamp.proto";
2827

2928
option csharp_namespace = "Google.Cloud.Monitoring.V3";

google/monitoring/v3/query_service.proto

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ syntax = "proto3";
1717
package google.monitoring.v3;
1818

1919
import "google/api/annotations.proto";
20-
import "google/api/label.proto";
21-
import "google/monitoring/v3/metric.proto";
2220
import "google/monitoring/v3/metric_service.proto";
2321
import "google/api/client.proto";
2422

google/monitoring/v3/service.proto

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ syntax = "proto3";
1616

1717
package google.monitoring.v3;
1818

19-
import "google/api/field_behavior.proto";
2019
import "google/api/resource.proto";
2120
import "google/protobuf/duration.proto";
22-
import "google/protobuf/timestamp.proto";
2321
import "google/type/calendar_period.proto";
2422

2523
option csharp_namespace = "Google.Cloud.Monitoring.V3";

google/monitoring/v3/uptime_service.proto

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ import "google/api/annotations.proto";
2020
import "google/api/client.proto";
2121
import "google/api/field_behavior.proto";
2222
import "google/api/resource.proto";
23-
import "google/longrunning/operations.proto";
2423
import "google/monitoring/v3/uptime.proto";
25-
import "google/protobuf/duration.proto";
2624
import "google/protobuf/empty.proto";
2725
import "google/protobuf/field_mask.proto";
2826

@@ -51,23 +49,26 @@ service UptimeCheckService {
5149

5250
// Lists the existing valid Uptime check configurations for the project
5351
// (leaving out any invalid configurations).
54-
rpc ListUptimeCheckConfigs(ListUptimeCheckConfigsRequest) returns (ListUptimeCheckConfigsResponse) {
52+
rpc ListUptimeCheckConfigs(ListUptimeCheckConfigsRequest)
53+
returns (ListUptimeCheckConfigsResponse) {
5554
option (google.api.http) = {
5655
get: "/v3/{parent=projects/*}/uptimeCheckConfigs"
5756
};
5857
option (google.api.method_signature) = "parent";
5958
}
6059

6160
// Gets a single Uptime check configuration.
62-
rpc GetUptimeCheckConfig(GetUptimeCheckConfigRequest) returns (UptimeCheckConfig) {
61+
rpc GetUptimeCheckConfig(GetUptimeCheckConfigRequest)
62+
returns (UptimeCheckConfig) {
6363
option (google.api.http) = {
6464
get: "/v3/{name=projects/*/uptimeCheckConfigs/*}"
6565
};
6666
option (google.api.method_signature) = "name";
6767
}
6868

6969
// Creates a new Uptime check configuration.
70-
rpc CreateUptimeCheckConfig(CreateUptimeCheckConfigRequest) returns (UptimeCheckConfig) {
70+
rpc CreateUptimeCheckConfig(CreateUptimeCheckConfigRequest)
71+
returns (UptimeCheckConfig) {
7172
option (google.api.http) = {
7273
post: "/v3/{parent=projects/*}/uptimeCheckConfigs"
7374
body: "uptime_check_config"
@@ -79,7 +80,8 @@ service UptimeCheckService {
7980
// configuration with a new one or replace only certain fields in the current
8081
// configuration by specifying the fields to be updated via `updateMask`.
8182
// Returns the updated configuration.
82-
rpc UpdateUptimeCheckConfig(UpdateUptimeCheckConfigRequest) returns (UptimeCheckConfig) {
83+
rpc UpdateUptimeCheckConfig(UpdateUptimeCheckConfigRequest)
84+
returns (UptimeCheckConfig) {
8385
option (google.api.http) = {
8486
patch: "/v3/{uptime_check_config.name=projects/*/uptimeCheckConfigs/*}"
8587
body: "uptime_check_config"
@@ -90,15 +92,17 @@ service UptimeCheckService {
9092
// Deletes an Uptime check configuration. Note that this method will fail
9193
// if the Uptime check configuration is referenced by an alert policy or
9294
// other dependent configs that would be rendered invalid by the deletion.
93-
rpc DeleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest) returns (google.protobuf.Empty) {
95+
rpc DeleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest)
96+
returns (google.protobuf.Empty) {
9497
option (google.api.http) = {
9598
delete: "/v3/{name=projects/*/uptimeCheckConfigs/*}"
9699
};
97100
option (google.api.method_signature) = "name";
98101
}
99102

100103
// Returns the list of IP addresses that checkers run from
101-
rpc ListUptimeCheckIps(ListUptimeCheckIpsRequest) returns (ListUptimeCheckIpsResponse) {
104+
rpc ListUptimeCheckIps(ListUptimeCheckIpsRequest)
105+
returns (ListUptimeCheckIpsResponse) {
102106
option (google.api.http) = {
103107
get: "/v3/uptimeCheckIps"
104108
};
@@ -107,8 +111,9 @@ service UptimeCheckService {
107111

108112
// The protocol for the `ListUptimeCheckConfigs` request.
109113
message ListUptimeCheckConfigsRequest {
110-
// Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
111-
// whose Uptime check configurations are listed. The format is:
114+
// Required. The
115+
// [project](https://cloud.google.com/monitoring/api/v3#project_name) whose
116+
// Uptime check configurations are listed. The format is:
112117
//
113118
// projects/[PROJECT_ID_OR_NUMBER]
114119
string parent = 1 [
@@ -162,8 +167,9 @@ message GetUptimeCheckConfigRequest {
162167

163168
// The protocol for the `CreateUptimeCheckConfig` request.
164169
message CreateUptimeCheckConfigRequest {
165-
// Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
166-
// which to create the Uptime check. The format is:
170+
// Required. The
171+
// [project](https://cloud.google.com/monitoring/api/v3#project_name) in which
172+
// to create the Uptime check. The format is:
167173
//
168174
// projects/[PROJECT_ID_OR_NUMBER]
169175
string parent = 1 [
@@ -174,7 +180,8 @@ message CreateUptimeCheckConfigRequest {
174180
];
175181

176182
// Required. The new Uptime check configuration.
177-
UptimeCheckConfig uptime_check_config = 2 [(google.api.field_behavior) = REQUIRED];
183+
UptimeCheckConfig uptime_check_config = 2
184+
[(google.api.field_behavior) = REQUIRED];
178185
}
179186

180187
// The protocol for the `UpdateUptimeCheckConfig` request.
@@ -196,7 +203,8 @@ message UpdateUptimeCheckConfigRequest {
196203
// The following fields can be updated: `display_name`,
197204
// `http_check`, `tcp_check`, `timeout`, `content_matchers`, and
198205
// `selected_regions`.
199-
UptimeCheckConfig uptime_check_config = 3 [(google.api.field_behavior) = REQUIRED];
206+
UptimeCheckConfig uptime_check_config = 3
207+
[(google.api.field_behavior) = REQUIRED];
200208
}
201209

202210
// The protocol for the `DeleteUptimeCheckConfig` request.

0 commit comments

Comments
 (0)