1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- syntax = "proto3";
- package google.cloud.security.publicca.v1beta1;
- import "google/api/annotations.proto";
- import "google/api/client.proto";
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/cloud/security/publicca/v1beta1/resources.proto";
- option cc_enable_arenas = true;
- option csharp_namespace = "Google.Cloud.Security.PublicCA.V1Beta1";
- option go_package = "google.golang.org/genproto/googleapis/cloud/security/publicca/v1beta1;publicca";
- option java_multiple_files = true;
- option java_outer_classname = "ServiceProto";
- option java_package = "com.google.cloud.security.publicca.v1beta1";
- option php_namespace = "Google\\Cloud\\Security\\PublicCA\\V1beta1";
- option ruby_package = "Google::Cloud::Security::PublicCA::V1beta1";
- service PublicCertificateAuthorityService {
- option (google.api.default_host) = "publicca.googleapis.com";
- option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
-
- rpc CreateExternalAccountKey(CreateExternalAccountKeyRequest) returns (ExternalAccountKey) {
- option (google.api.http) = {
- post: "/v1beta1/{parent=projects/*/locations/*}/externalAccountKeys"
- body: "external_account_key"
- };
- option (google.api.method_signature) = "parent,external_account_key";
- }
- }
- message CreateExternalAccountKeyRequest {
-
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "publicca.googleapis.com/ExternalAccountKey"
- }
- ];
-
-
-
-
- ExternalAccountKey external_account_key = 2 [(google.api.field_behavior) = REQUIRED];
- }
|