google-apps-chat-v1 0.16.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.
@@ -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. If you list messages from a
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
- # Requires [user
91
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
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
- # - `https://www.googleapis.com/auth/chat.messages.readonly`
96
- # - `https://www.googleapis.com/auth/chat.messages`
97
- # - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)
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 scope:
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
- # Requires [user
800
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
801
- # with an [authorization
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
- # - `https://www.googleapis.com/auth/chat.spaces.readonly`
806
- # - `https://www.googleapis.com/auth/chat.spaces`
807
- # - `https://www.googleapis.com/auth/chat.messages.readonly`
808
- # - `https://www.googleapis.com/auth/chat.messages`
809
- # - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
810
- # - `https://www.googleapis.com/auth/chat.messages.reactions`
811
- # - `https://www.googleapis.com/auth/chat.memberships.readonly`
812
- # - `https://www.googleapis.com/auth/chat.memberships`
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 user must be a member of the space.
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
- # Requires [user
829
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
830
- # with an [authorization
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
- # - `https://www.googleapis.com/auth/chat.spaces.readonly`
835
- # - `https://www.googleapis.com/auth/chat.spaces`
836
- # - `https://www.googleapis.com/auth/chat.messages.readonly`
837
- # - `https://www.googleapis.com/auth/chat.messages`
838
- # - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
839
- # - `https://www.googleapis.com/auth/chat.messages.reactions`
840
- # - `https://www.googleapis.com/auth/chat.memberships.readonly`
841
- # - `https://www.googleapis.com/auth/chat.memberships`
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 user must be a member of the space.
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).
@@ -12,7 +12,7 @@ require 'google/protobuf/field_mask_pb'
12
12
  require 'google/protobuf/timestamp_pb'
13
13
 
14
14
 
