Skip to content

Commit

Permalink
feat: run generator (12-14-2021) (#309)
Browse files Browse the repository at this point in the history
Co-authored-by: Google Bot <yoshi-code-bot@google.com>
  • Loading branch information
github-actions[bot] and yoshi-code-bot authored Dec 14, 2021
1 parent 32c6af6 commit b4173ab
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ This repository contains definitions for the following CloudEvents:
|Google Analytics for Firebase|[Proto](proto/google/events/firebase/analytics/v1/data.proto) / [JSON](https://googleapis.github.io/google-cloudevents/jsonschema/google/events/firebase/analytics/v1/AnalyticsLogData.json)|<br>Data Type:<br>`google.events.firebase.analytics.v1.AnalyticsLogData`<br>CloudEvent Type(s):<br>`google.firebase.analytics.log.v1.written`|
|Firebase Authentication|[Proto](proto/google/events/firebase/auth/v1/data.proto) / [JSON](https://googleapis.github.io/google-cloudevents/jsonschema/google/events/firebase/auth/v1/AuthEventData.json)|<br>Data Type:<br>`google.events.firebase.auth.v1.AuthEventData`<br>CloudEvent Type(s):<br>`google.firebase.auth.user.v1.created`<br/>`google.firebase.auth.user.v1.deleted`|
|Firebase Realtime Database|[Proto](proto/google/events/firebase/database/v1/data.proto) / [JSON](https://googleapis.github.io/google-cloudevents/jsonschema/google/events/firebase/database/v1/ReferenceEventData.json)|<br>Data Type:<br>`google.events.firebase.database.v1.ReferenceEventData`<br>CloudEvent Type(s):<br>`google.firebase.database.ref.v1.created`<br/>`google.firebase.database.ref.v1.updated`<br/>`google.firebase.database.ref.v1.deleted`<br/>`google.firebase.database.ref.v1.written`|
|Firebase Alerts|[Proto](proto/google/events/firebase/firebasealerts/v1/data.proto) / [JSON](https://googleapis.github.io/google-cloudevents/jsonschema/google/events/firebase/firebasealerts/v1/AlertData.json)|<br>Data Type:<br>`google.events.firebase.firebasealerts.v1.AlertData`<br>CloudEvent Type(s):<br>`google.firebase.firebasealerts.alerts.v1.published`|
|Firebase Remote Config|[Proto](proto/google/events/firebase/remoteconfig/v1/data.proto) / [JSON](https://googleapis.github.io/google-cloudevents/jsonschema/google/events/firebase/remoteconfig/v1/RemoteConfigEventData.json)|<br>Data Type:<br>`google.events.firebase.remoteconfig.v1.RemoteConfigEventData`<br>CloudEvent Type(s):<br>`google.firebase.remoteconfig.remoteConfig.v1.updated`|
|Firebase Test Lab|[Proto](proto/google/events/firebase/testlab/v1/data.proto) / [JSON](https://googleapis.github.io/google-cloudevents/jsonschema/google/events/firebase/testlab/v1/TestMatrixEventData.json)|<br>Data Type:<br>`google.events.firebase.testlab.v1.TestMatrixEventData`<br>CloudEvent Type(s):<br>`google.firebase.testlab.testMatrix.v1.completed`|
<!-- GENERATED END -->
Expand Down
10 changes: 10 additions & 0 deletions jsonschema/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,16 @@
"google.firebase.database.ref.v1.written"
]
},
{
"url": "https://googleapis.github.io/google-cloudevents/jsonschema/google/events/firebase/firebasealerts/v1/AlertData.json",
"product": "Firebase Alerts",
"name": "AlertData",
"description": "The data within all Firebase Alerts.",
"datatype": "google.events.firebase.firebasealerts.v1.AlertData",
"cloudeventTypes": [
"google.firebase.firebasealerts.alerts.v1.published"
]
},
{
"url": "https://googleapis.github.io/google-cloudevents/jsonschema/google/events/firebase/remoteconfig/v1/RemoteConfigEventData.json",
"product": "Firebase Remote Config",
Expand Down
37 changes: 37 additions & 0 deletions jsonschema/google/events/firebase/firebasealerts/v1/AlertData.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"$id": "https://googleapis.github.io/google-cloudevents/jsonschema/google/events/firebase/firebasealerts/v1/AlertData.json",
"name": "AlertData",
"examples": [],
"package": "google.events.firebase.firebasealerts.v1",
"datatype": "google.events.firebase.firebasealerts.v1.AlertData",
"cloudeventTypes": [
"google.firebase.firebasealerts.alerts.v1.published"
],
"product": "Firebase Alerts",
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/AlertData",
"definitions": {
"AlertData": {
"properties": {
"createTime": {
"type": "string",
"description": "Time that the event has created",
"format": "date-time"
},
"endTime": {
"type": "string",
"description": "Time that the event has ended. Optional, only present for alertsthat are\n ongoing",
"format": "date-time"
},
"payload": {
"additionalProperties": true,
"type": "object",
"description": "Payload of the event, which includes the details of the specific alert.\n It's a map of keys of String type and values of various types"
}
},
"additionalProperties": true,
"type": "object",
"description": "The data within all Firebase Alerts."
}
}
}

0 comments on commit b4173ab

Please sign in to comment.