From b7f1c2b2ec0ded7c198e00c2f49daf0bac19ef88 Mon Sep 17 00:00:00 2001 From: Sanjay Vasandani Date: Wed, 24 May 2023 15:17:05 -0700 Subject: [PATCH] Drop deprecrated CreateDataProvider method. --- .../api/v2alpha/data_providers_service.proto | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/main/proto/wfa/measurement/api/v2alpha/data_providers_service.proto b/src/main/proto/wfa/measurement/api/v2alpha/data_providers_service.proto index 4b8ec408f..25f4efe56 100644 --- a/src/main/proto/wfa/measurement/api/v2alpha/data_providers_service.proto +++ b/src/main/proto/wfa/measurement/api/v2alpha/data_providers_service.proto @@ -28,15 +28,9 @@ service DataProviders { // Returns the `DataProvider` with the specified resource key. rpc GetDataProvider(GetDataProviderRequest) returns (DataProvider) {} - // DEPRECATED: DataProvider can only be created from internal call - // Creates (registers) a `DataProvider`. - rpc CreateDataProvider(CreateDataProviderRequest) returns (DataProvider) { - option deprecated = true; - } - // Replaces the `required_duchies` field in a `DataProvider` resource. rpc ReplaceDataProviderRequiredDuchies( - ReplaceDataProviderRequiredDuchiesRequest) returns (DataProvider); + ReplaceDataProviderRequiredDuchiesRequest) returns (DataProvider) {} } // Request message for ReplaceDataProviderDuchyList @@ -54,13 +48,3 @@ message GetDataProviderRequest { string name = 1 [(google.api.resource_reference).type = "halo.wfanet.org/DataProvider"]; } - -// DEPRECATED: DataProvider can only be created from internal call -// Request message for `CreateDataProvider` method. -message CreateDataProviderRequest { - option deprecated = true; - - // The `DataProvider` to create. Required. The `key` field will be ignored, - // and the system will assign an ID. - DataProvider data_provider = 1; -}