google-apis-chat_v1 0.48.0 → 0.49.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e3e5304ffe77d6cffe55741fb1e0745da0181b6a2bba5ac64a44091305318b9
4
- data.tar.gz: 96c783aaa65cf567ee99ad74fcff4cedfb843635d79b9aacf3bdb3a327f0f762
3
+ metadata.gz: d6b04f7cdf2d7749b2902772308b53a0fee2c8e7868e2dbf64a5f41a418983d0
4
+ data.tar.gz: 853c5d084992bfc94fd1038d68a6887c985279791f8a1c448965c529af7c1e9f
5
5
  SHA512:
6
- metadata.gz: 2e7ad9b5a07f0471cef951fd57775e0eb34093d9e9af8739548b9a723b043bb2e583a30da62510d53367c2e160e9f85ff40f2914c0003d11045174d76ba30e9c
7
- data.tar.gz: 8058dcb6d8a7f0e2e3752acc543e2f4e4d11d5830721bd124b24927972d5e423c65986d935995c482ed71abca7c52c2227fbb2d243355d97ec105ebbf8639721
6
+ metadata.gz: 652cd319aba3f282019459c67832d547efdfe03b1c84ceb70765f58dfe65b3ee32fc9f2983ea19c46703997d4be986e357955b202f5476b51f5b37ced9789b37
7
+ data.tar.gz: 920dd3f0b2400d9d384c8e05cda14cba352e2fc4e11bd5086c13c04cc0a94ae659c1be2cc8492e98c0013732c1c4056f7d135aafe5aa23abe8634a98fab00fe1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.49.0 (2023-01-15)
4
+
5
+ * Regenerated from discovery document revision 20230103
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.48.0 (2022-12-30)
4
9
 
5
10
  * Regenerated from discovery document revision 20221213
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ChatV1
18
18
  # Version of the google-apis-chat_v1 gem
19
- GEM_VERSION = "0.48.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221213"
25
+ REVISION = "20230103"
26
26
  end
27
27
  end
28
28
  end
@@ -50,177 +50,6 @@ module Google
50
50
  @batch_path = 'batch'
51
51
  end
52
52
 