15
- descriptor_data = "\n\x1fgoogle/chat/v1/membership.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1agoogle/chat/v1/group.proto\x1a\x19google/chat/v1/user.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfa\x04\n\nMembership\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12>\n\x05state\x18\x02 \x01(\x0e\x32*.google.chat.v1.Membership.MembershipStateB\x03\xe0\x41\x03\x12<\n\x04role\x18\x07 \x01(\x0e\x32).google.chat.v1.Membership.MembershipRoleB\x03\xe0\x41\x01\x12+\n\x06member\x18\x03 \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x01H\x00\x12\x32\n\x0cgroup_member\x18\x05 \x01(\x0b\x32\x15.google.chat.v1.GroupB\x03\xe0\x41\x01H\x00\x12\x37\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\x12\x37\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\"^\n\x0fMembershipState\x12 \n\x1cMEMBERSHIP_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06JOINED\x10\x01\x12\x0b\n\x07INVITED\x10\x02\x12\x10\n\x0cNOT_A_MEMBER\x10\x03\"T\n\x0eMembershipRole\x12\x1f\n\x1bMEMBERSHIP_ROLE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bROLE_MEMBER\x10\x01\x12\x10\n\x0cROLE_MANAGER\x10\x02:D\xea\x41\x41\n\x1e\x63hat.googleapis.com/Membership\x12\x1fspaces/{space}/members/{member}B\x0c\n\nmemberType\"\xa5\x01\n\x17\x43reateMembershipRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63hat.googleapis.com/Membership\x12\x33\n\nmembership\x18\x02 \x01(\x0b\x32\x1a.google.chat.v1.MembershipB\x03\xe0\x41\x02\x12\x1d\n\x10use_admin_access\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xa3\x01\n\x17UpdateMembershipRequest\x12\x33\n\nmembership\x18\x01 \x01(\x0b\x32\x1a.google.chat.v1.MembershipB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1d\n\x10use_admin_access\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xea\x01\n\x16ListMembershipsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63hat.googleapis.com/Membership\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bshow_groups\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x19\n\x0cshow_invited\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1d\n\x10use_admin_access\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\"h\n\x17ListMembershipsResponse\x12\x34\n\x0bmemberships\x18\x01 \x03(\x0b\x32\x1a.google.chat.v1.MembershipB\x03\xe0\x41\x06\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"k\n\x14GetMembershipRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/Membership\x12\x1d\n\x10use_admin_access\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"n\n\x17\x44\x65leteMembershipRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/Membership\x12\x1d\n\x10use_admin_access\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x42\xa8\x01\n\x12\x63om.google.chat.v1B\x0fMembershipProtoP\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
+ descriptor_data = "\n\x1fgoogle/chat/v1/membership.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1agoogle/chat/v1/group.proto\x1a\x19google/chat/v1/user.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x96\x05\n\nMembership\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12>\n\x05state\x18\x02 \x01(\x0e\x32*.google.chat.v1.Membership.MembershipStateB\x03\xe0\x41\x03\x12<\n\x04role\x18\x07 \x01(\x0e\x32).google.chat.v1.Membership.MembershipRoleB\x03\xe0\x41\x01\x12+\n\x06member\x18\x03 \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x01H\x00\x12\x32\n\x0cgroup_member\x18\x05 \x01(\x0b\x32\x15.google.chat.v1.GroupB\x03\xe0\x41\x01H\x00\x12\x37\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\x12\x37\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\"^\n\x0fMembershipState\x12 \n\x1cMEMBERSHIP_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06JOINED\x10\x01\x12\x0b\n\x07INVITED\x10\x02\x12\x10\n\x0cNOT_A_MEMBER\x10\x03\"p\n\x0eMembershipRole\x12\x1f\n\x1bMEMBERSHIP_ROLE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bROLE_MEMBER\x10\x01\x12\x10\n\x0cROLE_MANAGER\x10\x02\x12\x1a\n\x16ROLE_ASSISTANT_MANAGER\x10\x04:D\xea\x41\x41\n\x1e\x63hat.googleapis.com/Membership\x12\x1fspaces/{space}/members/{member}B\x0c\n\nmemberType\"\xa5\x01\n\x17\x43reateMembershipRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63hat.googleapis.com/Membership\x12\x33\n\nmembership\x18\x02 \x01(\x0b\x32\x1a.google.chat.v1.MembershipB\x03\xe0\x41\x02\x12\x1d\n\x10use_admin_access\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xa3\x01\n\x17UpdateMembershipRequest\x12\x33\n\nmembership\x18\x01 \x01(\x0b\x32\x1a.google.chat.v1.MembershipB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1d\n\x10use_admin_access\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xea\x01\n\x16ListMembershipsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63hat.googleapis.com/Membership\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bshow_groups\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x19\n\x0cshow_invited\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1d\n\x10use_admin_access\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\"h\n\x17ListMembershipsResponse\x12\x34\n\x0bmemberships\x18\x01 \x03(\x0b\x32\x1a.google.chat.v1.MembershipB\x03\xe0\x41\x06\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"k\n\x14GetMembershipRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/Membership\x12\x1d\n\x10use_admin_access\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"n\n\x17\x44\x65leteMembershipRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/Membership\x12\x1d\n\x10use_admin_access\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x42\xa8\x01\n\x12\x63om.google.chat.v1B\x0fMembershipProtoP\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"
16
16
 
17
17
  pool = Google::Protobuf::DescriptorPool.generated_pool
18
18
 
