Created
June 29, 2020 14:23
-
-
Save jhump/205116682fedc69a305c3ccfb19617e2 to your computer and use it in GitHub Desktop.
Example admin grpc service interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is an example of a gRPC service that has admin endpoints for managing | |
// various aspects of configuration for FullStory customers. | |
syntax = "proto3"; | |
package fullstory.orgs; | |
import "google/protobuf/empty.proto"; | |
service Admin { | |
// Retrieves the details of the request org. | |
rpc GetOrg(OrgID) returns (Org); | |
// Updates SSO-related settings for the request org. This can be used to enable | |
// or disable SSO support, to enable or disable JIT-provisioning, and to change | |
// the SSO team associated with an org. | |
rpc UpdateSSOSettings(UpdateSSOSettings) returns (google.protobuf.Empty); | |
// Updates the set of search clusters for the request org. This returns an error | |
// if an unsafe change is detected, such as removing the org's primary cluster | |
// from the set or adding a new cluster and making it the primary in one step. | |
rpc UpdateSearchClusterSettings(UpdateSearchClustersSettingsRequest) | |
returns (UpdateSearchClustersSettingsResponse); | |
// Updates device verification settings for the request org. | |
rpc UpdateDeviceVerificationSettings(DeviceVerificationSettings) | |
returns (google.protobuf.Empty) | |
// Updates API quota settings for the request org, including API rate limits. | |
rpc UpdateAPIQuotaSettings(UpdateAPIQuotaSettingsRequest) | |
returns (UpdateAPIQuotaSettingsResponse); | |
// Updates webhook settings for the request org, including rate limits. | |
rpc UpdateWebhookSettings(WebhookSettings) returns (google.protobuf.Empty); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment