google-apis-chat_v1 0.115.0 → 0.116.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/chat_v1/classes.rb +208 -138
- data/lib/google/apis/chat_v1/gem_version.rb +3 -3
- data/lib/google/apis/chat_v1/representations.rb +34 -0
- data/lib/google/apis/chat_v1/service.rb +8 -8
- data/lib/google/apis/chat_v1.rb +4 -4
- metadata +4 -7
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ChatV1
|
18
18
|
# Version of the google-apis-chat_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.116.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250213"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -58,6 +58,12 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
+
class AppCommandMetadata
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
61
67
|
class AttachedGif
|
62
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
69
|
|
@@ -154,6 +160,12 @@ module Google
|
|
154
160
|
include Google::Apis::Core::JsonObjectSupport
|
155
161
|
end
|
156
162
|
|
163
|
+
class CustomEmojiMetadata
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
157
169
|
class DateInput
|
158
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
171
|
|
@@ -927,6 +939,8 @@ module Google
|
|
927
939
|
class Annotation
|
928
940
|
# @private
|
929
941
|
class Representation < Google::Apis::Core::JsonRepresentation
|
942
|
+
property :custom_emoji_metadata, as: 'customEmojiMetadata', class: Google::Apis::ChatV1::CustomEmojiMetadata, decorator: Google::Apis::ChatV1::CustomEmojiMetadata::Representation
|
943
|
+
|
930
944
|
property :length, as: 'length'
|
931
945
|
property :rich_link_metadata, as: 'richLinkMetadata', class: Google::Apis::ChatV1::RichLinkMetadata, decorator: Google::Apis::ChatV1::RichLinkMetadata::Representation
|
932
946
|
|
@@ -939,6 +953,14 @@ module Google
|
|
939
953
|
end
|
940
954
|
end
|
941
955
|
|
956
|
+
class AppCommandMetadata
|
957
|
+
# @private
|
958
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
959
|
+
property :app_command_id, as: 'appCommandId'
|
960
|
+
property :app_command_type, as: 'appCommandType'
|
961
|
+
end
|
962
|
+
end
|
963
|
+
|
942
964
|
class AttachedGif
|
943
965
|
# @private
|
944
966
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1094,6 +1116,14 @@ module Google
|
|
1094
1116
|
end
|
1095
1117
|
end
|
1096
1118
|
|
1119
|
+
class CustomEmojiMetadata
|
1120
|
+
# @private
|
1121
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1122
|
+
property :custom_emoji, as: 'customEmoji', class: Google::Apis::ChatV1::CustomEmoji, decorator: Google::Apis::ChatV1::CustomEmoji::Representation
|
1123
|
+
|
1124
|
+
end
|
1125
|
+
end
|
1126
|
+
|
1097
1127
|
class DateInput
|
1098
1128
|
# @private
|
1099
1129
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1122,6 +1152,8 @@ module Google
|
|
1122
1152
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1123
1153
|
property :action, as: 'action', class: Google::Apis::ChatV1::FormAction, decorator: Google::Apis::ChatV1::FormAction::Representation
|
1124
1154
|
|
1155
|
+
property :app_command_metadata, as: 'appCommandMetadata', class: Google::Apis::ChatV1::AppCommandMetadata, decorator: Google::Apis::ChatV1::AppCommandMetadata::Representation
|
1156
|
+
|
1125
1157
|
property :common, as: 'common', class: Google::Apis::ChatV1::CommonEventObject, decorator: Google::Apis::ChatV1::CommonEventObject::Representation
|
1126
1158
|
|
1127
1159
|
property :config_complete_redirect_url, as: 'configCompleteRedirectUrl'
|
@@ -1132,6 +1164,8 @@ module Google
|
|
1132
1164
|
|
1133
1165
|
property :space, as: 'space', class: Google::Apis::ChatV1::Space, decorator: Google::Apis::ChatV1::Space::Representation
|
1134
1166
|
|
1167
|
+
property :thread, as: 'thread', class: Google::Apis::ChatV1::Thread, decorator: Google::Apis::ChatV1::Thread::Representation
|
1168
|
+
|
1135
1169
|
property :thread_key, as: 'threadKey'
|
1136
1170
|
property :token, as: 'token'
|
1137
1171
|
property :type, as: 'type'
|
@@ -1442,10 +1442,10 @@ module Google
|
|
1442
1442
|
execute_or_queue_command(command, &block)
|
1443
1443
|
end
|
1444
1444
|
|
1445
|
-
# Creates a reaction and adds it to a message.
|
1446
|
-
#
|
1447
|
-
#
|
1448
|
-
#
|
1445
|
+
# Creates a reaction and adds it to a message. For an example, see [Add a
|
1446
|
+
# reaction to a message](https://developers.google.com/workspace/chat/create-
|
1447
|
+
# reactions). Requires [user authentication](https://developers.google.com/
|
1448
|
+
# workspace/chat/authenticate-authorize-chat-user).
|
1449
1449
|
# @param [String] parent
|
1450
1450
|
# Required. The message where the reaction is created. Format: `spaces/`space`/
|
1451
1451
|
# messages/`message``
|
@@ -1479,10 +1479,10 @@ module Google
|
|
1479
1479
|
execute_or_queue_command(command, &block)
|
1480
1480
|
end
|
1481
1481
|
|
1482
|
-
# Deletes a reaction to a message.
|
1483
|
-
#
|
1484
|
-
#
|
1485
|
-
#
|
1482
|
+
# Deletes a reaction to a message. For an example, see [Delete a reaction](https:
|
1483
|
+
# //developers.google.com/workspace/chat/delete-reactions). Requires [user
|
1484
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
1485
|
+
# authorize-chat-user).
|
1486
1486
|
# @param [String] name
|
1487
1487
|
# Required. Name of the reaction to delete. Format: `spaces/`space`/messages/`
|
1488
1488
|
# message`/reactions/`reaction``
|
data/lib/google/apis/chat_v1.rb
CHANGED
@@ -75,22 +75,22 @@ module Google
|
|
75
75
|
# View members in Google Chat conversations.
|
76
76
|
AUTH_CHAT_MEMBERSHIPS_READONLY = 'https://www.googleapis.com/auth/chat.memberships.readonly'
|
77
77
|
|
78
|
-
# See, compose, send, update, and delete messages
|
78
|
+
# See, compose, send, update, and delete messages as well as their message content; add, see, and delete reactions to messages.
|
79
79
|
AUTH_CHAT_MESSAGES = 'https://www.googleapis.com/auth/chat.messages'
|
80
80
|
|
81
81
|
# Compose and send messages in Google Chat
|
82
82
|
AUTH_CHAT_MESSAGES_CREATE = 'https://www.googleapis.com/auth/chat.messages.create'
|
83
83
|
|
84
|
-
# See, add, and delete reactions to messages in Google Chat
|
84
|
+
# See, add, and delete reactions as well as their reaction content to messages in Google Chat
|
85
85
|
AUTH_CHAT_MESSAGES_REACTIONS = 'https://www.googleapis.com/auth/chat.messages.reactions'
|
86
86
|
|
87
87
|
# Add reactions to messages in Google Chat
|
88
88
|
AUTH_CHAT_MESSAGES_REACTIONS_CREATE = 'https://www.googleapis.com/auth/chat.messages.reactions.create'
|
89
89
|
|
90
|
-
# View reactions to messages in Google Chat
|
90
|
+
# View reactions as well as their reaction content to messages in Google Chat
|
91
91
|
AUTH_CHAT_MESSAGES_REACTIONS_READONLY = 'https://www.googleapis.com/auth/chat.messages.reactions.readonly'
|
92
92
|
|
93
|
-
# See messages
|
93
|
+
# See messages as well as their reactions and message content in Google Chat
|
94
94
|
AUTH_CHAT_MESSAGES_READONLY = 'https://www.googleapis.com/auth/chat.messages.readonly'
|
95
95
|
|
96
96
|
# Create conversations and spaces and see or update metadata (including history settings and access settings) in Google Chat
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-chat_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.116.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2025-
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.116.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Google Chat API V1
|
82
79
|
test_files: []
|