Skip to content

Commit 3919127

Browse files
feat(all): auto-regenerate discovery clients (#1637)
1 parent fc02f1d commit 3919127

File tree

4 files changed

+68
-10
lines changed

4 files changed

+68
-10
lines changed

chat/v1/chat-api.json

+23-1
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@
642642
}
643643
}
644644
},
645-
"revision": "20220720",
645+
"revision": "20220722",
646646
"rootUrl": "https://chat.googleapis.com/",
647647
"schemas": {
648648
"ActionParameter": {
@@ -940,6 +940,21 @@
940940
},
941941
"type": "object"
942942
},
943+
"CardWithId": {
944+
"description": "Widgets for Chat apps to specify.",
945+
"id": "CardWithId",
946+
"properties": {
947+
"card": {
948+
"$ref": "GoogleAppsCardV1Card",
949+
"description": "Card proto that allows Chat apps to specify UI elements and editable widgets."
950+
},
951+
"cardId": {
952+
"description": "Required for `cardsV2` messages. Chat app-specified identifier for this widget. Scoped within a message.",
953+
"type": "string"
954+
}
955+
},
956+
"type": "object"
957+
},
943958
"ChatAppLogEntry": {
944959
"description": "JSON payload of error messages. If the Cloud Logging API is enabled, these error messages are logged to [Google Cloud Logging](https://cloud.google.com/logging/docs).",
945960
"id": "ChatAppLogEntry",
@@ -2466,6 +2481,13 @@
24662481
},
24672482
"type": "array"
24682483
},
2484+
"cardsV2": {
2485+
"description": "Richly formatted and interactive cards that display UI elements and editable widgets, such as: - Formatted text - Buttons - Clickable images - Checkboxes - Radio buttons - Input widgets. Cards are usually displayed below the text-body of a Chat message, but can situationally appear other places, such as [dialogs](https://developers.google.com/chat/how-tos/dialogs). The `cardId` is a unique identifier among cards in the same message and for identifying user input values. Currently supported widgets include: - `TextParagraph` - `DecoratedText` - `Image` - `ButtonList`",
2486+
"items": {
2487+
"$ref": "CardWithId"
2488+
},
2489+
"type": "array"
2490+
},
24692491
"createTime": {
24702492
"description": "Output only. The time at which the message was created in Google Chat server.",
24712493
"format": "google-datetime",

chat/v1/chat-gen.go

+44
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cloudchannel/v1/cloudchannel-api.json

+1-5
Original file line numberDiff line numberDiff line change
@@ -1901,7 +1901,7 @@
19011901
}
19021902
}
19031903
},
1904-
"revision": "20220720",
1904+
"revision": "20220728",
19051905
"rootUrl": "https://cloudchannel.googleapis.com/",
19061906
"schemas": {
19071907
"GoogleCloudChannelV1ActivateEntitlementRequest": {
@@ -3019,10 +3019,6 @@
30193019
"$ref": "GoogleCloudChannelV1Constraints",
30203020
"description": "Constraints on transacting the Offer."
30213021
},
3022-
"dealCode": {
3023-
"description": "The deal code of the offer to get a special promotion or discount.",
3024-
"type": "string"
3025-
},
30263022
"endTime": {
30273023
"description": "Output only. End of the Offer validity time.",
30283024
"format": "google-datetime",

cloudchannel/v1/cloudchannel-gen.go

-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)