google-apis-chat_v1 0.104.0 → 0.106.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 +8 -0
- data/lib/google/apis/chat_v1/classes.rb +23 -17
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/service.rb +32 -37
- 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: 7a6974a9563fa880389e3ba51d72ef0abf787f0df66e8eadf6b4d7636adf84c6
|
4
|
+
data.tar.gz: d1afdf4f0bc5b773a5a3d975a9a0afcf5f80990d0588639afc73f70636bd8dfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df8ec3e21a26f4411060e40e14dcf427e9948f376f5221dd48c975d4cbb869bbe3523967152cdce7e8d94541fd8621be747e765c7dc7be269bd17c5df2ab03a6
|
7
|
+
data.tar.gz: 7ba8fca0b908e486ed7407b86fb6884b9b1ae501fd3c982635156d24c11c60c148fc9f9a72f88ead4c9804819d52be14f43ef7cfb3ed672504eb629fa2798b26
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.106.0 (2024-09-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240919
|
6
|
+
|
7
|
+
### v0.105.0 (2024-09-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240912
|
10
|
+
|
3
11
|
### v0.104.0 (2024-09-15)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240908
|
@@ -39,7 +39,9 @@ module Google
|
|
39
39
|
# Make a space discoverable to a target audience](https://developers.google.com/
|
40
40
|
# workspace/chat/space-target-audience). Format: `audiences/`audience`` To use
|
41
41
|
# the default target audience for the Google Workspace organization, set to `
|
42
|
-
# audiences/default`.
|
42
|
+
# audiences/default`. This field is not populated when using the `chat.bot`
|
43
|
+
# scope with [app authentication](https://developers.google.com/workspace/chat/
|
44
|
+
# authenticate-authorize-chat-app).
|
43
45
|
# Corresponds to the JSON property `audience`
|
44
46
|
# @return [String]
|
45
47
|
attr_accessor :audience
|
@@ -1626,7 +1628,7 @@ module Google
|
|
1626
1628
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1CardHeader]
|
1627
1629
|
attr_accessor :peek_card_header
|
1628
1630
|
|
1629
|
-
# The divider style between sections.
|
1631
|
+
# The divider style between the header, sections and footer.
|
1630
1632
|
# Corresponds to the JSON property `sectionDividerStyle`
|
1631
1633
|
# @return [String]
|
1632
1634
|
attr_accessor :section_divider_style
|
@@ -1833,9 +1835,12 @@ module Google
|
|
1833
1835
|
# screen width is less than or equal to 480 pixels. * On iOS devices, the second
|
1834
1836
|
# column wraps if the screen width is less than or equal to 300 pt. * On Android
|
1835
1837
|
# devices, the second column wraps if the screen width is less than or equal to
|
1836
|
-
# 320 dp. To include more than
|
1837
|
-
# [Google Workspace Add-ons and Chat apps](https://developers.google.com/
|
1838
|
-
# workspace/extend):
|
1838
|
+
# 320 dp. To include more than two columns, or to use rows, use the `Grid`
|
1839
|
+
# widget. [Google Workspace Add-ons and Chat apps](https://developers.google.com/
|
1840
|
+
# workspace/extend): The add-on UIs that support columns include: * The dialog
|
1841
|
+
# displayed when users open the add-on from an email draft. * The dialog
|
1842
|
+
# displayed when users open the add-on from the **Add attachment** menu in a
|
1843
|
+
# Google Calendar event.
|
1839
1844
|
class GoogleAppsCardV1Columns
|
1840
1845
|
include Google::Apis::Core::Hashable
|
1841
1846
|
|
@@ -3002,9 +3007,12 @@ module Google
|
|
3002
3007
|
# screen width is less than or equal to 480 pixels. * On iOS devices, the second
|
3003
3008
|
# column wraps if the screen width is less than or equal to 300 pt. * On Android
|
3004
3009
|
# devices, the second column wraps if the screen width is less than or equal to
|
3005
|
-
# 320 dp. To include more than
|
3006
|
-
# [Google Workspace Add-ons and Chat apps](https://developers.google.com/
|
3007
|
-
# workspace/extend):
|
3010
|
+
# 320 dp. To include more than two columns, or to use rows, use the `Grid`
|
3011
|
+
# widget. [Google Workspace Add-ons and Chat apps](https://developers.google.com/
|
3012
|
+
# workspace/extend): The add-on UIs that support columns include: * The dialog
|
3013
|
+
# displayed when users open the add-on from an email draft. * The dialog
|
3014
|
+
# displayed when users open the add-on from the **Add attachment** menu in a
|
3015
|
+
# Google Calendar event.
|
3008
3016
|
# Corresponds to the JSON property `columns`
|
3009
3017
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Columns]
|
3010
3018
|
attr_accessor :columns
|
@@ -3765,7 +3773,6 @@ module Google
|
|
3765
3773
|
end
|
3766
3774
|
end
|
3767
3775
|
|
3768
|
-
# [Developer Preview](https://developers.google.com/workspace/preview).
|
3769
3776
|
# Represents the count of memberships of a space, grouped into categories.
|
3770
3777
|
class MembershipCount
|
3771
3778
|
include Google::Apis::Core::Hashable
|
@@ -4676,11 +4683,12 @@ module Google
|
|
4676
4683
|
attr_accessor :create_time
|
4677
4684
|
|
4678
4685
|
# The space's display name. Required when [creating a space](https://developers.
|
4679
|
-
# google.com/workspace/chat/api/reference/rest/v1/spaces/create)
|
4680
|
-
# the error message `ALREADY_EXISTS` when
|
4681
|
-
# displayName`, try a different `displayName`.
|
4682
|
-
# Google Workspace organization might already use
|
4683
|
-
# messages, this field might be empty. Supports up
|
4686
|
+
# google.com/workspace/chat/api/reference/rest/v1/spaces/create) with a `
|
4687
|
+
# spaceType` of `SPACE`. If you receive the error message `ALREADY_EXISTS` when
|
4688
|
+
# creating a space or updating the `displayName`, try a different `displayName`.
|
4689
|
+
# An existing space within the Google Workspace organization might already use
|
4690
|
+
# this display name. For direct messages, this field might be empty. Supports up
|
4691
|
+
# to 128 characters.
|
4684
4692
|
# Corresponds to the JSON property `displayName`
|
4685
4693
|
# @return [String]
|
4686
4694
|
attr_accessor :display_name
|
@@ -4704,13 +4712,11 @@ module Google
|
|
4704
4712
|
attr_accessor :import_mode
|
4705
4713
|
alias_method :import_mode?, :import_mode
|
4706
4714
|
|
4707
|
-
# Output only. Timestamp of the last message in the space.
|
4708
|
-
# https://developers.google.com/workspace/preview).
|
4715
|
+
# Output only. Timestamp of the last message in the space.
|
4709
4716
|
# Corresponds to the JSON property `lastActiveTime`
|
4710
4717
|
# @return [String]
|
4711
4718
|
attr_accessor :last_active_time
|
4712
4719
|
|
4713
|
-
# [Developer Preview](https://developers.google.com/workspace/preview).
|
4714
4720
|
# Represents the count of memberships of a space, grouped into categories.
|
4715
4721
|
# Corresponds to the JSON property `membershipCount`
|
4716
4722
|
# @return [Google::Apis::ChatV1::MembershipCount]
|
@@ -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.106.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240919"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -177,12 +177,15 @@ module Google
|
|
177
177
|
execute_or_queue_command(command, &block)
|
178
178
|
end
|
179
179
|
|
180
|
-
# Creates a
|
181
|
-
# example, see [Create a space](https
|
182
|
-
# create-spaces). If you receive the
|
183
|
-
# creating a space, try a different `
|
184
|
-
#
|
185
|
-
#
|
180
|
+
# Creates a space with no members. Can be used to create a named space. Spaces
|
181
|
+
# grouped by topics aren't supported. For an example, see [Create a space](https:
|
182
|
+
# //developers.google.com/workspace/chat/create-spaces). If you receive the
|
183
|
+
# error message `ALREADY_EXISTS` when creating a space, try a different `
|
184
|
+
# displayName`. An existing space within the Google Workspace organization might
|
185
|
+
# already use this display name. If you're a member of the [Developer Preview
|
186
|
+
# program](https://developers.google.com/workspace/preview), you can create a
|
187
|
+
# group chat in import mode using `spaceType.GROUP_CHAT`. Requires [user
|
188
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
186
189
|
# authorize-chat-user).
|
187
190
|
# @param [Google::Apis::ChatV1::Space] space_object
|
188
191
|
# @param [String] request_id
|
@@ -228,8 +231,7 @@ module Google
|
|
228
231
|
# @param [String] name
|
229
232
|
# Required. Resource name of the space to delete. Format: `spaces/`space``
|
230
233
|
# @param [Boolean] use_admin_access
|
231
|
-
#
|
232
|
-
# true`, the method runs using the user's Google Workspace administrator
|
234
|
+
# When `true`, the method runs using the user's Google Workspace administrator
|
233
235
|
# privileges. The calling user must be a Google Workspace administrator with the
|
234
236
|
# [manage chat and spaces conversations privilege](https://support.google.com/a/
|
235
237
|
# answer/13369245). Requires the `chat.admin.delete` [OAuth 2.0 scope](https://
|
@@ -321,8 +323,7 @@ module Google
|
|
321
323
|
# Required. Resource name of the space, in the form `spaces/`space``. Format: `
|
322
324
|
# spaces/`space``
|
323
325
|
# @param [Boolean] use_admin_access
|
324
|
-
#
|
325
|
-
# true`, the method runs using the user's Google Workspace administrator
|
326
|
+
# When `true`, the method runs using the user's Google Workspace administrator
|
326
327
|
# privileges. The calling user must be a Google Workspace administrator with the
|
327
328
|
# [manage chat and spaces conversations privilege](https://support.google.com/a/
|
328
329
|
# answer/13369245). Requires the `chat.admin.spaces` or `chat.admin.spaces.
|
@@ -469,8 +470,7 @@ module Google
|
|
469
470
|
# other non-permission settings field paths). `permission_settings` is not
|
470
471
|
# supported with admin access.
|
471
472
|
# @param [Boolean] use_admin_access
|
472
|
-
#
|
473
|
-
# true`, the method runs using the user's Google Workspace administrator
|
473
|
+
# When `true`, the method runs using the user's Google Workspace administrator
|
474
474
|
# privileges. The calling user must be a Google Workspace administrator with the
|
475
475
|
# [manage chat and spaces conversations privilege](https://support.google.com/a/
|
476
476
|
# answer/13369245). Requires the `chat.admin.spaces` [OAuth 2.0 scope](https://
|
@@ -508,11 +508,11 @@ module Google
|
|
508
508
|
execute_or_queue_command(command, &block)
|
509
509
|
end
|
510
510
|
|
511
|
-
#
|
512
|
-
#
|
513
|
-
# https://developers.google.com/workspace/chat/authenticate-
|
514
|
-
#
|
515
|
-
#
|
511
|
+
# Returns a list of spaces in a Google Workspace organization based on an
|
512
|
+
# administrator's search. Requires [user authentication with administrator
|
513
|
+
# privileges](https://developers.google.com/workspace/chat/authenticate-
|
514
|
+
# authorize-chat-user#admin-privileges). In the request, set `use_admin_access`
|
515
|
+
# to `true`.
|
516
516
|
# @param [String] order_by
|
517
517
|
# Optional. How the list of spaces is ordered. Supported attributes to order by
|
518
518
|
# are: - `membership_count.joined_direct_human_user_count` — Denotes the count
|
@@ -692,8 +692,7 @@ module Google
|
|
692
692
|
# Format: spaces/`space`
|
693
693
|
# @param [Google::Apis::ChatV1::Membership] membership_object
|
694
694
|
# @param [Boolean] use_admin_access
|
695
|
-
#
|
696
|
-
# true`, the method runs using the user's Google Workspace administrator
|
695
|
+
# When `true`, the method runs using the user's Google Workspace administrator
|
697
696
|
# privileges. The calling user must be a Google Workspace administrator with the
|
698
697
|
# [manage chat and spaces conversations privilege](https://support.google.com/a/
|
699
698
|
# answer/13369245). Requires the `chat.admin.memberships` [OAuth 2.0 scope](
|
@@ -746,8 +745,7 @@ module Google
|
|
746
745
|
# spaces/`space`/members/app` format. Format: `spaces/`space`/members/`member``
|
747
746
|
# or `spaces/`space`/members/app`.
|
748
747
|
# @param [Boolean] use_admin_access
|
749
|
-
#
|
750
|
-
# true`, the method runs using the user's Google Workspace administrator
|
748
|
+
# When `true`, the method runs using the user's Google Workspace administrator
|
751
749
|
# privileges. The calling user must be a Google Workspace administrator with the
|
752
750
|
# [manage chat and spaces conversations privilege](https://support.google.com/a/
|
753
751
|
# answer/13369245). Requires the `chat.admin.memberships` [OAuth 2.0 scope](
|
@@ -800,8 +798,7 @@ module Google
|
|
800
798
|
# example@gmail.com` where `example@gmail.com` is the email of the Google Chat
|
801
799
|
# user.
|
802
800
|
# @param [Boolean] use_admin_access
|
803
|
-
#
|
804
|
-
# true`, the method runs using the user's Google Workspace administrator
|
801
|
+
# When `true`, the method runs using the user's Google Workspace administrator
|
805
802
|
# privileges. The calling user must be a Google Workspace administrator with the
|
806
803
|
# [manage chat and spaces conversations privilege](https://support.google.com/a/
|
807
804
|
# answer/13369245). Requires the `chat.admin.memberships` or `chat.admin.
|
@@ -857,16 +854,16 @@ module Google
|
|
857
854
|
# spaces.members#membershiprole)) and type ([`member.type`](https://developers.
|
858
855
|
# google.com/workspace/chat/api/reference/rest/v1/User#type)). To filter by role,
|
859
856
|
# set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`. To filter by type, set `member.
|
860
|
-
# type` to `HUMAN` or `BOT`.
|
861
|
-
#
|
862
|
-
#
|
863
|
-
#
|
864
|
-
#
|
865
|
-
#
|
866
|
-
# role = "
|
867
|
-
#
|
868
|
-
# AND
|
869
|
-
#
|
857
|
+
# type` to `HUMAN` or `BOT`. You can also filter for `member.type` using the `!=`
|
858
|
+
# operator. To filter by both role and type, use the `AND` operator. To filter
|
859
|
+
# by either role or type, use the `OR` operator. Either `member.type = "HUMAN"`
|
860
|
+
# or `member.type != "BOT"` is required when `use_admin_access` is set to true.
|
861
|
+
# Other member type filters will be rejected. For example, the following queries
|
862
|
+
# are valid: ``` role = "ROLE_MANAGER" OR role = "ROLE_MEMBER" member.type = "
|
863
|
+
# HUMAN" AND role = "ROLE_MANAGER" member.type != "BOT" ``` The following
|
864
|
+
# queries are invalid: ``` member.type = "HUMAN" AND member.type = "BOT" role = "
|
865
|
+
# ROLE_MANAGER" AND role = "ROLE_MEMBER" ``` Invalid queries are rejected by the
|
866
|
+
# server with an `INVALID_ARGUMENT` error.
|
870
867
|
# @param [Fixnum] page_size
|
871
868
|
# Optional. The maximum number of memberships to return. The service might
|
872
869
|
# return fewer than this value. If unspecified, at most 100 memberships are
|
@@ -890,8 +887,7 @@ module Google
|
|
890
887
|
# Currently requires [user authentication](https://developers.google.com/
|
891
888
|
# workspace/chat/authenticate-authorize-chat-user).
|
892
889
|
# @param [Boolean] use_admin_access
|
893
|
-
#
|
894
|
-
# true`, the method runs using the user's Google Workspace administrator
|
890
|
+
# When `true`, the method runs using the user's Google Workspace administrator
|
895
891
|
# privileges. The calling user must be a Google Workspace administrator with the
|
896
892
|
# [manage chat and spaces conversations privilege](https://support.google.com/a/
|
897
893
|
# answer/13369245). Requires either the `chat.admin.memberships.readonly` or `
|
@@ -943,8 +939,7 @@ module Google
|
|
943
939
|
# Required. The field paths to update. Separate multiple values with commas or
|
944
940
|
# use `*` to update all field paths. Currently supported field paths: - `role`
|
945
941
|
# @param [Boolean] use_admin_access
|
946
|
-
#
|
947
|
-
# true`, the method runs using the user's Google Workspace administrator
|
942
|
+
# When `true`, the method runs using the user's Google Workspace administrator
|
948
943
|
# privileges. The calling user must be a Google Workspace administrator with the
|
949
944
|
# [manage chat and spaces conversations privilege](https://support.google.com/a/
|
950
945
|
# answer/13369245). Requires the `chat.admin.memberships` [OAuth 2.0 scope](
|
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.106.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-09-
|
11
|
+
date: 2024-09-29 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.106.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: []
|