53
- # Legacy path for creating message. Calling these will result in a BadRequest
54
- # response.
55
- # @param [String] parent
56
- # Required. The resource name of the space in which to create a message. Format:
57
- # spaces/`space`
58
- # @param [Google::Apis::ChatV1::Message] message_object
59
- # @param [String] message_id
60
- # Optional. A custom name for a Chat message assigned at creation. Must start
61
- # with `client-` and contain only lowercase letters, numbers, and hyphens up to
62
- # 63 characters in length. Specify this field to get, update, or delete the
63
- # message with the specified value. For example usage, see [Name a created
64
- # message](https://developers.google.com/chat/api/guides/crudl/messages#
65
- # name_a_created_message).
66
- # @param [String] message_reply_option
67
- # Optional. Specifies whether a message starts a thread or replies to one. Only
68
- # supported in named spaces.
69
- # @param [String] request_id
70
- # Optional. A unique request ID for this message. Specifying an existing request
71
- # ID returns the message created with that ID instead of creating a new message.
72
- # @param [String] thread_key
73
- # Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier.
74
- # To start or add to a thread, create a message and specify a `threadKey` or the
75
- # thread.name. For example usage, see [Start or reply to a message thread](/chat/
76
- # api/guides/crudl/messages#start_or_reply_to_a_message_thread).
77
- # @param [String] fields
78
- # Selector specifying which fields to include in a partial response.
79
- # @param [String] quota_user
80
- # Available to use for quota purposes for server-side applications. Can be any
81
- # arbitrary string assigned to a user, but should not exceed 40 characters.
82
- # @param [Google::Apis::RequestOptions] options
83
- # Request-specific options
84
- #
85
- # @yield [result, err] Result & error if block supplied
86
- # @yieldparam result [Google::Apis::ChatV1::Message] parsed result object
87
- # @yieldparam err [StandardError] error object if request failed
88
- #
89
- # @return [Google::Apis::ChatV1::Message]
90
- #
91
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
92
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
93
- # @raise [Google::Apis::AuthorizationError] Authorization is required
94
- def messages_dm(parent, message_object = nil, message_id: nil, message_reply_option: nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
95
- command = make_simple_command(:post, 'v1/{+parent}/messages', options)
96
- command.request_representation = Google::Apis::ChatV1::Message::Representation
97
- command.request_object = message_object
98
- command.response_representation = Google::Apis::ChatV1::Message::Representation
99
- command.response_class = Google::Apis::ChatV1::Message
100
- command.params['parent'] = parent unless parent.nil?
101
- command.query['messageId'] = message_id unless message_id.nil?
102
- command.query['messageReplyOption'] = message_reply_option unless message_reply_option.nil?
103
- command.query['requestId'] = request_id unless request_id.nil?
104
- command.query['threadKey'] = thread_key unless thread_key.nil?
105
- command.query['fields'] = fields unless fields.nil?
106
- command.query['quotaUser'] = quota_user unless quota_user.nil?
107
- execute_or_queue_command(command, &block)
108
- end
109
-
110
- # Legacy path for creating message. Calling these will result in a BadRequest
111
- # response.
112
- # @param [String] parent
113
- # Required. The resource name of the space in which to create a message. Format:
114
- # spaces/`space`
115
- # @param [Google::Apis::ChatV1::Message] message_object
116
- # @param [String] message_id
117
- # Optional. A custom name for a Chat message assigned at creation. Must start
118
- # with `client-` and contain only lowercase letters, numbers, and hyphens up to
119
- # 63 characters in length. Specify this field to get, update, or delete the
120
- # message with the specified value. For example usage, see [Name a created
121
- # message](https://developers.google.com/chat/api/guides/crudl/messages#
122
- # name_a_created_message).
123
- # @param [String] message_reply_option
124
- # Optional. Specifies whether a message starts a thread or replies to one. Only
125
- # supported in named spaces.
126
- # @param [String] request_id
127
- # Optional. A unique request ID for this message. Specifying an existing request
128
- # ID returns the message created with that ID instead of creating a new message.
129
- # @param [String] thread_key
130
- # Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier.
131
- # To start or add to a thread, create a message and specify a `threadKey` or the
132
- # thread.name. For example usage, see [Start or reply to a message thread](/chat/
133
- # api/guides/crudl/messages#start_or_reply_to_a_message_thread).
134
- # @param [String] fields
135
- # Selector specifying which fields to include in a partial response.
136
- # @param [String] quota_user
137
- # Available to use for quota purposes for server-side applications. Can be any
138
- # arbitrary string assigned to a user, but should not exceed 40 characters.
139
- # @param [Google::Apis::RequestOptions] options
140
- # Request-specific options
141
- #
142
- # @yield [result, err] Result & error if block supplied
143
- # @yieldparam result [Google::Apis::ChatV1::Message] parsed result object
144
- # @yieldparam err [StandardError] error object if request failed
145
- #
146
- # @return [Google::Apis::ChatV1::Message]
147
- #
148
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
149
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
150
- # @raise [Google::Apis::AuthorizationError] Authorization is required
151
- def webhooks_dm(parent, message_object = nil, message_id: nil, message_reply_option: nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
152
- command = make_simple_command(:post, 'v1/{+parent}/webhooks', options)
153
- command.request_representation = Google::Apis::ChatV1::Message::Representation
154
- command.request_object = message_object
155
- command.response_representation = Google::Apis::ChatV1::Message::Representation
156
- command.response_class = Google::Apis::ChatV1::Message
157
- command.params['parent'] = parent unless parent.nil?
158
- command.query['messageId'] = message_id unless message_id.nil?
159
- command.query['messageReplyOption'] = message_reply_option unless message_reply_option.nil?
160
- command.query['requestId'] = request_id unless request_id.nil?
161
- command.query['threadKey'] = thread_key unless thread_key.nil?
162
- command.query['fields'] = fields unless fields.nil?
163
- command.query['quotaUser'] = quota_user unless quota_user.nil?
164
- execute_or_queue_command(command, &block)
165
- end
166
-
167
- # Legacy path for creating message. Calling these will result in a BadRequest
168
- # response.
169
- # @param [String] parent
170
- # Required. The resource name of the space in which to create a message. Format:
171
- # spaces/`space`
172
- # @param [Google::Apis::ChatV1::Message] message_object
173
- # @param [String] message_id
174
- # Optional. A custom name for a Chat message assigned at creation. Must start
175
- # with `client-` and contain only lowercase letters, numbers, and hyphens up to
176
- # 63 characters in length. Specify this field to get, update, or delete the
177
- # message with the specified value. For example usage, see [Name a created
178
- # message](https://developers.google.com/chat/api/guides/crudl/messages#
179
- # name_a_created_message).
180
- # @param [String] message_reply_option
181
- # Optional. Specifies whether a message starts a thread or replies to one. Only
182
- # supported in named spaces.
183
- # @param [String] request_id
184
- # Optional. A unique request ID for this message. Specifying an existing request
185
- # ID returns the message created with that ID instead of creating a new message.
186
- # @param [String] thread_key
187
- # Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier.
188
- # To start or add to a thread, create a message and specify a `threadKey` or the
189
- # thread.name. For example usage, see [Start or reply to a message thread](/chat/
190
- # api/guides/crudl/messages#start_or_reply_to_a_message_thread).
191
- # @param [String] fields
192
- # Selector specifying which fields to include in a partial response.
193
- # @param [String] quota_user
194
- # Available to use for quota purposes for server-side applications. Can be any
195
- # arbitrary string assigned to a user, but should not exceed 40 characters.
196
- # @param [Google::Apis::RequestOptions] options
197
- # Request-specific options
198
- #
199
- # @yield [result, err] Result & error if block supplied
200
- # @yieldparam result [Google::Apis::ChatV1::Message] parsed result object
201
- # @yieldparam err [StandardError] error object if request failed
202
- #
203
- # @return [Google::Apis::ChatV1::Message]
204
- #
205
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
206
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
207
- # @raise [Google::Apis::AuthorizationError] Authorization is required
208
- def messages_dm_conversation(parent, message_object = nil, message_id: nil, message_reply_option: nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
209
- command = make_simple_command(:post, 'v1/{+parent}/messages', options)
210
- command.request_representation = Google::Apis::ChatV1::Message::Representation
211
- command.request_object = message_object
212
- command.response_representation = Google::Apis::ChatV1::Message::Representation
213
- command.response_class = Google::Apis::ChatV1::Message
214
- command.params['parent'] = parent unless parent.nil?
215
- command.query['messageId'] = message_id unless message_id.nil?
216
- command.query['messageReplyOption'] = message_reply_option unless message_reply_option.nil?
217
- command.query['requestId'] = request_id unless request_id.nil?
218
- command.query['threadKey'] = thread_key unless thread_key.nil?
219
- command.query['fields'] = fields unless fields.nil?
220
- command.query['quotaUser'] = quota_user unless quota_user.nil?
221
- execute_or_queue_command(command, &block)
222
- end
223
-
224
53
  # Downloads media. Download is supported on the URI `/v1/media/`+name`?alt=media`
225
54
  # .
226
55
  # @param [String] resource_name
@@ -259,177 +88,6 @@ module Google
259
88
  execute_or_queue_command(command, &block)
260
89
  end
261
90
 
262
- # Legacy path for creating message. Calling these will result in a BadRequest
263
- # response.
264
- # @param [String] parent
265
- # Required. The resource name of the space in which to create a message. Format:
266
- # spaces/`space`
267
- # @param [Google::Apis::ChatV1::Message] message_object
268
- # @param [String] message_id
269
- # Optional. A custom name for a Chat message assigned at creation. Must start
270
- # with `client-` and contain only lowercase letters, numbers, and hyphens up to
271
- # 63 characters in length. Specify this field to get, update, or delete the
272
- # message with the specified value. For example usage, see [Name a created
273
- # message](https://developers.google.com/chat/api/guides/crudl/messages#
274
- # name_a_created_message).
275
- # @param [String] message_reply_option
276
- # Optional. Specifies whether a message starts a thread or replies to one. Only
277
- # supported in named spaces.
278
- # @param [String] request_id
279
- # Optional. A unique request ID for this message. Specifying an existing request
280
- # ID returns the message created with that ID instead of creating a new message.
281
- # @param [String] thread_key
282
- # Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier.
283
- # To start or add to a thread, create a message and specify a `threadKey` or the
284
- # thread.name. For example usage, see [Start or reply to a message thread](/chat/
285
- # api/guides/crudl/messages#start_or_reply_to_a_message_thread).
286
- # @param [String] fields
287
- # Selector specifying which fields to include in a partial response.
288
- # @param [String] quota_user
289
- # Available to use for quota purposes for server-side applications. Can be any
290
- # arbitrary string assigned to a user, but should not exceed 40 characters.
291
- # @param [Google::Apis::RequestOptions] options
292
- # Request-specific options
293
- #
294
- # @yield [result, err] Result & error if block supplied
295
- # @yieldparam result [Google::Apis::ChatV1::Message] parsed result object
296
- # @yieldparam err [StandardError] error object if request failed
297
- #
298
- # @return [Google::Apis::ChatV1::Message]
299
- #
300
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
301
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
302
- # @raise [Google::Apis::AuthorizationError] Authorization is required
303
- def messages_room(parent, message_object = nil, message_id: nil, message_reply_option: nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
304
- command = make_simple_command(:post, 'v1/{+parent}/messages', options)
305
- command.request_representation = Google::Apis::ChatV1::Message::Representation
306
- command.request_object = message_object
307
- command.response_representation = Google::Apis::ChatV1::Message::Representation
308
- command.response_class = Google::Apis::ChatV1::Message
309
- command.params['parent'] = parent unless parent.nil?
310
- command.query['messageId'] = message_id unless message_id.nil?
311
- command.query['messageReplyOption'] = message_reply_option unless message_reply_option.nil?
312
- command.query['requestId'] = request_id unless request_id.nil?
313
- command.query['threadKey'] = thread_key unless thread_key.nil?
314
- command.query['fields'] = fields unless fields.nil?
315
- command.query['quotaUser'] = quota_user unless quota_user.nil?
316
- execute_or_queue_command(command, &block)
317
- end
318
-
319
- # Legacy path for creating message. Calling these will result in a BadRequest
320
- # response.
321
- # @param [String] parent
322
- # Required. The resource name of the space in which to create a message. Format:
323
- # spaces/`space`
324
- # @param [Google::Apis::ChatV1::Message] message_object
325
- # @param [String] message_id
326
- # Optional. A custom name for a Chat message assigned at creation. Must start
327
- # with `client-` and contain only lowercase letters, numbers, and hyphens up to
328
- # 63 characters in length. Specify this field to get, update, or delete the
329
- # message with the specified value. For example usage, see [Name a created
330
- # message](https://developers.google.com/chat/api/guides/crudl/messages#
331
- # name_a_created_message).
332
- # @param [String] message_reply_option
333
- # Optional. Specifies whether a message starts a thread or replies to one. Only
334
- # supported in named spaces.
335
- # @param [String] request_id
336
- # Optional. A unique request ID for this message. Specifying an existing request
337
- # ID returns the message created with that ID instead of creating a new message.
338
- # @param [String] thread_key
339
- # Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier.
340
- # To start or add to a thread, create a message and specify a `threadKey` or the
341
- # thread.name. For example usage, see [Start or reply to a message thread](/chat/
342
- # api/guides/crudl/messages#start_or_reply_to_a_message_thread).
343
- # @param [String] fields
344
- # Selector specifying which fields to include in a partial response.
345
- # @param [String] quota_user
346
- # Available to use for quota purposes for server-side applications. Can be any
347
- # arbitrary string assigned to a user, but should not exceed 40 characters.
348
- # @param [Google::Apis::RequestOptions] options
349
- # Request-specific options
350
- #
351
- # @yield [result, err] Result & error if block supplied
352
- # @yieldparam result [Google::Apis::ChatV1::Message] parsed result object
353
- # @yieldparam err [StandardError] error object if request failed
354
- #
355
- # @return [Google::Apis::ChatV1::Message]
356
- #
357
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
358
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
359
- # @raise [Google::Apis::AuthorizationError] Authorization is required
360
- def webhooks_room(parent, message_object = nil, message_id: nil, message_reply_option: nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
361
- command = make_simple_command(:post, 'v1/{+parent}/webhooks', options)
362
- command.request_representation = Google::Apis::ChatV1::Message::Representation
363
- command.request_object = message_object
364
- command.response_representation = Google::Apis::ChatV1::Message::Representation
365
- command.response_class = Google::Apis::ChatV1::Message
366
- command.params['parent'] = parent unless parent.nil?
367
- command.query['messageId'] = message_id unless message_id.nil?
368
- command.query['messageReplyOption'] = message_reply_option unless message_reply_option.nil?
369
- command.query['requestId'] = request_id unless request_id.nil?
370
- command.query['threadKey'] = thread_key unless thread_key.nil?
371
- command.query['fields'] = fields unless fields.nil?
372
- command.query['quotaUser'] = quota_user unless quota_user.nil?
373
- execute_or_queue_command(command, &block)
374
- end
375
-
376
- # Legacy path for creating message. Calling these will result in a BadRequest
377
- # response.
378
- # @param [String] parent
379
- # Required. The resource name of the space in which to create a message. Format:
380
- # spaces/`space`
381
- # @param [Google::Apis::ChatV1::Message] message_object
382
- # @param [String] message_id
383
- # Optional. A custom name for a Chat message assigned at creation. Must start
384
- # with `client-` and contain only lowercase letters, numbers, and hyphens up to
385
- # 63 characters in length. Specify this field to get, update, or delete the
386
- # message with the specified value. For example usage, see [Name a created
387
- # message](https://developers.google.com/chat/api/guides/crudl/messages#
388
- # name_a_created_message).
389
- # @param [String] message_reply_option
390
- # Optional. Specifies whether a message starts a thread or replies to one. Only
391
- # supported in named spaces.
392
- # @param [String] request_id
393
- # Optional. A unique request ID for this message. Specifying an existing request
394
- # ID returns the message created with that ID instead of creating a new message.
395
- # @param [String] thread_key
396
- # Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier.
397
- # To start or add to a thread, create a message and specify a `threadKey` or the
398
- # thread.name. For example usage, see [Start or reply to a message thread](/chat/
399
- # api/guides/crudl/messages#start_or_reply_to_a_message_thread).
400
- # @param [String] fields
401
- # Selector specifying which fields to include in a partial response.
402
- # @param [String] quota_user
403
- # Available to use for quota purposes for server-side applications. Can be any
404
- # arbitrary string assigned to a user, but should not exceed 40 characters.
405
- # @param [Google::Apis::RequestOptions] options
406
- # Request-specific options
407
- #
408
- # @yield [result, err] Result & error if block supplied
409
- # @yieldparam result [Google::Apis::ChatV1::Message] parsed result object
410
- # @yieldparam err [StandardError] error object if request failed
411
- #
412
- # @return [Google::Apis::ChatV1::Message]
413
- #
414
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
415
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
416
- # @raise [Google::Apis::AuthorizationError] Authorization is required
417
- def messages_room_conversation(parent, message_object = nil, message_id: nil, message_reply_option: nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
418
- command = make_simple_command(:post, 'v1/{+parent}/messages', options)
419
- command.request_representation = Google::Apis::ChatV1::Message::Representation
420
- command.request_object = message_object
421
- command.response_representation = Google::Apis::ChatV1::Message::Representation
422
- command.response_class = Google::Apis::ChatV1::Message
423
- command.params['parent'] = parent unless parent.nil?
424
- command.query['messageId'] = message_id unless message_id.nil?
425
- command.query['messageReplyOption'] = message_reply_option unless message_reply_option.nil?
426
- command.query['requestId'] = request_id unless request_id.nil?
427
- command.query['threadKey'] = thread_key unless thread_key.nil?
428
- command.query['fields'] = fields unless fields.nil?
429
- command.query['quotaUser'] = quota_user unless quota_user.nil?
430
- execute_or_queue_command(command, &block)
431
- end
432
-
433
91
  # Returns a space. Requires [authentication](https://developers.google.com/chat/
434
92
  # api/guides/auth). Fully supports [service account authentication](https://
435
93
  # developers.google.com/chat/api/guides/auth/service-accounts). Supports [user
@@ -517,63 +175,6 @@ module Google
517
175
  execute_or_queue_command(command, &block)
518
176
  end
519
177
 
520
- # Legacy path for creating message. Calling these will result in a BadRequest
521
- # response.
522
- # @param [String] parent
523
- # Required. The resource name of the space in which to create a message. Format:
524
- # spaces/`space`
525
- # @param [Google::Apis::ChatV1::Message] message_object
526
- # @param [String] message_id
527
- # Optional. A custom name for a Chat message assigned at creation. Must start
528
- # with `client-` and contain only lowercase letters, numbers, and hyphens up to
529
- # 63 characters in length. Specify this field to get, update, or delete the
530
- # message with the specified value. For example usage, see [Name a created
531
- # message](https://developers.google.com/chat/api/guides/crudl/messages#
532
- # name_a_created_message).
533
- # @param [String] message_reply_option
534
- # Optional. Specifies whether a message starts a thread or replies to one. Only
535
- # supported in named spaces.
536
- # @param [String] request_id
537
- # Optional. A unique request ID for this message. Specifying an existing request
538
- # ID returns the message created with that ID instead of creating a new message.
539
- # @param [String] thread_key
540
- # Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier.
541
- # To start or add to a thread, create a message and specify a `threadKey` or the
542
- # thread.name. For example usage, see [Start or reply to a message thread](/chat/
543
- # api/guides/crudl/messages#start_or_reply_to_a_message_thread).
544
- # @param [String] fields
545
- # Selector specifying which fields to include in a partial response.
546
- # @param [String] quota_user
547
- # Available to use for quota purposes for server-side applications. Can be any
548
- # arbitrary string assigned to a user, but should not exceed 40 characters.
549
- # @param [Google::Apis::RequestOptions] options
550
- # Request-specific options
551
- #
552
- # @yield [result, err] Result & error if block supplied
553
- # @yieldparam result [Google::Apis::ChatV1::Message] parsed result object
554
- # @yieldparam err [StandardError] error object if request failed
555
- #
556
- # @return [Google::Apis::ChatV1::Message]
557
- #
558
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
559
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
560
- # @raise [Google::Apis::AuthorizationError] Authorization is required
561
- def webhooks_space(parent, message_object = nil, message_id: nil, message_reply_option: nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
562
- command = make_simple_command(:post, 'v1/{+parent}/webhooks', options)
563
- command.request_representation = Google::Apis::ChatV1::Message::Representation
564
- command.request_object = message_object
565
- command.response_representation = Google::Apis::ChatV1::Message::Representation
566
- command.response_class = Google::Apis::ChatV1::Message
567
- command.params['parent'] = parent unless parent.nil?
568
- command.query['messageId'] = message_id unless message_id.nil?
569
- command.query['messageReplyOption'] = message_reply_option unless message_reply_option.nil?
570
- command.query['requestId'] = request_id unless request_id.nil?
571
- command.query['threadKey'] = thread_key unless thread_key.nil?
572
- command.query['fields'] = fields unless fields.nil?
573
- command.query['quotaUser'] = quota_user unless quota_user.nil?
574
- execute_or_queue_command(command, &block)
575
- end
576
-
577
178
  # [Developer Preview](https://developers.google.com/workspace/preview): Returns
578
179
  # a membership. Requires [authentication](https://developers.google.com/chat/api/
579
180
  # guides/auth/). Fully supports [service account authentication](https://
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chat_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-04 00:00:00.000000000 Z
11
+ date: 2023-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.48.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.49.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Chat API V1