google-apis-chat_v1 0.62.0 → 0.64.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbdff95aa55c6492c227c63a8b88b3bef7d7c42623e4417b6971f8207af1bbe2
|
4
|
+
data.tar.gz: 14ab242bdc9b5222d90497ff8960c5edca8fc0701500e5faefd3785074f3e7f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5eb13fb4d9e93d4452155332d917869ae2eb9f43350d2cac022c590fa39b16210a4f5d010361d06c055d9e6d508216f7c9609833b3f0e5260ace125dd9364bf2
|
7
|
+
data.tar.gz: 26d3f85923ef3b1ff10e5f894cc217a7f550059e5283872bf6397e0fc8574ab7e6d797f3e0becafc9f65d60a101c9ce5bbaf7bee62ca37f4ebec811e404697c2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.64.0 (2023-07-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230704
|
6
|
+
|
7
|
+
### v0.63.0 (2023-07-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230622
|
10
|
+
|
3
11
|
### v0.62.0 (2023-06-18)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230608
|
@@ -160,6 +160,25 @@ module Google
|
|
160
160
|
end
|
161
161
|
end
|
162
162
|
|
163
|
+
# A GIF image that's specified by a URL.
|
164
|
+
class AttachedGif
|
165
|
+
include Google::Apis::Core::Hashable
|
166
|
+
|
167
|
+
# Output only. The URL that hosts the GIF image.
|
168
|
+
# Corresponds to the JSON property `uri`
|
169
|
+
# @return [String]
|
170
|
+
attr_accessor :uri
|
171
|
+
|
172
|
+
def initialize(**args)
|
173
|
+
update!(**args)
|
174
|
+
end
|
175
|
+
|
176
|
+
# Update properties of this object
|
177
|
+
def update!(**args)
|
178
|
+
@uri = args[:uri] if args.key?(:uri)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
163
182
|
# An attachment in Google Chat.
|
164
183
|
class Attachment
|
165
184
|
include Google::Apis::Core::Hashable
|
@@ -3076,6 +3095,11 @@ module Google
|
|
3076
3095
|
# @return [String]
|
3077
3096
|
attr_accessor :argument_text
|
3078
3097
|
|
3098
|
+
# Output only. GIF images that are attached to the message.
|
3099
|
+
# Corresponds to the JSON property `attachedGifs`
|
3100
|
+
# @return [Array<Google::Apis::ChatV1::AttachedGif>]
|
3101
|
+
attr_accessor :attached_gifs
|
3102
|
+
|
3079
3103
|
# User-uploaded attachment.
|
3080
3104
|
# Corresponds to the JSON property `attachment`
|
3081
3105
|
# @return [Array<Google::Apis::ChatV1::Attachment>]
|
@@ -3112,8 +3136,8 @@ module Google
|
|
3112
3136
|
# message's resource name. Instead, it sets the custom name as the `
|
3113
3137
|
# clientAssignedMessageId` field, which you can reference while processing later
|
3114
3138
|
# operations, like updating or deleting the message. For example usage, see [
|
3115
|
-
# Name a created message](https://developers.google.com/chat/api/guides/
|
3116
|
-
# messages#name_a_created_message).
|
3139
|
+
# Name a created message](https://developers.google.com/chat/api/guides/v1/
|
3140
|
+
# messages/create#name_a_created_message).
|
3117
3141
|
# Corresponds to the JSON property `clientAssignedMessageId`
|
3118
3142
|
# @return [String]
|
3119
3143
|
attr_accessor :client_assigned_message_id
|
@@ -3169,6 +3193,11 @@ module Google
|
|
3169
3193
|
# @return [String]
|
3170
3194
|
attr_accessor :name
|
3171
3195
|
|
3196
|
+
# Information about a quoted message.
|
3197
|
+
# Corresponds to the JSON property `quotedMessageMetadata`
|
3198
|
+
# @return [Google::Apis::ChatV1::QuotedMessageMetadata]
|
3199
|
+
attr_accessor :quoted_message_metadata
|
3200
|
+
|
3172
3201
|
# A user in Google Chat.
|
3173
3202
|
# Corresponds to the JSON property `sender`
|
3174
3203
|
# @return [Google::Apis::ChatV1::User]
|
@@ -3215,6 +3244,7 @@ module Google
|
|
3215
3244
|
@action_response = args[:action_response] if args.key?(:action_response)
|
3216
3245
|
@annotations = args[:annotations] if args.key?(:annotations)
|
3217
3246
|
@argument_text = args[:argument_text] if args.key?(:argument_text)
|
3247
|
+
@attached_gifs = args[:attached_gifs] if args.key?(:attached_gifs)
|
3218
3248
|
@attachment = args[:attachment] if args.key?(:attachment)
|
3219
3249
|
@cards = args[:cards] if args.key?(:cards)
|
3220
3250
|
@cards_v2 = args[:cards_v2] if args.key?(:cards_v2)
|
@@ -3227,6 +3257,7 @@ module Google
|
|
3227
3257
|
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
3228
3258
|
@matched_url = args[:matched_url] if args.key?(:matched_url)
|
3229
3259
|
@name = args[:name] if args.key?(:name)
|
3260
|
+
@quoted_message_metadata = args[:quoted_message_metadata] if args.key?(:quoted_message_metadata)
|
3230
3261
|
@sender = args[:sender] if args.key?(:sender)
|
3231
3262
|
@slash_command = args[:slash_command] if args.key?(:slash_command)
|
3232
3263
|
@space = args[:space] if args.key?(:space)
|
@@ -3281,6 +3312,33 @@ module Google
|
|
3281
3312
|
end
|
3282
3313
|
end
|
3283
3314
|
|
3315
|
+
# Information about a quoted message.
|
3316
|
+
class QuotedMessageMetadata
|
3317
|
+
include Google::Apis::Core::Hashable
|
3318
|
+
|
3319
|
+
# Output only. The timestamp when the quoted message was created or when the
|
3320
|
+
# quoted message was last updated.
|
3321
|
+
# Corresponds to the JSON property `lastUpdateTime`
|
3322
|
+
# @return [String]
|
3323
|
+
attr_accessor :last_update_time
|
3324
|
+
|
3325
|
+
# Output only. Resource name of the quoted message. Format: `spaces/`space`/
|
3326
|
+
# messages/`message``
|
3327
|
+
# Corresponds to the JSON property `name`
|
3328
|
+
# @return [String]
|
3329
|
+
attr_accessor :name
|
3330
|
+
|
3331
|
+
def initialize(**args)
|
3332
|
+
update!(**args)
|
3333
|
+
end
|
3334
|
+
|
3335
|
+
# Update properties of this object
|
3336
|
+
def update!(**args)
|
3337
|
+
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
3338
|
+
@name = args[:name] if args.key?(:name)
|
3339
|
+
end
|
3340
|
+
end
|
3341
|
+
|
3284
3342
|
# A reaction to a message.
|
3285
3343
|
class Reaction
|
3286
3344
|
include Google::Apis::Core::Hashable
|
@@ -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.64.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230704"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -46,6 +46,12 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class AttachedGif
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
49
55
|
class Attachment
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
57
|
|
@@ -454,6 +460,12 @@ module Google
|
|
454
460
|
include Google::Apis::Core::JsonObjectSupport
|
455
461
|
end
|
456
462
|
|
463
|
+
class QuotedMessageMetadata
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
457
469
|
class Reaction
|
458
470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
471
|
|
@@ -607,6 +619,13 @@ module Google
|
|
607
619
|
end
|
608
620
|
end
|
609
621
|
|
622
|
+
class AttachedGif
|
623
|
+
# @private
|
624
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
625
|
+
property :uri, as: 'uri'
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
610
629
|
class Attachment
|
611
630
|
# @private
|
612
631
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1330,6 +1349,8 @@ module Google
|
|
1330
1349
|
collection :annotations, as: 'annotations', class: Google::Apis::ChatV1::Annotation, decorator: Google::Apis::ChatV1::Annotation::Representation
|
1331
1350
|
|
1332
1351
|
property :argument_text, as: 'argumentText'
|
1352
|
+
collection :attached_gifs, as: 'attachedGifs', class: Google::Apis::ChatV1::AttachedGif, decorator: Google::Apis::ChatV1::AttachedGif::Representation
|
1353
|
+
|
1333
1354
|
collection :attachment, as: 'attachment', class: Google::Apis::ChatV1::Attachment, decorator: Google::Apis::ChatV1::Attachment::Representation
|
1334
1355
|
|
1335
1356
|
collection :cards, as: 'cards', class: Google::Apis::ChatV1::Card, decorator: Google::Apis::ChatV1::Card::Representation
|
@@ -1348,6 +1369,8 @@ module Google
|
|
1348
1369
|
property :matched_url, as: 'matchedUrl', class: Google::Apis::ChatV1::MatchedUrl, decorator: Google::Apis::ChatV1::MatchedUrl::Representation
|
1349
1370
|
|
1350
1371
|
property :name, as: 'name'
|
1372
|
+
property :quoted_message_metadata, as: 'quotedMessageMetadata', class: Google::Apis::ChatV1::QuotedMessageMetadata, decorator: Google::Apis::ChatV1::QuotedMessageMetadata::Representation
|
1373
|
+
|
1351
1374
|
property :sender, as: 'sender', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
|
1352
1375
|
|
1353
1376
|
property :slash_command, as: 'slashCommand', class: Google::Apis::ChatV1::SlashCommand, decorator: Google::Apis::ChatV1::SlashCommand::Representation
|
@@ -1378,6 +1401,14 @@ module Google
|
|
1378
1401
|
end
|
1379
1402
|
end
|
1380
1403
|
|
1404
|
+
class QuotedMessageMetadata
|
1405
|
+
# @private
|
1406
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1407
|
+
property :last_update_time, as: 'lastUpdateTime'
|
1408
|
+
property :name, as: 'name'
|
1409
|
+
end
|
1410
|
+
end
|
1411
|
+
|
1381
1412
|
class Reaction
|
1382
1413
|
# @private
|
1383
1414
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -706,8 +706,8 @@ module Google
|
|
706
706
|
# name` field, the message's resource name. Instead, it sets the custom name as
|
707
707
|
# the `clientAssignedMessageId` field, which you can reference while processing
|
708
708
|
# later operations, like updating or deleting the message. For example usage,
|
709
|
-
# see [Name a created message](https://developers.google.com/chat/api/guides/
|
710
|
-
#
|
709
|
+
# see [Name a created message](https://developers.google.com/chat/api/guides/v1/
|
710
|
+
# messages/create#name_a_created_message).
|
711
711
|
# @param [String] message_reply_option
|
712
712
|
# Optional. Specifies whether a message starts a thread or replies to one. Only
|
713
713
|
# supported in named spaces.
|
@@ -813,7 +813,7 @@ module Google
|
|
813
813
|
# name assigned by a Chat app that created it with the Chat REST API. That Chat
|
814
814
|
# app (but not others) can pass the custom name to get, update, or delete the
|
815
815
|
# message. To learn more, see [create and name a message] (https://developers.
|
816
|
-
# google.com/chat/api/guides/
|
816
|
+
# google.com/chat/api/guides/v1/messages/create#name_a_created_message).
|
817
817
|
# @param [String] fields
|
818
818
|
# Selector specifying which fields to include in a partial response.
|
819
819
|
# @param [String] quota_user
|
@@ -936,7 +936,7 @@ module Google
|
|
936
936
|
# @param [Boolean] allow_missing
|
937
937
|
# Optional. If `true` and the message isn't found, a new message is created and `
|
938
938
|
# updateMask` is ignored. The specified message ID must be [client-assigned](
|
939
|
-
# https://developers.google.com/chat/api/guides/
|
939
|
+
# https://developers.google.com/chat/api/guides/v1/messages/create#
|
940
940
|
# name_a_created_message) or the request fails.
|
941
941
|
# @param [String] update_mask
|
942
942
|
# Required. The field paths to update. Separate multiple values with commas.
|
@@ -992,7 +992,7 @@ module Google
|
|
992
992
|
# @param [Boolean] allow_missing
|
993
993
|
# Optional. If `true` and the message isn't found, a new message is created and `
|
994
994
|
# updateMask` is ignored. The specified message ID must be [client-assigned](
|
995
|
-
# https://developers.google.com/chat/api/guides/
|
995
|
+
# https://developers.google.com/chat/api/guides/v1/messages/create#
|
996
996
|
# name_a_created_message) or the request fails.
|
997
997
|
# @param [String] update_mask
|
998
998
|
# Required. The field paths to update. Separate multiple values with commas.
|
data/lib/google/apis/chat_v1.rb
CHANGED
@@ -36,6 +36,9 @@ module Google
|
|
36
36
|
# Delete conversations and spaces & remove access to associated files in Google Chat
|
37
37
|
AUTH_CHAT_DELETE = 'https://www.googleapis.com/auth/chat.delete'
|
38
38
|
|
39
|
+
# Import spaces, messages, and memberships into Google Chat.
|
40
|
+
AUTH_CHAT_IMPORT = 'https://www.googleapis.com/auth/chat.import'
|
41
|
+
|
39
42
|
# View, add, and remove members from conversations in Google Chat
|
40
43
|
AUTH_CHAT_MEMBERSHIPS = 'https://www.googleapis.com/auth/chat.memberships'
|
41
44
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.64.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.64.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|