Skip to content

Commit

Permalink
fix: Fix Ruby and PHP namespaces (#499)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 522709585

Co-authored-by: Copybara Bot <yoshi-code-bot@google.com>
  • Loading branch information
copybara-service[bot] and yoshi-code-bot authored Apr 18, 2023
1 parent 3b7685e commit 5c65bb4
Show file tree
Hide file tree
Showing 60 changed files with 120 additions and 0 deletions.
2 changes: 2 additions & 0 deletions proto/google/events/cloud/apigateway/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ package google.events.cloud.apigateway.v1;
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.ApiGateway.V1";
option php_namespace = "Google\\Events\\Cloud\\ApiGateway\\V1";
option ruby_package = "Google::Events::Cloud::ApiGateway::V1";

// An API that can be served by one or more Gateways.
message Api {
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/apigateway/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/apigateway/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.ApiGateway.V1";
option php_namespace = "Google\\Events\\Cloud\\ApiGateway\\V1";
option ruby_package = "Google::Events::Cloud::ApiGateway::V1";
option (google.events.cloud_event_product) = "API Gateway";
option (google.events.cloud_event_extension_attribute) = {
name: "gateway"
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/apigeeregistry/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ package google.events.cloud.apigeeregistry.v1;
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.ApigeeRegistry.V1";
option php_namespace = "Google\\Events\\Cloud\\ApigeeRegistry\\V1";
option ruby_package = "Google::Events::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: 2 additions & 0 deletions proto/google/events/cloud/apigeeregistry/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/apigeeregistry/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.ApigeeRegistry.V1";
option php_namespace = "Google\\Events\\Cloud\\ApigeeRegistry\\V1";
option ruby_package = "Google::Events::Cloud::ApigeeRegistry::V1";
option (google.events.cloud_event_product) = "Apigee Registry";
option (google.events.cloud_event_extension_attribute) = {
name: "instance"
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/audit/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ import "google/rpc/context/attribute_context.proto";
import "google/rpc/status.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Audit.V1";
option php_namespace = "Google\\Events\\Cloud\\Audit\\V1";
option ruby_package = "Google::Events::Cloud::Audit::V1";

// The data within all Cloud Audit Logs log entry events.
message LogEntryData {
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/audit/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/audit/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Audit.V1";
option php_namespace = "Google\\Events\\Cloud\\Audit\\V1";
option ruby_package = "Google::Events::Cloud::Audit::V1";
option (google.events.cloud_event_product) = "Cloud Audit Logs";

option (google.events.cloud_event_extension_attribute) = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ package google.events.cloud.beyondcorp.appconnections.v1;
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.BeyondCorp.AppConnections.V1";
option php_namespace = "Google\\Events\\Cloud\\BeyondCorp\\AppConnections\\V1";
option ruby_package = "Google::Events::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 @@ -20,6 +20,8 @@ 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 php_namespace = "Google\\Events\\Cloud\\BeyondCorp\\AppConnections\\V1";
option ruby_package = "Google::Events::Cloud::BeyondCorp::AppConnections::V1";
option (google.events.cloud_event_product) = "BeyondCorp";
option (google.events.cloud_event_extension_attribute) = {
name: "appconnection"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ package google.events.cloud.beyondcorp.appconnectors.v1;
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.BeyondCorp.AppConnectors.V1";
option php_namespace = "Google\\Events\\Cloud\\BeyondCorp\\AppConnectors\\V1";
option ruby_package = "Google::Events::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 @@ -20,6 +20,8 @@ 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 php_namespace = "Google\\Events\\Cloud\\BeyondCorp\\AppConnectors\\V1";
option ruby_package = "Google::Events::Cloud::BeyondCorp::AppConnectors::V1";
option (google.events.cloud_event_product) = "BeyondCorp";
option (google.events.cloud_event_extension_attribute) = {
name: "appconnector"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ package google.events.cloud.beyondcorp.appgateways.v1;
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.BeyondCorp.AppGateways.V1";
option php_namespace = "Google\\Events\\Cloud\\BeyondCorp\\AppGateways\\V1";
option ruby_package = "Google::Events::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 @@ -20,6 +20,8 @@ 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 php_namespace = "Google\\Events\\Cloud\\BeyondCorp\\AppGateways\\V1";
option ruby_package = "Google::Events::Cloud::BeyondCorp::AppGateways::V1";
option (google.events.cloud_event_product) = "BeyondCorp";
option (google.events.cloud_event_extension_attribute) = {
name: "appgateway"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ package google.events.cloud.beyondcorp.clientconnectorservices.v1;
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.BeyondCorp.ClientConnectorServices.V1";
option php_namespace = "Google\\Events\\Cloud\\BeyondCorp\\ClientConnectorServices\\V1";
option ruby_package = "Google::Events::Cloud::BeyondCorp::ClientConnectorServices::V1";

// Message describing ClientConnectorService object.
message ClientConnectorService {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ 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 php_namespace = "Google\\Events\\Cloud\\BeyondCorp\\ClientConnectorServices\\V1";
option ruby_package = "Google::Events::Cloud::BeyondCorp::ClientConnectorServices::V1";
option (google.events.cloud_event_product) = "BeyondCorp";
option (google.events.cloud_event_extension_attribute) = {
name: "clientconnectorservice"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ package google.events.cloud.beyondcorp.clientgateways.v1;
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.BeyondCorp.ClientGateways.V1";
option php_namespace = "Google\\Events\\Cloud\\BeyondCorp\\ClientGateways\\V1";
option ruby_package = "Google::Events::Cloud::BeyondCorp::ClientGateways::V1";

// Message describing ClientGateway object.
message ClientGateway {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ 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 php_namespace = "Google\\Events\\Cloud\\BeyondCorp\\ClientGateways\\V1";
option ruby_package = "Google::Events::Cloud::BeyondCorp::ClientGateways::V1";
option (google.events.cloud_event_product) = "BeyondCorp";
option (google.events.cloud_event_extension_attribute) = {
name: "clientgateway"
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/certificatemanager/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.CertificateManager.V1";
option php_namespace = "Google\\Events\\Cloud\\CertificateManager\\V1";
option ruby_package = "Google::Events::Cloud::CertificateManager::V1";

// CertificateIssuanceConfig specifies how to issue and manage a certificate.
message CertificateIssuanceConfig {
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/certificatemanager/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/certificatemanager/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.CertificateManager.V1";
option php_namespace = "Google\\Events\\Cloud\\CertificateManager\\V1";
option ruby_package = "Google::Events::Cloud::CertificateManager::V1";
option (google.events.cloud_event_product) = "Certificate Manager";
option (google.events.cloud_event_extension_attribute) = {
name: "certificate"
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/cloudbuild/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.CloudBuild.V1";
option php_namespace = "Google\\Events\\Cloud\\CloudBuild\\V1";
option ruby_package = "Google::Events::Cloud::CloudBuild::V1";

// Build event data for Google Cloud Platform API operations.
message BuildEventData {
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/cloudbuild/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/cloudbuild/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.CloudBuild.V1";
option php_namespace = "Google\\Events\\Cloud\\CloudBuild\\V1";
option ruby_package = "Google::Events::Cloud::CloudBuild::V1";
option (google.events.cloud_event_product) = "Cloud Build";

// The CloudEvent raised when your build's state changes.
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/clouddms/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import "google/protobuf/wrappers.proto";
import "google/rpc/status.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.CloudDms.V1";
option php_namespace = "Google\\Events\\Cloud\\CloudDms\\V1";
option ruby_package = "Google::Events::Cloud::CloudDMS::V1";

// SSL configuration information.
message SslConfig {
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/clouddms/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/clouddms/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.CloudDms.V1";
option php_namespace = "Google\\Events\\Cloud\\CloudDms\\V1";
option ruby_package = "Google::Events::Cloud::CloudDMS::V1";
option (google.events.cloud_event_product) = "Database Migration";
option (google.events.cloud_event_extension_attribute) = {
name: "migrationjob"
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/dataflow/v1beta3/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Dataflow.V1Beta3";
option php_namespace = "Google\\Events\\Cloud\\Dataflow\\V1beta3";
option ruby_package = "Google::Events::Cloud::Dataflow::V1beta3";

// Describes the environment in which a Dataflow Job runs.
message Environment {
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/dataflow/v1beta3/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/dataflow/v1beta3/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Dataflow.V1Beta3";
option php_namespace = "Google\\Events\\Cloud\\Dataflow\\V1beta3";
option ruby_package = "Google::Events::Cloud::Dataflow::V1beta3";
option (google.events.cloud_event_product) = "Cloud Dataflow";
option (google.events.cloud_event_extension_attribute) = {
name: "job"
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/datafusion/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ package google.events.cloud.datafusion.v1;
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.DataFusion.V1";
option php_namespace = "Google\\Events\\Cloud\\DataFusion\\V1";
option ruby_package = "Google::Events::Cloud::DataFusion::V1";

// Network configuration for a Data Fusion instance. These configurations
// are used for peering with the customer network. Configurations are optional
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/datafusion/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/datafusion/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.DataFusion.V1";
option php_namespace = "Google\\Events\\Cloud\\DataFusion\\V1";
option ruby_package = "Google::Events::Cloud::DataFusion::V1";
option (google.events.cloud_event_product) = "Cloud Data Fusion";
option (google.events.cloud_event_extension_attribute) = {
name: "instance"
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/datastream/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Datastream.V1";
option php_namespace = "Google\\Events\\Cloud\\Datastream\\V1";
option ruby_package = "Google::Events::Cloud::Datastream::V1";

// Oracle database profile.
message OracleProfile {
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/datastream/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/datastream/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Datastream.V1";
option php_namespace = "Google\\Events\\Cloud\\Datastream\\V1";
option ruby_package = "Google::Events::Cloud::Datastream::V1";
option (google.events.cloud_event_product) = "Datastream";
option (google.events.cloud_event_extension_attribute) = {
name: "connectionprofile"
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/eventarc/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/protobuf/timestamp.proto";
import "google/rpc/code.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Eventarc.V1";
option php_namespace = "Google\\Events\\Cloud\\Eventarc\\V1";
option ruby_package = "Google::Events::Cloud::Eventarc::V1";

// A representation of the Channel resource.
// A Channel is a resource on which event providers publish their events.
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/eventarc/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/eventarc/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Eventarc.V1";
option php_namespace = "Google\\Events\\Cloud\\Eventarc\\V1";
option ruby_package = "Google::Events::Cloud::Eventarc::V1";
option (google.events.cloud_event_product) = "Eventarc";
option (google.events.cloud_event_extension_attribute) = {
name: "trigger"
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/firestore/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import "google/protobuf/timestamp.proto";
import "google/type/latlng.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Firestore.V1";
option php_namespace = "Google\\Events\\Cloud\\Firestore\\V1";
option ruby_package = "Google::Events::Cloud::Firestore::V1";

// The data within all Firestore document events.
message DocumentEventData {
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/firestore/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/firestore/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Firestore.V1";
option php_namespace = "Google\\Events\\Cloud\\Firestore\\V1";
option ruby_package = "Google::Events::Cloud::Firestore::V1";
option (google.events.cloud_event_product) = "Cloud Firestore";

// The CloudEvent raised when a Firestore document is created.
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/functions/v2/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ package google.events.cloud.functions.v2;
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Functions.V2";
option php_namespace = "Google\\Events\\Cloud\\Functions\\V2";
option ruby_package = "Google::Events::Cloud::Functions::V2";

// Describes a Cloud Function that contains user computation executed in
// response to an event. It encapsulates function and trigger configurations.
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/functions/v2/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/functions/v2/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Functions.V2";
option php_namespace = "Google\\Events\\Cloud\\Functions\\V2";
option ruby_package = "Google::Events::Cloud::Functions::V2";
option (google.events.cloud_event_product) = "Cloud Functions";
option (google.events.cloud_event_extension_attribute) = {
name: "function"
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/iot/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/protobuf/timestamp.proto";
import "google/rpc/status.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Iot.V1";
option php_namespace = "Google\\Events\\Cloud\\Iot\\V1";
option ruby_package = "Google::Events::Cloud::Iot::V1";

// The device resource.
message Device {
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/iot/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/iot/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Iot.V1";
option php_namespace = "Google\\Events\\Cloud\\Iot\\V1";
option ruby_package = "Google::Events::Cloud::Iot::V1";
option (google.events.cloud_event_product) = "Cloud IoT";
option (google.events.cloud_event_extension_attribute) = {
name: "device"
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/memcache/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import "google/type/dayofweek.proto";
import "google/type/timeofday.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Memcache.V1";
option php_namespace = "Google\\Events\\Cloud\\Memcache\\V1";
option ruby_package = "Google::Events::Cloud::Memcache::V1";

// A Memorystore for Memcached instance
message Instance {
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/memcache/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/memcache/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Memcache.V1";
option php_namespace = "Google\\Events\\Cloud\\Memcache\\V1";
option ruby_package = "Google::Events::Cloud::Memcache::V1";
option (google.events.cloud_event_product) = "Cloud Memorystore for Memcached";
option (google.events.cloud_event_extension_attribute) = {
name: "instance"
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/pubsub/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ package google.events.cloud.pubsub.v1;
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.PubSub.V1";
option php_namespace = "Google\\Events\\Cloud\\PubSub\\V1";
option ruby_package = "Google::Events::Cloud::PubSub::V1";

// The event data when a message is published to a topic.
message MessagePublishedData {
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/pubsub/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/pubsub/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.PubSub.V1";
option php_namespace = "Google\\Events\\Cloud\\PubSub\\V1";
option ruby_package = "Google::Events::Cloud::PubSub::V1";
option (google.events.cloud_event_product) = "Cloud Pub/Sub";

option (google.events.cloud_event_extension_attribute) = {
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/scheduler/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ syntax = "proto3";
package google.events.cloud.scheduler.v1;

option csharp_namespace = "Google.Events.Protobuf.Cloud.Scheduler.V1";
option php_namespace = "Google\\Events\\Cloud\\Scheduler\\V1";
option ruby_package = "Google::Events::Cloud::Scheduler::V1";

// Scheduler job data.
message SchedulerJobData {
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/scheduler/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/scheduler/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Scheduler.V1";
option php_namespace = "Google\\Events\\Cloud\\Scheduler\\V1";
option ruby_package = "Google::Events::Cloud::Scheduler::V1";
option (google.events.cloud_event_product) = "Cloud Scheduler";

// The CloudEvent raised when a Scheduler job is executed.
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/storage/v1/data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ package google.events.cloud.storage.v1;
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Storage.V1";
option php_namespace = "Google\\Events\\Cloud\\Storage\\V1";
option ruby_package = "Google::Events::Cloud::Storage::V1";

// An object within Google Cloud Storage.
message StorageObjectData {
Expand Down
2 changes: 2 additions & 0 deletions proto/google/events/cloud/storage/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import "google/events/cloud/storage/v1/data.proto";
import "google/events/cloudevent.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Storage.V1";
option php_namespace = "Google\\Events\\Cloud\\Storage\\V1";
option ruby_package = "Google::Events::Cloud::Storage::V1";
option (google.events.cloud_event_product) = "Cloud Storage";

// The CloudEvent raised when an object is finalized in Google Cloud Storage.
Expand Down
Loading

0 comments on commit 5c65bb4

Please sign in to comment.