google-apis-chat_v1 0.15.0 → 0.16.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: 06d451f2679ee7377987db11152a045d11900c7fbf41b44ee04c243feebff5a8
4
- data.tar.gz: 9dbc703b11cc6caa7bdfbc61bd3801df8b0d635dc58cc32b3b74e8c9a7b20e1b
3
+ metadata.gz: c48e20965abed752a8c08f70ceabc0da2df40fad4143157974829e4a52c616e4
4
+ data.tar.gz: f6e276839fef7f41b084f73f5525f080eff969d8f2130cd427183613d8b76316
5
5
  SHA512:
6
- metadata.gz: 606256351c57f21c7872b62ec19a5359e4ddb1afb891f1489ee12e0e563583d018a0e01b709c6ac4b1a7fdb4c0964d53394e91b93f45320d2e9c17af538cab35
7
- data.tar.gz: 56b89ec1e9d0a5ca391d9ff2d3b95c5b0d7ad0a7581762763ce938d8731920f6349c48d34421fd1af1546da5f5d7307abf1bba1748f6a183e4a78fa393a192cd
6
+ metadata.gz: 6088c6f65df805562671ff4cd8780a654bb564013467c360246b51d24787927ac793d376e8dcb91a314c52ff65340281694dfbdfe36ea42995b047adca2cf9c0
7
+ data.tar.gz: df32a463ace21a2707a462300d9debc724e1a819ba89b316f4918ca1d784e197e48779fc794b7f82fb44e994d2350f3fe3d110432be001f38a0ef9382a9ef27e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.16.0 (2021-10-22)
4
+
5
+ * Regenerated from discovery document revision 20211015
6
+
3
7
  ### v0.15.0 (2021-09-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20210911
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Chat service in particular.)
67
67
 
@@ -2416,7 +2416,8 @@ module Google
2416
2416
  # @return [String]
2417
2417
  attr_accessor :last_update_time
2418
2418
 
2419
- #
2419
+ # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAMpdlehY/
2420
+ # messages/UMxbHmzDlr4.UMxbHmzDlr4`
2420
2421
  # Corresponds to the JSON property `name`
2421
2422
  # @return [String]
2422
2423
  attr_accessor :name
@@ -2625,7 +2626,7 @@ module Google
2625
2626
  attr_accessor :display_name
2626
2627
 
2627
2628
  # Resource name of the space, in the form "spaces/*". Example: spaces/
2628
- # AAAAMpdlehYs
2629
+ # AAAAAAAAAAAA
2629
2630
  # Corresponds to the JSON property `name`
2630
2631
  # @return [String]
2631
2632
  attr_accessor :name
@@ -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.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210911"
25
+ REVISION = "20211015"
26
26
  end
27
27
  end
28
28
  end
@@ -57,6 +57,10 @@ module Google
57
57
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
58
58
  # AAAAMpdlehY
59
59
  # @param [Google::Apis::ChatV1::Message] message_object
60
+ # @param [String] request_id
61
+ # Optional. A unique request ID for this message. If a message has already been
62
+ # created in the space with this request ID, the subsequent request will return
63
+ # the existing message and no new message will be created.
60
64
  # @param [String] thread_key
61
65
  # Optional. Opaque thread identifier string that can be specified to group
62
66
  # messages into a single thread. If this is the first message with a given
@@ -82,13 +86,14 @@ module Google
82
86
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
83
87
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
84
88
  # @raise [Google::Apis::AuthorizationError] Authorization is required
