Skip to content

Commit

Permalink
fix(fcm): update the API
Browse files Browse the repository at this point in the history
#### fcm:v1

The following keys were changed:
- schemas.Message.properties.data.description
  • Loading branch information
yoshi-automation authored and sofisl committed Jun 3, 2024
1 parent a138181 commit bd19c99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions discovery/fcm-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
}
}
},
"revision": "20230626",
"revision": "20240528",
"rootUrl": "https://fcm.googleapis.com/",
"schemas": {
"AndroidConfig": {
Expand Down Expand Up @@ -499,7 +499,7 @@
"additionalProperties": {
"type": "string"
},
"description": "Input only. Arbitrary key/value payload, which must be UTF-8 encoded. The key should not be a reserved word (\"from\", \"message_type\", or any word starting with \"google\" or \"gcm\"). When sending payloads containing only data fields to iOS devices, only normal priority (`\"apns-priority\": \"5\"`) is allowed in [`ApnsConfig`](/docs/reference/fcm/rest/v1/projects.messages#apnsconfig).",
"description": "Input only. Arbitrary key/value payload, which must be UTF-8 encoded. The key should not be a reserved word (\"from\", \"message_type\", or any word starting with \"google.\" or \"gcm.notification.\"). When sending payloads containing only data fields to iOS devices, only normal priority (`\"apns-priority\": \"5\"`) is allowed in [`ApnsConfig`](/docs/reference/fcm/rest/v1/projects.messages#apnsconfig).",
"type": "object"
},
"fcmOptions": {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/fcm/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ export namespace fcm_v1 {
*/
condition?: string | null;
/**
* Input only. Arbitrary key/value payload, which must be UTF-8 encoded. The key should not be a reserved word ("from", "message_type", or any word starting with "google" or "gcm"). When sending payloads containing only data fields to iOS devices, only normal priority (`"apns-priority": "5"`) is allowed in [`ApnsConfig`](/docs/reference/fcm/rest/v1/projects.messages#apnsconfig).
* Input only. Arbitrary key/value payload, which must be UTF-8 encoded. The key should not be a reserved word ("from", "message_type", or any word starting with "google." or "gcm.notification."). When sending payloads containing only data fields to iOS devices, only normal priority (`"apns-priority": "5"`) is allowed in [`ApnsConfig`](/docs/reference/fcm/rest/v1/projects.messages#apnsconfig).
*/
data?: {[key: string]: string} | null;
/**
Expand Down

0 comments on commit bd19c99

Please sign in to comment.