@@ -150,6 +150,18 @@ service GDCHardwareManagement {
150150 };
151151 }
152152
153+ // Deletes a site.
154+ rpc DeleteSite (DeleteSiteRequest ) returns (google.longrunning.Operation ) {
155+ option (google.api.http ) = {
156+ delete : "/v1alpha/{name=projects/*/locations/*/sites/*}"
157+ };
158+ option (google.api.method_signature ) = "name" ;
159+ option (google.longrunning.operation_info ) = {
160+ response_type : "google.protobuf.Empty"
161+ metadata_type : "OperationMetadata"
162+ };
163+ }
164+
153165 // Lists hardware groups in a given order.
154166 rpc ListHardwareGroups (ListHardwareGroupsRequest )
155167 returns (ListHardwareGroupsResponse ) {
@@ -414,6 +426,10 @@ service GDCHardwareManagement {
414426message ListOrdersRequest {
415427 // Required. The project and location to list orders in.
416428 // Format: `projects/{project}/locations/{location}`
429+ //
430+ // To list orders across all locations, substitute `-` (the hyphen or
431+ // dash character) for the location and check the unreachable field in
432+ // the response message.
417433 string parent = 1 [
418434 (google.api.field_behavior ) = REQUIRED ,
419435 (google.api.resource_reference ) = {
@@ -443,7 +459,8 @@ message ListOrdersResponse {
443459 // A token identifying a page of results the server should return.
444460 string next_page_token = 2 ;
445461
446- // Locations that could not be reached.
462+ // Locations that could not be reached. Only used for queries to the wildcard
463+ // location `-`. If non-empty, it indicates that the results are incomplete.
447464 repeated string unreachable = 3 ;
448465}
449466
@@ -574,6 +591,10 @@ message SubmitOrderRequest {
574591message ListSitesRequest {
575592 // Required. The project and location to list sites in.
576593 // Format: `projects/{project}/locations/{location}`
594+ //
595+ // To list sites across all locations, substitute `-` (the hyphen or
596+ // dash character) for the location and check the unreachable field in
597+ // the response message.
577598 string parent = 1 [
578599 (google.api.field_behavior ) = REQUIRED ,
579600 (google.api.resource_reference ) = {
@@ -603,7 +624,8 @@ message ListSitesResponse {
603624 // A token identifying a page of results the server should return.
604625 string next_page_token = 2 ;
605626
606- // Locations that could not be reached.
627+ // Locations that could not be reached. Only used for queries to the wildcard
628+ // location `-`. If non-empty, it indicates that the results are incomplete.
607629 repeated string unreachable = 3 ;
608630}
609631
@@ -665,6 +687,25 @@ message UpdateSiteRequest {
665687 string request_id = 3 [(google.api.field_behavior ) = OPTIONAL ];
666688}
667689
690+ // A request to delete a site.
691+ message DeleteSiteRequest {
692+ // Required. The name of the site.
693+ // Format: `projects/{project}/locations/{location}/sites/{site}`
694+ string name = 1 [
695+ (google.api.field_behavior ) = REQUIRED ,
696+ (google.api.resource_reference ) = {
697+ type : "gdchardwaremanagement.googleapis.com/Site"
698+ }
699+ ];
700+
701+ // Optional. An optional unique identifier for this request. See
702+ // [AIP-155](https://google.aip.dev/155).
703+ string request_id = 2 [
704+ (google.api.field_info ).format = UUID4 ,
705+ (google.api.field_behavior ) = OPTIONAL
706+ ];
707+ }
708+
668709// A request to list hardware groups.
669710message ListHardwareGroupsRequest {
670711 // Required. The order to list hardware groups in.
@@ -783,6 +824,10 @@ message DeleteHardwareGroupRequest {
783824message ListHardwareRequest {
784825 // Required. The project and location to list hardware in.
785826 // Format: `projects/{project}/locations/{location}`
827+ //
828+ // To list hardware across all locations, substitute `-` (the hyphen or
829+ // dash character) for the location and check the unreachable field in
830+ // the response message.
786831 string parent = 1 [
787832 (google.api.field_behavior ) = REQUIRED ,
788833 (google.api.resource_reference ) = {
@@ -812,7 +857,8 @@ message ListHardwareResponse {
812857 // A token identifying a page of results the server should return.
813858 string next_page_token = 2 ;
814859
815- // Locations that could not be reached.
860+ // Locations that could not be reached. Only used for queries to the wildcard
861+ // location `-`. If non-empty, it indicates that the results are incomplete.
816862 repeated string unreachable = 3 ;
817863}
818864
@@ -1050,6 +1096,10 @@ message GetChangeLogEntryRequest {
10501096message ListSkusRequest {
10511097 // Required. The project and location to list SKUs in.
10521098 // Format: `projects/{project}/locations/{location}`
1099+ //
1100+ // To list SKUs across all locations, substitute `-` (the hyphen or
1101+ // dash character) for the location and check the unreachable field in
1102+ // the response message.
10531103 string parent = 1 [
10541104 (google.api.field_behavior ) = REQUIRED ,
10551105 (google.api.resource_reference ) = {
@@ -1079,7 +1129,8 @@ message ListSkusResponse {
10791129 // A token identifying a page of results the server should return.
10801130 string next_page_token = 2 ;
10811131
1082- // Locations that could not be reached.
1132+ // Locations that could not be reached. Only used for queries to the wildcard
1133+ // location `-`. If non-empty, it indicates that the results are incomplete.
10831134 repeated string unreachable = 3 ;
10841135}
10851136
@@ -1099,6 +1150,10 @@ message GetSkuRequest {
10991150message ListZonesRequest {
11001151 // Required. The project and location to list zones in.
11011152 // Format: `projects/{project}/locations/{location}`
1153+ //
1154+ // To list zones across all locations, substitute `-` (the hyphen or
1155+ // dash character) for the location and check the unreachable field in
1156+ // the response message.
11021157 string parent = 1 [
11031158 (google.api.field_behavior ) = REQUIRED ,
11041159 (google.api.resource_reference ) = {
@@ -1128,7 +1183,8 @@ message ListZonesResponse {
11281183 // A token identifying a page of results the server should return.
11291184 string next_page_token = 2 ;
11301185
1131- // Locations that could not be reached.
1186+ // Locations that could not be reached. Only used for queries to the wildcard
1187+ // location `-`. If non-empty, it indicates that the results are incomplete.
11321188 repeated string unreachable = 3 ;
11331189}
11341190
0 commit comments