google-apps-chat-v1 0.6.0 → 0.7.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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Apps
22
22
  module Chat
23
23
  module V1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.7.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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\"\xf3\x03\n\nAttachment\x12\x0c\n\x04name\x18\x01 \x01(\t\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@\n\x13\x61ttachment_data_ref\x18\x04 \x01(\x0b\x32!.google.chat.v1.AttachmentDataRefH\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\"K\n\x11\x41ttachmentDataRef\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x1f\n\x17\x61ttachment_upload_token\x18\x02 \x01(\t\"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"
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\x01\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
 
@@ -37,8 +37,11 @@ module Google
37
37
  # Creates a message in a Google Chat space. For an example, see [Send a
38
38
  # message](https://developers.google.com/workspace/chat/create-messages).
39
39
  #
40
- # The `create()` method requires either user or app authentication. Chat
41
- # attributes the message sender differently depending on the type of
40
+ # The `create()` method requires either [user
41
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
42
+ # or [app
43
+ # authentication](https://developers.google.com/workspace/chat/authorize-import).
44
+ # Chat attributes the message sender differently depending on the type of
42
45
  # authentication that you use in your request.
43
46
  #
44
47
  # The following image shows how Chat attributes a message when you use app
@@ -58,6 +61,12 @@ module Google
58
61
  # authentication](https://developers.google.com/workspace/chat/images/message-user-auth.svg)
59
62
  #
60
63
  # The maximum message size, including the message contents, is 32,000 bytes.
64
+ #
65
+ # For
66
+ # [webhook](https://developers.google.com/workspace/chat/quickstart/webhooks)
67
+ # requests, the response doesn't contain the full message. The response only
68
+ # populates the `name` and `thread.name` fields in addition to the
69
+ # information that was in the request.
61
70
  rpc :CreateMessage, ::Google::Apps::Chat::V1::CreateMessageRequest, ::Google::Apps::Chat::V1::Message
62
71
  # Lists messages in a space that the caller is a member of, including
63
72
  # messages from blocked members and spaces. If you list messages from a
@@ -66,6 +75,7 @@ module Google
66
75
  # For an example, see
67
76
  # [List
68
77
  # messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list).
78
+ #
69
79
  # Requires [user
70
80
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
71
81
  rpc :ListMessages, ::Google::Apps::Chat::V1::ListMessagesRequest, ::Google::Apps::Chat::V1::ListMessagesResponse
@@ -81,37 +91,44 @@ module Google
81
91
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
82
92
  # lists memberships in spaces that the authenticated user has access to.
83
93
  #
84
- # Requires
85
- # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
86
- # Supports
87
- # [app
94
+ # Supports the following types of
95
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
96
+ #
97
+ # - [App
88
98
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
89
- # and [user
90
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
99
+ #
100
+ # - [User
101
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
102
+ # You can authenticate and authorize this method with administrator
103
+ # privileges by setting the `use_admin_access` field in the request.
91
104
  rpc :ListMemberships, ::Google::Apps::Chat::V1::ListMembershipsRequest, ::Google::Apps::Chat::V1::ListMembershipsResponse
92
105
  # Returns details about a membership. For an example, see
93
106
  # [Get details about a user's or Google Chat app's
94
107
  # membership](https://developers.google.com/workspace/chat/get-members).
95
108
  #
96
- # Requires
97
- # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
98
- # Supports
99
- # [app
109
+ # Supports the following types of
110
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
111
+ #
112
+ # - [App
100
113
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
101
- # and [user
102
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
114
+ #
115
+ # - [User
116
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
117
+ # You can authenticate and authorize this method with administrator
118
+ # privileges by setting the `use_admin_access` field in the request.
103
119
  rpc :GetMembership, ::Google::Apps::Chat::V1::GetMembershipRequest, ::Google::Apps::Chat::V1::Membership
104
120
  # Returns details about a message.
105
121
  # For an example, see [Get details about a
106
122
  # message](https://developers.google.com/workspace/chat/get-messages).
107
123
  #
108
- # Requires
109
- # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
110
- # Supports
111
- # [app
124
+ # Supports the following types of
125
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
126
+ #
127
+ # - [App
112
128
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
113
- # and [user
114
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
129
+ #
130
+ # - [User
131
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
115
132
  #
116
133
  # Note: Might return a message from a blocked member or space.
117
134
  rpc :GetMessage, ::Google::Apps::Chat::V1::GetMessageRequest, ::Google::Apps::Chat::V1::Message
@@ -122,13 +139,15 @@ module Google
122
139
  # [Update a
123
140
  # message](https://developers.google.com/workspace/chat/update-messages).
124
141
  #
125
- # Requires
126
- # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
127
- # Supports
128
- # [app
142
+ # Supports the following types of
143
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
144
+ #
145
+ # - [App
129
146
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
130
- # and [user
131
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
147
+ #
148
+ # - [User
149
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
150
+ #
132
151
  # When using app authentication, requests can only update messages
133
152
  # created by the calling Chat app.
134
153
  rpc :UpdateMessage, ::Google::Apps::Chat::V1::UpdateMessageRequest, ::Google::Apps::Chat::V1::Message
@@ -136,13 +155,15 @@ module Google
136
155
  # For an example, see [Delete a
137
156
  # message](https://developers.google.com/workspace/chat/delete-messages).
138
157
  #
139
- # Requires
140
- # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
141
- # Supports
142
- # [app
158
+ # Supports the following types of
159
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
160
+ #
161
+ # - [App
143
162
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
144
- # and [user
145
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
163
+ #
164
+ # - [User
165
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
166
+ #
146
167
  # When using app authentication, requests can only delete messages
147
168
  # created by the calling Chat app.
148
169
  rpc :DeleteMessage, ::Google::Apps::Chat::V1::DeleteMessageRequest, ::Google::Protobuf::Empty
@@ -158,6 +179,7 @@ module Google
158
179
  # Uploads an attachment. For an example, see
159
180
  # [Upload media as a file
160
181
  # attachment](https://developers.google.com/workspace/chat/upload-media-attachments).
182
+ #
161
183
  # Requires user
162
184
  # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
163
185
  #
@@ -170,23 +192,23 @@ module Google
170
192
  # [List
171
193
  # spaces](https://developers.google.com/workspace/chat/list-spaces).
