google-apis-chat_v1 0.97.0 → 0.99.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/chat_v1/classes.rb +17 -23
- data/lib/google/apis/chat_v1/gem_version.rb +3 -3
- data/lib/google/apis/chat_v1/service.rb +37 -34
- data/lib/google/apis/chat_v1.rb +8 -8
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c13ac8822d50aac80311aeeb33bb1c96f9297a462b810177a58153b7f6a5761
|
4
|
+
data.tar.gz: 9cc0b62dbef77a7678c5c571b5402b283b8c3492200289aa2e76c30859f0ae91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e9a97d572db19fea2b6e208ad05a704593729a3b60141969eb251cf35a7ca249ee6c87706bf72c816f94c44ea20f6b4571a914b31c0f423645af2f0c31b5e8a
|
7
|
+
data.tar.gz: b42778712a4cdc24f941e6cd3f292a0001b6eb73097ed645617e4e6d3290e32b3affd1ae74e45b017d35a5707bd6e23c8cb78c51791ba848493898cd95794410
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.99.0 (2024-08-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240728
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.98.0 (2024-07-25)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240709
|
11
|
+
|
3
12
|
### v0.97.0 (2024-07-07)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240625
|
@@ -34,10 +34,12 @@ module Google
|
|
34
34
|
|
35
35
|
# Optional. The resource name of the [target audience](https://support.google.
|
36
36
|
# com/a/answer/9934697) who can discover the space, join the space, and preview
|
37
|
-
# the messages in the space.
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
37
|
+
# the messages in the space. If unset, only users or Google Groups who have been
|
38
|
+
# individually invited or added to the space can access it. For details, see [
|
39
|
+
# Make a space discoverable to a target audience](https://developers.google.com/
|
40
|
+
# workspace/chat/space-target-audience). Format: `audiences/`audience`` To use
|
41
|
+
# the default target audience for the Google Workspace organization, set to `
|
42
|
+
# audiences/default`.
|
41
43
|
# Corresponds to the JSON property `audience`
|
42
44
|
# @return [String]
|
43
45
|
attr_accessor :audience
|
@@ -870,12 +872,11 @@ module Google
|
|
870
872
|
end
|
871
873
|
end
|
872
874
|
|
873
|
-
# A Google Chat app interaction event
|
874
|
-
#
|
875
|
-
#
|
876
|
-
#
|
877
|
-
#
|
878
|
-
# In addition to receiving events from user interactions, Chat apps can receive
|
875
|
+
# A Google Chat app interaction event that represents and contains data about a
|
876
|
+
# user's interaction with a Chat app. To configure your Chat app to receive
|
877
|
+
# interaction events, see [Receive and respond to user interactions](https://
|
878
|
+
# developers.google.com/workspace/chat/receive-respond-interactions). In
|
879
|
+
# addition to receiving events from user interactions, Chat apps can receive
|
879
880
|
# events about changes to spaces, such as when a new member is added to a space.
|
880
881
|
# To learn about space events, see [Work with events from Google Chat](https://
|
881
882
|
# developers.google.com/workspace/chat/events-overview).
|
@@ -952,8 +953,8 @@ module Google
|
|
952
953
|
# @return [String]
|
953
954
|
attr_accessor :token
|
954
955
|
|
955
|
-
# The type of
|
956
|
-
# interaction
|
956
|
+
# The [type](/workspace/chat/api/reference/rest/v1/EventType) of user
|
957
|
+
# interaction with the Chat app, such as `MESSAGE` or `ADDED_TO_SPACE`.
|
957
958
|
# Corresponds to the JSON property `type`
|
958
959
|
# @return [String]
|
959
960
|
attr_accessor :type
|
@@ -1800,8 +1801,7 @@ module Google
|
|
1800
1801
|
# devices, the second column wraps if the screen width is less than or equal to
|
1801
1802
|
# 320 dp. To include more than 2 columns, or to use rows, use the `Grid` widget.
|
1802
1803
|
# [Google Workspace Add-ons and Chat apps](https://developers.google.com/
|
1803
|
-
# workspace/extend):
|
1804
|
-
# Preview.
|
1804
|
+
# workspace/extend):
|
1805
1805
|
class GoogleAppsCardV1Columns
|
1806
1806
|
include Google::Apis::Core::Hashable
|
1807
1807
|
|
@@ -2970,8 +2970,7 @@ module Google
|
|
2970
2970
|
# devices, the second column wraps if the screen width is less than or equal to
|
2971
2971
|
# 320 dp. To include more than 2 columns, or to use rows, use the `Grid` widget.
|
2972
2972
|
# [Google Workspace Add-ons and Chat apps](https://developers.google.com/
|
2973
|
-
# workspace/extend):
|
2974
|
-
# Preview.
|
2973
|
+
# workspace/extend):
|
2975
2974
|
# Corresponds to the JSON property `columns`
|
2976
2975
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Columns]
|
2977
2976
|
attr_accessor :columns
|
@@ -4591,13 +4590,8 @@ module Google
|
|
4591
4590
|
# when creating a space in a Google Workspace organization. Omit this field when
|
4592
4591
|
# creating spaces in the following conditions: * The authenticated user uses a
|
4593
4592
|
# consumer account (unmanaged user account). By default, a space created by a
|
4594
|
-
# consumer account permits any Google Chat user.
|
4595
|
-
#
|
4596
|
-
# data-overview) because import mode spaces must only permit members from the
|
4597
|
-
# same Google Workspace organization. However, as part of the [Google Workspace
|
4598
|
-
# Developer Preview Program](https://developers.google.com/workspace/preview),
|
4599
|
-
# import mode spaces can permit any Google Chat user so this field can then be
|
4600
|
-
# set for import mode spaces. For existing spaces, this field is output only.
|
4593
|
+
# consumer account permits any Google Chat user. For existing spaces, this field
|
4594
|
+
# is output only.
|
4601
4595
|
# Corresponds to the JSON property `externalUserAllowed`
|
4602
4596
|
# @return [Boolean]
|
4603
4597
|
attr_accessor :external_user_allowed
|
@@ -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.99.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240728"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -409,40 +409,43 @@ module Google
|
|
409
409
|
# Resource name of the space. Format: `spaces/`space``
|
410
410
|
# @param [Google::Apis::ChatV1::Space] space_object
|
411
411
|
# @param [String] update_mask
|
412
|
-
# Required. The updated field paths, comma separated if there are multiple.
|
413
|
-
#
|
414
|
-
#
|
415
|
-
#
|
416
|
-
#
|
417
|
-
#
|
418
|
-
#
|
419
|
-
#
|
420
|
-
#
|
421
|
-
#
|
422
|
-
#
|
423
|
-
#
|
424
|
-
#
|
425
|
-
#
|
426
|
-
#
|
427
|
-
#
|
428
|
-
#
|
429
|
-
#
|
430
|
-
# https://support.google.com/
|
431
|
-
#
|
432
|
-
#
|
433
|
-
#
|
434
|
-
#
|
435
|
-
#
|
436
|
-
#
|
437
|
-
#
|
438
|
-
#
|
439
|
-
# com/chat/
|
440
|
-
#
|
441
|
-
#
|
442
|
-
#
|
443
|
-
#
|
444
|
-
#
|
445
|
-
# . `permission_settings`
|
412
|
+
# Required. The updated field paths, comma separated if there are multiple. You
|
413
|
+
# can update the following fields for a space: - `space_details` - `display_name`
|
414
|
+
# : Only supports updating the display name for spaces where `spaceType` field
|
415
|
+
# is `SPACE`. If you receive the error message `ALREADY_EXISTS`, try a different
|
416
|
+
# value. An existing space within the Google Workspace organization might
|
417
|
+
# already use this display name. - `space_type`: Only supports changing a `
|
418
|
+
# GROUP_CHAT` space type to `SPACE`. Include `display_name` together with `
|
419
|
+
# space_type` in the update mask and ensure that the specified space has a non-
|
420
|
+
# empty display name and the `SPACE` space type. Including the `space_type` mask
|
421
|
+
# and the `SPACE` type in the specified space when updating the display name is
|
422
|
+
# optional if the existing space already has the `SPACE` type. Trying to update
|
423
|
+
# the space type in other ways results in an invalid argument error. `space_type`
|
424
|
+
# is not supported with admin access. - `space_history_state`: Updates [space
|
425
|
+
# history settings](https://support.google.com/chat/answer/7664687) by turning
|
426
|
+
# history on or off for the space. Only supported if history settings are
|
427
|
+
# enabled for the Google Workspace organization. To update the space history
|
428
|
+
# state, you must omit all other field masks in your request. `
|
429
|
+
# space_history_state` is not supported with admin access. - `access_settings.
|
430
|
+
# audience`: Updates the [access setting](https://support.google.com/chat/answer/
|
431
|
+
# 11971020) of who can discover the space, join the space, and preview the
|
432
|
+
# messages in named space where `spaceType` field is `SPACE`. If the existing
|
433
|
+
# space has a target audience, you can remove the audience and restrict space
|
434
|
+
# access by omitting a value for this field mask. To update access settings for
|
435
|
+
# a space, the authenticating user must be a space manager and omit all other
|
436
|
+
# field masks in your request. You can't update this field if the space is in [
|
437
|
+
# import mode](https://developers.google.com/workspace/chat/import-data-overview)
|
438
|
+
# . To learn more, see [Make a space discoverable to specific users](https://
|
439
|
+
# developers.google.com/workspace/chat/space-target-audience). `access_settings.
|
440
|
+
# audience` is not supported with admin access. - Developer Preview: Supports
|
441
|
+
# changing the [permission settings](https://support.google.com/chat/answer/
|
442
|
+
# 13340792) of a space, supported field paths include: `permission_settings.
|
443
|
+
# manage_members_and_groups`, `permission_settings.modify_space_details`, `
|
444
|
+
# permission_settings.toggle_history`, `permission_settings.use_at_mention_all`,
|
445
|
+
# `permission_settings.manage_apps`, `permission_settings.manage_webhooks`, `
|
446
|
+
# permission_settings.reply_messages` (Warning: mutually exclusive with all
|
447
|
+
# other non-permission settings field paths). `permission_settings` is not
|
448
|
+
# supported with admin access.
|
446
449
|
# @param [String] fields
|
447
450
|
# Selector specifying which fields to include in a partial response.
|
448
451
|
# @param [String] quota_user
|
data/lib/google/apis/chat_v1.rb
CHANGED
@@ -48,28 +48,28 @@ module Google
|
|
48
48
|
# Private Service: https://www.googleapis.com/auth/chat.bot
|
49
49
|
AUTH_CHAT_BOT = 'https://www.googleapis.com/auth/chat.bot'
|
50
50
|
|
51
|
-
# Delete conversations and spaces
|
51
|
+
# Delete conversations and spaces and remove access to associated files in Google Chat
|
52
52
|
AUTH_CHAT_DELETE = 'https://www.googleapis.com/auth/chat.delete'
|
53
53
|
|
54
54
|
# Import spaces, messages, and memberships into Google Chat.
|
55
55
|
AUTH_CHAT_IMPORT = 'https://www.googleapis.com/auth/chat.import'
|
56
56
|
|
57
|
-
#
|
57
|
+
# See, add, update, and remove members from conversations and spaces in Google Chat
|
58
58
|
AUTH_CHAT_MEMBERSHIPS = 'https://www.googleapis.com/auth/chat.memberships'
|
59
59
|
|
60
|
-
# Add and remove itself from conversations in Google Chat
|
60
|
+
# Add and remove itself from conversations and spaces in Google Chat
|
61
61
|
AUTH_CHAT_MEMBERSHIPS_APP = 'https://www.googleapis.com/auth/chat.memberships.app'
|
62
62
|
|
63
63
|
# View members in Google Chat conversations.
|
64
64
|
AUTH_CHAT_MEMBERSHIPS_READONLY = 'https://www.googleapis.com/auth/chat.memberships.readonly'
|
65
65
|
|
66
|
-
#
|
66
|
+
# See, compose, send, update, and delete messages and their associated attachments, and add, see, and delete reactions to messages.
|
67
67
|
AUTH_CHAT_MESSAGES = 'https://www.googleapis.com/auth/chat.messages'
|
68
68
|
|
69
69
|
# Compose and send messages in Google Chat
|
70
70
|
AUTH_CHAT_MESSAGES_CREATE = 'https://www.googleapis.com/auth/chat.messages.create'
|
71
71
|
|
72
|
-
#
|
72
|
+
# See, add, and delete reactions to messages in Google Chat
|
73
73
|
AUTH_CHAT_MESSAGES_REACTIONS = 'https://www.googleapis.com/auth/chat.messages.reactions'
|
74
74
|
|
75
75
|
# Add reactions to messages in Google Chat
|
@@ -78,13 +78,13 @@ module Google
|
|
78
78
|
# View reactions to messages in Google Chat
|
79
79
|
AUTH_CHAT_MESSAGES_REACTIONS_READONLY = 'https://www.googleapis.com/auth/chat.messages.reactions.readonly'
|
80
80
|
|
81
|
-
#
|
81
|
+
# See messages and their associated reactions and attachments in Google Chat
|
82
82
|
AUTH_CHAT_MESSAGES_READONLY = 'https://www.googleapis.com/auth/chat.messages.readonly'
|
83
83
|
|
84
|
-
# Create conversations and spaces and see or
|
84
|
+
# Create conversations and spaces and see or update metadata (including history settings and access settings) in Google Chat
|
85
85
|
AUTH_CHAT_SPACES = 'https://www.googleapis.com/auth/chat.spaces'
|
86
86
|
|
87
|
-
# Create new conversations in Google Chat
|
87
|
+
# Create new conversations and spaces in Google Chat
|
88
88
|
AUTH_CHAT_SPACES_CREATE = 'https://www.googleapis.com/auth/chat.spaces.create'
|
89
89
|
|
90
90
|
# View chat and spaces in Google Chat
|
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.99.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: 2024-
|
11
|
+
date: 2024-08-04 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.99.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: []
|