123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- syntax = "proto3";
- package google.cloud.apigeeconnect.v1;
- import "google/api/annotations.proto";
- import "google/api/client.proto";
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- option csharp_namespace = "Google.Cloud.ApigeeConnect.V1";
- option go_package = "google.golang.org/genproto/googleapis/cloud/apigeeconnect/v1;apigeeconnect";
- option java_multiple_files = true;
- option java_outer_classname = "ConnectionProto";
- option java_package = "com.google.cloud.apigeeconnect.v1";
- option php_namespace = "Google\\Cloud\\ApigeeConnect\\V1";
- option ruby_package = "Google::Cloud::ApigeeConnect::V1";
- option (google.api.resource_definition) = {
- type: "apigeeconnect.googleapis.com/Endpoint"
- pattern: "projects/{project}/endpoints/{endpoint}"
- };
- service ConnectionService {
- option (google.api.default_host) = "apigeeconnect.googleapis.com";
- option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
-
-
- rpc ListConnections(ListConnectionsRequest) returns (ListConnectionsResponse) {
- option (google.api.http) = {
- get: "/v1/{parent=projects/*/endpoints/*}/connections"
- };
- option (google.api.method_signature) = "parent";
- }
- }
- message ListConnectionsRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "apigeeconnect.googleapis.com/Endpoint"
- }
- ];
-
-
-
- int32 page_size = 2;
-
-
-
-
-
- string page_token = 3;
- }
- message ListConnectionsResponse {
-
- repeated Connection connections = 1;
-
-
- string next_page_token = 2;
- }
- message Connection {
-
-
- string endpoint = 1;
-
- Cluster cluster = 2;
-
- int32 stream_count = 3;
- }
- message Cluster {
-
- string name = 1;
-
- string region = 2;
- }
|