Skip to content

Commit ef18477

Browse files
feat(chat): update the api
#### chat:v1 The following keys were added: - schemas.DynamiteIntegrationLogEntry (Total Keys: 5) - schemas.Status (Total Keys: 8)
1 parent d549b43 commit ef18477

File tree

1 file changed

+47
-1
lines changed

1 file changed

+47
-1
lines changed

googleapiclient/discovery_cache/documents/chat.v1.json

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@
642642
}
643643
}
644644
},
645-
"revision": "20211112",
645+
"revision": "20211117",
646646
"rootUrl": "https://chat.googleapis.com/",
647647
"schemas": {
648648
"ActionParameter": {
@@ -1186,6 +1186,25 @@
11861186
},
11871187
"type": "object"
11881188
},
1189+
"DynamiteIntegrationLogEntry": {
1190+
"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).",
1191+
"id": "DynamiteIntegrationLogEntry",
1192+
"properties": {
1193+
"deployment": {
1194+
"description": "The deployment that caused the error. For Chat bots built in Apps Script, this is the deployment ID defined by Apps Script.",
1195+
"type": "string"
1196+
},
1197+
"deploymentFunction": {
1198+
"description": "The unencrypted `callback_method` name that was running when the error was encountered.",
1199+
"type": "string"
1200+
},
1201+
"error": {
1202+
"$ref": "Status",
1203+
"description": "The error code and message."
1204+
}
1205+
},
1206+
"type": "object"
1207+
},
11891208
"Empty": {
11901209
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
11911210
"id": "Empty",
@@ -2568,6 +2587,33 @@
25682587
},
25692588
"type": "object"
25702589
},
2590+
"Status": {
2591+
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
2592+
"id": "Status",
2593+
"properties": {
2594+
"code": {
2595+
"description": "The status code, which should be an enum value of google.rpc.Code.",
2596+
"format": "int32",
2597+
"type": "integer"
2598+
},
2599+
"details": {
2600+
"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
2601+
"items": {
2602+
"additionalProperties": {
2603+
"description": "Properties of the object. Contains field @type with type URL.",
2604+
"type": "any"
2605+
},
2606+
"type": "object"
2607+
},
2608+
"type": "array"
2609+
},
2610+
"message": {
2611+
"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
2612+
"type": "string"
2613+
}
2614+
},
2615+
"type": "object"
2616+
},
25712617
"StringInputs": {
25722618
"description": "Input parameter for regular widgets. For single-valued widgets, it will be a single value list; for multi-valued widgets, such as checkbox, all the values are presented.",
25732619
"id": "StringInputs",

0 commit comments

Comments
 (0)