@@ -20,9 +20,7 @@ import "google/api/annotations.proto";
2020import "google/api/client.proto" ;
2121import "google/api/field_behavior.proto" ;
2222import "google/api/resource.proto" ;
23- import "google/longrunning/operations.proto" ;
2423import "google/monitoring/v3/uptime.proto" ;
25- import "google/protobuf/duration.proto" ;
2624import "google/protobuf/empty.proto" ;
2725import "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.
109113message 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.
164169message 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