85
- def messages_dm(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
89
+ def messages_dm(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
86
90
  command = make_simple_command(:post, 'v1/{+parent}/messages', options)
87
91
  command.request_representation = Google::Apis::ChatV1::Message::Representation
88
92
  command.request_object = message_object
89
93
  command.response_representation = Google::Apis::ChatV1::Message::Representation
90
94
  command.response_class = Google::Apis::ChatV1::Message
91
95
  command.params['parent'] = parent unless parent.nil?
96
+ command.query['requestId'] = request_id unless request_id.nil?
92
97
  command.query['threadKey'] = thread_key unless thread_key.nil?
93
98
  command.query['fields'] = fields unless fields.nil?
94
99
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -101,6 +106,10 @@ module Google
101
106
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
102
107
  # AAAAMpdlehY
103
108
  # @param [Google::Apis::ChatV1::Message] message_object
109
+ # @param [String] request_id
110
+ # Optional. A unique request ID for this message. If a message has already been
111
+ # created in the space with this request ID, the subsequent request will return
112
+ # the existing message and no new message will be created.
104
113
  # @param [String] thread_key
105
114
  # Optional. Opaque thread identifier string that can be specified to group
106
115
  # messages into a single thread. If this is the first message with a given
@@ -126,13 +135,14 @@ module Google
126
135
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
127
136
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
128
137
  # @raise [Google::Apis::AuthorizationError] Authorization is required
129
- def webhooks_dm(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
138
+ def webhooks_dm(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
130
139
  command = make_simple_command(:post, 'v1/{+parent}/webhooks', options)
131
140
  command.request_representation = Google::Apis::ChatV1::Message::Representation
132
141
  command.request_object = message_object
133
142
  command.response_representation = Google::Apis::ChatV1::Message::Representation
134
143
  command.response_class = Google::Apis::ChatV1::Message
135
144
  command.params['parent'] = parent unless parent.nil?
145
+ command.query['requestId'] = request_id unless request_id.nil?
136
146
  command.query['threadKey'] = thread_key unless thread_key.nil?
137
147
  command.query['fields'] = fields unless fields.nil?
138
148
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -145,6 +155,10 @@ module Google
145
155
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
146
156
  # AAAAMpdlehY
147
157
  # @param [Google::Apis::ChatV1::Message] message_object
158
+ # @param [String] request_id
159
+ # Optional. A unique request ID for this message. If a message has already been
160
+ # created in the space with this request ID, the subsequent request will return
161
+ # the existing message and no new message will be created.
148
162
  # @param [String] thread_key
149
163
  # Optional. Opaque thread identifier string that can be specified to group
150
164
  # messages into a single thread. If this is the first message with a given
@@ -170,13 +184,14 @@ module Google
170
184
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
171
185
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
172
186
  # @raise [Google::Apis::AuthorizationError] Authorization is required
173
- def messages_dm_conversation(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
187
+ def messages_dm_conversation(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
174
188
  command = make_simple_command(:post, 'v1/{+parent}/messages', options)
175
189
  command.request_representation = Google::Apis::ChatV1::Message::Representation
176
190
  command.request_object = message_object
177
191
  command.response_representation = Google::Apis::ChatV1::Message::Representation
178
192
  command.response_class = Google::Apis::ChatV1::Message
179
193
  command.params['parent'] = parent unless parent.nil?
194
+ command.query['requestId'] = request_id unless request_id.nil?
180
195
  command.query['threadKey'] = thread_key unless thread_key.nil?
181
196
  command.query['fields'] = fields unless fields.nil?
182
197
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -227,6 +242,10 @@ module Google
227
242
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
228
243
  # AAAAMpdlehY
229
244
  # @param [Google::Apis::ChatV1::Message] message_object
245
+ # @param [String] request_id
246
+ # Optional. A unique request ID for this message. If a message has already been
247
+ # created in the space with this request ID, the subsequent request will return
248
+ # the existing message and no new message will be created.
230
249
  # @param [String] thread_key
231
250
  # Optional. Opaque thread identifier string that can be specified to group
232
251
  # messages into a single thread. If this is the first message with a given
@@ -252,13 +271,14 @@ module Google
252
271
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
253
272
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
254
273
  # @raise [Google::Apis::AuthorizationError] Authorization is required
255
- def messages_room(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
274
+ def messages_room(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
256
275
  command = make_simple_command(:post, 'v1/{+parent}/messages', options)
257
276
  command.request_representation = Google::Apis::ChatV1::Message::Representation
258
277
  command.request_object = message_object
259
278
  command.response_representation = Google::Apis::ChatV1::Message::Representation
260
279
  command.response_class = Google::Apis::ChatV1::Message
261
280
  command.params['parent'] = parent unless parent.nil?
281
+ command.query['requestId'] = request_id unless request_id.nil?
262
282
  command.query['threadKey'] = thread_key unless thread_key.nil?
263
283
  command.query['fields'] = fields unless fields.nil?
264
284
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -271,6 +291,10 @@ module Google
271
291
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
272
292
  # AAAAMpdlehY
273
293
  # @param [Google::Apis::ChatV1::Message] message_object
294
+ # @param [String] request_id
295
+ # Optional. A unique request ID for this message. If a message has already been
296
+ # created in the space with this request ID, the subsequent request will return
297
+ # the existing message and no new message will be created.
274
298
  # @param [String] thread_key
275
299
  # Optional. Opaque thread identifier string that can be specified to group
276
300
  # messages into a single thread. If this is the first message with a given
@@ -296,13 +320,14 @@ module Google
296
320
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
297
321
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
298
322
  # @raise [Google::Apis::AuthorizationError] Authorization is required
299
- def webhooks_room(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
323
+ def webhooks_room(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
300
324
  command = make_simple_command(:post, 'v1/{+parent}/webhooks', options)
301
325
  command.request_representation = Google::Apis::ChatV1::Message::Representation
302
326
  command.request_object = message_object
303
327
  command.response_representation = Google::Apis::ChatV1::Message::Representation
304
328
  command.response_class = Google::Apis::ChatV1::Message
305
329
  command.params['parent'] = parent unless parent.nil?
330
+ command.query['requestId'] = request_id unless request_id.nil?
306
331
  command.query['threadKey'] = thread_key unless thread_key.nil?
307
332
  command.query['fields'] = fields unless fields.nil?
308
333
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -315,6 +340,10 @@ module Google
315
340
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
316
341
  # AAAAMpdlehY
317
342
  # @param [Google::Apis::ChatV1::Message] message_object
343
+ # @param [String] request_id
344
+ # Optional. A unique request ID for this message. If a message has already been
345
+ # created in the space with this request ID, the subsequent request will return
346
+ # the existing message and no new message will be created.
318
347
  # @param [String] thread_key
319
348
  # Optional. Opaque thread identifier string that can be specified to group
320
349
  # messages into a single thread. If this is the first message with a given
@@ -340,13 +369,14 @@ module Google
340
369
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
341
370
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
342
371
  # @raise [Google::Apis::AuthorizationError] Authorization is required
343
- def messages_room_conversation(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
372
+ def messages_room_conversation(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
344
373
  command = make_simple_command(:post, 'v1/{+parent}/messages', options)
345
374
  command.request_representation = Google::Apis::ChatV1::Message::Representation
346
375
  command.request_object = message_object
347
376
  command.response_representation = Google::Apis::ChatV1::Message::Representation
348
377
  command.response_class = Google::Apis::ChatV1::Message
349
378
  command.params['parent'] = parent unless parent.nil?
379
+ command.query['requestId'] = request_id unless request_id.nil?
350
380
  command.query['threadKey'] = thread_key unless thread_key.nil?
351
381
  command.query['fields'] = fields unless fields.nil?
352
382
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -356,7 +386,7 @@ module Google
356
386
  # Returns a space.
357
387
  # @param [String] name
358
388
  # Required. Resource name of the space, in the form "spaces/*". Example: spaces/
359
- # AAAAMpdlehY
389
+ # AAAAAAAAAAAA
360
390
  # @param [String] fields
361
391
  # Selector specifying which fields to include in a partial response.
362
392
  # @param [String] quota_user
@@ -424,6 +454,10 @@ module Google
424
454
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
425
455
  # AAAAMpdlehY
426
456
  # @param [Google::Apis::ChatV1::Message] message_object
457
+ # @param [String] request_id
458
+ # Optional. A unique request ID for this message. If a message has already been
459
+ # created in the space with this request ID, the subsequent request will return
460
+ # the existing message and no new message will be created.
427
461
  # @param [String] thread_key
428
462
  # Optional. Opaque thread identifier string that can be specified to group
429
463
  # messages into a single thread. If this is the first message with a given
@@ -449,13 +483,14 @@ module Google
449
483
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
450
484
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
451
485
  # @raise [Google::Apis::AuthorizationError] Authorization is required
452
- def webhooks_space(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
486
+ def webhooks_space(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
453
487
  command = make_simple_command(:post, 'v1/{+parent}/webhooks', options)
454
488
  command.request_representation = Google::Apis::ChatV1::Message::Representation
455
489
  command.request_object = message_object
456
490
  command.response_representation = Google::Apis::ChatV1::Message::Representation
457
491
  command.response_class = Google::Apis::ChatV1::Message
458
492
  command.params['parent'] = parent unless parent.nil?
493
+ command.query['requestId'] = request_id unless request_id.nil?
459
494
  command.query['threadKey'] = thread_key unless thread_key.nil?
460
495
  command.query['fields'] = fields unless fields.nil?
461
496
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -536,6 +571,10 @@ module Google
536
571
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
537
572
  # AAAAMpdlehY
538
573
  # @param [Google::Apis::ChatV1::Message] message_object
574
+ # @param [String] request_id
575
+ # Optional. A unique request ID for this message. If a message has already been
576
+ # created in the space with this request ID, the subsequent request will return
577
+ # the existing message and no new message will be created.
539
578
  # @param [String] thread_key
540
579
  # Optional. Opaque thread identifier string that can be specified to group
541
580
  # messages into a single thread. If this is the first message with a given
@@ -561,13 +600,14 @@ module Google
561
600
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
562
601
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
563
602
  # @raise [Google::Apis::AuthorizationError] Authorization is required
564
- def create_space_message(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
603
+ def create_space_message(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
565
604
  command = make_simple_command(:post, 'v1/{+parent}/messages', options)
566
605
  command.request_representation = Google::Apis::ChatV1::Message::Representation
567
606
  command.request_object = message_object
568
607
  command.response_representation = Google::Apis::ChatV1::Message::Representation
569
608
  command.response_class = Google::Apis::ChatV1::Message
570
609
  command.params['parent'] = parent unless parent.nil?
610
+ command.query['requestId'] = request_id unless request_id.nil?
571
611
  command.query['threadKey'] = thread_key unless thread_key.nil?
572
612
  command.query['fields'] = fields unless fields.nil?
573
613
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -638,10 +678,13 @@ module Google
638
678
 
639
679
  # Updates a message.
640
680
  # @param [String] name
681
+ # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAMpdlehY/
682
+ # messages/UMxbHmzDlr4.UMxbHmzDlr4`
641
683
  # @param [Google::Apis::ChatV1::Message] message_object
642
684
  # @param [String] update_mask
643
685
  # Required. The field paths to be updated, comma separated if there are multiple.
644
- # Currently supported field paths: * text * cards
686
+ # Currently supported field paths: * text * cards *
687
+ # gsuite_message_integration_render_data * attachment
645
688
  # @param [String] fields
646
689
  # Selector specifying which fields to include in a partial response.
647
690
  # @param [String] quota_user
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.15.0
4
+ version: 0.16.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: 2021-09-20 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-chat_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.15.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-chat_v1
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.16.0
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: []
65
65
  require_paths: