mirror of
https://github.com/rclone/rclone.git
synced 2025-08-13 15:37:26 +02:00
vendor: update all dependencies
This commit is contained in:
73
vendor/google.golang.org/api/chat/v1/chat-api.json
generated
vendored
73
vendor/google.golang.org/api/chat/v1/chat-api.json
generated
vendored
@ -3,7 +3,7 @@
|
||||
"baseUrl": "https://chat.googleapis.com/",
|
||||
"batchPath": "batch",
|
||||
"canonicalName": "Hangouts Chat",
|
||||
"description": "Enables bots to fetch information and perform actions in the new Hangouts Chat.",
|
||||
"description": "Enables bots to fetch information and perform actions in Hangouts Chat.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/hangouts/chat",
|
||||
"fullyEncodeReservedExpansion": true,
|
||||
@ -51,11 +51,6 @@
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"description": "OAuth bearer token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"description": "JSONP",
|
||||
"location": "query",
|
||||
@ -76,12 +71,6 @@
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"default": "true",
|
||||
"description": "Pretty-print response.",
|
||||
"location": "query",
|
||||
"type": "boolean"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"default": "true",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
@ -327,7 +316,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180424",
|
||||
"revision": "20180606",
|
||||
"rootUrl": "https://chat.googleapis.com/",
|
||||
"schemas": {
|
||||
"ActionParameter": {
|
||||
@ -496,6 +485,64 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DeprecatedEvent": {
|
||||
"description": "Hangouts Chat events.",
|
||||
"id": "DeprecatedEvent",
|
||||
"properties": {
|
||||
"action": {
|
||||
"$ref": "FormAction",
|
||||
"description": "The form action data associated with an interactive card that was clicked.\nOnly populated for\nCARD_CLICKED events.\nSee the [Interactive Cards guide](/hangouts/chat/how-tos/cards-onclick) for\nmore information."
|
||||
},
|
||||
"configCompleteRedirectUrl": {
|
||||
"description": "The URL the bot should redirect the user to after they have completed an\nauthorization or configuration flow outside of Hangouts Chat. See the\n[Authorizing access to 3p services guide](/hangouts/chat/how-tos/auth-3p)\nfor more information.",
|
||||
"type": "string"
|
||||
},
|
||||
"eventTime": {
|
||||
"description": "The timestamp indicating when the event was dispatched.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"$ref": "Message",
|
||||
"description": "The message that triggered the event."
|
||||
},
|
||||
"space": {
|
||||
"$ref": "Space",
|
||||
"description": "The room or DM in which the event occurred."
|
||||
},
|
||||
"threadKey": {
|
||||
"description": "The bot-defined key for the thread related to the event. See the\nthread_key field of the\n`spaces.message.create` request for more information.",
|
||||
"type": "string"
|
||||
},
|
||||
"token": {
|
||||
"description": "A secret value that bots can use to verify if a request is from Google. The\ntoken is randomly generated by Google, remains static, and can be obtained\nfrom the Hangouts Chat API configuration page in the Cloud Console.\nDevelopers can revoke/regenerate it if needed from the same page.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "The type of the event.",
|
||||
"enum": [
|
||||
"UNSPECIFIED",
|
||||
"MESSAGE",
|
||||
"ADDED_TO_SPACE",
|
||||
"REMOVED_FROM_SPACE",
|
||||
"CARD_CLICKED"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Default value for the enum. DO NOT USE.",
|
||||
"A message was sent in a room or direct message.",
|
||||
"The bot was added to a room or DM.",
|
||||
"The bot was removed from a room or DM.",
|
||||
"The bot's interactive card was clicked."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"user": {
|
||||
"$ref": "User",
|
||||
"description": "The user that triggered the event."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Empty": {
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"id": "Empty",
|
||||
|
80
vendor/google.golang.org/api/chat/v1/chat-gen.go
generated
vendored
80
vendor/google.golang.org/api/chat/v1/chat-gen.go
generated
vendored
@ -400,6 +400,86 @@ func (s *CardHeader) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// DeprecatedEvent: Hangouts Chat events.
|
||||
type DeprecatedEvent struct {
|
||||
// Action: The form action data associated with an interactive card that
|
||||
// was clicked.
|
||||
// Only populated for
|
||||
// CARD_CLICKED events.
|
||||
// See the [Interactive Cards
|
||||
// guide](/hangouts/chat/how-tos/cards-onclick) for
|
||||
// more information.
|
||||
Action *FormAction `json:"action,omitempty"`
|
||||
|
||||
// ConfigCompleteRedirectUrl: The URL the bot should redirect the user
|
||||
// to after they have completed an
|
||||
// authorization or configuration flow outside of Hangouts Chat. See
|
||||
// the
|
||||
// [Authorizing access to 3p services
|
||||
// guide](/hangouts/chat/how-tos/auth-3p)
|
||||
// for more information.
|
||||
ConfigCompleteRedirectUrl string `json:"configCompleteRedirectUrl,omitempty"`
|
||||
|
||||
// EventTime: The timestamp indicating when the event was dispatched.
|
||||
EventTime string `json:"eventTime,omitempty"`
|
||||
|
||||
// Message: The message that triggered the event.
|
||||
Message *Message `json:"message,omitempty"`
|
||||
|
||||
// Space: The room or DM in which the event occurred.
|
||||
Space *Space `json:"space,omitempty"`
|
||||
|
||||
// ThreadKey: The bot-defined key for the thread related to the event.
|
||||
// See the
|
||||
// thread_key field of the
|
||||
// `spaces.message.create` request for more information.
|
||||
ThreadKey string `json:"threadKey,omitempty"`
|
||||
|
||||
// Token: A secret value that bots can use to verify if a request is
|
||||
// from Google. The
|
||||
// token is randomly generated by Google, remains static, and can be
|
||||
// obtained
|
||||
// from the Hangouts Chat API configuration page in the Cloud
|
||||
// Console.
|
||||
// Developers can revoke/regenerate it if needed from the same page.
|
||||
Token string `json:"token,omitempty"`
|
||||
|
||||
// Type: The type of the event.
|
||||
//
|
||||
// Possible values:
|
||||
// "UNSPECIFIED" - Default value for the enum. DO NOT USE.
|
||||
// "MESSAGE" - A message was sent in a room or direct message.
|
||||
// "ADDED_TO_SPACE" - The bot was added to a room or DM.
|
||||
// "REMOVED_FROM_SPACE" - The bot was removed from a room or DM.
|
||||
// "CARD_CLICKED" - The bot's interactive card was clicked.
|
||||
Type string `json:"type,omitempty"`
|
||||
|
||||
// User: The user that triggered the event.
|
||||
User *User `json:"user,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Action") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Action") to include in API
|
||||
// requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *DeprecatedEvent) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod DeprecatedEvent
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Empty: 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
|
||||
|
Reference in New Issue
Block a user