Skip to content

Commit 7f8b19b

Browse files
Google APIscopybara-github
authored andcommitted
chore: Set namespaces for Ruby, PHP, and C# clients
PiperOrigin-RevId: 360255957
1 parent a389671 commit 7f8b19b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

google/cloud/apigateway/v1/apigateway.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ import "google/protobuf/field_mask.proto";
2222
import "google/protobuf/timestamp.proto";
2323
import "google/api/annotations.proto";
2424

25+
option csharp_namespace = "Google.Cloud.ApiGateway.V1";
2526
option go_package = "google.golang.org/genproto/googleapis/cloud/apigateway/v1;apigateway";
2627
option java_multiple_files = true;
2728
option java_package = "com.google.cloud.apigateway.v1";
29+
option php_namespace = "Google\\Cloud\\ApiGateway\\V1";
30+
option ruby_package = "Google::Cloud::APIGateway::V1";
2831

2932
// An API that can be served by one or more Gateways.
3033
message Api {

google/cloud/apigateway/v1/apigateway_service.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ import "google/api/client.proto";
2121
import "google/cloud/apigateway/v1/apigateway.proto";
2222
import "google/longrunning/operations.proto";
2323

24+
option csharp_namespace = "Google.Cloud.ApiGateway.V1";
2425
option go_package = "google.golang.org/genproto/googleapis/cloud/apigateway/v1;apigateway";
2526
option java_multiple_files = true;
2627
option java_package = "com.google.cloud.apigateway.v1";
28+
option php_namespace = "Google\\Cloud\\ApiGateway\\V1";
29+
option ruby_package = "Google::Cloud::APIGateway::V1";
2730

2831
// The API Gateway Service is the interface for managing API Gateways.
2932
service ApiGatewayService {

0 commit comments

Comments
 (0)