@@ -11,7 +11,7 @@ require 'google/protobuf/field_mask_pb'
11
11
  require 'google/protobuf/timestamp_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n\x1agoogle/chat/v1/space.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/chat/v1/history_state.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xff\x15\n\x05Space\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12/\n\x04type\x18\x02 \x01(\x0e\x32\x1a.google.chat.v1.Space.TypeB\x05\x18\x01\xe0\x41\x03\x12\x38\n\nspace_type\x18\n \x01(\x0e\x32\x1f.google.chat.v1.Space.SpaceTypeB\x03\xe0\x41\x01\x12\x1f\n\x12single_user_bot_dm\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x17\n\x08threaded\x18\x05 \x01(\x08\x42\x05\x18\x01\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12%\n\x15\x65xternal_user_allowed\x18\x08 \x01(\x08\x42\x06\xe0\x41\x05\xe0\x41\x01\x12M\n\x15space_threading_state\x18\t \x01(\x0e\x32).google.chat.v1.Space.SpaceThreadingStateB\x03\xe0\x41\x03\x12>\n\rspace_details\x18\x0b \x01(\x0b\x32\".google.chat.v1.Space.SpaceDetailsB\x03\xe0\x41\x01\x12>\n\x13space_history_state\x18\r \x01(\x0e\x32\x1c.google.chat.v1.HistoryStateB\x03\xe0\x41\x01\x12\x18\n\x0bimport_mode\x18\x10 \x01(\x08\x42\x03\xe0\x41\x01\x12\x37\n\x0b\x63reate_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\x12\x39\n\x10last_active_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1c\n\x0f\x61\x64min_installed\x18\x13 \x01(\x08\x42\x03\xe0\x41\x03\x12\x44\n\x10membership_count\x18\x14 \x01(\x0b\x32%.google.chat.v1.Space.MembershipCountB\x03\xe0\x41\x03\x12\x42\n\x0f\x61\x63\x63\x65ss_settings\x18\x17 \x01(\x0b\x32$.google.chat.v1.Space.AccessSettingsB\x03\xe0\x41\x01\x12\x1d\n\x08\x63ustomer\x18\x18 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x01H\x01\x88\x01\x01\x12\x16\n\tspace_uri\x18\x19 \x01(\tB\x03\xe0\x41\x03\x12\x64\n\x1epredefined_permission_settings\x18\x1a \x01(\x0e\x32\x32.google.chat.v1.Space.PredefinedPermissionSettingsB\x06\xe0\x41\x04\xe0\x41\x01H\x00\x12L\n\x13permission_settings\x18\x1b \x01(\x0b\x32(.google.chat.v1.Space.PermissionSettingsB\x03\xe0\x41\x01H\x00\x12@\n\x17import_mode_expire_time\x18\x1c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a\x41\n\x0cSpaceDetails\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nguidelines\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a_\n\x0fMembershipCount\x12+\n\x1ejoined_direct_human_user_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1f\n\x12joined_group_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x1a\xc0\x01\n\x0e\x41\x63\x63\x65ssSettings\x12K\n\x0c\x61\x63\x63\x65ss_state\x18\x01 \x01(\x0e\x32\x30.google.chat.v1.Space.AccessSettings.AccessStateB\x03\xe0\x41\x03\x12\x15\n\x08\x61udience\x18\x03 \x01(\tB\x03\xe0\x41\x01\"J\n\x0b\x41\x63\x63\x65ssState\x12\x1c\n\x18\x41\x43\x43\x45SS_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIVATE\x10\x01\x12\x10\n\x0c\x44ISCOVERABLE\x10\x02\x1a\xa8\x06\n\x12PermissionSettings\x12T\n\x19manage_members_and_groups\x18\x01 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12O\n\x14modify_space_details\x18\x02 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12I\n\x0etoggle_history\x18\x03 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x02\x88\x01\x01\x12M\n\x12use_at_mention_all\x18\x04 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x03\x88\x01\x01\x12\x46\n\x0bmanage_apps\x18\x05 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x04\x88\x01\x01\x12J\n\x0fmanage_webhooks\x18\x06 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x05\x88\x01\x01\x12H\n\rpost_messages\x18\x07 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x03H\x06\x88\x01\x01\x12I\n\x0ereply_messages\x18\x08 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x07\x88\x01\x01\x42\x1c\n\x1a_manage_members_and_groupsB\x17\n\x15_modify_space_detailsB\x11\n\x0f_toggle_historyB\x15\n\x13_use_at_mention_allB\x0e\n\x0c_manage_appsB\x12\n\x10_manage_webhooksB\x10\n\x0e_post_messagesB\x11\n\x0f_reply_messages\x1aP\n\x11PermissionSetting\x12\x1d\n\x10managers_allowed\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1c\n\x0fmembers_allowed\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\".\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04ROOM\x10\x01\x12\x06\n\x02\x44M\x10\x02\"V\n\tSpaceType\x12\x1a\n\x16SPACE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05SPACE\x10\x01\x12\x0e\n\nGROUP_CHAT\x10\x02\x12\x12\n\x0e\x44IRECT_MESSAGE\x10\x03\"\x82\x01\n\x13SpaceThreadingState\x12%\n!SPACE_THREADING_STATE_UNSPECIFIED\x10\x00\x12\x15\n\x11THREADED_MESSAGES\x10\x02\x12\x14\n\x10GROUPED_MESSAGES\x10\x03\x12\x17\n\x13UNTHREADED_MESSAGES\x10\x04\"\x7f\n\x1cPredefinedPermissionSettings\x12.\n*PREDEFINED_PERMISSION_SETTINGS_UNSPECIFIED\x10\x00\x12\x17\n\x13\x43OLLABORATION_SPACE\x10\x01\x12\x16\n\x12\x41NNOUNCEMENT_SPACE\x10\x02:.\xea\x41+\n\x19\x63hat.googleapis.com/Space\x12\x0espaces/{space}B\x1b\n\x19space_permission_settingsB\x0b\n\t_customer\"X\n\x12\x43reateSpaceRequest\x12)\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"Y\n\x11ListSpacesRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"T\n\x12ListSpacesResponse\x12%\n\x06spaces\x18\x01 \x03(\x0b\x32\x15.google.chat.v1.Space\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"a\n\x0fGetSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x1d\n\x10use_admin_access\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"-\n\x18\x46indDirectMessageRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x94\x01\n\x12UpdateSpaceRequest\x12)\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1d\n\x10use_admin_access\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x81\x01\n\x13SearchSpacesRequest\x12\x18\n\x10use_admin_access\x18\x01 \x01(\x08\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x12\n\x05query\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"j\n\x14SearchSpacesResponse\x12%\n\x06spaces\x18\x01 \x03(\x0b\x32\x15.google.chat.v1.Space\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"d\n\x12\x44\x65leteSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x1d\n\x10use_admin_access\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"M\n\x1a\x43ompleteImportSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\"C\n\x1b\x43ompleteImportSpaceResponse\x12$\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\xa3\x01\n\x12\x63om.google.chat.v1B\nSpaceProtoP\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"
