google-apps-chat-v1 0.17.0 → 0.18.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/lib/google/apps/chat/v1/chat_service/client.rb +93 -41
- data/lib/google/apps/chat/v1/chat_service/credentials.rb +1 -0
- data/lib/google/apps/chat/v1/chat_service/rest/client.rb +93 -41
- data/lib/google/apps/chat/v1/version.rb +1 -1
- data/lib/google/chat/v1/annotation_pb.rb +1 -1
- data/lib/google/chat/v1/attachment_pb.rb +1 -1
- data/lib/google/chat/v1/chat_service_pb.rb +1 -1
- data/lib/google/chat/v1/chat_service_services_pb.rb +88 -37
- data/proto_docs/google/chat/v1/annotation.rb +5 -0
- data/proto_docs/google/chat/v1/attachment.rb +3 -2
- data/proto_docs/google/chat/v1/event_payload.rb +1 -1
- data/proto_docs/google/chat/v1/message.rb +2 -2
- data/proto_docs/google/chat/v1/space.rb +7 -5
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 66ded275f0e3c7c3a12246346ad3ddf141a142aa7d0b22c329a40ffdc65d206e
|
|
4
|
+
data.tar.gz: c21e9b3d6b48fa0630e7541730587742987b3c5e8ba6a3090494321caa40063b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84ad0d756def3d36d2065a1e6c46306aac32d635348b8db642b51b167559e0fba984789e63e251b426746f3d2aa089b2182af84951c0d87f8888555caee2a756
|
|
7
|
+
data.tar.gz: b50955a737a7b84af7ca2fc9a22c6573775f91503c839461104d626a3b161f2d59a0814e0b85f713532c5ce743083682cba428334498a0544ed502b1a6c9c24a
|
|
@@ -530,21 +530,34 @@ module Google
|
|
|
530
530
|
|
|
531
531
|
##
|
|
532
532
|
# Lists messages in a space that the caller is a member of, including
|
|
533
|
-
# messages from blocked members and spaces.
|
|
533
|
+
# messages from blocked members and spaces. System messages, like those
|
|
534
|
+
# announcing new space members, aren't included. If you list messages from a
|
|
534
535
|
# space with no messages, the response is an empty object. When using a
|
|
535
536
|
# REST/HTTP interface, the response contains an empty JSON object, `{}`.
|
|
536
537
|
# For an example, see
|
|
537
538
|
# [List
|
|
538
539
|
# messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list).
|
|
539
540
|
#
|
|
540
|
-
#
|
|
541
|
-
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize
|
|
542
|
-
# with one of the following [authorization
|
|
543
|
-
# scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
|
|
541
|
+
# Supports the following types of
|
|
542
|
+
# [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
|
|
544
543
|
#
|
|
545
|
-
#
|
|
546
|
-
#
|
|
547
|
-
#
|
|
544
|
+
# - [App
|
|
545
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
|
546
|
+
# with [administrator
|
|
547
|
+
# approval](https://support.google.com/a?p=chat-app-auth) in
|
|
548
|
+
# [Developer Preview](https://developers.google.com/workspace/preview)
|
|
549
|
+
# with the authorization scope:
|
|
550
|
+
# - `https://www.googleapis.com/auth/chat.app.messages.readonly`. When
|
|
551
|
+
# using this authentication scope, this method only returns public
|
|
552
|
+
# messages in a space. It doesn't include private messages.
|
|
553
|
+
#
|
|
554
|
+
# - [User
|
|
555
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
|
556
|
+
# with one of the following authorization scopes:
|
|
557
|
+
# - `https://www.googleapis.com/auth/chat.messages.readonly`
|
|
558
|
+
# - `https://www.googleapis.com/auth/chat.messages`
|
|
559
|
+
# - `https://www.googleapis.com/auth/chat.import` (import mode spaces
|
|
560
|
+
# only)
|
|
548
561
|
#
|
|
549
562
|
# @overload list_messages(request, options = nil)
|
|
550
563
|
# Pass arguments to `list_messages` via a request object, either of type
|
|
@@ -1057,8 +1070,18 @@ module Google
|
|
|
1057
1070
|
#
|
|
1058
1071
|
# - [App
|
|
1059
1072
|
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
|
1060
|
-
# with the authorization
|
|
1061
|
-
# - `https://www.googleapis.com/auth/chat.bot
|
|
1073
|
+
# with one of the following authorization scopes:
|
|
1074
|
+
# - `https://www.googleapis.com/auth/chat.bot`: When using this
|
|
1075
|
+
# authorization scope, this method returns details about a message the
|
|
1076
|
+
# Chat app has access to, like direct messages and [slash
|
|
1077
|
+
# commands](https://developers.google.com/workspace/chat/slash-commands)
|
|
1078
|
+
# that invoke the Chat app.
|
|
1079
|
+
# - `https://www.googleapis.com/auth/chat.app.messages.readonly`
|
|
1080
|
+
# with [administrator
|
|
1081
|
+
# approval](https://support.google.com/a?p=chat-app-auth) (available in
|
|
1082
|
+
# [Developer Preview](https://developers.google.com/workspace/preview)).
|
|
1083
|
+
# When using this authentication scope,
|
|
1084
|
+
# this method returns details about a public message in a space.
|
|
1062
1085
|
#
|
|
1063
1086
|
# - [User
|
|
1064
1087
|
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
|
@@ -1751,7 +1774,9 @@ module Google
|
|
|
1751
1774
|
|
|
1752
1775
|
##
|
|
1753
1776
|
# Returns a list of spaces in a Google Workspace organization based on an
|
|
1754
|
-
# administrator's search.
|
|
1777
|
+
# administrator's search. In the request, set `use_admin_access` to `true`.
|
|
1778
|
+
# For an example, see [Search for and manage
|
|
1779
|
+
# spaces](https://developers.google.com/workspace/chat/search-manage-admin).
|
|
1755
1780
|
#
|
|
1756
1781
|
# Requires [user
|
|
1757
1782
|
# authentication with administrator
|
|
@@ -1762,8 +1787,6 @@ module Google
|
|
|
1762
1787
|
# - `https://www.googleapis.com/auth/chat.admin.spaces.readonly`
|
|
1763
1788
|
# - `https://www.googleapis.com/auth/chat.admin.spaces`
|
|
1764
1789
|
#
|
|
1765
|
-
# In the request, set `use_admin_access` to `true`.
|
|
1766
|
-
#
|
|
1767
1790
|
# @overload search_spaces(request, options = nil)
|
|
1768
1791
|
# Pass arguments to `search_spaces` via a request object, either of type
|
|
1769
1792
|
# {::Google::Apps::Chat::V1::SearchSpacesRequest} or an equivalent Hash.
|
|
@@ -2481,8 +2504,10 @@ module Google
|
|
|
2481
2504
|
#
|
|
2482
2505
|
# You can update the following fields for a space:
|
|
2483
2506
|
#
|
|
2484
|
-
# `space_details`: Updates the space's description
|
|
2485
|
-
#
|
|
2507
|
+
# `space_details`: Updates the space's description and guidelines. You must
|
|
2508
|
+
# pass both description and guidelines in the update request as
|
|
2509
|
+
# {::Google::Apps::Chat::V1::Space::SpaceDetails `SpaceDetails`}. If you only want to
|
|
2510
|
+
# update one of the fields, pass the existing value for the other field.
|
|
2486
2511
|
#
|
|
2487
2512
|
# `display_name`: Only supports updating the display name for spaces where
|
|
2488
2513
|
# `spaceType` field is `SPACE`.
|
|
@@ -2526,8 +2551,7 @@ module Google
|
|
|
2526
2551
|
# of a space.
|
|
2527
2552
|
# When updating permission settings, you can only specify
|
|
2528
2553
|
# `permissionSettings` field masks; you cannot update other field masks
|
|
2529
|
-
# at the same time.
|
|
2530
|
-
# `useAdminAccess`.
|
|
2554
|
+
# at the same time.
|
|
2531
2555
|
# The supported field masks include:
|
|
2532
2556
|
#
|
|
2533
2557
|
# - `permission_settings.manageMembersAndGroups`
|
|
@@ -4553,22 +4577,36 @@ module Google
|
|
|
4553
4577
|
# Note: The `permissionSettings` field is not returned in the Space
|
|
4554
4578
|
# object of the Space event data for this request.
|
|
4555
4579
|
#
|
|
4556
|
-
#
|
|
4557
|
-
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize
|
|
4558
|
-
# with an
|
|
4580
|
+
# Supports the following types of
|
|
4581
|
+
# [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
|
|
4582
|
+
# with an
|
|
4583
|
+
# [authorization
|
|
4559
4584
|
# scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
|
|
4560
4585
|
# appropriate for reading the requested data:
|
|
4561
4586
|
#
|
|
4562
|
-
#
|
|
4563
|
-
#
|
|
4564
|
-
#
|
|
4565
|
-
#
|
|
4566
|
-
#
|
|
4567
|
-
#
|
|
4568
|
-
#
|
|
4569
|
-
#
|
|
4587
|
+
# - [App
|
|
4588
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
|
4589
|
+
# with [administrator
|
|
4590
|
+
# approval](https://support.google.com/a?p=chat-app-auth) in
|
|
4591
|
+
# [Developer Preview](https://developers.google.com/workspace/preview)
|
|
4592
|
+
# with one of the following authorization scopes:
|
|
4593
|
+
# - `https://www.googleapis.com/auth/chat.app.spaces`
|
|
4594
|
+
# - `https://www.googleapis.com/auth/chat.app.messages.readonly`
|
|
4595
|
+
# - `https://www.googleapis.com/auth/chat.app.memberships`
|
|
4596
|
+
#
|
|
4597
|
+
# - [User
|
|
4598
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
|
4599
|
+
# with one of the following authorization scopes:
|
|
4600
|
+
# - `https://www.googleapis.com/auth/chat.spaces.readonly`
|
|
4601
|
+
# - `https://www.googleapis.com/auth/chat.spaces`
|
|
4602
|
+
# - `https://www.googleapis.com/auth/chat.messages.readonly`
|
|
4603
|
+
# - `https://www.googleapis.com/auth/chat.messages`
|
|
4604
|
+
# - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
|
|
4605
|
+
# - `https://www.googleapis.com/auth/chat.messages.reactions`
|
|
4606
|
+
# - `https://www.googleapis.com/auth/chat.memberships.readonly`
|
|
4607
|
+
# - `https://www.googleapis.com/auth/chat.memberships`
|
|
4570
4608
|
#
|
|
4571
|
-
# To get an event, the authenticated
|
|
4609
|
+
# To get an event, the authenticated caller must be a member of the space.
|
|
4572
4610
|
#
|
|
4573
4611
|
# For an example, see [Get details about an
|
|
4574
4612
|
# event from a Google Chat
|
|
@@ -4667,22 +4705,36 @@ module Google
|
|
|
4667
4705
|
# removed during the requested period, the event payload contains an empty
|
|
4668
4706
|
# `Membership` resource.
|
|
4669
4707
|
#
|
|
4670
|
-
#
|
|
4671
|
-
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize
|
|
4672
|
-
# with an
|
|
4708
|
+
# Supports the following types of
|
|
4709
|
+
# [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
|
|
4710
|
+
# with an
|
|
4711
|
+
# [authorization
|
|
4673
4712
|
# scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
|
|
4674
4713
|
# appropriate for reading the requested data:
|
|
4675
4714
|
#
|
|
4676
|
-
#
|
|
4677
|
-
#
|
|
4678
|
-
#
|
|
4679
|
-
#
|
|
4680
|
-
#
|
|
4681
|
-
#
|
|
4682
|
-
#
|
|
4683
|
-
#
|
|
4715
|
+
# - [App
|
|
4716
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
|
4717
|
+
# with [administrator
|
|
4718
|
+
# approval](https://support.google.com/a?p=chat-app-auth) in
|
|
4719
|
+
# [Developer Preview](https://developers.google.com/workspace/preview)
|
|
4720
|
+
# with one of the following authorization scopes:
|
|
4721
|
+
# - `https://www.googleapis.com/auth/chat.app.spaces`
|
|
4722
|
+
# - `https://www.googleapis.com/auth/chat.app.messages.readonly`
|
|
4723
|
+
# - `https://www.googleapis.com/auth/chat.app.memberships`
|
|
4724
|
+
#
|
|
4725
|
+
# - [User
|
|
4726
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
|
4727
|
+
# with one of the following authorization scopes:
|
|
4728
|
+
# - `https://www.googleapis.com/auth/chat.spaces.readonly`
|
|
4729
|
+
# - `https://www.googleapis.com/auth/chat.spaces`
|
|
4730
|
+
# - `https://www.googleapis.com/auth/chat.messages.readonly`
|
|
4731
|
+
# - `https://www.googleapis.com/auth/chat.messages`
|
|
4732
|
+
# - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
|
|
4733
|
+
# - `https://www.googleapis.com/auth/chat.messages.reactions`
|
|
4734
|
+
# - `https://www.googleapis.com/auth/chat.memberships.readonly`
|
|
4735
|
+
# - `https://www.googleapis.com/auth/chat.memberships`
|
|
4684
4736
|
#
|
|
4685
|
-
# To list events, the authenticated
|
|
4737
|
+
# To list events, the authenticated caller must be a member of the space.
|
|
4686
4738
|
#
|
|
4687
4739
|
# For an example, see [List events from a Google Chat
|
|
4688
4740
|
# space](https://developers.google.com/workspace/chat/list-space-events).
|
|
@@ -33,6 +33,7 @@ module Google
|
|
|
33
33
|
"https://www.googleapis.com/auth/chat.admin.spaces.readonly",
|
|
34
34
|
"https://www.googleapis.com/auth/chat.app.delete",
|
|
35
35
|
"https://www.googleapis.com/auth/chat.app.memberships",
|
|
36
|
+
"https://www.googleapis.com/auth/chat.app.messages.readonly",
|
|
36
37
|
"https://www.googleapis.com/auth/chat.app.spaces",
|
|
37
38
|
"https://www.googleapis.com/auth/chat.app.spaces.create",
|
|
38
39
|
"https://www.googleapis.com/auth/chat.bot",
|
|
@@ -516,21 +516,34 @@ module Google
|
|
|
516
516
|
|
|
517
517
|
##
|
|
518
518
|
# Lists messages in a space that the caller is a member of, including
|
|
519
|
-
# messages from blocked members and spaces.
|
|
519
|
+
# messages from blocked members and spaces. System messages, like those
|
|
520
|
+
# announcing new space members, aren't included. If you list messages from a
|
|
520
521
|
# space with no messages, the response is an empty object. When using a
|
|
521
522
|
# REST/HTTP interface, the response contains an empty JSON object, `{}`.
|
|
522
523
|
# For an example, see
|
|
523
524
|
# [List
|
|
524
525
|
# messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list).
|
|
525
526
|
#
|
|
526
|
-
#
|
|
527
|
-
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize
|
|
528
|
-
# with one of the following [authorization
|
|
529
|
-
# scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
|
|
527
|
+
# Supports the following types of
|
|
528
|
+
# [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
|
|
530
529
|
#
|
|
531
|
-
#
|
|
532
|
-
#
|
|
533
|
-
#
|
|
530
|
+
# - [App
|
|
531
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
|
532
|
+
# with [administrator
|
|
533
|
+
# approval](https://support.google.com/a?p=chat-app-auth) in
|
|
534
|
+
# [Developer Preview](https://developers.google.com/workspace/preview)
|
|
535
|
+
# with the authorization scope:
|
|
536
|
+
# - `https://www.googleapis.com/auth/chat.app.messages.readonly`. When
|
|
537
|
+
# using this authentication scope, this method only returns public
|
|
538
|
+
# messages in a space. It doesn't include private messages.
|
|
539
|
+
#
|
|
540
|
+
# - [User
|
|
541
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
|
542
|
+
# with one of the following authorization scopes:
|
|
543
|
+
# - `https://www.googleapis.com/auth/chat.messages.readonly`
|
|
544
|
+
# - `https://www.googleapis.com/auth/chat.messages`
|
|
545
|
+
# - `https://www.googleapis.com/auth/chat.import` (import mode spaces
|
|
546
|
+
# only)
|
|
534
547
|
#
|
|
535
548
|
# @overload list_messages(request, options = nil)
|
|
536
549
|
# Pass arguments to `list_messages` via a request object, either of type
|
|
@@ -1022,8 +1035,18 @@ module Google
|
|
|
1022
1035
|
#
|
|
1023
1036
|
# - [App
|
|
1024
1037
|
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
|
1025
|
-
# with the authorization
|
|
1026
|
-
# - `https://www.googleapis.com/auth/chat.bot
|
|
1038
|
+
# with one of the following authorization scopes:
|
|
1039
|
+
# - `https://www.googleapis.com/auth/chat.bot`: When using this
|
|
1040
|
+
# authorization scope, this method returns details about a message the
|
|
1041
|
+
# Chat app has access to, like direct messages and [slash
|
|
1042
|
+
# commands](https://developers.google.com/workspace/chat/slash-commands)
|
|
1043
|
+
# that invoke the Chat app.
|
|
1044
|
+
# - `https://www.googleapis.com/auth/chat.app.messages.readonly`
|
|
1045
|
+
# with [administrator
|
|
1046
|
+
# approval](https://support.google.com/a?p=chat-app-auth) (available in
|
|
1047
|
+
# [Developer Preview](https://developers.google.com/workspace/preview)).
|
|
1048
|
+
# When using this authentication scope,
|
|
1049
|
+
# this method returns details about a public message in a space.
|
|
1027
1050
|
#
|
|
1028
1051
|
# - [User
|
|
1029
1052
|
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
|
@@ -1682,7 +1705,9 @@ module Google
|
|
|
1682
1705
|
|
|
1683
1706
|
##
|
|
1684
1707
|
# Returns a list of spaces in a Google Workspace organization based on an
|
|
1685
|
-
# administrator's search.
|
|
1708
|
+
# administrator's search. In the request, set `use_admin_access` to `true`.
|
|
1709
|
+
# For an example, see [Search for and manage
|
|
1710
|
+
# spaces](https://developers.google.com/workspace/chat/search-manage-admin).
|
|
1686
1711
|
#
|
|
1687
1712
|
# Requires [user
|
|
1688
1713
|
# authentication with administrator
|
|
@@ -1693,8 +1718,6 @@ module Google
|
|
|
1693
1718
|
# - `https://www.googleapis.com/auth/chat.admin.spaces.readonly`
|
|
1694
1719
|
# - `https://www.googleapis.com/auth/chat.admin.spaces`
|
|
1695
1720
|
#
|
|
1696
|
-
# In the request, set `use_admin_access` to `true`.
|
|
1697
|
-
#
|
|
1698
1721
|
# @overload search_spaces(request, options = nil)
|
|
1699
1722
|
# Pass arguments to `search_spaces` via a request object, either of type
|
|
1700
1723
|
# {::Google::Apps::Chat::V1::SearchSpacesRequest} or an equivalent Hash.
|
|
@@ -2408,8 +2431,10 @@ module Google
|
|
|
2408
2431
|
#
|
|
2409
2432
|
# You can update the following fields for a space:
|
|
2410
2433
|
#
|
|
2411
|
-
# `space_details`: Updates the space's description
|
|
2412
|
-
#
|
|
2434
|
+
# `space_details`: Updates the space's description and guidelines. You must
|
|
2435
|
+
# pass both description and guidelines in the update request as
|
|
2436
|
+
# {::Google::Apps::Chat::V1::Space::SpaceDetails `SpaceDetails`}. If you only want to
|
|
2437
|
+
# update one of the fields, pass the existing value for the other field.
|
|
2413
2438
|
#
|
|
2414
2439
|
# `display_name`: Only supports updating the display name for spaces where
|
|
2415
2440
|
# `spaceType` field is `SPACE`.
|
|
@@ -2453,8 +2478,7 @@ module Google
|
|
|
2453
2478
|
# of a space.
|
|
2454
2479
|
# When updating permission settings, you can only specify
|
|
2455
2480
|
# `permissionSettings` field masks; you cannot update other field masks
|
|
2456
|
-
# at the same time.
|
|
2457
|
-
# `useAdminAccess`.
|
|
2481
|
+
# at the same time.
|
|
2458
2482
|
# The supported field masks include:
|
|
2459
2483
|
#
|
|
2460
2484
|
# - `permission_settings.manageMembersAndGroups`
|
|
@@ -4385,22 +4409,36 @@ module Google
|
|
|
4385
4409
|
# Note: The `permissionSettings` field is not returned in the Space
|
|
4386
4410
|
# object of the Space event data for this request.
|
|
4387
4411
|
#
|
|
4388
|
-
#
|
|
4389
|
-
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize
|
|
4390
|
-
# with an
|
|
4412
|
+
# Supports the following types of
|
|
4413
|
+
# [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
|
|
4414
|
+
# with an
|
|
4415
|
+
# [authorization
|
|
4391
4416
|
# scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
|
|
4392
4417
|
# appropriate for reading the requested data:
|
|
4393
4418
|
#
|
|
4394
|
-
#
|
|
4395
|
-
#
|
|
4396
|
-
#
|
|
4397
|
-
#
|
|
4398
|
-
#
|
|
4399
|
-
#
|
|
4400
|
-
#
|
|
4401
|
-
#
|
|
4419
|
+
# - [App
|
|
4420
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
|
4421
|
+
# with [administrator
|
|
4422
|
+
# approval](https://support.google.com/a?p=chat-app-auth) in
|
|
4423
|
+
# [Developer Preview](https://developers.google.com/workspace/preview)
|
|
4424
|
+
# with one of the following authorization scopes:
|
|
4425
|
+
# - `https://www.googleapis.com/auth/chat.app.spaces`
|
|
4426
|
+
# - `https://www.googleapis.com/auth/chat.app.messages.readonly`
|
|
4427
|
+
# - `https://www.googleapis.com/auth/chat.app.memberships`
|
|
4428
|
+
#
|
|
4429
|
+
# - [User
|
|
4430
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
|
4431
|
+
# with one of the following authorization scopes:
|
|
4432
|
+
# - `https://www.googleapis.com/auth/chat.spaces.readonly`
|
|
4433
|
+
# - `https://www.googleapis.com/auth/chat.spaces`
|
|
4434
|
+
# - `https://www.googleapis.com/auth/chat.messages.readonly`
|
|
4435
|
+
# - `https://www.googleapis.com/auth/chat.messages`
|
|
4436
|
+
# - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
|
|
4437
|
+
# - `https://www.googleapis.com/auth/chat.messages.reactions`
|
|
4438
|
+
# - `https://www.googleapis.com/auth/chat.memberships.readonly`
|
|
4439
|
+
# - `https://www.googleapis.com/auth/chat.memberships`
|
|
4402
4440
|
#
|
|
4403
|
-
# To get an event, the authenticated
|
|
4441
|
+
# To get an event, the authenticated caller must be a member of the space.
|
|
4404
4442
|
#
|
|
4405
4443
|
# For an example, see [Get details about an
|
|
4406
4444
|
# event from a Google Chat
|
|
@@ -4492,22 +4530,36 @@ module Google
|
|
|
4492
4530
|
# removed during the requested period, the event payload contains an empty
|
|
4493
4531
|
# `Membership` resource.
|
|
4494
4532
|
#
|
|
4495
|
-
#
|
|
4496
|
-
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize
|
|
4497
|
-
# with an
|
|
4533
|
+
# Supports the following types of
|
|
4534
|
+
# [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
|
|
4535
|
+
# with an
|
|
4536
|
+
# [authorization
|
|
4498
4537
|
# scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
|
|
4499
4538
|
# appropriate for reading the requested data:
|
|
4500
4539
|
#
|
|
4501
|
-
#
|
|
4502
|
-
#
|
|
4503
|
-
#
|
|
4504
|
-
#
|
|
4505
|
-
#
|
|
4506
|
-
#
|
|
4507
|
-
#
|
|
4508
|
-
#
|
|
4540
|
+
# - [App
|
|
4541
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
|
4542
|
+
# with [administrator
|
|
4543
|
+
# approval](https://support.google.com/a?p=chat-app-auth) in
|
|
4544
|
+
# [Developer Preview](https://developers.google.com/workspace/preview)
|
|
4545
|
+
# with one of the following authorization scopes:
|
|
4546
|
+
# - `https://www.googleapis.com/auth/chat.app.spaces`
|
|
4547
|
+
# - `https://www.googleapis.com/auth/chat.app.messages.readonly`
|
|
4548
|
+
# - `https://www.googleapis.com/auth/chat.app.memberships`
|
|
4549
|
+
#
|
|
4550
|
+
# - [User
|
|
4551
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
|
4552
|
+
# with one of the following authorization scopes:
|
|
4553
|
+
# - `https://www.googleapis.com/auth/chat.spaces.readonly`
|
|
4554
|
+
# - `https://www.googleapis.com/auth/chat.spaces`
|
|
4555
|
+
# - `https://www.googleapis.com/auth/chat.messages.readonly`
|
|
4556
|
+
# - `https://www.googleapis.com/auth/chat.messages`
|
|
4557
|
+
# - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
|
|
4558
|
+
# - `https://www.googleapis.com/auth/chat.messages.reactions`
|
|
4559
|
+
# - `https://www.googleapis.com/auth/chat.memberships.readonly`
|
|
4560
|
+
# - `https://www.googleapis.com/auth/chat.memberships`
|
|
4509
4561
|
#
|
|
4510
|
-
# To list events, the authenticated
|
|
4562
|
+
# To list events, the authenticated caller must be a member of the space.
|
|
4511
4563
|
#
|
|
4512
4564
|
# For an example, see [List events from a Google Chat
|
|
4513
4565
|
# space](https://developers.google.com/workspace/chat/list-space-events).
|
|
@@ -11,7 +11,7 @@ require 'google/chat/v1/reaction_pb'
|
|
|
11
11
|
require 'google/chat/v1/user_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
descriptor_data = "\n\x1fgoogle/chat/v1/annotation.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x19google/chat/v1/user.proto\"\x82\x03\n\nAnnotation\x12,\n\x04type\x18\x01 \x01(\x0e\x32\x1e.google.chat.v1.AnnotationType\x12\x18\n\x0bstart_index\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x0e\n\x06length\x18\x03 \x01(\x05\x12;\n\x0cuser_mention\x18\x04 \x01(\x0b\x32#.google.chat.v1.UserMentionMetadataH\x00\x12=\n\rslash_command\x18\x05 \x01(\x0b\x32$.google.chat.v1.SlashCommandMetadataH\x00\x12>\n\x12rich_link_metadata\x18\x06 \x01(\x0b\x32 .google.chat.v1.RichLinkMetadataH\x00\x12\x44\n\x15\x63ustom_emoji_metadata\x18\x07 \x01(\x0b\x32#.google.chat.v1.CustomEmojiMetadataH\x00\x42\n\n\x08metadataB\x0e\n\x0c_start_index\"\xa5\x01\n\x13UserMentionMetadata\x12\"\n\x04user\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x36\n\x04type\x18\x02 \x01(\x0e\x32(.google.chat.v1.UserMentionMetadata.Type\"2\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\x0b\n\x07MENTION\x10\x02\"\xe8\x01\n\x14SlashCommandMetadata\x12!\n\x03\x62ot\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x37\n\x04type\x18\x02 \x01(\x0e\x32).google.chat.v1.SlashCommandMetadata.Type\x12\x14\n\x0c\x63ommand_name\x18\x03 \x01(\t\x12\x12\n\ncommand_id\x18\x04 \x01(\x03\x12\x17\n\x0ftriggers_dialog\x18\x05 \x01(\x08\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06INVOKE\x10\x02\"\
|
|
14
|
+
descriptor_data = "\n\x1fgoogle/chat/v1/annotation.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x19google/chat/v1/user.proto\"\x82\x03\n\nAnnotation\x12,\n\x04type\x18\x01 \x01(\x0e\x32\x1e.google.chat.v1.AnnotationType\x12\x18\n\x0bstart_index\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x0e\n\x06length\x18\x03 \x01(\x05\x12;\n\x0cuser_mention\x18\x04 \x01(\x0b\x32#.google.chat.v1.UserMentionMetadataH\x00\x12=\n\rslash_command\x18\x05 \x01(\x0b\x32$.google.chat.v1.SlashCommandMetadataH\x00\x12>\n\x12rich_link_metadata\x18\x06 \x01(\x0b\x32 .google.chat.v1.RichLinkMetadataH\x00\x12\x44\n\x15\x63ustom_emoji_metadata\x18\x07 \x01(\x0b\x32#.google.chat.v1.CustomEmojiMetadataH\x00\x42\n\n\x08metadataB\x0e\n\x0c_start_index\"\xa5\x01\n\x13UserMentionMetadata\x12\"\n\x04user\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x36\n\x04type\x18\x02 \x01(\x0e\x32(.google.chat.v1.UserMentionMetadata.Type\"2\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\x0b\n\x07MENTION\x10\x02\"\xe8\x01\n\x14SlashCommandMetadata\x12!\n\x03\x62ot\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x37\n\x04type\x18\x02 \x01(\x0e\x32).google.chat.v1.SlashCommandMetadata.Type\x12\x14\n\x0c\x63ommand_name\x18\x03 \x01(\t\x12\x12\n\ncommand_id\x18\x04 \x01(\x03\x12\x17\n\x0ftriggers_dialog\x18\x05 \x01(\x08\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06INVOKE\x10\x02\"\x81\x04\n\x10RichLinkMetadata\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x45\n\x0erich_link_type\x18\x02 \x01(\x0e\x32-.google.chat.v1.RichLinkMetadata.RichLinkType\x12\x38\n\x0f\x64rive_link_data\x18\x03 \x01(\x0b\x32\x1d.google.chat.v1.DriveLinkDataH\x00\x12\x41\n\x14\x63hat_space_link_data\x18\x04 \x01(\x0b\x32!.google.chat.v1.ChatSpaceLinkDataH\x00\x12\x41\n\x14meet_space_link_data\x18\x05 \x01(\x0b\x32!.google.chat.v1.MeetSpaceLinkDataH\x00\x12I\n\x18\x63\x61lendar_event_link_data\x18\x06 \x01(\x0b\x32%.google.chat.v1.CalendarEventLinkDataH\x00\"\x85\x01\n\x0cRichLinkType\x12\x1e\n\x1aRICH_LINK_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nDRIVE_FILE\x10\x01\x12\x0e\n\nCHAT_SPACE\x10\x02\x12\x11\n\rGMAIL_MESSAGE\x10\x03\x12\x0e\n\nMEET_SPACE\x10\x04\x12\x12\n\x0e\x43\x41LENDAR_EVENT\x10\x05\x42\x06\n\x04\x64\x61ta\"H\n\x13\x43ustomEmojiMetadata\x12\x31\n\x0c\x63ustom_emoji\x18\x01 \x01(\x0b\x32\x1b.google.chat.v1.CustomEmoji\"X\n\rDriveLinkData\x12\x34\n\x0e\x64rive_data_ref\x18\x01 \x01(\x0b\x32\x1c.google.chat.v1.DriveDataRef\x12\x11\n\tmime_type\x18\x02 \x01(\t\"\xa6\x01\n\x11\x43hatSpaceLinkData\x12-\n\x05space\x18\x01 \x01(\tB\x1e\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12/\n\x06thread\x18\x02 \x01(\tB\x1f\xfa\x41\x1c\n\x1a\x63hat.googleapis.com/Thread\x12\x31\n\x07message\x18\x03 \x01(\tB \xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\"\xb8\x02\n\x11MeetSpaceLinkData\x12\x14\n\x0cmeeting_code\x18\x01 \x01(\t\x12\x34\n\x04type\x18\x02 \x01(\x0e\x32&.google.chat.v1.MeetSpaceLinkData.Type\x12M\n\rhuddle_status\x18\x03 \x01(\x0e\x32..google.chat.v1.MeetSpaceLinkData.HuddleStatusB\x06\xe0\x41\x01\xe0\x41\x03\"5\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07MEETING\x10\x01\x12\n\n\x06HUDDLE\x10\x02\"Q\n\x0cHuddleStatus\x12\x1d\n\x19HUDDLE_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07STARTED\x10\x01\x12\t\n\x05\x45NDED\x10\x02\x12\n\n\x06MISSED\x10\x03\">\n\x15\x43\x61lendarEventLinkData\x12\x13\n\x0b\x63\x61lendar_id\x18\x01 \x01(\t\x12\x10\n\x08\x65vent_id\x18\x02 \x01(\t*w\n\x0e\x41nnotationType\x12\x1f\n\x1b\x41NNOTATION_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cUSER_MENTION\x10\x01\x12\x11\n\rSLASH_COMMAND\x10\x02\x12\r\n\tRICH_LINK\x10\x03\x12\x10\n\x0c\x43USTOM_EMOJI\x10\x04\x42\xa8\x01\n\x12\x63om.google.chat.v1B\x0f\x41nnotationProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
|
|
15
15
|
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
|
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
|
8
8
|
require 'google/api/resource_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n\x1fgoogle/chat/v1/attachment.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xfd\x03\n\nAttachment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\
|
|
11
|
+
descriptor_data = "\n\x1fgoogle/chat/v1/attachment.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xfd\x03\n\nAttachment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x63ontent_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x63ontent_type\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x13\x61ttachment_data_ref\x18\x04 \x01(\x0b\x32!.google.chat.v1.AttachmentDataRefB\x03\xe0\x41\x01H\x00\x12;\n\x0e\x64rive_data_ref\x18\x07 \x01(\x0b\x32\x1c.google.chat.v1.DriveDataRefB\x03\xe0\x41\x03H\x00\x12\x1a\n\rthumbnail_uri\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64ownload_uri\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x36\n\x06source\x18\t \x01(\x0e\x32!.google.chat.v1.Attachment.SourceB\x03\xe0\x41\x03\"F\n\x06Source\x12\x16\n\x12SOURCE_UNSPECIFIED\x10\x00\x12\x0e\n\nDRIVE_FILE\x10\x01\x12\x14\n\x10UPLOADED_CONTENT\x10\x02:_\xea\x41\\\n\x1e\x63hat.googleapis.com/Attachment\x12:spaces/{space}/messages/{message}/attachments/{attachment}B\n\n\x08\x64\x61ta_ref\"%\n\x0c\x44riveDataRef\x12\x15\n\rdrive_file_id\x18\x02 \x01(\t\"U\n\x11\x41ttachmentDataRef\x12\x1a\n\rresource_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17\x61ttachment_upload_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"L\n\x14GetAttachmentRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/Attachment\"e\n\x17UploadAttachmentRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12\x15\n\x08\x66ilename\x18\x04 \x01(\tB\x03\xe0\x41\x02\"Z\n\x18UploadAttachmentResponse\x12>\n\x13\x61ttachment_data_ref\x18\x01 \x01(\x0b\x32!.google.chat.v1.AttachmentDataRefB\xa8\x01\n\x12\x63om.google.chat.v1B\x0f\x41ttachmentProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
|
|
12
12
|
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
|
|
@@ -19,7 +19,7 @@ require 'google/chat/v1/thread_read_state_pb'
|
|
|
19
19
|
require 'google/protobuf/empty_pb'
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
descriptor_data = "\n!google/chat/v1/chat_service.proto\x12\x0egoogle.chat.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a\x1fgoogle/chat/v1/membership.proto\x1a\x1cgoogle/chat/v1/message.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x1agoogle/chat/v1/space.proto\x1a google/chat/v1/space_event.proto\x1a/google/chat/v1/space_notification_setting.proto\x1a%google/chat/v1/space_read_state.proto\x1a google/chat/v1/space_setup.proto\x1a&google/chat/v1/thread_read_state.proto\x1a\x1bgoogle/protobuf/empty.proto2\
|
|
22
|
+
descriptor_data = "\n!google/chat/v1/chat_service.proto\x12\x0egoogle.chat.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a\x1fgoogle/chat/v1/membership.proto\x1a\x1cgoogle/chat/v1/message.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x1agoogle/chat/v1/space.proto\x1a google/chat/v1/space_event.proto\x1a/google/chat/v1/space_notification_setting.proto\x1a%google/chat/v1/space_read_state.proto\x1a google/chat/v1/space_setup.proto\x1a&google/chat/v1/thread_read_state.proto\x1a\x1bgoogle/protobuf/empty.proto2\xc0\x35\n\x0b\x43hatService\x12\x9b\x01\n\rCreateMessage\x12$.google.chat.v1.CreateMessageRequest\x1a\x17.google.chat.v1.Message\"K\xda\x41\x19parent,message,message_id\x82\xd3\xe4\x93\x02)\"\x1e/v1/{parent=spaces/*}/messages:\x07message\x12\x8a\x01\n\x0cListMessages\x12#.google.chat.v1.ListMessagesRequest\x1a$.google.chat.v1.ListMessagesResponse\"/\xda\x41\x06parent\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=spaces/*}/messages\x12\x92\x01\n\x0fListMemberships\x12&.google.chat.v1.ListMembershipsRequest\x1a\'.google.chat.v1.ListMembershipsResponse\".\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{parent=spaces/*}/members\x12\x7f\n\rGetMembership\x12$.google.chat.v1.GetMembershipRequest\x1a\x1a.google.chat.v1.Membership\",\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{name=spaces/*/members/*}\x12w\n\nGetMessage\x12!.google.chat.v1.GetMessageRequest\x1a\x17.google.chat.v1.Message\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=spaces/*/messages/*}\x12\xd1\x01\n\rUpdateMessage\x12$.google.chat.v1.UpdateMessageRequest\x1a\x17.google.chat.v1.Message\"\x80\x01\xda\x41\x13message,update_mask\x82\xd3\xe4\x93\x02\x64\x1a&/v1/{message.name=spaces/*/messages/*}:\x07messageZ12&/v1/{message.name=spaces/*/messages/*}:\x07message\x12|\n\rDeleteMessage\x12$.google.chat.v1.DeleteMessageRequest\x1a\x16.google.protobuf.Empty\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 *\x1e/v1/{name=spaces/*/messages/*}\x12\x8e\x01\n\rGetAttachment\x12$.google.chat.v1.GetAttachmentRequest\x1a\x1a.google.chat.v1.Attachment\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=spaces/*/messages/*/attachments/*}\x12\x9a\x01\n\x10UploadAttachment\x12\'.google.chat.v1.UploadAttachmentRequest\x1a(.google.chat.v1.UploadAttachmentResponse\"3\x82\xd3\xe4\x93\x02-\"(/v1/{parent=spaces/*}/attachments:upload:\x01*\x12j\n\nListSpaces\x12!.google.chat.v1.ListSpacesRequest\x1a\".google.chat.v1.ListSpacesResponse\"\x15\xda\x41\x00\x82\xd3\xe4\x93\x02\x0c\x12\n/v1/spaces\x12w\n\x0cSearchSpaces\x12#.google.chat.v1.SearchSpacesRequest\x1a$.google.chat.v1.SearchSpacesResponse\"\x1c\xda\x41\x00\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/spaces:search\x12\x66\n\x08GetSpace\x12\x1f.google.chat.v1.GetSpaceRequest\x1a\x15.google.chat.v1.Space\"\"\xda\x41\x04name\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/{name=spaces/*}\x12k\n\x0b\x43reateSpace\x12\".google.chat.v1.CreateSpaceRequest\x1a\x15.google.chat.v1.Space\"!\xda\x41\x05space\x82\xd3\xe4\x93\x02\x13\"\n/v1/spaces:\x05space\x12\x63\n\nSetUpSpace\x12!.google.chat.v1.SetUpSpaceRequest\x1a\x15.google.chat.v1.Space\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v1/spaces:setup:\x01*\x12\x86\x01\n\x0bUpdateSpace\x12\".google.chat.v1.UpdateSpaceRequest\x1a\x15.google.chat.v1.Space\"<\xda\x41\x11space,update_mask\x82\xd3\xe4\x93\x02\"2\x19/v1/{space.name=spaces/*}:\x05space\x12m\n\x0b\x44\x65leteSpace\x12\".google.chat.v1.DeleteSpaceRequest\x1a\x16.google.protobuf.Empty\"\"\xda\x41\x04name\x82\xd3\xe4\x93\x02\x15*\x13/v1/{name=spaces/*}\x12\x9d\x01\n\x13\x43ompleteImportSpace\x12*.google.chat.v1.CompleteImportSpaceRequest\x1a+.google.chat.v1.CompleteImportSpaceResponse\"-\x82\xd3\xe4\x93\x02\'\"\"/v1/{name=spaces/*}:completeImport:\x01*\x12z\n\x11\x46indDirectMessage\x12(.google.chat.v1.FindDirectMessageRequest\x1a\x15.google.chat.v1.Space\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/spaces:findDirectMessage\x12\x9e\x01\n\x10\x43reateMembership\x12\'.google.chat.v1.CreateMembershipRequest\x1a\x1a.google.chat.v1.Membership\"E\xda\x41\x11parent,membership\x82\xd3\xe4\x93\x02+\"\x1d/v1/{parent=spaces/*}/members:\nmembership\x12\xae\x01\n\x10UpdateMembership\x12\'.google.chat.v1.UpdateMembershipRequest\x1a\x1a.google.chat.v1.Membership\"U\xda\x41\x16membership,update_mask\x82\xd3\xe4\x93\x02\x36\x32(/v1/{membership.name=spaces/*/members/*}:\nmembership\x12\x85\x01\n\x10\x44\x65leteMembership\x12\'.google.chat.v1.DeleteMembershipRequest\x1a\x1a.google.chat.v1.Membership\",\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1f*\x1d/v1/{name=spaces/*/members/*}\x12\xa1\x01\n\x0e\x43reateReaction\x12%.google.chat.v1.CreateReactionRequest\x1a\x18.google.chat.v1.Reaction\"N\xda\x41\x0fparent,reaction\x82\xd3\xe4\x93\x02\x36\"*/v1/{parent=spaces/*/messages/*}/reactions:\x08reaction\x12\x99\x01\n\rListReactions\x12$.google.chat.v1.ListReactionsRequest\x1a%.google.chat.v1.ListReactionsResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=spaces/*/messages/*}/reactions\x12\x8a\x01\n\x0e\x44\x65leteReaction\x12%.google.chat.v1.DeleteReactionRequest\x1a\x16.google.protobuf.Empty\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v1/{name=spaces/*/messages/*/reactions/*}\x12\x91\x01\n\x11\x43reateCustomEmoji\x12(.google.chat.v1.CreateCustomEmojiRequest\x1a\x1b.google.chat.v1.CustomEmoji\"5\xda\x41\x0c\x63ustom_emoji\x82\xd3\xe4\x93\x02 \"\x10/v1/customEmojis:\x0c\x63ustom_emoji\x12~\n\x0eGetCustomEmoji\x12%.google.chat.v1.GetCustomEmojiRequest\x1a\x1b.google.chat.v1.CustomEmoji\"(\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1b\x12\x19/v1/{name=customEmojis/*}\x12\x82\x01\n\x10ListCustomEmojis\x12\'.google.chat.v1.ListCustomEmojisRequest\x1a(.google.chat.v1.ListCustomEmojisResponse\"\x1b\xda\x41\x00\x82\xd3\xe4\x93\x02\x12\x12\x10/v1/customEmojis\x12\x7f\n\x11\x44\x65leteCustomEmoji\x12(.google.chat.v1.DeleteCustomEmojiRequest\x1a\x16.google.protobuf.Empty\"(\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1b*\x19/v1/{name=customEmojis/*}\x12\x98\x01\n\x11GetSpaceReadState\x12(.google.chat.v1.GetSpaceReadStateRequest\x1a\x1e.google.chat.v1.SpaceReadState\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v1/{name=users/*/spaces/*/spaceReadState}\x12\xd9\x01\n\x14UpdateSpaceReadState\x12+.google.chat.v1.UpdateSpaceReadStateRequest\x1a\x1e.google.chat.v1.SpaceReadState\"t\xda\x41\x1cspace_read_state,update_mask\x82\xd3\xe4\x93\x02O2;/v1/{space_read_state.name=users/*/spaces/*/spaceReadState}:\x10space_read_state\x12\xa6\x01\n\x12GetThreadReadState\x12).google.chat.v1.GetThreadReadStateRequest\x1a\x1f.google.chat.v1.ThreadReadState\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=users/*/spaces/*/threads/*/threadReadState}\x12\x83\x01\n\rGetSpaceEvent\x12$.google.chat.v1.GetSpaceEventRequest\x1a\x1a.google.chat.v1.SpaceEvent\"0\xda\x41\x04name\x82\xd3\xe4\x93\x02#\x12!/v1/{name=spaces/*/spaceEvents/*}\x12\x9d\x01\n\x0fListSpaceEvents\x12&.google.chat.v1.ListSpaceEventsRequest\x1a\'.google.chat.v1.ListSpaceEventsResponse\"9\xda\x41\rparent,filter\x82\xd3\xe4\x93\x02#\x12!/v1/{parent=spaces/*}/spaceEvents\x12\xc0\x01\n\x1bGetSpaceNotificationSetting\x12\x32.google.chat.v1.GetSpaceNotificationSettingRequest\x1a(.google.chat.v1.SpaceNotificationSetting\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=users/*/spaces/*/spaceNotificationSetting}\x12\xa0\x02\n\x1eUpdateSpaceNotificationSetting\x12\x35.google.chat.v1.UpdateSpaceNotificationSettingRequest\x1a(.google.chat.v1.SpaceNotificationSetting\"\x9c\x01\xda\x41&space_notification_setting,update_mask\x82\xd3\xe4\x93\x02m2O/v1/{space_notification_setting.name=users/*/spaces/*/spaceNotificationSetting}:\x1aspace_notification_setting\x1a\xd6\x0c\xca\x41\x13\x63hat.googleapis.com\xd2\x41\xbc\x0chttps://www.googleapis.com/auth/chat.admin.delete,https://www.googleapis.com/auth/chat.admin.memberships,https://www.googleapis.com/auth/chat.admin.memberships.readonly,https://www.googleapis.com/auth/chat.admin.spaces,https://www.googleapis.com/auth/chat.admin.spaces.readonly,https://www.googleapis.com/auth/chat.app.delete,https://www.googleapis.com/auth/chat.app.memberships,https://www.googleapis.com/auth/chat.app.messages.readonly,https://www.googleapis.com/auth/chat.app.spaces,https://www.googleapis.com/auth/chat.app.spaces.create,https://www.googleapis.com/auth/chat.bot,https://www.googleapis.com/auth/chat.customemojis,https://www.googleapis.com/auth/chat.customemojis.readonly,https://www.googleapis.com/auth/chat.delete,https://www.googleapis.com/auth/chat.import,https://www.googleapis.com/auth/chat.memberships,https://www.googleapis.com/auth/chat.memberships.app,https://www.googleapis.com/auth/chat.memberships.readonly,https://www.googleapis.com/auth/chat.messages,https://www.googleapis.com/auth/chat.messages.create,https://www.googleapis.com/auth/chat.messages.reactions,https://www.googleapis.com/auth/chat.messages.reactions.create,https://www.googleapis.com/auth/chat.messages.reactions.readonly,https://www.googleapis.com/auth/chat.messages.readonly,https://www.googleapis.com/auth/chat.spaces,https://www.googleapis.com/auth/chat.spaces.create,https://www.googleapis.com/auth/chat.spaces.readonly,https://www.googleapis.com/auth/chat.users.readstate,https://www.googleapis.com/auth/chat.users.readstate.readonly,https://www.googleapis.com/auth/chat.users.spacesettingsB\xa9\x01\n\x12\x63om.google.chat.v1B\x10\x43hatServiceProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
|
|
23
23
|
|
|
24
24
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
25
25
|
|
|
@@ -80,21 +80,34 @@ module Google
|
|
|
80
80
|
# information that was in the request.
|
|
81
81
|
rpc :CreateMessage, ::Google::Apps::Chat::V1::CreateMessageRequest, ::Google::Apps::Chat::V1::Message
|
|
82
82
|
# Lists messages in a space that the caller is a member of, including
|
|
83
|
-
# messages from blocked members and spaces.
|
|
83
|
+
# messages from blocked members and spaces. System messages, like those
|
|
84
|
+
# announcing new space members, aren't included. If you list messages from a
|
|
84
85
|
# space with no messages, the response is an empty object. When using a
|
|
85
86
|
# REST/HTTP interface, the response contains an empty JSON object, `{}`.
|
|
86
87
|
# For an example, see
|
|
87
88
|
# [List
|
|
88
89
|
# messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list).
|
|
89
90
|
#
|
|
90
|
-
#
|
|
91
|
-
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize
|
|
92
|
-
# with one of the following [authorization
|
|
93
|
-
# scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
|
|
91
|
+
# Supports the following types of
|
|
92
|
+
# [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
|
|
94
93
|
#
|
|
95
|
-
#
|
|
96
|
-
#
|
|
97
|
-
#
|
|
94
|
+
# - [App
|
|
95
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
|
96
|
+
# with [administrator
|
|
97
|
+
# approval](https://support.google.com/a?p=chat-app-auth) in
|
|
98
|
+
# [Developer Preview](https://developers.google.com/workspace/preview)
|
|
99
|
+
# with the authorization scope:
|
|
100
|
+
# - `https://www.googleapis.com/auth/chat.app.messages.readonly`. When
|
|
101
|
+
# using this authentication scope, this method only returns public
|
|
102
|
+
# messages in a space. It doesn't include private messages.
|
|
103
|
+
#
|
|
104
|
+
# - [User
|
|
105
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
|
106
|
+
# with one of the following authorization scopes:
|
|
107
|
+
# - `https://www.googleapis.com/auth/chat.messages.readonly`
|
|
108
|
+
# - `https://www.googleapis.com/auth/chat.messages`
|
|
109
|
+
# - `https://www.googleapis.com/auth/chat.import` (import mode spaces
|
|
110
|
+
# only)
|
|
98
111
|
rpc :ListMessages, ::Google::Apps::Chat::V1::ListMessagesRequest, ::Google::Apps::Chat::V1::ListMessagesResponse
|
|
99
112
|
# Lists memberships in a space. For an example, see [List users and Google
|
|
100
113
|
# Chat apps in a
|
|
@@ -165,8 +178,18 @@ module Google
|
|
|
165
178
|
#
|
|
166
179
|
# - [App
|
|
167
180
|
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
|
168
|
-
# with the authorization
|
|
169
|
-
# - `https://www.googleapis.com/auth/chat.bot
|
|
181
|
+
# with one of the following authorization scopes:
|
|
182
|
+
# - `https://www.googleapis.com/auth/chat.bot`: When using this
|
|
183
|
+
# authorization scope, this method returns details about a message the
|
|
184
|
+
# Chat app has access to, like direct messages and [slash
|
|
185
|
+
# commands](https://developers.google.com/workspace/chat/slash-commands)
|
|
186
|
+
# that invoke the Chat app.
|
|
187
|
+
# - `https://www.googleapis.com/auth/chat.app.messages.readonly`
|
|
188
|
+
# with [administrator
|
|
189
|
+
# approval](https://support.google.com/a?p=chat-app-auth) (available in
|
|
190
|
+
# [Developer Preview](https://developers.google.com/workspace/preview)).
|
|
191
|
+
# When using this authentication scope,
|
|
192
|
+
# this method returns details about a public message in a space.
|
|
170
193
|
#
|
|
171
194
|
# - [User
|
|
172
195
|
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
|
@@ -278,7 +301,9 @@ module Google
|
|
|
278
301
|
# method using Workspace administrator privileges instead.
|
|
279
302
|
rpc :ListSpaces, ::Google::Apps::Chat::V1::ListSpacesRequest, ::Google::Apps::Chat::V1::ListSpacesResponse
|
|
280
303
|
# Returns a list of spaces in a Google Workspace organization based on an
|
|
281
|
-
# administrator's search.
|
|
304
|
+
# administrator's search. In the request, set `use_admin_access` to `true`.
|
|
305
|
+
# For an example, see [Search for and manage
|
|
306
|
+
# spaces](https://developers.google.com/workspace/chat/search-manage-admin).
|
|
282
307
|
#
|
|
283
308
|
# Requires [user
|
|
284
309
|
# authentication with administrator
|
|
@@ -288,8 +313,6 @@ module Google
|
|
|
288
313
|
#
|
|
289
314
|
# - `https://www.googleapis.com/auth/chat.admin.spaces.readonly`
|
|
290
315
|
# - `https://www.googleapis.com/auth/chat.admin.spaces`
|
|
291
|
-
#
|
|
292
|
-
# In the request, set `use_admin_access` to `true`.
|
|
293
316
|
rpc :SearchSpaces, ::Google::Apps::Chat::V1::SearchSpacesRequest, ::Google::Apps::Chat::V1::SearchSpacesResponse
|
|
294
317
|
# Returns details about a space. For an example, see
|
|
295
318
|
# [Get details about a
|
|
@@ -796,22 +819,36 @@ module Google
|
|
|
796
819
|
# Note: The `permissionSettings` field is not returned in the Space
|
|
797
820
|
# object of the Space event data for this request.
|
|
798
821
|
#
|
|
799
|
-
#
|
|
800
|
-
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize
|
|
801
|
-
# with an
|
|
822
|
+
# Supports the following types of
|
|
823
|
+
# [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
|
|
824
|
+
# with an
|
|
825
|
+
# [authorization
|
|
802
826
|
# scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
|
|
803
827
|
# appropriate for reading the requested data:
|
|
804
828
|
#
|
|
805
|
-
#
|
|
806
|
-
#
|
|
807
|
-
#
|
|
808
|
-
#
|
|
809
|
-
#
|
|
810
|
-
#
|
|
811
|
-
#
|
|
812
|
-
#
|
|
829
|
+
# - [App
|
|
830
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
|
831
|
+
# with [administrator
|
|
832
|
+
# approval](https://support.google.com/a?p=chat-app-auth) in
|
|
833
|
+
# [Developer Preview](https://developers.google.com/workspace/preview)
|
|
834
|
+
# with one of the following authorization scopes:
|
|
835
|
+
# - `https://www.googleapis.com/auth/chat.app.spaces`
|
|
836
|
+
# - `https://www.googleapis.com/auth/chat.app.messages.readonly`
|
|
837
|
+
# - `https://www.googleapis.com/auth/chat.app.memberships`
|
|
838
|
+
#
|
|
839
|
+
# - [User
|
|
840
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
|
841
|
+
# with one of the following authorization scopes:
|
|
842
|
+
# - `https://www.googleapis.com/auth/chat.spaces.readonly`
|
|
843
|
+
# - `https://www.googleapis.com/auth/chat.spaces`
|
|
844
|
+
# - `https://www.googleapis.com/auth/chat.messages.readonly`
|
|
845
|
+
# - `https://www.googleapis.com/auth/chat.messages`
|
|
846
|
+
# - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
|
|
847
|
+
# - `https://www.googleapis.com/auth/chat.messages.reactions`
|
|
848
|
+
# - `https://www.googleapis.com/auth/chat.memberships.readonly`
|
|
849
|
+
# - `https://www.googleapis.com/auth/chat.memberships`
|
|
813
850
|
#
|
|
814
|
-
# To get an event, the authenticated
|
|
851
|
+
# To get an event, the authenticated caller must be a member of the space.
|
|
815
852
|
#
|
|
816
853
|
# For an example, see [Get details about an
|
|
817
854
|
# event from a Google Chat
|
|
@@ -825,22 +862,36 @@ module Google
|
|
|
825
862
|
# removed during the requested period, the event payload contains an empty
|
|
826
863
|
# `Membership` resource.
|
|
827
864
|
#
|
|
828
|
-
#
|
|
829
|
-
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize
|
|
830
|
-
# with an
|
|
865
|
+
# Supports the following types of
|
|
866
|
+
# [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
|
|
867
|
+
# with an
|
|
868
|
+
# [authorization
|
|
831
869
|
# scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
|
|
832
870
|
# appropriate for reading the requested data:
|
|
833
871
|
#
|
|
834
|
-
#
|
|
835
|
-
#
|
|
836
|
-
#
|
|
837
|
-
#
|
|
838
|
-
#
|
|
839
|
-
#
|
|
840
|
-
#
|
|
841
|
-
#
|
|
872
|
+
# - [App
|
|
873
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
|
874
|
+
# with [administrator
|
|
875
|
+
# approval](https://support.google.com/a?p=chat-app-auth) in
|
|
876
|
+
# [Developer Preview](https://developers.google.com/workspace/preview)
|
|
877
|
+
# with one of the following authorization scopes:
|
|
878
|
+
# - `https://www.googleapis.com/auth/chat.app.spaces`
|
|
879
|
+
# - `https://www.googleapis.com/auth/chat.app.messages.readonly`
|
|
880
|
+
# - `https://www.googleapis.com/auth/chat.app.memberships`
|
|
881
|
+
#
|
|
882
|
+
# - [User
|
|
883
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
|
884
|
+
# with one of the following authorization scopes:
|
|
885
|
+
# - `https://www.googleapis.com/auth/chat.spaces.readonly`
|
|
886
|
+
# - `https://www.googleapis.com/auth/chat.spaces`
|
|
887
|
+
# - `https://www.googleapis.com/auth/chat.messages.readonly`
|
|
888
|
+
# - `https://www.googleapis.com/auth/chat.messages`
|
|
889
|
+
# - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
|
|
890
|
+
# - `https://www.googleapis.com/auth/chat.messages.reactions`
|
|
891
|
+
# - `https://www.googleapis.com/auth/chat.memberships.readonly`
|
|
892
|
+
# - `https://www.googleapis.com/auth/chat.memberships`
|
|
842
893
|
#
|
|
843
|
-
# To list events, the authenticated
|
|
894
|
+
# To list events, the authenticated caller must be a member of the space.
|
|
844
895
|
#
|
|
845
896
|
# For an example, see [List events from a Google Chat
|
|
846
897
|
# space](https://developers.google.com/workspace/chat/list-space-events).
|
|
@@ -185,6 +185,11 @@ module Google
|
|
|
185
185
|
# A Chat space rich link type. For example, a space smart chip.
|
|
186
186
|
CHAT_SPACE = 2
|
|
187
187
|
|
|
188
|
+
# A Gmail message rich link type. Specifically, a Gmail chip from [Share to
|
|
189
|
+
# Chat](https://support.google.com/chat?p=chat_gmail). The API only
|
|
190
|
+
# supports reading messages with GMAIL_MESSAGE rich links.
|
|
191
|
+
GMAIL_MESSAGE = 3
|
|
192
|
+
|
|
188
193
|
# A Meet message rich link type. For example, a Meet chip.
|
|
189
194
|
MEET_SPACE = 4
|
|
190
195
|
|
|
@@ -24,8 +24,9 @@ module Google
|
|
|
24
24
|
# An attachment in Google Chat.
|
|
25
25
|
# @!attribute [rw] name
|
|
26
26
|
# @return [::String]
|
|
27
|
-
#
|
|
28
|
-
#
|
|
27
|
+
# Identifier. Resource name of the attachment.
|
|
28
|
+
#
|
|
29
|
+
# Format: `spaces/{space}/messages/{message}/attachments/{attachment}`.
|
|
29
30
|
# @!attribute [r] content_name
|
|
30
31
|
# @return [::String]
|
|
31
32
|
# Output only. The original file name for the content, not the full path.
|
|
@@ -114,7 +114,7 @@ module Google
|
|
|
114
114
|
# Event type: `google.workspace.chat.message.v1.deleted`
|
|
115
115
|
# @!attribute [rw] message
|
|
116
116
|
# @return [::Google::Apps::Chat::V1::Message]
|
|
117
|
-
# The deleted message. Only the `name`, `createTime`,
|
|
117
|
+
# The deleted message. Only the `name`, `createTime`, and
|
|
118
118
|
# `deletionMetadata` fields are populated.
|
|
119
119
|
class MessageDeletedEventData
|
|
120
120
|
include ::Google::Protobuf::MessageExts
|
|
@@ -98,6 +98,8 @@ module Google
|
|
|
98
98
|
# This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
|
|
99
99
|
# face emoji.
|
|
100
100
|
#
|
|
101
|
+
# * Bullet list items using asterisks (`*`)—for example, `* item`.
|
|
102
|
+
#
|
|
101
103
|
# For more information, see [View text formatting sent in a
|
|
102
104
|
# message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
|
|
103
105
|
# @!attribute [rw] cards
|
|
@@ -191,8 +193,6 @@ module Google
|
|
|
191
193
|
# and omit the following:
|
|
192
194
|
#
|
|
193
195
|
# * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
|
|
194
|
-
# * [Accessory
|
|
195
|
-
# widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
|
|
196
196
|
#
|
|
197
197
|
# For details, see [Send a message
|
|
198
198
|
# privately](https://developers.google.com/workspace/chat/create-messages#private).
|
|
@@ -137,7 +137,8 @@ module Google
|
|
|
137
137
|
# Private apps can also use the `customers/my_customer` alias to create
|
|
138
138
|
# the space in the same Google Workspace organization as the app.
|
|
139
139
|
#
|
|
140
|
-
#
|
|
140
|
+
# This field isn't populated for direct messages (DMs) or when the space is
|
|
141
|
+
# created by non-Google Workspace users.
|
|
141
142
|
# @!attribute [r] space_uri
|
|
142
143
|
# @return [::String]
|
|
143
144
|
# Output only. The URI for a user to access the space.
|
|
@@ -551,8 +552,10 @@ module Google
|
|
|
551
552
|
#
|
|
552
553
|
# You can update the following fields for a space:
|
|
553
554
|
#
|
|
554
|
-
# `space_details`: Updates the space's description
|
|
555
|
-
#
|
|
555
|
+
# `space_details`: Updates the space's description and guidelines. You must
|
|
556
|
+
# pass both description and guidelines in the update request as
|
|
557
|
+
# {::Google::Apps::Chat::V1::Space::SpaceDetails `SpaceDetails`}. If you only want to
|
|
558
|
+
# update one of the fields, pass the existing value for the other field.
|
|
556
559
|
#
|
|
557
560
|
# `display_name`: Only supports updating the display name for spaces where
|
|
558
561
|
# `spaceType` field is `SPACE`.
|
|
@@ -596,8 +599,7 @@ module Google
|
|
|
596
599
|
# of a space.
|
|
597
600
|
# When updating permission settings, you can only specify
|
|
598
601
|
# `permissionSettings` field masks; you cannot update other field masks
|
|
599
|
-
# at the same time.
|
|
600
|
-
# `useAdminAccess`.
|
|
602
|
+
# at the same time.
|
|
601
603
|
# The supported field masks include:
|
|
602
604
|
#
|
|
603
605
|
# - `permission_settings.manageMembersAndGroups`
|