Skip to content

Commit

Permalink
fix: Move the CloudBuild events under google.events.cloud.cloudbuild
Browse files Browse the repository at this point in the history
This makes the proto structure match the event type.
(The duplication of "cloud" in the name has been discussed
separately.)
  • Loading branch information
jskeet committed Aug 26, 2020
1 parent c3e214d commit c76d13e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This repository contains definitions for the following CloudEvents:
|Package|Event types|Data messages|
|-|-|-|
|[google.events.cloud.audit.v1](proto/google/events/cloud/audit/v1)|google.cloud.audit.log.v1.written|LogEntryData|
|[google.events.cloud.build.v1](proto/google/events/cloud/build/v1)|google.cloud.cloudbuild.build.v1.statusChanged|BuildEventData|
|[google.events.cloud.cloudbuild.v1](proto/google/events/cloud/cloudbuild/v1)|google.cloud.cloudbuild.build.v1.statusChanged|BuildEventData|
|[google.events.cloud.firestore.v1](proto/google/events/cloud/firestore/v1)|google.cloud.firestore.document.v1.created<br/>google.cloud.firestore.document.v1.deleted<br/>google.cloud.firestore.document.v1.updated<br/>google.cloud.firestore.document.v1.written|DocumentEventData|
|[google.events.cloud.pubsub.v1](proto/google/events/cloud/pubsub/v1)|google.cloud.pubsub.topic.v1.messagePublished|MessagePublishedData|
|[google.events.cloud.scheduler.v1](proto/google/events/cloud/scheduler/v1)|google.cloud.scheduler.job.v1.executed|SchedulerJobData|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@

syntax = "proto3";

package google.events.cloud.build.v1;
package google.events.cloud.cloudbuild.v1;

import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Events.Protobuf.Cloud.Build.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.CloudBuild.V1";

// Build event data
// Common build format for Google Cloud Platform API operations.
// Copied from
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@

syntax = "proto3";

package google.events.cloud.build.v1;
package google.events.cloud.cloudbuild.v1;

option csharp_namespace = "Google.Events.Protobuf.Cloud.Build.V1";
option csharp_namespace = "Google.Events.Protobuf.Cloud.CloudBuild.V1";

import "google/events/cloud/build/v1/data.proto";
import "google/events/cloud/cloudbuild/v1/data.proto";
import "google/events/cloudevent.proto";

// The CloudEvent raised when your build's state changes.
Expand Down

0 comments on commit c76d13e

Please sign in to comment.