123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- syntax = "proto3";
- package google.cloud.eventarc.publishing.v1;
- import "google/api/annotations.proto";
- import "google/api/client.proto";
- import "google/protobuf/any.proto";
- option csharp_namespace = "Google.Cloud.Eventarc.Publishing.V1";
- option go_package = "google.golang.org/genproto/googleapis/cloud/eventarc/publishing/v1;publisher";
- option java_multiple_files = true;
- option java_outer_classname = "PublisherProto";
- option java_package = "com.google.cloud.eventarc.publishing.v1";
- option php_namespace = "Google\\Cloud\\Eventarc\\Publishing\\V1";
- option ruby_package = "Google::Cloud::Eventarc::Publishing::V1";
- service Publisher {
- option (google.api.default_host) = "eventarcpublishing.googleapis.com";
- option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform";
-
- rpc PublishChannelConnectionEvents(PublishChannelConnectionEventsRequest)
- returns (PublishChannelConnectionEventsResponse) {
- option (google.api.http) = {
- post: "/v1/{channel_connection=projects/*/locations/*/channelConnections/*}:publishEvents"
- body: "*"
- };
- }
-
- rpc PublishEvents(PublishEventsRequest) returns (PublishEventsResponse) {
- option (google.api.http) = {
- post: "/v1/{channel=projects/*/locations/*/channels/*}:publishEvents"
- body: "*"
- };
- }
- }
- message PublishChannelConnectionEventsRequest {
-
-
- string channel_connection = 1;
-
-
- repeated google.protobuf.Any events = 2;
-
-
-
-
-
- repeated string text_events = 3;
- }
- message PublishChannelConnectionEventsResponse {}
- message PublishEventsRequest {
-
-
- string channel = 1;
-
-
- repeated google.protobuf.Any events = 2;
-
-
-
-
-
- repeated string text_events = 3;
- }
- message PublishEventsResponse {}
|