Skip to content

Commit

Permalink
fix: Fix C# namespaces (#483)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 506569363

Co-authored-by: Copybara Bot <yoshi-code-bot@google.com>
  • Loading branch information
copybara-service[bot] and yoshi-code-bot authored Feb 3, 2023
1 parent fd8a3ea commit c2710d4
Show file tree
Hide file tree
Showing 20 changed files with 151 additions and 115 deletions.
2 changes: 1 addition & 1 deletion proto/google/events/cloud/apigateway/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package google.events.cloud.apigateway.v1;

import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Apigateway.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.ApiGateway.V1";

// An API that can be served by one or more Gateways.
message Api {
Expand Down
2 changes: 1 addition & 1 deletion proto/google/events/cloud/apigateway/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package google.events.cloud.apigateway.v1;
import "google/events/cloud/apigateway/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Apigateway.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.ApiGateway.V1";
option (google.events.cloud_event_product) = "API Gateway";
option (google.events.cloud_event_extension_attribute) = {
name: "gateway"
Expand Down
2 changes: 1 addition & 1 deletion proto/google/events/cloud/apigeeregistry/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package google.events.cloud.apigeeregistry.v1;

import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Apigeeregistry.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.ApigeeRegistry.V1";

// An Instance represents the instance resources of the Registry.
// Currently, only one instance is allowed for each project.
Expand Down
2 changes: 1 addition & 1 deletion proto/google/events/cloud/apigeeregistry/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package google.events.cloud.apigeeregistry.v1;
import "google/events/cloud/apigeeregistry/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Apigeeregistry.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.ApigeeRegistry.V1";
option (google.events.cloud_event_product) = "Apigee Registry";
option (google.events.cloud_event_extension_attribute) = {
name: "instance"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package google.events.cloud.beyondcorp.appconnections.v1;

import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Beyondcorp.Appconnections.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.BeyondCorp.AppConnections.V1";

// A BeyondCorp AppConnection resource represents a BeyondCorp protected
// AppConnection to a remote application. It creates all the necessary GCP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package google.events.cloud.beyondcorp.appconnections.v1;
import "google/events/cloud/beyondcorp/appconnections/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Beyondcorp.Appconnections.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.BeyondCorp.AppConnections.V1";
option (google.events.cloud_event_product) = "BeyondCorp";
option (google.events.cloud_event_extension_attribute) = {
name: "appconnection"
Expand All @@ -29,7 +29,8 @@ option (google.events.cloud_event_extension_attribute) = {

// The CloudEvent raised when an AppConnection is created.
message AppConnectionCreatedEvent {
option (google.events.cloud_event_type) = "google.cloud.beyondcorp.appconnections.appConnection.v1.created";
option (google.events.cloud_event_type) =
"google.cloud.beyondcorp.appconnections.appConnection.v1.created";
option (google.events.cloud_event_extension_name) = "appconnection";

// The data associated with the event.
Expand All @@ -38,7 +39,8 @@ message AppConnectionCreatedEvent {

// The CloudEvent raised when an AppConnection is updated.
message AppConnectionUpdatedEvent {
option (google.events.cloud_event_type) = "google.cloud.beyondcorp.appconnections.appConnection.v1.updated";
option (google.events.cloud_event_type) =
"google.cloud.beyondcorp.appconnections.appConnection.v1.updated";
option (google.events.cloud_event_extension_name) = "appconnection";

// The data associated with the event.
Expand All @@ -47,7 +49,8 @@ message AppConnectionUpdatedEvent {

// The CloudEvent raised when an AppConnection is deleted.
message AppConnectionDeletedEvent {
option (google.events.cloud_event_type) = "google.cloud.beyondcorp.appconnections.appConnection.v1.deleted";
option (google.events.cloud_event_type) =
"google.cloud.beyondcorp.appconnections.appConnection.v1.deleted";
option (google.events.cloud_event_extension_name) = "appconnection";

// The data associated with the event.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package google.events.cloud.beyondcorp.appconnectors.v1;

import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Beyondcorp.Appconnectors.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.BeyondCorp.AppConnectors.V1";

// ResourceInfo represents the information/status of an app connector resource.
// Such as:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package google.events.cloud.beyondcorp.appconnectors.v1;
import "google/events/cloud/beyondcorp/appconnectors/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Beyondcorp.Appconnectors.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.BeyondCorp.AppConnectors.V1";
option (google.events.cloud_event_product) = "BeyondCorp";
option (google.events.cloud_event_extension_attribute) = {
name: "appconnector"
Expand All @@ -29,7 +29,8 @@ option (google.events.cloud_event_extension_attribute) = {

// The CloudEvent raised when an AppConnector is created.
message AppConnectorCreatedEvent {
option (google.events.cloud_event_type) = "google.cloud.beyondcorp.appconnectors.appConnector.v1.created";
option (google.events.cloud_event_type) =
"google.cloud.beyondcorp.appconnectors.appConnector.v1.created";
option (google.events.cloud_event_extension_name) = "appconnector";

// The data associated with the event.
Expand All @@ -38,7 +39,8 @@ message AppConnectorCreatedEvent {

// The CloudEvent raised when an AppConnector is updated.
message AppConnectorUpdatedEvent {
option (google.events.cloud_event_type) = "google.cloud.beyondcorp.appconnectors.appConnector.v1.updated";
option (google.events.cloud_event_type) =
"google.cloud.beyondcorp.appconnectors.appConnector.v1.updated";
option (google.events.cloud_event_extension_name) = "appconnector";

// The data associated with the event.
Expand All @@ -47,7 +49,8 @@ message AppConnectorUpdatedEvent {

// The CloudEvent raised when an AppConnector is deleted.
message AppConnectorDeletedEvent {
option (google.events.cloud_event_type) = "google.cloud.beyondcorp.appconnectors.appConnector.v1.deleted";
option (google.events.cloud_event_type) =
"google.cloud.beyondcorp.appconnectors.appConnector.v1.deleted";
option (google.events.cloud_event_extension_name) = "appconnector";

// The data associated with the event.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package google.events.cloud.beyondcorp.appgateways.v1;

import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Beyondcorp.Appgateways.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.BeyondCorp.AppGateways.V1";

// A BeyondCorp AppGateway resource represents a BeyondCorp protected AppGateway
// to a remote application. It creates all the necessary GCP components needed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package google.events.cloud.beyondcorp.appgateways.v1;
import "google/events/cloud/beyondcorp/appgateways/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Beyondcorp.Appgateways.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.BeyondCorp.AppGateways.V1";
option (google.events.cloud_event_product) = "BeyondCorp";
option (google.events.cloud_event_extension_attribute) = {
name: "appgateway"
Expand All @@ -29,7 +29,8 @@ option (google.events.cloud_event_extension_attribute) = {

// The CloudEvent raised when an AppGateway is created.
message AppGatewayCreatedEvent {
option (google.events.cloud_event_type) = "google.cloud.beyondcorp.appgateways.appGateway.v1.created";
option (google.events.cloud_event_type) =
"google.cloud.beyondcorp.appgateways.appGateway.v1.created";
option (google.events.cloud_event_extension_name) = "appgateway";

// The data associated with the event.
Expand All @@ -38,7 +39,8 @@ message AppGatewayCreatedEvent {

// The CloudEvent raised when an AppGateway is deleted.
message AppGatewayDeletedEvent {
option (google.events.cloud_event_type) = "google.cloud.beyondcorp.appgateways.appGateway.v1.deleted";
option (google.events.cloud_event_type) =
"google.cloud.beyondcorp.appgateways.appGateway.v1.deleted";
option (google.events.cloud_event_extension_name) = "appgateway";

// The data associated with the event.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package google.events.cloud.beyondcorp.clientconnectorservices.v1;

import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Beyondcorp.Clientconnectorservices.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.BeyondCorp.ClientConnectorServices.V1";

// Message describing ClientConnectorService object.
message ClientConnectorService {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package google.events.cloud.beyondcorp.clientconnectorservices.v1;
import "google/events/cloud/beyondcorp/clientconnectorservices/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Beyondcorp.Clientconnectorservices.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.BeyondCorp.ClientConnectorServices.V1";
option (google.events.cloud_event_product) = "BeyondCorp";
option (google.events.cloud_event_extension_attribute) = {
name: "clientconnectorservice"
Expand All @@ -29,7 +29,8 @@ option (google.events.cloud_event_extension_attribute) = {

// The CloudEvent raised when a ClientConnectorService is created.
message ClientConnectorServiceCreatedEvent {
option (google.events.cloud_event_type) = "google.cloud.beyondcorp.clientconnectorservices.clientConnectorService.v1.created";
option (google.events.cloud_event_type) =
"google.cloud.beyondcorp.clientconnectorservices.clientConnectorService.v1.created";
option (google.events.cloud_event_extension_name) = "clientconnectorservice";

// The data associated with the event.
Expand All @@ -38,7 +39,8 @@ message ClientConnectorServiceCreatedEvent {

// The CloudEvent raised when a ClientConnectorService is updated.
message ClientConnectorServiceUpdatedEvent {
option (google.events.cloud_event_type) = "google.cloud.beyondcorp.clientconnectorservices.clientConnectorService.v1.updated";
option (google.events.cloud_event_type) =
"google.cloud.beyondcorp.clientconnectorservices.clientConnectorService.v1.updated";
option (google.events.cloud_event_extension_name) = "clientconnectorservice";

// The data associated with the event.
Expand All @@ -47,7 +49,8 @@ message ClientConnectorServiceUpdatedEvent {

// The CloudEvent raised when a ClientConnectorService is deleted.
message ClientConnectorServiceDeletedEvent {
option (google.events.cloud_event_type) = "google.cloud.beyondcorp.clientconnectorservices.clientConnectorService.v1.deleted";
option (google.events.cloud_event_type) =
"google.cloud.beyondcorp.clientconnectorservices.clientConnectorService.v1.deleted";
option (google.events.cloud_event_extension_name) = "clientconnectorservice";

// The data associated with the event.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package google.events.cloud.beyondcorp.clientgateways.v1;

import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Beyondcorp.Clientgateways.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.BeyondCorp.ClientGateways.V1";

// Message describing ClientGateway object.
message ClientGateway {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package google.events.cloud.beyondcorp.clientgateways.v1;
import "google/events/cloud/beyondcorp/clientgateways/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Beyondcorp.Clientgateways.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.BeyondCorp.ClientGateways.V1";
option (google.events.cloud_event_product) = "BeyondCorp";
option (google.events.cloud_event_extension_attribute) = {
name: "clientgateway"
Expand All @@ -29,7 +29,8 @@ option (google.events.cloud_event_extension_attribute) = {

// The CloudEvent raised when a ClientGateway is created.
message ClientGatewayCreatedEvent {
option (google.events.cloud_event_type) = "google.cloud.beyondcorp.clientgateways.clientGateway.v1.created";
option (google.events.cloud_event_type) =
"google.cloud.beyondcorp.clientgateways.clientGateway.v1.created";
option (google.events.cloud_event_extension_name) = "clientgateway";

// The data associated with the event.
Expand All @@ -38,7 +39,8 @@ message ClientGatewayCreatedEvent {

// The CloudEvent raised when a ClientGateway is deleted.
message ClientGatewayDeletedEvent {
option (google.events.cloud_event_type) = "google.cloud.beyondcorp.clientgateways.clientGateway.v1.deleted";
option (google.events.cloud_event_type) =
"google.cloud.beyondcorp.clientgateways.clientGateway.v1.deleted";
option (google.events.cloud_event_extension_name) = "clientgateway";

// The data associated with the event.
Expand Down
Loading

0 comments on commit c2710d4

Please sign in to comment.