Skip to content

Commit

Permalink
Update BUILD and description for api_keys_service. (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanvuong2021 committed Dec 3, 2021
1 parent 1b4f57a commit 6a9b17d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions src/main/proto/wfa/measurement/api/v2alpha/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,15 @@ proto_library(
],
)

proto_library(
name = "api_keys_service_proto",
srcs = ["api_keys_service.proto"],
deps = [
":api_key_proto",
"@com_google_googleapis//google/api:resource_proto",
],
)

proto_library(
name = "requisitions_service_proto",
srcs = ["requisitions_service.proto"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ service ApiKeys {
// Creates an `ApiKey`.
//
// Results in PERMISSION_DENIED if the authenticated caller does not own the
// resource the `ApiKey` is being created for.
// `MeasurementConsumer` the `ApiKey` is being created for.
rpc CreateApiKey(CreateApiKeyRequest) returns (ApiKey) {}

// Delete an `ApiKey`.
// Deletes an `ApiKey`.
//
// Results in PERMISSION_DENIED if the authenticated caller does not own the
// resource the `ApiKey` is used for.
// `MeasurementConsumer` the `ApiKey` is being used for.
rpc DeleteApiKey(DeleteApiKeyRequest) returns (ApiKey) {}
}

// Request message for `CreateApiKey` method.
message CreateApiKeyRequest {
// Name of the parent resource. Required.
// Name of the parent `MeasurementConsumer`. Required.
string parent = 1
[(google.api.resource_reference).child_type = "halo.wfanet.org/ApiKey"];

Expand Down

0 comments on commit 6a9b17d

Please sign in to comment.