Skip to content

Commit

Permalink
Drop deprecrated CreateDataProvider method.
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjayVas committed May 24, 2023
1 parent 3752010 commit b7f1c2b
Showing 1 changed file with 1 addition and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
}

0 comments on commit b7f1c2b

Please sign in to comment.