14
+ descriptor_data = "\n\x1agoogle/chat/v1/space.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/chat/v1/history_state.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcd\x16\n\x05Space\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12/\n\x04type\x18\x02 \x01(\x0e\x32\x1a.google.chat.v1.Space.TypeB\x05\x18\x01\xe0\x41\x03\x12\x38\n\nspace_type\x18\n \x01(\x0e\x32\x1f.google.chat.v1.Space.SpaceTypeB\x03\xe0\x41\x01\x12\x1f\n\x12single_user_bot_dm\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x17\n\x08threaded\x18\x05 \x01(\x08\x42\x05\x18\x01\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12%\n\x15\x65xternal_user_allowed\x18\x08 \x01(\x08\x42\x06\xe0\x41\x05\xe0\x41\x01\x12M\n\x15space_threading_state\x18\t \x01(\x0e\x32).google.chat.v1.Space.SpaceThreadingStateB\x03\xe0\x41\x03\x12>\n\rspace_details\x18\x0b \x01(\x0b\x32\".google.chat.v1.Space.SpaceDetailsB\x03\xe0\x41\x01\x12>\n\x13space_history_state\x18\r \x01(\x0e\x32\x1c.google.chat.v1.HistoryStateB\x03\xe0\x41\x01\x12\x18\n\x0bimport_mode\x18\x10 \x01(\x08\x42\x03\xe0\x41\x01\x12\x37\n\x0b\x63reate_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\x12\x39\n\x10last_active_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1c\n\x0f\x61\x64min_installed\x18\x13 \x01(\x08\x42\x03\xe0\x41\x03\x12\x44\n\x10membership_count\x18\x14 \x01(\x0b\x32%.google.chat.v1.Space.MembershipCountB\x03\xe0\x41\x03\x12\x42\n\x0f\x61\x63\x63\x65ss_settings\x18\x17 \x01(\x0b\x32$.google.chat.v1.Space.AccessSettingsB\x03\xe0\x41\x01\x12\x1d\n\x08\x63ustomer\x18\x18 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x01H\x01\x88\x01\x01\x12\x16\n\tspace_uri\x18\x19 \x01(\tB\x03\xe0\x41\x03\x12\x64\n\x1epredefined_permission_settings\x18\x1a \x01(\x0e\x32\x32.google.chat.v1.Space.PredefinedPermissionSettingsB\x06\xe0\x41\x04\xe0\x41\x01H\x00\x12L\n\x13permission_settings\x18\x1b \x01(\x0b\x32(.google.chat.v1.Space.PermissionSettingsB\x03\xe0\x41\x01H\x00\x12@\n\x17import_mode_expire_time\x18\x1c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a\x41\n\x0cSpaceDetails\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nguidelines\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a_\n\x0fMembershipCount\x12+\n\x1ejoined_direct_human_user_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1f\n\x12joined_group_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x1a\xc0\x01\n\x0e\x41\x63\x63\x65ssSettings\x12K\n\x0c\x61\x63\x63\x65ss_state\x18\x01 \x01(\x0e\x32\x30.google.chat.v1.Space.AccessSettings.AccessStateB\x03\xe0\x41\x03\x12\x15\n\x08\x61udience\x18\x03 \x01(\tB\x03\xe0\x41\x01\"J\n\x0b\x41\x63\x63\x65ssState\x12\x1c\n\x18\x41\x43\x43\x45SS_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIVATE\x10\x01\x12\x10\n\x0c\x44ISCOVERABLE\x10\x02\x1a\xa8\x06\n\x12PermissionSettings\x12T\n\x19manage_members_and_groups\x18\x01 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12O\n\x14modify_space_details\x18\x02 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12I\n\x0etoggle_history\x18\x03 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x02\x88\x01\x01\x12M\n\x12use_at_mention_all\x18\x04 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x03\x88\x01\x01\x12\x46\n\x0bmanage_apps\x18\x05 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x04\x88\x01\x01\x12J\n\x0fmanage_webhooks\x18\x06 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x05\x88\x01\x01\x12H\n\rpost_messages\x18\x07 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x03H\x06\x88\x01\x01\x12I\n\x0ereply_messages\x18\x08 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x07\x88\x01\x01\x42\x1c\n\x1a_manage_members_and_groupsB\x17\n\x15_modify_space_detailsB\x11\n\x0f_toggle_historyB\x15\n\x13_use_at_mention_allB\x0e\n\x0c_manage_appsB\x12\n\x10_manage_webhooksB\x10\n\x0e_post_messagesB\x11\n\x0f_reply_messages\x1a\x9d\x01\n\x11PermissionSetting\x12\x1d\n\x10managers_allowed\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12,\n\x1a\x61ssistant_managers_allowed\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1c\n\x0fmembers_allowed\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x42\x1d\n\x1b_assistant_managers_allowed\".\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04ROOM\x10\x01\x12\x06\n\x02\x44M\x10\x02\"V\n\tSpaceType\x12\x1a\n\x16SPACE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05SPACE\x10\x01\x12\x0e\n\nGROUP_CHAT\x10\x02\x12\x12\n\x0e\x44IRECT_MESSAGE\x10\x03\"\x82\x01\n\x13SpaceThreadingState\x12%\n!SPACE_THREADING_STATE_UNSPECIFIED\x10\x00\x12\x15\n\x11THREADED_MESSAGES\x10\x02\x12\x14\n\x10GROUPED_MESSAGES\x10\x03\x12\x17\n\x13UNTHREADED_MESSAGES\x10\x04\"\x7f\n\x1cPredefinedPermissionSettings\x12.\n*PREDEFINED_PERMISSION_SETTINGS_UNSPECIFIED\x10\x00\x12\x17\n\x13\x43OLLABORATION_SPACE\x10\x01\x12\x16\n\x12\x41NNOUNCEMENT_SPACE\x10\x02:.\xea\x41+\n\x19\x63hat.googleapis.com/Space\x12\x0espaces/{space}B\x1b\n\x19space_permission_settingsB\x0b\n\t_customer\"X\n\x12\x43reateSpaceRequest\x12)\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"Y\n\x11ListSpacesRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"T\n\x12ListSpacesResponse\x12%\n\x06spaces\x18\x01 \x03(\x0b\x32\x15.google.chat.v1.Space\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"a\n\x0fGetSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x1d\n\x10use_admin_access\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"-\n\x18\x46indDirectMessageRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x94\x01\n\x12UpdateSpaceRequest\x12)\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1d\n\x10use_admin_access\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x81\x01\n\x13SearchSpacesRequest\x12\x18\n\x10use_admin_access\x18\x01 \x01(\x08\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x12\n\x05query\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"j\n\x14SearchSpacesResponse\x12%\n\x06spaces\x18\x01 \x03(\x0b\x32\x15.google.chat.v1.Space\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"d\n\x12\x44\x65leteSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x1d\n\x10use_admin_access\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"M\n\x1a\x43ompleteImportSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\"C\n\x1b\x43ompleteImportSpaceResponse\x12$\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\xa3\x01\n\x12\x63om.google.chat.v1B\nSpaceProtoP\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