172
194
  #
173
- # Requires
174
- # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
175
- # Supports
176
- # [app
195
+ # Supports the following types of
196
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
197
+ #
198
+ # - [App
177
199
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
178
- # and [user
179
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
180
200
  #
181
- # Lists spaces visible to the caller or authenticated user. Group chats
182
- # and DMs aren't listed until the first message is sent.
201
+ # - [User
202
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
183
203
  #
184
204
  # To list all named spaces by Google Workspace organization, use the
185
205
  # [`spaces.search()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/search)
186
206
  # method using Workspace administrator privileges instead.
187
207
  rpc :ListSpaces, ::Google::Apps::Chat::V1::ListSpacesRequest, ::Google::Apps::Chat::V1::ListSpacesResponse
188
208
  # Returns a list of spaces in a Google Workspace organization based on an
189
- # administrator's search. Requires [user
209
+ # administrator's search.
210
+ #
211
+ # Requires [user
190
212
  # authentication with administrator
191
213
  # privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges).
192
214
  # In the request, set `use_admin_access` to `true`.
@@ -195,29 +217,38 @@ module Google
195
217
  # [Get details about a
196
218
  # space](https://developers.google.com/workspace/chat/get-spaces).
197
219
  #
198
- # Requires
199
- # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize).
200
- # Supports
201
- # [app
220
+ # Supports the following types of
221
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
222
+ #
223
+ # - [App
202
224
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
203
- # and [user
204
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
225
+ #
226
+ # - [User
227
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
228
+ # You can authenticate and authorize this method with administrator
229
+ # privileges by setting the `use_admin_access` field in the request.
205
230
  rpc :GetSpace, ::Google::Apps::Chat::V1::GetSpaceRequest, ::Google::Apps::Chat::V1::Space
206
- # Creates a space with no members. Can be used to create a named space.
207
- # Spaces grouped by topics aren't supported. For an example, see
208
- # [Create a
231
+ # Creates a space with no members. Can be used to create a named space, or a
232
+ # group chat in `Import mode`. For an example, see [Create a
209
233
  # space](https://developers.google.com/workspace/chat/create-spaces).
210
234
  #
211
235
  # If you receive the error message `ALREADY_EXISTS` when creating
212
236
  # a space, try a different `displayName`. An existing space within
213
237
  # the Google Workspace organization might already use this display name.
214
238
  #
215
- # If you're a member of the [Developer Preview
216
- # program](https://developers.google.com/workspace/preview), you can create a
217
- # group chat in import mode using `spaceType.GROUP_CHAT`.
239
+ # Supports the following types of
240
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
218
241
  #
219
- # Requires [user
220
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
242
+ # - [App
243
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
244
+ # with [administrator approval](https://support.google.com/a?p=chat-app-auth)
245
+ # in [Developer Preview](https://developers.google.com/workspace/preview)
246
+ #
247
+ # - [User
248
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
249
+ #
250
+ # When authenticating as an app, the `space.customer` field must be set in
251
+ # the request.
221
252
  rpc :CreateSpace, ::Google::Apps::Chat::V1::CreateSpaceRequest, ::Google::Apps::Chat::V1::Space
222
253
  # Creates a space and adds specified users to it. The calling user is
223
254
  # automatically added to the space, and shouldn't be specified as a
@@ -280,23 +311,46 @@ module Google
280
311
  # `ALREADY_EXISTS`, try a different display name.. An existing space within
281
312
  # the Google Workspace organization might already use this display name.
282
313
  #
283
- # Requires [user
284
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
314
+ # Supports the following types of
315
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
316
+ #
317
+ # - [App
318
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
319
+ # with [administrator approval](https://support.google.com/a?p=chat-app-auth)
320
+ # in [Developer Preview](https://developers.google.com/workspace/preview)
321
+ #
322
+ # - [User
323
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
324
+ # You can authenticate and authorize this method with administrator
325
+ # privileges by setting the `use_admin_access` field in the request.
285
326
  rpc :UpdateSpace, ::Google::Apps::Chat::V1::UpdateSpaceRequest, ::Google::Apps::Chat::V1::Space
286
327
  # Deletes a named space. Always performs a cascading delete, which means
287
328
  # that the space's child resources—like messages posted in the space and
288
329
  # memberships in the space—are also deleted. For an example, see
289
330
  # [Delete a
290
331
  # space](https://developers.google.com/workspace/chat/delete-spaces).
291
- # Requires [user
332
+ #
333
+ # Supports the following types of
334
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
335
+ #
336
+ # - [App
337
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
338
+ # with [administrator approval](https://support.google.com/a?p=chat-app-auth)
339
+ # in [Developer Preview](https://developers.google.com/workspace/preview)
340
+ #
341
+ # - [User
292
342
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
293
- # from a user who has permission to delete the space.
343
+ # You can authenticate and authorize this method with administrator
344
+ # privileges by setting the `use_admin_access` field in the request.
294
345
  rpc :DeleteSpace, ::Google::Apps::Chat::V1::DeleteSpaceRequest, ::Google::Protobuf::Empty
295
346
  # Completes the
296
347
  # [import process](https://developers.google.com/workspace/chat/import-data)
297
348
  # for the specified space and makes it visible to users.
298
- # Requires app authentication and domain-wide delegation. For more
299
- # information, see [Authorize Google Chat apps to import
349
+ #
350
+ # Requires [app
351
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
352
+ # and domain-wide delegation. For more information, see [Authorize Google
353
+ # Chat apps to import
300
354
  # data](https://developers.google.com/workspace/chat/authorize-import).
301
355
  rpc :CompleteImportSpace, ::Google::Apps::Chat::V1::CompleteImportSpaceRequest, ::Google::Apps::Chat::V1::CompleteImportSpaceResponse
302
356
  # Returns the existing direct message with the specified user. If no direct
@@ -304,20 +358,24 @@ module Google
304
358
  # see
305
359
  # [Find a direct message](/chat/api/guides/v1/spaces/find-direct-message).
306
360
  #
361
+ # With [app
362
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app),
363
+ # returns the direct message space between the specified user and the calling
364
+ # Chat app.
365
+ #
307
366
  # With [user
308
367
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
309
368
  # returns the direct message space between the specified user and the
310
369
  # authenticated user.
