google-apis-chat_v1 0.120.0 → 0.121.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/OVERVIEW.md +1 -1
- data/lib/google/apis/chat_v1/classes.rb +12 -3
- data/lib/google/apis/chat_v1/gem_version.rb +3 -3
- data/lib/google/apis/chat_v1/representations.rb +2 -0
- data/lib/google/apis/chat_v1/service.rb +275 -125
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7e52ed2381cbb63443971e80480fef60d7642c21cbf00596608376578380d4d
|
4
|
+
data.tar.gz: dbeb8e43101ad6030f1d6e54ec00660e57331accc5172bafee3df70520d0fc7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94ff742c1fdb30e39b55ccb5818a8b8b253838a1efff04f540b80a6cf8b4d56db677e873b8c5a6488ede183c56ab510b86cb9dae558854b687b7098f45347f23
|
7
|
+
data.tar.gz: 2337ebf8a326e69573f8d4871af1f7838ad15a360fdb831f87691e6bc034bcc4514d93874af2b120c8fb42be4c6d44a8996a11207dffeb8e3960df9db81de0cf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.121.0 (2025-05-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250508
|
6
|
+
* Regenerated using generator version 0.17.0
|
7
|
+
|
3
8
|
### v0.120.0 (2025-04-13)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20250406
|
data/OVERVIEW.md
CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://developers.google.com/hangouts/chat) may pro
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby
|
86
|
+
This library is supported on Ruby 3.1+.
|
87
87
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
@@ -3212,6 +3212,16 @@ module Google
|
|
3212
3212
|
# @return [String]
|
3213
3213
|
attr_accessor :bottom_text
|
3214
3214
|
|
3215
|
+
# A [Google Material Icon](https://fonts.google.com/icons), which includes over
|
3216
|
+
# 2500+ options. For example, to display a [checkbox icon](https://fonts.google.
|
3217
|
+
# com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%
|
3218
|
+
# 40400%3BGRAD%400%3Bopsz%4048) with customized weight and grade, write the
|
3219
|
+
# following: ``` ` "name": "check_box", "fill": true, "weight": 300, "grade": -
|
3220
|
+
# 25 ` ``` [Google Chat apps](https://developers.google.com/workspace/chat):
|
3221
|
+
# Corresponds to the JSON property `materialIcon`
|
3222
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1MaterialIcon]
|
3223
|
+
attr_accessor :material_icon
|
3224
|
+
|
3215
3225
|
# Whether the item is selected by default. If the selection input only accepts
|
3216
3226
|
# one value (such as for radio buttons or a dropdown menu), only set this field
|
3217
3227
|
# for one item.
|
@@ -3220,9 +3230,7 @@ module Google
|
|
3220
3230
|
attr_accessor :selected
|
3221
3231
|
alias_method :selected?, :selected
|
3222
3232
|
|
3223
|
-
#
|
3224
|
-
# field. Supports PNG and JPEG files. Must be an `HTTPS` URL. For example, `
|
3225
|
-
# https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png`.
|
3233
|
+
#
|
3226
3234
|
# Corresponds to the JSON property `startIconUri`
|
3227
3235
|
# @return [String]
|
3228
3236
|
attr_accessor :start_icon_uri
|
@@ -3246,6 +3254,7 @@ module Google
|
|
3246
3254
|
# Update properties of this object
|
3247
3255
|
def update!(**args)
|
3248
3256
|
@bottom_text = args[:bottom_text] if args.key?(:bottom_text)
|
3257
|
+
@material_icon = args[:material_icon] if args.key?(:material_icon)
|
3249
3258
|
@selected = args[:selected] if args.key?(:selected)
|
3250
3259
|
@start_icon_uri = args[:start_icon_uri] if args.key?(:start_icon_uri)
|
3251
3260
|
@text = args[:text] if args.key?(:text)
|
@@ -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.121.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250508"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1669,6 +1669,8 @@ module Google
|
|
1669
1669
|
# @private
|
1670
1670
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1671
1671
|
property :bottom_text, as: 'bottomText'
|
1672
|
+
property :material_icon, as: 'materialIcon', class: Google::Apis::ChatV1::GoogleAppsCardV1MaterialIcon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1MaterialIcon::Representation
|
1673
|
+
|
1672
1674
|
property :selected, as: 'selected'
|
1673
1675
|
property :start_icon_uri, as: 'startIconUri'
|
1674
1676
|
property :text, as: 'text'
|
@@ -58,7 +58,9 @@ module Google
|
|
58
58
|
# Chat](https://support.google.com/chat/answer/12800149) and [Manage custom
|
59
59
|
# emoji permissions](https://support.google.com/a/answer/12850085). Requires [
|
60
60
|
# user authentication](https://developers.google.com/workspace/chat/authenticate-
|
61
|
-
# authorize-chat-user).
|
61
|
+
# authorize-chat-user) with the [authorization scope](https://developers.google.
|
62
|
+
# com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.
|
63
|
+
# googleapis.com/auth/chat.customemojis`
|
62
64
|
# @param [Google::Apis::ChatV1::CustomEmoji] custom_emoji_object
|
63
65
|
# @param [String] fields
|
64
66
|
# Selector specifying which fields to include in a partial response.
|
@@ -98,7 +100,9 @@ module Google
|
|
98
100
|
# Chat](https://support.google.com/chat/answer/12800149) and [Manage custom
|
99
101
|
# emoji permissions](https://support.google.com/a/answer/12850085). Requires [
|
100
102
|
# user authentication](https://developers.google.com/workspace/chat/authenticate-
|
101
|
-
# authorize-chat-user).
|
103
|
+
# authorize-chat-user) with the [authorization scope](https://developers.google.
|
104
|
+
# com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.
|
105
|
+
# googleapis.com/auth/chat.customemojis`
|
102
106
|
# @param [String] name
|
103
107
|
# Required. Resource name of the custom emoji to delete. Format: `customEmojis/`
|
104
108
|
# customEmoji`` You can use the emoji name as an alias for ``customEmoji``. For
|
@@ -137,7 +141,10 @@ module Google
|
|
137
141
|
# Google Chat](https://support.google.com/chat/answer/12800149) and [Manage
|
138
142
|
# custom emoji permissions](https://support.google.com/a/answer/12850085).
|
139
143
|
# Requires [user authentication](https://developers.google.com/workspace/chat/
|
140
|
-
# authenticate-authorize-chat-user)
|
144
|
+
# authenticate-authorize-chat-user) with one of the following [authorization
|
145
|
+
# scopes](https://developers.google.com/workspace/chat/authenticate-authorize#
|
146
|
+
# chat-api-scopes): - `https://www.googleapis.com/auth/chat.customemojis.
|
147
|
+
# readonly` - `https://www.googleapis.com/auth/chat.customemojis`
|
141
148
|
# @param [String] name
|
142
149
|
# Required. Resource name of the custom emoji. Format: `customEmojis/`
|
143
150
|
# customEmoji`` You can use the emoji name as an alias for ``customEmoji``. For
|
@@ -176,7 +183,11 @@ module Google
|
|
176
183
|
# custom emojis in Google Chat](https://support.google.com/chat/answer/12800149)
|
177
184
|
# and [Manage custom emoji permissions](https://support.google.com/a/answer/
|
178
185
|
# 12850085). Requires [user authentication](https://developers.google.com/
|
179
|
-
# workspace/chat/authenticate-authorize-chat-user)
|
186
|
+
# workspace/chat/authenticate-authorize-chat-user) with one of the following [
|
187
|
+
# authorization scopes](https://developers.google.com/workspace/chat/
|
188
|
+
# authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/
|
189
|
+
# chat.customemojis.readonly` - `https://www.googleapis.com/auth/chat.
|
190
|
+
# customemojis`
|
180
191
|
# @param [String] filter
|
181
192
|
# Optional. A query filter. Supports filtering by creator. To filter by creator,
|
182
193
|
# you must specify a valid value. Currently only `creator("users/me")` and `NOT
|
@@ -263,10 +274,14 @@ module Google
|
|
263
274
|
# Uploads an attachment. For an example, see [Upload media as a file attachment](
|
264
275
|
# https://developers.google.com/workspace/chat/upload-media-attachments).
|
265
276
|
# Requires user [authentication](https://developers.google.com/workspace/chat/
|
266
|
-
# authenticate-authorize-chat-user)
|
267
|
-
#
|
268
|
-
#
|
269
|
-
#
|
277
|
+
# authenticate-authorize-chat-user) with one of the following [authorization
|
278
|
+
# scopes](https://developers.google.com/workspace/chat/authenticate-authorize#
|
279
|
+
# chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.create` - `
|
280
|
+
# https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/
|
281
|
+
# auth/chat.import` (import mode spaces only) You can upload attachments up to
|
282
|
+
# 200 MB. Certain file types aren't supported. For details, see [File types
|
283
|
+
# blocked by Google Chat](https://support.google.com/chat/answer/7651457?&co=
|
284
|
+
# GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat).
|
270
285
|
# @param [String] parent
|
271
286
|
# Required. Resource name of the Chat space in which the attachment is uploaded.
|
272
287
|
# Format "spaces/`space`".
|
@@ -312,9 +327,11 @@ module Google
|
|
312
327
|
|
313
328
|
# Completes the [import process](https://developers.google.com/workspace/chat/
|
314
329
|
# import-data) for the specified space and makes it visible to users. Requires [
|
315
|
-
#
|
316
|
-
# authorize-chat-
|
317
|
-
#
|
330
|
+
# user authentication](https://developers.google.com/workspace/chat/authenticate-
|
331
|
+
# authorize-chat-user) and domain-wide delegation with the [authorization scope](
|
332
|
+
# https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-
|
333
|
+
# scopes): - `https://www.googleapis.com/auth/chat.import` For more information,
|
334
|
+
# see [Authorize Google Chat apps to import data](https://developers.google.com/
|
318
335
|
# workspace/chat/authorize-import).
|
319
336
|
# @param [String] name
|
320
337
|
# Required. Resource name of the import mode space. Format: `spaces/`space``
|
@@ -355,13 +372,18 @@ module Google
|
|
355
372
|
# authorize): - [App authentication](https://developers.google.com/workspace/
|
356
373
|
# chat/authenticate-authorize-chat-app) with [administrator approval](https://
|
357
374
|
# support.google.com/a?p=chat-app-auth) in [Developer Preview](https://
|
358
|
-
# developers.google.com/workspace/preview)
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
375
|
+
# developers.google.com/workspace/preview) and one of the following
|
376
|
+
# authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces.
|
377
|
+
# create` - `https://www.googleapis.com/auth/chat.app.spaces` - [User
|
378
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
379
|
+
# authorize-chat-user) with one of the following authorization scopes: - `https:/
|
380
|
+
# /www.googleapis.com/auth/chat.spaces.create` - `https://www.googleapis.com/
|
381
|
+
# auth/chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode
|
382
|
+
# spaces only) When authenticating as an app, the `space.customer` field must be
|
383
|
+
# set in the request. Space membership upon creation depends on whether the
|
384
|
+
# space is created in `Import mode`: * **Import mode:** No members are created. *
|
385
|
+
# **All other modes:** The calling user is added as a member. This is: * The
|
386
|
+
# app itself when using app authentication. * The human user when using user
|
365
387
|
# authentication. If you receive the error message `ALREADY_EXISTS` when
|
366
388
|
# creating a space, try a different `displayName`. An existing space within the
|
367
389
|
# Google Workspace organization might already use this display name.
|
@@ -405,14 +427,18 @@ module Google
|
|
405
427
|
# in the space—are also deleted. For an example, see [Delete a space](https://
|
406
428
|
# developers.google.com/workspace/chat/delete-spaces). Supports the following
|
407
429
|
# types of [authentication](https://developers.google.com/workspace/chat/
|
408
|
-
# authenticate-authorize): -
|
409
|
-
#
|
410
|
-
#
|
411
|
-
#
|
412
|
-
#
|
413
|
-
#
|
414
|
-
#
|
415
|
-
#
|
430
|
+
# authenticate-authorize): - [App authentication](https://developers.google.com/
|
431
|
+
# workspace/chat/authenticate-authorize-chat-app) with [administrator approval](
|
432
|
+
# https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://
|
433
|
+
# developers.google.com/workspace/preview) and the authorization scope: - `https:
|
434
|
+
# //www.googleapis.com/auth/chat.app.delete` (only in spaces the app created) - [
|
435
|
+
# User authentication](https://developers.google.com/workspace/chat/authenticate-
|
436
|
+
# authorize-chat-user) with one of the following authorization scopes: - `https:/
|
437
|
+
# /www.googleapis.com/auth/chat.delete` - `https://www.googleapis.com/auth/chat.
|
438
|
+
# import` (import mode spaces only) - User authentication grants administrator
|
439
|
+
# privileges when an administrator account authenticates, `use_admin_access` is `
|
440
|
+
# true`, and the following authorization scope is used: - `https://www.
|
441
|
+
# googleapis.com/auth/chat.admin.delete`
|
416
442
|
# @param [String] name
|
417
443
|
# Required. Resource name of the space to delete. Format: `spaces/`space``
|
418
444
|
# @param [Boolean] use_admin_access
|
@@ -457,12 +483,15 @@ module Google
|
|
457
483
|
# authorize-chat-app), returns the direct message space between the specified
|
458
484
|
# user and the calling Chat app. With [user authentication](https://developers.
|
459
485
|
# google.com/workspace/chat/authenticate-authorize-chat-user), returns the
|
460
|
-
# direct message space between the specified user and the authenticated user.
|
486
|
+
# direct message space between the specified user and the authenticated user.
|
461
487
|
# Supports the following types of [authentication](https://developers.google.com/
|
462
488
|
# workspace/chat/authenticate-authorize): - [App authentication](https://
|
463
|
-
# developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
489
|
+
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the
|
490
|
+
# authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User
|
464
491
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
465
|
-
# authorize-chat-user)
|
492
|
+
# authorize-chat-user) with one of the following authorization scopes: - `https:/
|
493
|
+
# /www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/
|
494
|
+
# auth/chat.spaces`
|
466
495
|
# @param [String] name
|
467
496
|
# Required. Resource name of the user to find direct message with. Format: `
|
468
497
|
# users/`user``, where ``user`` is either the `id` for the [person](https://
|
@@ -505,10 +534,17 @@ module Google
|
|
505
534
|
# https://developers.google.com/workspace/chat/get-spaces). Supports the
|
506
535
|
# following types of [authentication](https://developers.google.com/workspace/
|
507
536
|
# chat/authenticate-authorize): - [App authentication](https://developers.google.
|
508
|
-
# com/workspace/chat/authenticate-authorize-chat-app)
|
509
|
-
# https://
|
510
|
-
#
|
511
|
-
#
|
537
|
+
# com/workspace/chat/authenticate-authorize-chat-app) with one of the following
|
538
|
+
# authorization scopes: - `https://www.googleapis.com/auth/chat.bot` - `https://
|
539
|
+
# www.googleapis.com/auth/chat.app.spaces` with [administrator approval](https://
|
540
|
+
# support.google.com/a?p=chat-app-auth) - [User authentication](https://
|
541
|
+
# developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
|
542
|
+
# one of the following authorization scopes: - `https://www.googleapis.com/auth/
|
543
|
+
# chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - User
|
544
|
+
# authentication grants administrator privileges when an administrator account
|
545
|
+
# authenticates, `use_admin_access` is `true`, and one of the following
|
546
|
+
# authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.
|
547
|
+
# spaces.readonly` - `https://www.googleapis.com/auth/chat.admin.spaces`
|
512
548
|
# @param [String] name
|
513
549
|
# Required. Resource name of the space, in the form `spaces/`space``. Format: `
|
514
550
|
# spaces/`space``
|
@@ -552,11 +588,14 @@ module Google
|
|
552
588
|
# developers.google.com/workspace/chat/list-spaces). Supports the following
|
553
589
|
# types of [authentication](https://developers.google.com/workspace/chat/
|
554
590
|
# authenticate-authorize): - [App authentication](https://developers.google.com/
|
555
|
-
# workspace/chat/authenticate-authorize-chat-app)
|
556
|
-
#
|
557
|
-
#
|
558
|
-
#
|
559
|
-
# spaces
|
591
|
+
# workspace/chat/authenticate-authorize-chat-app) with the authorization scope: -
|
592
|
+
# `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://
|
593
|
+
# developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
|
594
|
+
# one of the following authorization scopes: - `https://www.googleapis.com/auth/
|
595
|
+
# chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` To list
|
596
|
+
# all named spaces by Google Workspace organization, use the [`spaces.search()`](
|
597
|
+
# https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/
|
598
|
+
# search) method using Workspace administrator privileges instead.
|
560
599
|
# @param [String] filter
|
561
600
|
# Optional. A query filter. You can filter spaces by the space type ([`
|
562
601
|
# space_type`](https://developers.google.com/workspace/chat/api/reference/rest/
|
@@ -614,10 +653,15 @@ module Google
|
|
614
653
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
615
654
|
# authorize-chat-app) with [administrator approval](https://support.google.com/a?
|
616
655
|
# p=chat-app-auth) in [Developer Preview](https://developers.google.com/
|
617
|
-
# workspace/preview) -
|
618
|
-
#
|
619
|
-
# authorize
|
620
|
-
#
|
656
|
+
# workspace/preview) and one of the following authorization scopes: - `https://
|
657
|
+
# www.googleapis.com/auth/chat.app.spaces` - [User authentication](https://
|
658
|
+
# developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
|
659
|
+
# one of the following authorization scopes: - `https://www.googleapis.com/auth/
|
660
|
+
# chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode
|
661
|
+
# spaces only) - User authentication grants administrator privileges when an
|
662
|
+
# administrator account authenticates, `use_admin_access` is `true`, and the
|
663
|
+
# following authorization scopes is used: - `https://www.googleapis.com/auth/
|
664
|
+
# chat.admin.spaces`
|
621
665
|
# @param [String] name
|
622
666
|
# Identifier. Resource name of the space. Format: `spaces/`space`` Where ``space`
|
623
667
|
# ` represents the system-assigned ID for the space. You can obtain the space ID
|
@@ -708,8 +752,11 @@ module Google
|
|
708
752
|
# Returns a list of spaces in a Google Workspace organization based on an
|
709
753
|
# administrator's search. Requires [user authentication with administrator
|
710
754
|
# privileges](https://developers.google.com/workspace/chat/authenticate-
|
711
|
-
# authorize-chat-user#admin-privileges)
|
712
|
-
#
|
755
|
+
# authorize-chat-user#admin-privileges) and one of the following [authorization
|
756
|
+
# scopes](https://developers.google.com/workspace/chat/authenticate-authorize#
|
757
|
+
# chat-api-scopes): - `https://www.googleapis.com/auth/chat.admin.spaces.
|
758
|
+
# readonly` - `https://www.googleapis.com/auth/chat.admin.spaces` In the request,
|
759
|
+
# set `use_admin_access` to `true`.
|
713
760
|
# @param [String] order_by
|
714
761
|
# Optional. How the list of spaces is ordered. Supported attributes to order by
|
715
762
|
# are: - `membership_count.joined_direct_human_user_count` — Denotes the count
|
@@ -842,7 +889,11 @@ module Google
|
|
842
889
|
# error message `ALREADY_EXISTS` when setting up a space, try a different `
|
843
890
|
# displayName`. An existing space within the Google Workspace organization might
|
844
891
|
# already use this display name. Requires [user authentication](https://
|
845
|
-
# developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
892
|
+
# developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
|
893
|
+
# one of the following [authorization scopes](https://developers.google.com/
|
894
|
+
# workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.
|
895
|
+
# googleapis.com/auth/chat.spaces.create` - `https://www.googleapis.com/auth/
|
896
|
+
# chat.spaces`
|
846
897
|
# @param [Google::Apis::ChatV1::SetUpSpaceRequest] set_up_space_request_object
|
847
898
|
# @param [String] fields
|
848
899
|
# Selector specifying which fields to include in a partial response.
|
@@ -881,13 +932,19 @@ module Google
|
|
881
932
|
# google.com/workspace/chat/authenticate-authorize): - [App authentication](
|
882
933
|
# https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
883
934
|
# with [administrator approval](https://support.google.com/a?p=chat-app-auth) in
|
884
|
-
# [Developer Preview](https://developers.google.com/workspace/preview)
|
885
|
-
#
|
886
|
-
#
|
887
|
-
#
|
888
|
-
#
|
889
|
-
#
|
890
|
-
#
|
935
|
+
# [Developer Preview](https://developers.google.com/workspace/preview) and the
|
936
|
+
# authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` -
|
937
|
+
# [User authentication](https://developers.google.com/workspace/chat/
|
938
|
+
# authenticate-authorize-chat-user) with one of the following authorization
|
939
|
+
# scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.
|
940
|
+
# googleapis.com/auth/chat.memberships.app` (to add the calling app to the space)
|
941
|
+
# - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) -
|
942
|
+
# User authentication grants administrator privileges when an administrator
|
943
|
+
# account authenticates, `use_admin_access` is `true`, and the following
|
944
|
+
# authorization scope is used: - `https://www.googleapis.com/auth/chat.admin.
|
945
|
+
# memberships` For example usage, see: - [Invite or add a user to a space](https:
|
946
|
+
# //developers.google.com/workspace/chat/create-members#create-user-membership).
|
947
|
+
# - [Invite or add a Google Group to a space](https://developers.google.com/
|
891
948
|
# workspace/chat/create-members#create-group-membership). - [Add the Chat app to
|
892
949
|
# a space](https://developers.google.com/workspace/chat/create-members#create-
|
893
950
|
# membership-calling-api).
|
@@ -940,14 +997,20 @@ module Google
|
|
940
997
|
# workspace/chat/authenticate-authorize): - [App authentication](https://
|
941
998
|
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [
|
942
999
|
# administrator approval](https://support.google.com/a?p=chat-app-auth) in [
|
943
|
-
# Developer Preview](https://developers.google.com/workspace/preview)
|
944
|
-
#
|
945
|
-
#
|
946
|
-
#
|
947
|
-
#
|
948
|
-
#
|
949
|
-
# com/
|
950
|
-
#
|
1000
|
+
# Developer Preview](https://developers.google.com/workspace/preview) and the
|
1001
|
+
# authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` -
|
1002
|
+
# [User authentication](https://developers.google.com/workspace/chat/
|
1003
|
+
# authenticate-authorize-chat-user) with one of the following authorization
|
1004
|
+
# scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.
|
1005
|
+
# googleapis.com/auth/chat.memberships.app` (to remove the calling app from the
|
1006
|
+
# space) - `https://www.googleapis.com/auth/chat.import` (import mode spaces
|
1007
|
+
# only) - User authentication grants administrator privileges when an
|
1008
|
+
# administrator account authenticates, `use_admin_access` is `true`, and the
|
1009
|
+
# following authorization scope is used: - `https://www.googleapis.com/auth/chat.
|
1010
|
+
# admin.memberships` To delete memberships for space managers, the requester
|
1011
|
+
# must be a space manager. If you're using [app authentication](https://
|
1012
|
+
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) the
|
1013
|
+
# application must be the space creator.
|
951
1014
|
# @param [String] name
|
952
1015
|
# Required. Resource name of the membership to delete. Chat apps can delete
|
953
1016
|
# human users' or their own memberships. Chat apps can't delete other apps'
|
@@ -1002,10 +1065,16 @@ module Google
|
|
1002
1065
|
# workspace/chat/get-members). Supports the following types of [authentication](
|
1003
1066
|
# https://developers.google.com/workspace/chat/authenticate-authorize): - [App
|
1004
1067
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
1005
|
-
# authorize-chat-app) -
|
1006
|
-
#
|
1007
|
-
# authorize
|
1008
|
-
#
|
1068
|
+
# authorize-chat-app) with the authorization scope: - `https://www.googleapis.
|
1069
|
+
# com/auth/chat.bot` - [User authentication](https://developers.google.com/
|
1070
|
+
# workspace/chat/authenticate-authorize-chat-user) with one of the following
|
1071
|
+
# authorization scopes: - `https://www.googleapis.com/auth/chat.memberships.
|
1072
|
+
# readonly` - `https://www.googleapis.com/auth/chat.memberships` - User
|
1073
|
+
# authentication grants administrator privileges when an administrator account
|
1074
|
+
# authenticates, `use_admin_access` is `true`, and one of the following
|
1075
|
+
# authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.
|
1076
|
+
# memberships.readonly` - `https://www.googleapis.com/auth/chat.admin.
|
1077
|
+
# memberships`
|
1009
1078
|
# @param [String] name
|
1010
1079
|
# Required. Resource name of the membership to retrieve. To get the app's own
|
1011
1080
|
# membership [by using user authentication](https://developers.google.com/
|
@@ -1060,10 +1129,17 @@ module Google
|
|
1060
1129
|
# in spaces that the authenticated user has access to. Supports the following
|
1061
1130
|
# types of [authentication](https://developers.google.com/workspace/chat/
|
1062
1131
|
# authenticate-authorize): - [App authentication](https://developers.google.com/
|
1063
|
-
# workspace/chat/authenticate-authorize-chat-app)
|
1064
|
-
#
|
1065
|
-
#
|
1066
|
-
#
|
1132
|
+
# workspace/chat/authenticate-authorize-chat-app) with the authorization scope: -
|
1133
|
+
# `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://
|
1134
|
+
# developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
|
1135
|
+
# one of the following authorization scopes: - `https://www.googleapis.com/auth/
|
1136
|
+
# chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships`
|
1137
|
+
# - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) -
|
1138
|
+
# User authentication grants administrator privileges when an administrator
|
1139
|
+
# account authenticates, `use_admin_access` is `true`, and one of the following
|
1140
|
+
# authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.
|
1141
|
+
# memberships.readonly` - `https://www.googleapis.com/auth/chat.admin.
|
1142
|
+
# memberships`
|
1067
1143
|
# @param [String] parent
|
1068
1144
|
# Required. The resource name of the space for which to fetch a membership list.
|
1069
1145
|
# Format: spaces/`space`
|
@@ -1149,14 +1225,19 @@ module Google
|
|
1149
1225
|
# Updates a membership. For an example, see [Update a user's membership in a
|
1150
1226
|
# space](https://developers.google.com/workspace/chat/update-members). Supports
|
1151
1227
|
# the following types of [authentication](https://developers.google.com/
|
1152
|
-
# workspace/chat/authenticate-authorize): -
|
1153
|
-
#
|
1154
|
-
#
|
1155
|
-
#
|
1156
|
-
#
|
1157
|
-
#
|
1158
|
-
# authorize
|
1159
|
-
#
|
1228
|
+
# workspace/chat/authenticate-authorize): - [App authentication](https://
|
1229
|
+
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [
|
1230
|
+
# administrator approval](https://support.google.com/a?p=chat-app-auth) in [
|
1231
|
+
# Developer Preview](https://developers.google.com/workspace/preview) and the
|
1232
|
+
# authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` (
|
1233
|
+
# only in spaces the app created) - [User authentication](https://developers.
|
1234
|
+
# google.com/workspace/chat/authenticate-authorize-chat-user) with one of the
|
1235
|
+
# following authorization scopes: - `https://www.googleapis.com/auth/chat.
|
1236
|
+
# memberships` - `https://www.googleapis.com/auth/chat.import` (import mode
|
1237
|
+
# spaces only) - User authentication grants administrator privileges when an
|
1238
|
+
# administrator account authenticates, `use_admin_access` is `true`, and the
|
1239
|
+
# following authorization scope is used: - `https://www.googleapis.com/auth/chat.
|
1240
|
+
# admin.memberships`
|
1160
1241
|
# @param [String] name
|
1161
1242
|
# Identifier. Resource name of the membership, assigned by the server. Format: `
|
1162
1243
|
# spaces/`space`/members/`member``
|
@@ -1203,26 +1284,31 @@ module Google
|
|
1203
1284
|
end
|
1204
1285
|
|
1205
1286
|
# Creates a message in a Google Chat space. For an example, see [Send a message](
|
1206
|
-
# https://developers.google.com/workspace/chat/create-messages).
|
1207
|
-
#
|
1208
|
-
#
|
1209
|
-
#
|
1210
|
-
#
|
1211
|
-
#
|
1212
|
-
#
|
1213
|
-
#
|
1214
|
-
#
|
1215
|
-
#
|
1216
|
-
#
|
1217
|
-
# use
|
1218
|
-
#
|
1219
|
-
#
|
1220
|
-
# authentication](https://developers.google.com/workspace/
|
1221
|
-
#
|
1222
|
-
#
|
1223
|
-
#
|
1224
|
-
# The
|
1225
|
-
#
|
1287
|
+
# https://developers.google.com/workspace/chat/create-messages). Supports the
|
1288
|
+
# following types of [authentication](https://developers.google.com/workspace/
|
1289
|
+
# chat/authenticate-authorize): - [App authentication](https://developers.google.
|
1290
|
+
# com/workspace/chat/authenticate-authorize-chat-app) with the authorization
|
1291
|
+
# scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](
|
1292
|
+
# https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
1293
|
+
# with one of the following authorization scopes: - `https://www.googleapis.com/
|
1294
|
+
# auth/chat.messages.create` - `https://www.googleapis.com/auth/chat.messages` -
|
1295
|
+
# `https://www.googleapis.com/auth/chat.import` (import mode spaces only) Chat
|
1296
|
+
# attributes the message sender differently depending on the type of
|
1297
|
+
# authentication that you use in your request. The following image shows how
|
1298
|
+
# Chat attributes a message when you use app authentication. Chat displays the
|
1299
|
+
# Chat app as the message sender. The content of the message can contain text (`
|
1300
|
+
# text`), cards (`cardsV2`), and accessory widgets (`accessoryWidgets`).  The following image shows how Chat
|
1303
|
+
# attributes a message when you use user authentication. Chat displays the user
|
1304
|
+
# as the message sender and attributes the Chat app to the message by displaying
|
1305
|
+
# its name. The content of message can only contain text (`text`).  The maximum message size, including the message
|
1308
|
+
# contents, is 32,000 bytes. For [webhook](https://developers.google.com/
|
1309
|
+
# workspace/chat/quickstart/webhooks) requests, the response doesn't contain the
|
1310
|
+
# full message. The response only populates the `name` and `thread.name` fields
|
1311
|
+
# in addition to the information that was in the request.
|
1226
1312
|
# @param [String] parent
|
1227
1313
|
# Required. The resource name of the space in which to create a message. Format:
|
1228
1314
|
# `spaces/`space``
|
@@ -1289,10 +1375,13 @@ module Google
|
|
1289
1375
|
# google.com/workspace/chat/delete-messages). Supports the following types of [
|
1290
1376
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
1291
1377
|
# authorize): - [App authentication](https://developers.google.com/workspace/
|
1292
|
-
# chat/authenticate-authorize-chat-app) -
|
1293
|
-
#
|
1294
|
-
#
|
1295
|
-
#
|
1378
|
+
# chat/authenticate-authorize-chat-app) with the authorization scope: - `https://
|
1379
|
+
# www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.
|
1380
|
+
# google.com/workspace/chat/authenticate-authorize-chat-user) with one of the
|
1381
|
+
# following authorization scopes: - `https://www.googleapis.com/auth/chat.
|
1382
|
+
# messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces
|
1383
|
+
# only) When using app authentication, requests can only delete messages created
|
1384
|
+
# by the calling Chat app.
|
1296
1385
|
# @param [String] name
|
1297
1386
|
# Required. Resource name of the message. Format: `spaces/`space`/messages/`
|
1298
1387
|
# message`` If you've set a custom ID for your message, you can use the value
|
@@ -1338,9 +1427,12 @@ module Google
|
|
1338
1427
|
# message](https://developers.google.com/workspace/chat/get-messages). Supports
|
1339
1428
|
# the following types of [authentication](https://developers.google.com/
|
1340
1429
|
# workspace/chat/authenticate-authorize): - [App authentication](https://
|
1341
|
-
# developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
1430
|
+
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the
|
1431
|
+
# authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User
|
1342
1432
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
1343
|
-
# authorize-chat-user)
|
1433
|
+
# authorize-chat-user) with one of the following authorization scopes: - `https:/
|
1434
|
+
# /www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/
|
1435
|
+
# auth/chat.messages` Note: Might return a message from a blocked member or
|
1344
1436
|
# space.
|
1345
1437
|
# @param [String] name
|
1346
1438
|
# Required. Resource name of the message. Format: `spaces/`space`/messages/`
|
@@ -1381,7 +1473,11 @@ module Google
|
|
1381
1473
|
# the response contains an empty JSON object, ````. For an example, see [List
|
1382
1474
|
# messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/
|
1383
1475
|
# list). Requires [user authentication](https://developers.google.com/workspace/
|
1384
|
-
# chat/authenticate-authorize-chat-user)
|
1476
|
+
# chat/authenticate-authorize-chat-user) with one of the following [
|
1477
|
+
# authorization scopes](https://developers.google.com/workspace/chat/
|
1478
|
+
# authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/
|
1479
|
+
# chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `
|
1480
|
+
# https://www.googleapis.com/auth/chat.import` (import mode spaces only)
|
1385
1481
|
# @param [String] parent
|
1386
1482
|
# Required. The resource name of the space to list messages from. Format: `
|
1387
1483
|
# spaces/`space``
|
@@ -1461,10 +1557,13 @@ module Google
|
|
1461
1557
|
# see [Update a message](https://developers.google.com/workspace/chat/update-
|
1462
1558
|
# messages). Supports the following types of [authentication](https://developers.
|
1463
1559
|
# google.com/workspace/chat/authenticate-authorize): - [App authentication](
|
1464
|
-
# https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
1465
|
-
#
|
1466
|
-
# authenticate-
|
1467
|
-
#
|
1560
|
+
# https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
1561
|
+
# with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [
|
1562
|
+
# User authentication](https://developers.google.com/workspace/chat/authenticate-
|
1563
|
+
# authorize-chat-user) with one of the following authorization scopes: - `https:/
|
1564
|
+
# /www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/
|
1565
|
+
# chat.import` (import mode spaces only) When using app authentication, requests
|
1566
|
+
# can only update messages created by the calling Chat app.
|
1468
1567
|
# @param [String] name
|
1469
1568
|
# Identifier. Resource name of the message. Format: `spaces/`space`/messages/`
|
1470
1569
|
# message`` Where ``space`` is the ID of the space where the message is posted
|
@@ -1525,10 +1624,13 @@ module Google
|
|
1525
1624
|
# see [Update a message](https://developers.google.com/workspace/chat/update-
|
1526
1625
|
# messages). Supports the following types of [authentication](https://developers.
|
1527
1626
|
# google.com/workspace/chat/authenticate-authorize): - [App authentication](
|
1528
|
-
# https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
1529
|
-
#
|
1530
|
-
# authenticate-
|
1531
|
-
#
|
1627
|
+
# https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
1628
|
+
# with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [
|
1629
|
+
# User authentication](https://developers.google.com/workspace/chat/authenticate-
|
1630
|
+
# authorize-chat-user) with one of the following authorization scopes: - `https:/
|
1631
|
+
# /www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/
|
1632
|
+
# chat.import` (import mode spaces only) When using app authentication, requests
|
1633
|
+
# can only update messages created by the calling Chat app.
|
1532
1634
|
# @param [String] name
|
1533
1635
|
# Identifier. Resource name of the message. Format: `spaces/`space`/messages/`
|
1534
1636
|
# message`` Where ``space`` is the ID of the space where the message is posted
|
@@ -1588,7 +1690,9 @@ module Google
|
|
1588
1690
|
# reference/rest/v1/media/download). For an example, see [Get metadata about a
|
1589
1691
|
# message attachment](https://developers.google.com/workspace/chat/get-media-
|
1590
1692
|
# attachments). Requires [app authentication](https://developers.google.com/
|
1591
|
-
# workspace/chat/authenticate-authorize-chat-app)
|
1693
|
+
# workspace/chat/authenticate-authorize-chat-app) with the [authorization scope](
|
1694
|
+
# https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-
|
1695
|
+
# scopes): - `https://www.googleapis.com/auth/chat.bot`
|
1592
1696
|
# @param [String] name
|
1593
1697
|
# Required. Resource name of the attachment, in the form `spaces/`space`/
|
1594
1698
|
# messages/`message`/attachments/`attachment``.
|
@@ -1622,7 +1726,12 @@ module Google
|
|
1622
1726
|
# Creates a reaction and adds it to a message. For an example, see [Add a
|
1623
1727
|
# reaction to a message](https://developers.google.com/workspace/chat/create-
|
1624
1728
|
# reactions). Requires [user authentication](https://developers.google.com/
|
1625
|
-
# workspace/chat/authenticate-authorize-chat-user)
|
1729
|
+
# workspace/chat/authenticate-authorize-chat-user) with one of the following [
|
1730
|
+
# authorization scopes](https://developers.google.com/workspace/chat/
|
1731
|
+
# authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/
|
1732
|
+
# chat.messages.reactions.create` - `https://www.googleapis.com/auth/chat.
|
1733
|
+
# messages.reactions` - `https://www.googleapis.com/auth/chat.messages` - `https:
|
1734
|
+
# //www.googleapis.com/auth/chat.import` (import mode spaces only)
|
1626
1735
|
# @param [String] parent
|
1627
1736
|
# Required. The message where the reaction is created. Format: `spaces/`space`/
|
1628
1737
|
# messages/`message``
|
@@ -1659,7 +1768,11 @@ module Google
|
|
1659
1768
|
# Deletes a reaction to a message. For an example, see [Delete a reaction](https:
|
1660
1769
|
# //developers.google.com/workspace/chat/delete-reactions). Requires [user
|
1661
1770
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
1662
|
-
# authorize-chat-user)
|
1771
|
+
# authorize-chat-user) with one of the following [authorization scopes](https://
|
1772
|
+
# developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): -
|
1773
|
+
# `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.
|
1774
|
+
# googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.
|
1775
|
+
# import` (import mode spaces only)
|
1663
1776
|
# @param [String] name
|
1664
1777
|
# Required. Name of the reaction to delete. Format: `spaces/`space`/messages/`
|
1665
1778
|
# message`/reactions/`reaction``
|
@@ -1693,7 +1806,12 @@ module Google
|
|
1693
1806
|
# Lists reactions to a message. For an example, see [List reactions for a
|
1694
1807
|
# message](https://developers.google.com/workspace/chat/list-reactions).
|
1695
1808
|
# Requires [user authentication](https://developers.google.com/workspace/chat/
|
1696
|
-
# authenticate-authorize-chat-user)
|
1809
|
+
# authenticate-authorize-chat-user) with one of the following [authorization
|
1810
|
+
# scopes](https://developers.google.com/workspace/chat/authenticate-authorize#
|
1811
|
+
# chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.reactions.
|
1812
|
+
# readonly` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https:
|
1813
|
+
# //www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.
|
1814
|
+
# com/auth/chat.messages`
|
1697
1815
|
# @param [String] parent
|
1698
1816
|
# Required. The message users reacted to. Format: `spaces/`space`/messages/`
|
1699
1817
|
# message``
|
@@ -1765,7 +1883,15 @@ module Google
|
|
1765
1883
|
# Message` resource in the event payload. Note: The `permissionSettings` field
|
1766
1884
|
# is not returned in the Space object of the Space event data for this request.
|
1767
1885
|
# Requires [user authentication](https://developers.google.com/workspace/chat/
|
1768
|
-
# authenticate-authorize-chat-user)
|
1886
|
+
# authenticate-authorize-chat-user) with an [authorization scope](https://
|
1887
|
+
# developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
|
1888
|
+
# appropriate for reading the requested data: - `https://www.googleapis.com/auth/
|
1889
|
+
# chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - `https:
|
1890
|
+
# //www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.
|
1891
|
+
# com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.messages.
|
1892
|
+
# reactions.readonly` - `https://www.googleapis.com/auth/chat.messages.reactions`
|
1893
|
+
# - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.
|
1894
|
+
# googleapis.com/auth/chat.memberships` To get an event, the authenticated user
|
1769
1895
|
# must be a member of the space. For an example, see [Get details about an event
|
1770
1896
|
# from a Google Chat space](https://developers.google.com/workspace/chat/get-
|
1771
1897
|
# space-event).
|
@@ -1806,10 +1932,18 @@ module Google
|
|
1806
1932
|
# returns `Membership` resources that contain the latest membership details. If
|
1807
1933
|
# new members were removed during the requested period, the event payload
|
1808
1934
|
# contains an empty `Membership` resource. Requires [user authentication](https:/
|
1809
|
-
# /developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
1810
|
-
#
|
1811
|
-
#
|
1812
|
-
# com/
|
1935
|
+
# /developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
|
1936
|
+
# an [authorization scope](https://developers.google.com/workspace/chat/
|
1937
|
+
# authenticate-authorize#chat-api-scopes) appropriate for reading the requested
|
1938
|
+
# data: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.
|
1939
|
+
# googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.
|
1940
|
+
# messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https:/
|
1941
|
+
# /www.googleapis.com/auth/chat.messages.reactions.readonly` - `https://www.
|
1942
|
+
# googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/
|
1943
|
+
# auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.
|
1944
|
+
# memberships` To list events, the authenticated user must be a member of the
|
1945
|
+
# space. For an example, see [List events from a Google Chat space](https://
|
1946
|
+
# developers.google.com/workspace/chat/list-space-events).
|
1813
1947
|
# @param [String] parent
|
1814
1948
|
# Required. Resource name of the [Google Chat space](https://developers.google.
|
1815
1949
|
# com/workspace/chat/api/reference/rest/v1/spaces) where the events occurred.
|
@@ -1884,7 +2018,11 @@ module Google
|
|
1884
2018
|
# read and unread messages. For an example, see [Get details about a user's
|
1885
2019
|
# space read state](https://developers.google.com/workspace/chat/get-space-read-
|
1886
2020
|
# state). Requires [user authentication](https://developers.google.com/workspace/
|
1887
|
-
# chat/authenticate-authorize-chat-user)
|
2021
|
+
# chat/authenticate-authorize-chat-user) with one of the following [
|
2022
|
+
# authorization scopes](https://developers.google.com/workspace/chat/
|
2023
|
+
# authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/
|
2024
|
+
# chat.users.readstate.readonly` - `https://www.googleapis.com/auth/chat.users.
|
2025
|
+
# readstate`
|
1888
2026
|
# @param [String] name
|
1889
2027
|
# Required. Resource name of the space read state to retrieve. Only supports
|
1890
2028
|
# getting read state for the calling user. To refer to the calling user, set one
|
@@ -1924,7 +2062,9 @@ module Google
|
|
1924
2062
|
# messages. For an example, see [Update a user's space read state](https://
|
1925
2063
|
# developers.google.com/workspace/chat/update-space-read-state). Requires [user
|
1926
2064
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
1927
|
-
# authorize-chat-user).
|
2065
|
+
# authorize-chat-user) with the [authorization scope](https://developers.google.
|
2066
|
+
# com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.
|
2067
|
+
# googleapis.com/auth/chat.users.readstate`
|
1928
2068
|
# @param [String] name
|
1929
2069
|
# Resource name of the space read state. Format: `users/`user`/spaces/`space`/
|
1930
2070
|
# spaceReadState`
|
@@ -1971,7 +2111,10 @@ module Google
|
|
1971
2111
|
# Gets the space notification setting. For an example, see [Get the caller's
|
1972
2112
|
# space notification setting](https://developers.google.com/workspace/chat/get-
|
1973
2113
|
# space-notification-setting). Requires [user authentication](https://developers.
|
1974
|
-
# google.com/workspace/chat/authenticate-authorize-chat-user)
|
2114
|
+
# google.com/workspace/chat/authenticate-authorize-chat-user) with the [
|
2115
|
+
# authorization scope](https://developers.google.com/workspace/chat/authenticate-
|
2116
|
+
# authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.
|
2117
|
+
# spacesettings`
|
1975
2118
|
# @param [String] name
|
1976
2119
|
# Required. Format: users/`user`/spaces/`space`/spaceNotificationSetting - `
|
1977
2120
|
# users/me/spaces/`space`/spaceNotificationSetting`, OR - `users/user@example.
|
@@ -2008,7 +2151,10 @@ module Google
|
|
2008
2151
|
# Updates the space notification setting. For an example, see [Update the caller'
|
2009
2152
|
# s space notification setting](https://developers.google.com/workspace/chat/
|
2010
2153
|
# update-space-notification-setting). Requires [user authentication](https://
|
2011
|
-
# developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
2154
|
+
# developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
|
2155
|
+
# the [authorization scope](https://developers.google.com/workspace/chat/
|
2156
|
+
# authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/
|
2157
|
+
# chat.users.spacesettings`
|
2012
2158
|
# @param [String] name
|
2013
2159
|
# Identifier. The resource name of the space notification setting. Format: `
|
2014
2160
|
# users/`user`/spaces/`space`/spaceNotificationSetting`.
|
@@ -2049,7 +2195,11 @@ module Google
|
|
2049
2195
|
# read and unread messages. For an example, see [Get details about a user's
|
2050
2196
|
# thread read state](https://developers.google.com/workspace/chat/get-thread-
|
2051
2197
|
# read-state). Requires [user authentication](https://developers.google.com/
|
2052
|
-
# workspace/chat/authenticate-authorize-chat-user)
|
2198
|
+
# workspace/chat/authenticate-authorize-chat-user) with one of the following [
|
2199
|
+
# authorization scopes](https://developers.google.com/workspace/chat/
|
2200
|
+
# authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/
|
2201
|
+
# chat.users.readstate.readonly` - `https://www.googleapis.com/auth/chat.users.
|
2202
|
+
# readstate`
|
2053
2203
|
# @param [String] name
|
2054
2204
|
# Required. Resource name of the thread read state to retrieve. Only supports
|
2055
2205
|
# getting read state for the calling user. To refer to the calling user, set one
|
metadata
CHANGED
@@ -1,13 +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.121.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.121.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '3.1'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.8
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Google Chat API V1
|
79
79
|
test_files: []
|