google-apis-chat_v1 0.104.0 → 0.105.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 +4 -0
- data/lib/google/apis/chat_v1/classes.rb +20 -16
- 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: ee0b2d365042551e92ecf3215fe654b2c332c282760a95da6ed5abd151146e81
|
4
|
+
data.tar.gz: e25069ba9772bbf7aac4b544733d2ec7d00f58f275de6fe0c42d598ad45fe1c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d92d50cad3249a4c46a6b3df9921b4c123dcb3d1462198c5e30b7e0a52403c71cdf2c5ad462dc9d21c8c8665e33e65ec270bdfa4dd5fbde820604b962cf6d00
|
7
|
+
data.tar.gz: 2d7acdd82c3193f6e6b9802263929a5de35ccd5d692c42cb3bfdd9004cfbcee9afffeec96e121419b0503ee48037962f85dc33d5d23eefd23d0687ea30066934
|
data/CHANGELOG.md
CHANGED
@@ -1626,7 +1626,7 @@ module Google
|
|
1626
1626
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1CardHeader]
|
1627
1627
|
attr_accessor :peek_card_header
|
1628
1628
|
|
1629
|
-
# The divider style between sections.
|
1629
|
+
# The divider style between the header, sections and footer.
|
1630
1630
|
# Corresponds to the JSON property `sectionDividerStyle`
|
1631
1631
|
# @return [String]
|
1632
1632
|
attr_accessor :section_divider_style
|
@@ -1833,9 +1833,12 @@ module Google
|
|
1833
1833
|
# screen width is less than or equal to 480 pixels. * On iOS devices, the second
|
1834
1834
|
# column wraps if the screen width is less than or equal to 300 pt. * On Android
|
1835
1835
|
# 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):
|
1836
|
+
# 320 dp. To include more than two columns, or to use rows, use the `Grid`
|
1837
|
+
# widget. [Google Workspace Add-ons and Chat apps](https://developers.google.com/
|
1838
|
+
# workspace/extend): The add-on UIs that support columns include: * The dialog
|
1839
|
+
# displayed when users open the add-on from an email draft. * The dialog
|
1840
|
+
# displayed when users open the add-on from the **Add attachment** menu in a
|
1841
|
+
# Google Calendar event.
|
1839
1842
|
class GoogleAppsCardV1Columns
|
1840
1843
|
include Google::Apis::Core::Hashable
|
1841
1844
|
|
@@ -3002,9 +3005,12 @@ module Google
|
|
3002
3005
|
# screen width is less than or equal to 480 pixels. * On iOS devices, the second
|
3003
3006
|
# column wraps if the screen width is less than or equal to 300 pt. * On Android
|
3004
3007
|
# 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):
|
3008
|
+
# 320 dp. To include more than two columns, or to use rows, use the `Grid`
|
3009
|
+
# widget. [Google Workspace Add-ons and Chat apps](https://developers.google.com/
|
3010
|
+
# workspace/extend): The add-on UIs that support columns include: * The dialog
|
3011
|
+
# displayed when users open the add-on from an email draft. * The dialog
|
3012
|
+
# displayed when users open the add-on from the **Add attachment** menu in a
|
3013
|
+
# Google Calendar event.
|
3008
3014
|
# Corresponds to the JSON property `columns`
|
3009
3015
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Columns]
|
3010
3016
|
attr_accessor :columns
|
@@ -3765,7 +3771,6 @@ module Google
|
|
3765
3771
|
end
|
3766
3772
|
end
|
3767
3773
|
|
3768
|
-
# [Developer Preview](https://developers.google.com/workspace/preview).
|
3769
3774
|
# Represents the count of memberships of a space, grouped into categories.
|
3770
3775
|
class MembershipCount
|
3771
3776
|
include Google::Apis::Core::Hashable
|
@@ -4676,11 +4681,12 @@ module Google
|
|
4676
4681
|
attr_accessor :create_time
|
4677
4682
|
|
4678
4683
|
# 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
|
4684
|
+
# google.com/workspace/chat/api/reference/rest/v1/spaces/create) with a `
|
4685
|
+
# spaceType` of `SPACE`. If you receive the error message `ALREADY_EXISTS` when
|
4686
|
+
# creating a space or updating the `displayName`, try a different `displayName`.
|
4687
|
+
# An existing space within the Google Workspace organization might already use
|
4688
|
+
# this display name. For direct messages, this field might be empty. Supports up
|
4689
|
+
# to 128 characters.
|
4684
4690
|
# Corresponds to the JSON property `displayName`
|
4685
4691
|
# @return [String]
|
4686
4692
|
attr_accessor :display_name
|
@@ -4704,13 +4710,11 @@ module Google
|
|
4704
4710
|
attr_accessor :import_mode
|
4705
4711
|
alias_method :import_mode?, :import_mode
|
4706
4712
|
|
4707
|
-
# Output only. Timestamp of the last message in the space.
|
4708
|
-
# https://developers.google.com/workspace/preview).
|
4713
|
+
# Output only. Timestamp of the last message in the space.
|
4709
4714
|
# Corresponds to the JSON property `lastActiveTime`
|
4710
4715
|
# @return [String]
|
4711
4716
|
attr_accessor :last_active_time
|
4712
4717
|
|
4713
|
-
# [Developer Preview](https://developers.google.com/workspace/preview).
|
4714
4718
|
# Represents the count of memberships of a space, grouped into categories.
|
4715
4719
|
# Corresponds to the JSON property `membershipCount`
|
4716
4720
|
# @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.105.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 = "20240912"
|
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.105.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-22 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.105.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: []
|