311
370
  #
312
- # With [app
313
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app),
314
- # returns the direct message space between the specified user and the calling
315
- # Chat app.
371
+ # // Supports the following types of
372
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
316
373
  #
317
- # Requires [user
374
+ # - [App
375
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
376
+ #
377
+ # - [User
318
378
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
319
- # or [app
320
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
321
379
  rpc :FindDirectMessage, ::Google::Apps::Chat::V1::FindDirectMessageRequest, ::Google::Apps::Chat::V1::Space
322
380
  # Creates a membership for the calling Chat app, a user, or a Google Group.
323
381
  # Creating memberships for other Chat apps isn't supported.
@@ -325,8 +383,19 @@ module Google
325
383
  # policy turned off, then they're invited, and must accept the space
326
384
  # invitation before joining. Otherwise, creating a membership adds the member
327
385
  # directly to the specified space.
328
- # Requires [user
329
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
386
+ #
387
+ # Supports the following types of
388
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
389
+ #
390
+ # - [App
391
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
392
+ # with [administrator approval](https://support.google.com/a?p=chat-app-auth)
393
+ # in [Developer Preview](https://developers.google.com/workspace/preview)
394
+ #
395
+ # - [User
396
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
397
+ # You can authenticate and authorize this method with administrator
398
+ # privileges by setting the `use_admin_access` field in the request.
330
399
  #
331
400
  # For example usage, see:
332
401
  #
@@ -342,26 +411,48 @@ module Google
342
411
  # Updates a membership. For an example, see [Update a user's membership in
343
412
  # a space](https://developers.google.com/workspace/chat/update-members).
344
413
  #
345
- # Requires [user
346
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
414
+ # Supports the following types of
415
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
416
+ #
417
+ # - [App
418
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
419
+ # with [administrator approval](https://support.google.com/a?p=chat-app-auth)
420
+ # in [Developer Preview](https://developers.google.com/workspace/preview)
421
+ #
422
+ # - [User
423
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
424
+ # You can authenticate and authorize this method with administrator
425
+ # privileges by setting the `use_admin_access` field in the request.
347
426
  rpc :UpdateMembership, ::Google::Apps::Chat::V1::UpdateMembershipRequest, ::Google::Apps::Chat::V1::Membership
348
427
  # Deletes a membership. For an example, see
349
428
  # [Remove a user or a Google Chat app from a
350
429
  # space](https://developers.google.com/workspace/chat/delete-members).
351
430
  #
352
- # Requires [user
353
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
431
+ # Supports the following types of
432
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
433
+ #
434
+ # - [App
435
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
436
+ # with [administrator approval](https://support.google.com/a?p=chat-app-auth)
437
+ # in [Developer Preview](https://developers.google.com/workspace/preview)
438
+ #
439
+ # - [User
440
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
441
+ # You can authenticate and authorize this method with administrator
442
+ # privileges by setting the `use_admin_access` field in the request.
354
443
  rpc :DeleteMembership, ::Google::Apps::Chat::V1::DeleteMembershipRequest, ::Google::Apps::Chat::V1::Membership
355
444
  # Creates a reaction and adds it to a message. Only unicode emojis are
356
445
  # supported. For an example, see
357
446
  # [Add a reaction to a
358
447
  # message](https://developers.google.com/workspace/chat/create-reactions).
448
+ #
359
449
  # Requires [user
360
450
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
361
451
  rpc :CreateReaction, ::Google::Apps::Chat::V1::CreateReactionRequest, ::Google::Apps::Chat::V1::Reaction
362
452
  # Lists reactions to a message. For an example, see
363
453
  # [List reactions for a
364
454
  # message](https://developers.google.com/workspace/chat/list-reactions).
455
+ #
365
456
  # Requires [user
366
457
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
367
458
  rpc :ListReactions, ::Google::Apps::Chat::V1::ListReactionsRequest, ::Google::Apps::Chat::V1::ListReactionsResponse
@@ -369,6 +460,7 @@ module Google
369
460
  # For an example, see
370
461
  # [Delete a
371
462
  # reaction](https://developers.google.com/workspace/chat/delete-reactions).
463
+ #
372
464
  # Requires [user
373
465
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
374
466
  rpc :DeleteReaction, ::Google::Apps::Chat::V1::DeleteReactionRequest, ::Google::Protobuf::Empty
@@ -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\"\x90\x05\n\nMembership\x12\x31\n\x04name\x18\x01 \x01(\tB#\xfa\x41 \n\x1e\x63hat.googleapis.com/Membership\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.UserH\x00\x12-\n\x0cgroup_member\x18\x05 \x01(\x0b\x32\x15.google.chat.v1.GroupH\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\"\xa0\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\x18\n\x10use_admin_access\x18\x05 \x01(\x08\"\x9e\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\x18\n\x10use_admin_access\x18\x03 \x01(\x08\"\xe5\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\x18\n\x10use_admin_access\x18\x08 \x01(\x08\"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\"f\n\x14GetMembershipRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/Membership\x12\x18\n\x10use_admin_access\x18\x03 \x01(\x08\"i\n\x17\x44\x65leteMembershipRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/Membership\x12\x18\n\x10use_admin_access\x18\x02 \x01(\x08\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\"\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"
16
16
 
17
17
  pool = Google::Protobuf::DescriptorPool.generated_pool
18
18
 
@@ -21,7 +21,7 @@ require 'google/protobuf/field_mask_pb'
21
21
  require 'google/protobuf/timestamp_pb'
22
22
 
23
23
 
24
- descriptor_data = "\n\x1cgoogle/chat/v1/message.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/apps/card/v1/card.proto\x1a\"google/chat/v1/action_status.proto\x1a\x1fgoogle/chat/v1/annotation.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a%google/chat/v1/contextual_addon.proto\x1a&google/chat/v1/deletion_metadata.proto\x1a google/chat/v1/matched_url.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\"google/chat/v1/slash_command.proto\x1a\x1agoogle/chat/v1/space.proto\x1a\x19google/chat/v1/user.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa9\n\n\x07Message\x12\x0c\n\x04name\x18\x01 \x01(\t\x12)\n\x06sender\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x03\x12\x37\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\x12\x39\n\x10last_update_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x1a \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04text\x18\x04 \x01(\t\x12\x1b\n\x0e\x66ormatted_text\x18+ \x01(\tB\x03\xe0\x41\x03\x12=\n\x05\x63\x61rds\x18\x05 \x03(\x0b\x32*.google.chat.v1.ContextualAddOnMarkup.CardB\x02\x18\x01\x12,\n\x08\x63\x61rds_v2\x18\x16 \x03(\x0b\x32\x1a.google.chat.v1.CardWithId\x12\x34\n\x0b\x61nnotations\x18\n \x03(\x0b\x32\x1a.google.chat.v1.AnnotationB\x03\xe0\x41\x03\x12&\n\x06thread\x18\x0b \x01(\x0b\x32\x16.google.chat.v1.Thread\x12$\n\x05space\x18\x0c \x01(\x0b\x32\x15.google.chat.v1.Space\x12\x15\n\rfallback_text\x18\r \x01(\t\x12<\n\x0f\x61\x63tion_response\x18\x0e \x01(\x0b\x32\x1e.google.chat.v1.ActionResponseB\x03\xe0\x41\x04\x12\x1a\n\rargument_text\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x38\n\rslash_command\x18\x11 \x01(\x0b\x32\x1c.google.chat.v1.SlashCommandB\x03\xe0\x41\x03\x12.\n\nattachment\x18\x12 \x03(\x0b\x32\x1a.google.chat.v1.Attachment\x12\x34\n\x0bmatched_url\x18\x14 \x01(\x0b\x32\x1a.google.chat.v1.MatchedUrlB\x03\xe0\x41\x03\x12\x19\n\x0cthread_reply\x18\x19 \x01(\x08\x42\x03\xe0\x41\x03\x12\"\n\x1a\x63lient_assigned_message_id\x18 \x01(\t\x12K\n\x18\x65moji_reaction_summaries\x18! \x03(\x0b\x32$.google.chat.v1.EmojiReactionSummaryB\x03\xe0\x41\x03\x12\x39\n\x16private_message_viewer\x18$ \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x05\x12@\n\x11\x64\x65letion_metadata\x18& \x01(\x0b\x32 .google.chat.v1.DeletionMetadataB\x03\xe0\x41\x03\x12K\n\x17quoted_message_metadata\x18\' \x01(\x0b\x32%.google.chat.v1.QuotedMessageMetadataB\x03\xe0\x41\x03\x12\x37\n\rattached_gifs\x18* \x03(\x0b\x32\x1b.google.chat.v1.AttachedGifB\x03\xe0\x41\x03\x12:\n\x11\x61\x63\x63\x65ssory_widgets\x18, \x03(\x0b\x32\x1f.google.chat.v1.AccessoryWidget:C\xea\x41@\n\x1b\x63hat.googleapis.com/Message\x12!spaces/{space}/messages/{message}\"\x1f\n\x0b\x41ttachedGif\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\"\x89\x02\n\x15QuotedMessageMetadata\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x03\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x39\n\x10last_update_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\x81\x01\xea\x41~\n)chat.googleapis.com/QuotedMessageMetadata\x12Qspaces/{space}/messages/{message}/quotedMessageMetadata/{quoted_message_metadata}\"q\n\x06Thread\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\nthread_key\x18\x03 \x01(\tB\x03\xe0\x41\x01:@\xea\x41=\n\x1a\x63hat.googleapis.com/Thread\x12\x1fspaces/{space}/threads/{thread}\"\xd2\x04\n\x0e\x41\x63tionResponse\x12>\n\x04type\x18\x01 \x01(\x0e\x32+.google.chat.v1.ActionResponse.ResponseTypeB\x03\xe0\x41\x04\x12\x10\n\x03url\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x38\n\rdialog_action\x18\x03 \x01(\x0b\x32\x1c.google.chat.v1.DialogActionB\x03\xe0\x41\x04\x12I\n\x0eupdated_widget\x18\x04 \x01(\x0b\x32,.google.chat.v1.ActionResponse.UpdatedWidgetB\x03\xe0\x41\x04\x1aR\n\x0eSelectionItems\x12@\n\x05items\x18\x01 \x03(\x0b\x32\x31.google.apps.card.v1.SelectionInput.SelectionItem\x1aw\n\rUpdatedWidget\x12\x44\n\x0bsuggestions\x18\x01 \x01(\x0b\x32-.google.chat.v1.ActionResponse.SelectionItemsH\x00\x12\x0e\n\x06widget\x18\x02 \x01(\tB\x10\n\x0eupdated_widget\"\x9b\x01\n\x0cResponseType\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNEW_MESSAGE\x10\x01\x12\x12\n\x0eUPDATE_MESSAGE\x10\x02\x12\x1d\n\x19UPDATE_USER_MESSAGE_CARDS\x10\x06\x12\x12\n\x0eREQUEST_CONFIG\x10\x03\x12\n\n\x06\x44IALOG\x10\x04\x12\x11\n\rUPDATE_WIDGET\x10\x07\"S\n\x0f\x41\x63\x63\x65ssoryWidget\x12\x36\n\x0b\x62utton_list\x18\x01 \x01(\x0b\x32\x1f.google.apps.card.v1.ButtonListH\x00\x42\x08\n\x06\x61\x63tion\"F\n\x11GetMessageRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\"X\n\x14\x44\x65leteMessageRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x92\x01\n\x14UpdateMessageRequest\x12-\n\x07message\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x1a\n\rallow_missing\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xa4\x03\n\x14\x43reateMessageRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12-\n\x07message\x18\x04 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x03\xe0\x41\x02\x12\x19\n\nthread_key\x18\x06 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12Z\n\x14message_reply_option\x18\x08 \x01(\x0e\x32\x37.google.chat.v1.CreateMessageRequest.MessageReplyOptionB\x03\xe0\x41\x01\x12\x17\n\nmessage_id\x18\t \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x12MessageReplyOption\x12$\n MESSAGE_REPLY_OPTION_UNSPECIFIED\x10\x00\x12(\n$REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD\x10\x01\x12\x19\n\x15REPLY_MESSAGE_OR_FAIL\x10\x02\"\xa9\x01\n\x13ListMessagesRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\x12\x14\n\x0cshow_deleted\x18\x06 \x01(\x08\"Z\n\x14ListMessagesResponse\x12)\n\x08messages\x18\x01 \x03(\x0b\x32\x17.google.chat.v1.Message\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x81\x01\n\x0c\x44ialogAction\x12-\n\x06\x64ialog\x18\x01 \x01(\x0b\x32\x16.google.chat.v1.DialogB\x03\xe0\x41\x04H\x00\x12\x38\n\raction_status\x18\x02 \x01(\x0b\x32\x1c.google.chat.v1.ActionStatusB\x03\xe0\x41\x04\x42\x08\n\x06\x61\x63tion\"6\n\x06\x44ialog\x12,\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x19.google.apps.card.v1.CardB\x03\xe0\x41\x04\"F\n\nCardWithId\x12\x0f\n\x07\x63\x61rd_id\x18\x01 \x01(\t\x12\'\n\x04\x63\x61rd\x18\x02 \x01(\x0b\x32\x19.google.apps.card.v1.CardB\xa5\x01\n\x12\x63om.google.chat.v1B\x0cMessageProtoP\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"
24
+ descriptor_data = "\n\x1cgoogle/chat/v1/message.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/apps/card/v1/card.proto\x1a\"google/chat/v1/action_status.proto\x1a\x1fgoogle/chat/v1/annotation.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a%google/chat/v1/contextual_addon.proto\x1a&google/chat/v1/deletion_metadata.proto\x1a google/chat/v1/matched_url.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\"google/chat/v1/slash_command.proto\x1a\x1agoogle/chat/v1/space.proto\x1a\x19google/chat/v1/user.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd4\n\n\x07Message\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12)\n\x06sender\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x03\x12\x37\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\x12\x39\n\x10last_update_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x1a \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04text\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x66ormatted_text\x18+ \x01(\tB\x03\xe0\x41\x03\x12=\n\x05\x63\x61rds\x18\x05 \x03(\x0b\x32*.google.chat.v1.ContextualAddOnMarkup.CardB\x02\x18\x01\x12\x31\n\x08\x63\x61rds_v2\x18\x16 \x03(\x0b\x32\x1a.google.chat.v1.CardWithIdB\x03\xe0\x41\x01\x12\x34\n\x0b\x61nnotations\x18\n \x03(\x0b\x32\x1a.google.chat.v1.AnnotationB\x03\xe0\x41\x03\x12&\n\x06thread\x18\x0b \x01(\x0b\x32\x16.google.chat.v1.Thread\x12)\n\x05space\x18\x0c \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x03\x12\x1a\n\rfallback_text\x18\r \x01(\tB\x03\xe0\x41\x01\x12<\n\x0f\x61\x63tion_response\x18\x0e \x01(\x0b\x32\x1e.google.chat.v1.ActionResponseB\x03\xe0\x41\x04\x12\x1a\n\rargument_text\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x38\n\rslash_command\x18\x11 \x01(\x0b\x32\x1c.google.chat.v1.SlashCommandB\x03\xe0\x41\x03\x12\x33\n\nattachment\x18\x12 \x03(\x0b\x32\x1a.google.chat.v1.AttachmentB\x03\xe0\x41\x01\x12\x34\n\x0bmatched_url\x18\x14 \x01(\x0b\x32\x1a.google.chat.v1.MatchedUrlB\x03\xe0\x41\x03\x12\x19\n\x0cthread_reply\x18\x19 \x01(\x08\x42\x03\xe0\x41\x03\x12\'\n\x1a\x63lient_assigned_message_id\x18 \x01(\tB\x03\xe0\x41\x01\x12K\n\x18\x65moji_reaction_summaries\x18! \x03(\x0b\x32$.google.chat.v1.EmojiReactionSummaryB\x03\xe0\x41\x03\x12<\n\x16private_message_viewer\x18$ \x01(\x0b\x32\x14.google.chat.v1.UserB\x06\xe0\x41\x05\xe0\x41\x01\x12@\n\x11\x64\x65letion_metadata\x18& \x01(\x0b\x32 .google.chat.v1.DeletionMetadataB\x03\xe0\x41\x03\x12K\n\x17quoted_message_metadata\x18\' \x01(\x0b\x32%.google.chat.v1.QuotedMessageMetadataB\x03\xe0\x41\x03\x12\x37\n\rattached_gifs\x18* \x03(\x0b\x32\x1b.google.chat.v1.AttachedGifB\x03\xe0\x41\x03\x12?\n\x11\x61\x63\x63\x65ssory_widgets\x18, \x03(\x0b\x32\x1f.google.chat.v1.AccessoryWidgetB\x03\xe0\x41\x01:C\xea\x41@\n\x1b\x63hat.googleapis.com/Message\x12!spaces/{space}/messages/{message}\"\x1f\n\x0b\x41ttachedGif\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\"\x89\x02\n\x15QuotedMessageMetadata\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x03\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x39\n\x10last_update_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\x81\x01\xea\x41~\n)chat.googleapis.com/QuotedMessageMetadata\x12Qspaces/{space}/messages/{message}/quotedMessageMetadata/{quoted_message_metadata}\"v\n\x06Thread\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x17\n\nthread_key\x18\x03 \x01(\tB\x03\xe0\x41\x01:@\xea\x41=\n\x1a\x63hat.googleapis.com/Thread\x12\x1fspaces/{space}/threads/{thread}\"\xd2\x04\n\x0e\x41\x63tionResponse\x12>\n\x04type\x18\x01 \x01(\x0e\x32+.google.chat.v1.ActionResponse.ResponseTypeB\x03\xe0\x41\x04\x12\x10\n\x03url\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x38\n\rdialog_action\x18\x03 \x01(\x0b\x32\x1c.google.chat.v1.DialogActionB\x03\xe0\x41\x04\x12I\n\x0eupdated_widget\x18\x04 \x01(\x0b\x32,.google.chat.v1.ActionResponse.UpdatedWidgetB\x03\xe0\x41\x04\x1aR\n\x0eSelectionItems\x12@\n\x05items\x18\x01 \x03(\x0b\x32\x31.google.apps.card.v1.SelectionInput.SelectionItem\x1aw\n\rUpdatedWidget\x12\x44\n\x0bsuggestions\x18\x01 \x01(\x0b\x32-.google.chat.v1.ActionResponse.SelectionItemsH\x00\x12\x0e\n\x06widget\x18\x02 \x01(\tB\x10\n\x0eupdated_widget\"\x9b\x01\n\x0cResponseType\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNEW_MESSAGE\x10\x01\x12\x12\n\x0eUPDATE_MESSAGE\x10\x02\x12\x1d\n\x19UPDATE_USER_MESSAGE_CARDS\x10\x06\x12\x12\n\x0eREQUEST_CONFIG\x10\x03\x12\n\n\x06\x44IALOG\x10\x04\x12\x11\n\rUPDATE_WIDGET\x10\x07\"S\n\x0f\x41\x63\x63\x65ssoryWidget\x12\x36\n\x0b\x62utton_list\x18\x01 \x01(\x0b\x32\x1f.google.apps.card.v1.ButtonListH\x00\x42\x08\n\x06\x61\x63tion\"F\n\x11GetMessageRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\"]\n\x14\x44\x65leteMessageRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x97\x01\n\x14UpdateMessageRequest\x12-\n\x07message\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1a\n\rallow_missing\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xa4\x03\n\x14\x43reateMessageRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12-\n\x07message\x18\x04 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x03\xe0\x41\x02\x12\x19\n\nthread_key\x18\x06 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12Z\n\x14message_reply_option\x18\x08 \x01(\x0e\x32\x37.google.chat.v1.CreateMessageRequest.MessageReplyOptionB\x03\xe0\x41\x01\x12\x17\n\nmessage_id\x18\t \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x12MessageReplyOption\x12$\n MESSAGE_REPLY_OPTION_UNSPECIFIED\x10\x00\x12(\n$REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD\x10\x01\x12\x19\n\x15REPLY_MESSAGE_OR_FAIL\x10\x02\"\xc2\x01\n\x13ListMessagesRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\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\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cshow_deleted\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"Z\n\x14ListMessagesResponse\x12)\n\x08messages\x18\x01 \x03(\x0b\x32\x17.google.chat.v1.Message\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x81\x01\n\x0c\x44ialogAction\x12-\n\x06\x64ialog\x18\x01 \x01(\x0b\x32\x16.google.chat.v1.DialogB\x03\xe0\x41\x04H\x00\x12\x38\n\raction_status\x18\x02 \x01(\x0b\x32\x1c.google.chat.v1.ActionStatusB\x03\xe0\x41\x04\x42\x08\n\x06\x61\x63tion\"6\n\x06\x44ialog\x12,\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x19.google.apps.card.v1.CardB\x03\xe0\x41\x04\"F\n\nCardWithId\x12\x0f\n\x07\x63\x61rd_id\x18\x01 \x01(\t\x12\'\n\x04\x63\x61rd\x18\x02 \x01(\x0b\x32\x19.google.apps.card.v1.CardB\xa5\x01\n\x12\x63om.google.chat.v1B\x0cMessageProtoP\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"
25
25
 
26
26
  pool = Google::Protobuf::DescriptorPool.generated_pool
27
27
 
@@ -5,11 +5,12 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/field_behavior_pb'
8
+ require 'google/api/field_info_pb'
8
9
  require 'google/api/resource_pb'
9
10
  require 'google/chat/v1/user_pb'
10
11
 
11
12
 
12
- descriptor_data = "\n\x1dgoogle/chat/v1/reaction.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x19google/chat/v1/user.proto\"\xc2\x01\n\x08Reaction\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\'\n\x04user\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x03\x12$\n\x05\x65moji\x18\x03 \x01(\x0b\x32\x15.google.chat.v1.Emoji:Y\xea\x41V\n\x1c\x63hat.googleapis.com/Reaction\x12\x36spaces/{space}/messages/{message}/reactions/{reaction}\"_\n\x05\x45moji\x12\x11\n\x07unicode\x18\x01 \x01(\tH\x00\x12\x38\n\x0c\x63ustom_emoji\x18\x02 \x01(\x0b\x32\x1b.google.chat.v1.CustomEmojiB\x03\xe0\x41\x03H\x00\x42\t\n\x07\x63ontent\"\x1f\n\x0b\x43ustomEmoji\x12\x10\n\x03uid\x18\x01 \x01(\tB\x03\xe0\x41\x03\"l\n\x14\x45mojiReactionSummary\x12$\n\x05\x65moji\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.Emoji\x12\x1b\n\x0ereaction_count\x18\x02 \x01(\x05H\x00\x88\x01\x01\x42\x11\n\x0f_reaction_count\"~\n\x15\x43reateReactionRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1c\x63hat.googleapis.com/Reaction\x12/\n\x08reaction\x18\x02 \x01(\x0b\x32\x18.google.chat.v1.ReactionB\x03\xe0\x41\x02\"\x92\x01\n\x14ListReactionsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1c\x63hat.googleapis.com/Reaction\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\x04 \x01(\tB\x03\xe0\x41\x01\"]\n\x15ListReactionsResponse\x12+\n\treactions\x18\x01 \x03(\x0b\x32\x18.google.chat.v1.Reaction\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"K\n\x15\x44\x65leteReactionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x63hat.googleapis.com/ReactionB\xa6\x01\n\x12\x63om.google.chat.v1B\rReactionProtoP\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"
13
+ descriptor_data = "\n\x1dgoogle/chat/v1/reaction.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x19google/chat/v1/user.proto\"\xcc\x01\n\x08Reaction\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\'\n\x04user\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x03\x12)\n\x05\x65moji\x18\x03 \x01(\x0b\x32\x15.google.chat.v1.EmojiB\x03\xe0\x41\x02:Y\xea\x41V\n\x1c\x63hat.googleapis.com/Reaction\x12\x36spaces/{space}/messages/{message}/reactions/{reaction}\"d\n\x05\x45moji\x12\x16\n\x07unicode\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x38\n\x0c\x63ustom_emoji\x18\x02 \x01(\x0b\x32\x1b.google.chat.v1.CustomEmojiB\x03\xe0\x41\x03H\x00\x42\t\n\x07\x63ontent\"\'\n\x0b\x43ustomEmoji\x12\x18\n\x03uid\x18\x01 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"v\n\x14\x45mojiReactionSummary\x12)\n\x05\x65moji\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.EmojiB\x03\xe0\x41\x03\x12 \n\x0ereaction_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x42\x11\n\x0f_reaction_count\"~\n\x15\x43reateReactionRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1c\x63hat.googleapis.com/Reaction\x12/\n\x08reaction\x18\x02 \x01(\x0b\x32\x18.google.chat.v1.ReactionB\x03\xe0\x41\x02\"\x92\x01\n\x14ListReactionsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1c\x63hat.googleapis.com/Reaction\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\x04 \x01(\tB\x03\xe0\x41\x01\"]\n\x15ListReactionsResponse\x12+\n\treactions\x18\x01 \x03(\x0b\x32\x18.google.chat.v1.Reaction\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"K\n\x15\x44\x65leteReactionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x63hat.googleapis.com/ReactionB\xa6\x01\n\x12\x63om.google.chat.v1B\rReactionProtoP\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"
13
14
 
14
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
16
 
@@ -10,7 +10,7 @@ require 'google/chat/v1/event_payload_pb'
10
10
  require 'google/protobuf/timestamp_pb'
11
11
 
12
12
 
13
- descriptor_data = "\n google/chat/v1/space_event.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/chat/v1/event_payload.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xce\r\n\nSpaceEvent\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\nevent_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nevent_type\x18\x06 \x01(\t\x12M\n\x1amessage_created_event_data\x18\x0c \x01(\x0b\x32\'.google.chat.v1.MessageCreatedEventDataH\x00\x12M\n\x1amessage_updated_event_data\x18\r \x01(\x0b\x32\'.google.chat.v1.MessageUpdatedEventDataH\x00\x12M\n\x1amessage_deleted_event_data\x18\x0e \x01(\x0b\x32\'.google.chat.v1.MessageDeletedEventDataH\x00\x12X\n message_batch_created_event_data\x18\x1a \x01(\x0b\x32,.google.chat.v1.MessageBatchCreatedEventDataH\x00\x12X\n message_batch_updated_event_data\x18\x1b \x01(\x0b\x32,.google.chat.v1.MessageBatchUpdatedEventDataH\x00\x12X\n message_batch_deleted_event_data\x18\x1c \x01(\x0b\x32,.google.chat.v1.MessageBatchDeletedEventDataH\x00\x12I\n\x18space_updated_event_data\x18\x0f \x01(\x0b\x32%.google.chat.v1.SpaceUpdatedEventDataH\x00\x12T\n\x1espace_batch_updated_event_data\x18\x1d \x01(\x0b\x32*.google.chat.v1.SpaceBatchUpdatedEventDataH\x00\x12S\n\x1dmembership_created_event_data\x18\x11 \x01(\x0b\x32*.google.chat.v1.MembershipCreatedEventDataH\x00\x12S\n\x1dmembership_updated_event_data\x18\x12 \x01(\x0b\x32*.google.chat.v1.MembershipUpdatedEventDataH\x00\x12T\n\x1dmembership_deleted_event_data\x18\xdb\x01 \x01(\x0b\x32*.google.chat.v1.MembershipDeletedEventDataH\x00\x12^\n#membership_batch_created_event_data\x18\x1f \x01(\x0b\x32/.google.chat.v1.MembershipBatchCreatedEventDataH\x00\x12^\n#membership_batch_updated_event_data\x18 \x01(\x0b\x32/.google.chat.v1.MembershipBatchUpdatedEventDataH\x00\x12^\n#membership_batch_deleted_event_data\x18! \x01(\x0b\x32/.google.chat.v1.MembershipBatchDeletedEventDataH\x00\x12O\n\x1breaction_created_event_data\x18\x15 \x01(\x0b\x32(.google.chat.v1.ReactionCreatedEventDataH\x00\x12O\n\x1breaction_deleted_event_data\x18\x16 \x01(\x0b\x32(.google.chat.v1.ReactionDeletedEventDataH\x00\x12Z\n!reaction_batch_created_event_data\x18\" \x01(\x0b\x32-.google.chat.v1.ReactionBatchCreatedEventDataH\x00\x12Z\n!reaction_batch_deleted_event_data\x18# \x01(\x0b\x32-.google.chat.v1.ReactionBatchDeletedEventDataH\x00:M\xea\x41J\n\x1e\x63hat.googleapis.com/SpaceEvent\x12(spaces/{space}/spaceEvents/{space_event}B\t\n\x07payload\"L\n\x14GetSpaceEventRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/SpaceEvent\"\x8c\x01\n\x16ListSpaceEventsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63hat.googleapis.com/SpaceEvent\x12\x11\n\tpage_size\x18\x05 \x01(\x05\x12\x12\n\npage_token\x18\x06 \x01(\t\x12\x13\n\x06\x66ilter\x18\x08 \x01(\tB\x03\xe0\x41\x02\"d\n\x17ListSpaceEventsResponse\x12\x30\n\x0cspace_events\x18\x01 \x03(\x0b\x32\x1a.google.chat.v1.SpaceEvent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\tB\x9a\x01\n\x12\x63om.google.chat.v1B\x0fSpaceEventProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
13
+ descriptor_data = "\n google/chat/v1/space_event.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/chat/v1/event_payload.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xce\r\n\nSpaceEvent\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\nevent_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nevent_type\x18\x06 \x01(\t\x12M\n\x1amessage_created_event_data\x18\x0c \x01(\x0b\x32\'.google.chat.v1.MessageCreatedEventDataH\x00\x12M\n\x1amessage_updated_event_data\x18\r \x01(\x0b\x32\'.google.chat.v1.MessageUpdatedEventDataH\x00\x12M\n\x1amessage_deleted_event_data\x18\x0e \x01(\x0b\x32\'.google.chat.v1.MessageDeletedEventDataH\x00\x12X\n message_batch_created_event_data\x18\x1a \x01(\x0b\x32,.google.chat.v1.MessageBatchCreatedEventDataH\x00\x12X\n message_batch_updated_event_data\x18\x1b \x01(\x0b\x32,.google.chat.v1.MessageBatchUpdatedEventDataH\x00\x12X\n message_batch_deleted_event_data\x18\x1c \x01(\x0b\x32,.google.chat.v1.MessageBatchDeletedEventDataH\x00\x12I\n\x18space_updated_event_data\x18\x0f \x01(\x0b\x32%.google.chat.v1.SpaceUpdatedEventDataH\x00\x12T\n\x1espace_batch_updated_event_data\x18\x1d \x01(\x0b\x32*.google.chat.v1.SpaceBatchUpdatedEventDataH\x00\x12S\n\x1dmembership_created_event_data\x18\x11 \x01(\x0b\x32*.google.chat.v1.MembershipCreatedEventDataH\x00\x12S\n\x1dmembership_updated_event_data\x18\x12 \x01(\x0b\x32*.google.chat.v1.MembershipUpdatedEventDataH\x00\x12T\n\x1dmembership_deleted_event_data\x18\xdb\x01 \x01(\x0b\x32*.google.chat.v1.MembershipDeletedEventDataH\x00\x12^\n#membership_batch_created_event_data\x18\x1f \x01(\x0b\x32/.google.chat.v1.MembershipBatchCreatedEventDataH\x00\x12^\n#membership_batch_updated_event_data\x18 \x01(\x0b\x32/.google.chat.v1.MembershipBatchUpdatedEventDataH\x00\x12^\n#membership_batch_deleted_event_data\x18! \x01(\x0b\x32/.google.chat.v1.MembershipBatchDeletedEventDataH\x00\x12O\n\x1breaction_created_event_data\x18\x15 \x01(\x0b\x32(.google.chat.v1.ReactionCreatedEventDataH\x00\x12O\n\x1breaction_deleted_event_data\x18\x16 \x01(\x0b\x32(.google.chat.v1.ReactionDeletedEventDataH\x00\x12Z\n!reaction_batch_created_event_data\x18\" \x01(\x0b\x32-.google.chat.v1.ReactionBatchCreatedEventDataH\x00\x12Z\n!reaction_batch_deleted_event_data\x18# \x01(\x0b\x32-.google.chat.v1.ReactionBatchDeletedEventDataH\x00:M\xea\x41J\n\x1e\x63hat.googleapis.com/SpaceEvent\x12(spaces/{space}/spaceEvents/{space_event}B\t\n\x07payload\"L\n\x14GetSpaceEventRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/SpaceEvent\"\x96\x01\n\x16ListSpaceEventsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63hat.googleapis.com/SpaceEvent\x12\x16\n\tpage_size\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x08 \x01(\tB\x03\xe0\x41\x02\"d\n\x17ListSpaceEventsResponse\x12\x30\n\x0cspace_events\x18\x01 \x03(\x0b\x32\x1a.google.chat.v1.SpaceEvent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\tB\x9a\x01\n\x12\x63om.google.chat.v1B\x0fSpaceEventProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
14
14
 
15
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
16
16
 
@@ -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\"\xf6\x14\n\x05Space\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x04type\x18\x02 \x01(\x0e\x32\x1a.google.chat.v1.Space.TypeB\x05\x18\x01\xe0\x41\x03\x12\x33\n\nspace_type\x18\n \x01(\x0e\x32\x1f.google.chat.v1.Space.SpaceType\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\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\"\n\x15\x65xternal_user_allowed\x18\x08 \x01(\x08\x42\x03\xe0\x41\x05\x12M\n\x15space_threading_state\x18\t \x01(\x0e\x32).google.chat.v1.Space.SpaceThreadingStateB\x03\xe0\x41\x03\x12\x39\n\rspace_details\x18\x0b \x01(\x0b\x32\".google.chat.v1.Space.SpaceDetails\x12\x39\n\x13space_history_state\x18\r \x01(\x0e\x32\x1c.google.chat.v1.HistoryState\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\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\x37\n\x0cSpaceDetails\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x12\n\nguidelines\x18\x02 \x01(\t\x1aU\n\x0fMembershipCount\x12&\n\x1ejoined_direct_human_user_count\x18\x04 \x01(\x05\x12\x1a\n\x12joined_group_count\x18\x05 \x01(\x05\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\x85\x06\n\x12PermissionSettings\x12O\n\x19manage_members_and_groups\x18\x01 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingH\x00\x88\x01\x01\x12J\n\x14modify_space_details\x18\x02 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingH\x01\x88\x01\x01\x12\x44\n\x0etoggle_history\x18\x03 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingH\x02\x88\x01\x01\x12H\n\x12use_at_mention_all\x18\x04 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingH\x03\x88\x01\x01\x12\x41\n\x0bmanage_apps\x18\x05 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingH\x04\x88\x01\x01\x12\x45\n\x0fmanage_webhooks\x18\x06 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingH\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\x12\x44\n\x0ereply_messages\x18\x08 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingH\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\x46\n\x11PermissionSetting\x12\x18\n\x10managers_allowed\x18\x01 \x01(\x08\x12\x17\n\x0fmembers_allowed\x18\x02 \x01(\x08\".\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_settings\"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\"\\\n\x0fGetSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x18\n\x10use_admin_access\x18\x02 \x01(\x08\"-\n\x18\x46indDirectMessageRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x8a\x01\n\x12UpdateSpaceRequest\x12)\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x18\n\x10use_admin_access\x18\x03 \x01(\x08\"\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\"_\n\x12\x44\x65leteSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x18\n\x10use_admin_access\x18\x02 \x01(\x08\"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\"\xd3\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\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_settings\"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
 
@@ -306,9 +306,28 @@ module Google
306
306
  # @!attribute [rw] common
307
307
  # @return [::Google::Api::CommonLanguageSettings]
308
308
  # Some settings.
309
+ # @!attribute [rw] renamed_services
310
+ # @return [::Google::Protobuf::Map{::String => ::String}]
311
+ # Map of service names to renamed services. Keys are the package relative
312
+ # service names and values are the name to be used for the service client
313
+ # and call options.
314
+ #
315
+ # publishing:
316
+ # go_settings:
317
+ # renamed_services:
318
+ # Publisher: TopicAdmin
309
319
  class GoSettings
310
320
  include ::Google::Protobuf::MessageExts
311
321
  extend ::Google::Protobuf::MessageExts::ClassMethods
322
+
323
+ # @!attribute [rw] key
324
+ # @return [::String]
325
+ # @!attribute [rw] value
326
+ # @return [::String]
327
+ class RenamedServicesEntry
328
+ include ::Google::Protobuf::MessageExts
329
+ extend ::Google::Protobuf::MessageExts::ClassMethods
330
+ end
312
331
  end
313
332
 
314
333
  # Describes the generator configuration for a method.