google-apis-chat_v1 0.28.0 → 0.29.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: e6e5d69eafe104ce9937a7db92a3218a81f23f4787a0ab7d0fe90a4952b68125
4
- data.tar.gz: 30c89bff11f980bd97229ea20e59a0a9a02599821404b98d740ae7b60a5cbe76
3
+ metadata.gz: 0aa1630e3e59bf9fc8b75ec7cd2c26a469c7efea3ef9619f74fc9ceab0c56c5e
4
+ data.tar.gz: 3acc0e64a841735c89669762940588683ecde00f16dd98ce62aa8a33855e39ba
5
5
  SHA512:
6
- metadata.gz: 74f8bb269db19b136ef6084e1e4408bedde775575da5f7e947738f4955271ddabe2adbb0d8bf9bbd4f6675660d8a78178ef248ff218f68a82bfdd4cec69a67aa
7
- data.tar.gz: c01acbae399bcaa234f7eef5b5202da26f3ca44aff11dd4c042e3cb9e865e837db67d77ced1fb4178c5dfb9208a7ab90cb30294680bf8a7b8df5ad5f7c035dbd
6
+ metadata.gz: 615fdee53c4f3388c8850861ee30e4306a73ac1b9887290db2cf23394e102a78cbf6119004d8fa2293f10a793c0780584ccdc43ca08e57341dad7b675149a8b9
7
+ data.tar.gz: f9b6b1652a30a2bbede1a87938ec94d6db46783425864310ea2699fe783d883bec71f047e02219e8c2aaea715bf70d8a747c8b3fca8706f923e0ca45a64c4a68
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.29.0 (2022-04-01)
4
+
5
+ * Regenerated from discovery document revision 20220326
6
+
3
7
  ### v0.28.0 (2022-03-25)
4
8
 
5
9
  * Regenerated from discovery document revision 20220319
@@ -50,17 +50,17 @@ module Google
50
50
  end
51
51
  end
52
52
 
53
- # Parameters that a bot can use to configure how it's response is posted.
53
+ # Parameters that a Chat app can use to configure how it's response is posted.
54
54
  class ActionResponse
55
55
  include Google::Apis::Core::Hashable
56
56
 
57
- # Contains a [dialog](https://developers.google.com/chat/how-tos/bot-dialogs)
58
- # and request status code.
57
+ # Contains a [dialog](https://developers.google.com/chat/how-tos/dialogs) and
58
+ # request status code.
59
59
  # Corresponds to the JSON property `dialogAction`
60
60
  # @return [Google::Apis::ChatV1::DialogAction]
61
61
  attr_accessor :dialog_action
62
62
 
63
- # The type of bot response.
63
+ # The type of Chat app response.
64
64
  # Corresponds to the JSON property `type`
65
65
  # @return [String]
66
66
  attr_accessor :type
@@ -178,8 +178,8 @@ module Google
178
178
  attr_accessor :content_type
179
179
 
180
180
  # Output only. The download URL which should be used to allow a human user to
181
- # download the attachment. Bots should not use this URL to download attachment
182
- # content.
181
+ # download the attachment. Chat apps should not use this URL to download
182
+ # attachment content.
183
183
  # Corresponds to the JSON property `downloadUri`
184
184
  # @return [String]
185
185
  attr_accessor :download_uri
@@ -201,7 +201,8 @@ module Google
201
201
  attr_accessor :source
202
202
 
203
203
  # Output only. The thumbnail URL which should be used to preview the attachment
204
- # to a human user. Bots should not use this URL to download attachment content.
204
+ # to a human user. Chat apps should not use this URL to download attachment
205
+ # content.
205
206
  # Corresponds to the JSON property `thumbnailUri`
206
207
  # @return [String]
207
208
  attr_accessor :thumbnail_uri
@@ -462,7 +463,7 @@ module Google
462
463
  # Represents information about the user's client, such as locale, host app, and
463
464
  # platform. For Chat apps, `CommonEventObject` includes data submitted by users
464
465
  # interacting with cards, like data entered in [dialogs](https://developers.
465
- # google.com/chat/how-tos/bot-dialogs).
466
+ # google.com/chat/how-tos/dialogs).
466
467
  class CommonEventObject
467
468
  include Google::Apis::Core::Hashable
468
469
 
@@ -473,7 +474,7 @@ module Google
473
474
  # array of `StringInput` objects. For a date-time picker, a `DateTimeInput`. For
474
475
  # a date-only picker, a `DateInput`. For a time-only picker, a `TimeInput`.
475
476
  # Corresponds with the data entered by a user on a card in a [dialog](https://
476
- # developers.google.com/chat/how-tos/bot-dialogs).
477
+ # developers.google.com/chat/how-tos/dialogs).
477
478
  # Corresponds to the JSON property `formInputs`
478
479
  # @return [Hash<String,Google::Apis::ChatV1::Inputs>]
479
480
  attr_accessor :form_inputs
@@ -595,12 +596,12 @@ module Google
595
596
  # Represents information about the user's client, such as locale, host app, and
596
597
  # platform. For Chat apps, `CommonEventObject` includes data submitted by users
597
598
  # interacting with cards, like data entered in [dialogs](https://developers.
598
- # google.com/chat/how-tos/bot-dialogs).
599
+ # google.com/chat/how-tos/dialogs).
599
600
  # Corresponds to the JSON property `common`
600
601
  # @return [Google::Apis::ChatV1::CommonEventObject]
601
602
  attr_accessor :common
602
603
 
603
- # The URL the bot should redirect the user to after they have completed an
604
+ # The URL the Chat app should redirect the user to after they have completed an
604
605
  # authorization or configuration flow outside of Google Chat. See the [
605
606
  # Authorizing access to 3p services guide](/chat/how-tos/auth-3p) for more
606
607
  # information.
@@ -608,8 +609,8 @@ module Google
608
609
  # @return [String]
609
610
  attr_accessor :config_complete_redirect_url
610
611
 
611
- # The type of [dialog](https://developers.google.com/chat/how-tos/bot-dialogs)
612
- # event received.
612
+ # The type of [dialog](https://developers.google.com/chat/how-tos/dialogs) event
613
+ # received.
613
614
  # Corresponds to the JSON property `dialogEventType`
614
615
  # @return [String]
615
616
  attr_accessor :dialog_event_type
@@ -620,7 +621,7 @@ module Google
620
621
  attr_accessor :event_time
621
622
 
622
623
  # True when the event is related to [dialogs](https://developers.google.com/chat/
623
- # how-tos/bot-dialogs).
624
+ # how-tos/dialogs).
624
625
  # Corresponds to the JSON property `isDialogEvent`
625
626
  # @return [Boolean]
626
627
  attr_accessor :is_dialog_event
@@ -632,19 +633,19 @@ module Google
632
633
  attr_accessor :message
633
634
 
634
635
  # A space in Google Chat. Spaces are conversations between two or more users or
635
- # 1:1 messages between a user and a Chat bot.
636
+ # 1:1 messages between a user and a Chat app.
636
637
  # Corresponds to the JSON property `space`
637
638
  # @return [Google::Apis::ChatV1::Space]
638
639
  attr_accessor :space
639
640
 
640
- # The bot-defined key for the thread related to the event. See the thread_key
641
- # field of the `spaces.message.create` request for more information.
641
+ # The Chat app-defined key for the thread related to the event. See the
642
+ # thread_key field of the `spaces.message.create` request for more information.
642
643
  # Corresponds to the JSON property `threadKey`
643
644
  # @return [String]
644
645
  attr_accessor :thread_key
645
646
 
646
- # A secret value that bots can use to verify if a request is from Google. The
647
- # token is randomly generated by Google, remains static, and can be obtained
647
+ # A secret value that Chat apps can use to verify if a request is from Google.
648
+ # The token is randomly generated by Google, remains static, and can be obtained
648
649
  # from the Google Chat API configuration page in the Cloud Console. Developers
649
650
  # can revoke/regenerate it if needed from the same page.
650
651
  # Corresponds to the JSON property `token`
@@ -718,8 +719,8 @@ module Google
718
719
  end
719
720
  end
720
721
 
721
- # Contains a [dialog](https://developers.google.com/chat/how-tos/bot-dialogs)
722
- # and request status code.
722
+ # Contains a [dialog](https://developers.google.com/chat/how-tos/dialogs) and
723
+ # request status code.
723
724
  class DialogAction
724
725
  include Google::Apis::Core::Hashable
725
726
 
@@ -825,8 +826,8 @@ module Google
825
826
  include Google::Apis::Core::Hashable
826
827
 
827
828
  # The method name is used to identify which part of the form triggered the form
828
- # submission. This information is echoed back to the bot as part of the card
829
- # click event. The same method name can be used for several elements that
829
+ # submission. This information is echoed back to the Chat app as part of the
830
+ # card click event. The same method name can be used for several elements that
830
831
  # trigger a common behavior if desired.
831
832
  # Corresponds to the JSON property `actionMethodName`
832
833
  # @return [String]
@@ -2355,7 +2356,7 @@ module Google
2355
2356
  end
2356
2357
  end
2357
2358
 
2358
- # A matched url in a Chat message. Chat bots can unfurl matched URLs. For more
2359
+ # A matched url in a Chat message. Chat apps can unfurl matched URLs. For more
2359
2360
  # information, refer to [Unfurl links](/chat/how-tos/link-unfurling).
2360
2361
  class MatchedUrl
2361
2362
  include Google::Apis::Core::Hashable
@@ -2436,7 +2437,7 @@ module Google
2436
2437
  class Message
2437
2438
  include Google::Apis::Core::Hashable
2438
2439
 
2439
- # Parameters that a bot can use to configure how it's response is posted.
2440
+ # Parameters that a Chat app can use to configure how it's response is posted.
2440
2441
  # Corresponds to the JSON property `actionResponse`
2441
2442
  # @return [Google::Apis::ChatV1::ActionResponse]
2442
2443
  attr_accessor :action_response
@@ -2446,7 +2447,7 @@ module Google
2446
2447
  # @return [Array<Google::Apis::ChatV1::Annotation>]
2447
2448
  attr_accessor :annotations
2448
2449
 
2449
- # Plain-text body of the message with all bot mentions stripped out.
2450
+ # Plain-text body of the message with all Chat app mentions stripped out.
2450
2451
  # Corresponds to the JSON property `argumentText`
2451
2452
  # @return [String]
2452
2453
  attr_accessor :argument_text
@@ -2481,7 +2482,7 @@ module Google
2481
2482
  # @return [String]
2482
2483
  attr_accessor :last_update_time
2483
2484
 
2484
- # A matched url in a Chat message. Chat bots can unfurl matched URLs. For more
2485
+ # A matched url in a Chat message. Chat apps can unfurl matched URLs. For more
2485
2486
  # information, refer to [Unfurl links](/chat/how-tos/link-unfurling).
2486
2487
  # Corresponds to the JSON property `matchedUrl`
2487
2488
  # @return [Google::Apis::ChatV1::MatchedUrl]
@@ -2493,13 +2494,6 @@ module Google
2493
2494
  # @return [String]
2494
2495
  attr_accessor :name
2495
2496
 
2496
- # Text for generating preview chips. This text will not be displayed to the user,
2497
- # but any links to images, web pages, videos, etc. included here will generate
2498
- # preview chips.
2499
- # Corresponds to the JSON property `previewText`
2500
- # @return [String]
2501
- attr_accessor :preview_text
2502
-
2503
2497
  # A user in Google Chat.
2504
2498
  # Corresponds to the JSON property `sender`
2505
2499
  # @return [Google::Apis::ChatV1::User]
@@ -2512,12 +2506,13 @@ module Google
2512
2506
  attr_accessor :slash_command
2513
2507
 
2514
2508
  # A space in Google Chat. Spaces are conversations between two or more users or
2515
- # 1:1 messages between a user and a Chat bot.
2509
+ # 1:1 messages between a user and a Chat app.
2516
2510
  # Corresponds to the JSON property `space`
2517
2511
  # @return [Google::Apis::ChatV1::Space]
2518
2512
  attr_accessor :space
2519
2513
 
2520
- # Plain-text body of the message.
2514
+ # Plain-text body of the message. The first link to an image, video, web page,
2515
+ # or other preview-able item generates a preview chip.
2521
2516
  # Corresponds to the JSON property `text`
2522
2517
  # @return [String]
2523
2518
  attr_accessor :text
@@ -2543,7 +2538,6 @@ module Google
2543
2538
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
2544
2539
  @matched_url = args[:matched_url] if args.key?(:matched_url)
2545
2540
  @name = args[:name] if args.key?(:name)
2546
- @preview_text = args[:preview_text] if args.key?(:preview_text)
2547
2541
  @sender = args[:sender] if args.key?(:sender)
2548
2542
  @slash_command = args[:slash_command] if args.key?(:slash_command)
2549
2543
  @space = args[:space] if args.key?(:space)
@@ -2689,7 +2683,7 @@ module Google
2689
2683
  end
2690
2684
 
2691
2685
  # A space in Google Chat. Spaces are conversations between two or more users or
2692
- # 1:1 messages between a user and a Chat bot.
2686
+ # 1:1 messages between a user and a Chat app.
2693
2687
  class Space
2694
2688
  include Google::Apis::Core::Hashable
2695
2689
 
@@ -2705,7 +2699,7 @@ module Google
2705
2699
  # @return [String]
2706
2700
  attr_accessor :name
2707
2701
 
2708
- # Output only. Whether the space is a DM between a bot and a single human.
2702
+ # Output only. Whether the space is a DM between a Chat app and a single human.
2709
2703
  # Corresponds to the JSON property `singleUserBotDm`
2710
2704
  # @return [Boolean]
2711
2705
  attr_accessor :single_user_bot_dm
@@ -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.28.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220319"
25
+ REVISION = "20220326"
26
26
  end
27
27
  end
28
28
  end
@@ -1148,7 +1148,6 @@ module Google
1148
1148
  property :matched_url, as: 'matchedUrl', class: Google::Apis::ChatV1::MatchedUrl, decorator: Google::Apis::ChatV1::MatchedUrl::Representation
1149
1149
 
1150
1150
  property :name, as: 'name'
1151
- property :preview_text, as: 'previewText'
1152
1151
  property :sender, as: 'sender', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
1153
1152
 
1154
1153
  property :slash_command, as: 'slashCommand', class: Google::Apis::ChatV1::SlashCommand, decorator: Google::Apis::ChatV1::SlashCommand::Representation
@@ -64,10 +64,10 @@ module Google
64
64
  # Optional. Opaque thread identifier string that can be specified to group
65
65
  # messages into a single thread. If this is the first message with a given
66
66
  # thread identifier, a new thread is created. Subsequent messages with the same
67
- # thread identifier will be posted into the same thread. This relieves bots and
68
- # webhooks from having to store the Google Chat thread ID of a thread (created
69
- # earlier by them) to post further updates to it. Has no effect if thread field,
70
- # corresponding to an existing thread, is set in message.
67
+ # thread identifier will be posted into the same thread. This relieves Chat apps
68
+ # and webhooks from having to store the Google Chat thread ID of a thread (
69
+ # created earlier by them) to post further updates to it. Has no effect if
70
+ # thread field, corresponding to an existing thread, is set in message.
71
71
  # @param [String] fields
72
72
  # Selector specifying which fields to include in a partial response.
73
73
  # @param [String] quota_user
@@ -112,10 +112,10 @@ module Google
112
112
  # Optional. Opaque thread identifier string that can be specified to group
113
113
  # messages into a single thread. If this is the first message with a given
114
114
  # thread identifier, a new thread is created. Subsequent messages with the same
115
- # thread identifier will be posted into the same thread. This relieves bots and
116
- # webhooks from having to store the Google Chat thread ID of a thread (created
117
- # earlier by them) to post further updates to it. Has no effect if thread field,
118
- # corresponding to an existing thread, is set in message.
115
+ # thread identifier will be posted into the same thread. This relieves Chat apps
116
+ # and webhooks from having to store the Google Chat thread ID of a thread (
117
+ # created earlier by them) to post further updates to it. Has no effect if
118
+ # thread field, corresponding to an existing thread, is set in message.
119
119
  # @param [String] fields
120
120
  # Selector specifying which fields to include in a partial response.
121
121
  # @param [String] quota_user
@@ -160,10 +160,10 @@ module Google
160
160
  # Optional. Opaque thread identifier string that can be specified to group
161
161
  # messages into a single thread. If this is the first message with a given
162
162
  # thread identifier, a new thread is created. Subsequent messages with the same
163
- # thread identifier will be posted into the same thread. This relieves bots and
164
- # webhooks from having to store the Google Chat thread ID of a thread (created
165
- # earlier by them) to post further updates to it. Has no effect if thread field,
166
- # corresponding to an existing thread, is set in message.
163
+ # thread identifier will be posted into the same thread. This relieves Chat apps
164
+ # and webhooks from having to store the Google Chat thread ID of a thread (
165
+ # created earlier by them) to post further updates to it. Has no effect if
166
+ # thread field, corresponding to an existing thread, is set in message.
167
167
  # @param [String] fields
168
168
  # Selector specifying which fields to include in a partial response.
169
169
  # @param [String] quota_user
@@ -246,10 +246,10 @@ module Google
246
246
  # Optional. Opaque thread identifier string that can be specified to group
247
247
  # messages into a single thread. If this is the first message with a given
248
248
  # thread identifier, a new thread is created. Subsequent messages with the same
249
- # thread identifier will be posted into the same thread. This relieves bots and
250
- # webhooks from having to store the Google Chat thread ID of a thread (created
251
- # earlier by them) to post further updates to it. Has no effect if thread field,
252
- # corresponding to an existing thread, is set in message.
249
+ # thread identifier will be posted into the same thread. This relieves Chat apps
250
+ # and webhooks from having to store the Google Chat thread ID of a thread (
251
+ # created earlier by them) to post further updates to it. Has no effect if
252
+ # thread field, corresponding to an existing thread, is set in message.
253
253
  # @param [String] fields
254
254
  # Selector specifying which fields to include in a partial response.
255
255
  # @param [String] quota_user
@@ -294,10 +294,10 @@ module Google
294
294
  # Optional. Opaque thread identifier string that can be specified to group
295
295
  # messages into a single thread. If this is the first message with a given
296
296
  # thread identifier, a new thread is created. Subsequent messages with the same
297
- # thread identifier will be posted into the same thread. This relieves bots and
298
- # webhooks from having to store the Google Chat thread ID of a thread (created
299
- # earlier by them) to post further updates to it. Has no effect if thread field,
300
- # corresponding to an existing thread, is set in message.
297
+ # thread identifier will be posted into the same thread. This relieves Chat apps
298
+ # and webhooks from having to store the Google Chat thread ID of a thread (
299
+ # created earlier by them) to post further updates to it. Has no effect if
300
+ # thread field, corresponding to an existing thread, is set in message.
301
301
  # @param [String] fields
302
302
  # Selector specifying which fields to include in a partial response.
303
303
  # @param [String] quota_user
@@ -342,10 +342,10 @@ module Google
342
342
  # Optional. Opaque thread identifier string that can be specified to group
343
343
  # messages into a single thread. If this is the first message with a given
344
344
  # thread identifier, a new thread is created. Subsequent messages with the same
345
- # thread identifier will be posted into the same thread. This relieves bots and
346
- # webhooks from having to store the Google Chat thread ID of a thread (created
347
- # earlier by them) to post further updates to it. Has no effect if thread field,
348
- # corresponding to an existing thread, is set in message.
345
+ # thread identifier will be posted into the same thread. This relieves Chat apps
346
+ # and webhooks from having to store the Google Chat thread ID of a thread (
347
+ # created earlier by them) to post further updates to it. Has no effect if
348
+ # thread field, corresponding to an existing thread, is set in message.
349
349
  # @param [String] fields
350
350
  # Selector specifying which fields to include in a partial response.
351
351
  # @param [String] quota_user
@@ -377,7 +377,8 @@ module Google
377
377
  execute_or_queue_command(command, &block)
378
378
  end
379
379
 
380
- # Returns a space.
380
+ # Returns a space. Requires [service account authentication](https://developers.
381
+ # google.com/chat/api/guides/auth/service-accounts).
381
382
  # @param [String] name
382
383
  # Required. Resource name of the space, in the form "spaces/*". Example: spaces/
383
384
  # AAAAAAAAAAAA
@@ -408,7 +409,9 @@ module Google
408
409
  execute_or_queue_command(command, &block)
409
410
  end
410
411
 
411
- # Lists spaces the caller is a member of.
412
+ # Lists spaces the caller is a member of. Requires [service account
413
+ # authentication](https://developers.google.com/chat/api/guides/auth/service-
414
+ # accounts).
412
415
  # @param [Fixnum] page_size
413
416
  # Requested page size. The value is capped at 1000. Server may return fewer
414
417
  # results than requested. If unspecified, server will default to 100.
@@ -455,10 +458,10 @@ module Google
455
458
  # Optional. Opaque thread identifier string that can be specified to group
456
459
  # messages into a single thread. If this is the first message with a given
457
460
  # thread identifier, a new thread is created. Subsequent messages with the same
458
- # thread identifier will be posted into the same thread. This relieves bots and
459
- # webhooks from having to store the Google Chat thread ID of a thread (created
460
- # earlier by them) to post further updates to it. Has no effect if thread field,
461
- # corresponding to an existing thread, is set in message.
461
+ # thread identifier will be posted into the same thread. This relieves Chat apps
462
+ # and webhooks from having to store the Google Chat thread ID of a thread (
463
+ # created earlier by them) to post further updates to it. Has no effect if
464
+ # thread field, corresponding to an existing thread, is set in message.
462
465
  # @param [String] fields
463
466
  # Selector specifying which fields to include in a partial response.
464
467
  # @param [String] quota_user
@@ -490,7 +493,8 @@ module Google
490
493
  execute_or_queue_command(command, &block)
491
494
  end
492
495
 
493
- # Returns a membership.
496
+ # Returns a membership. Requires [service account authentication](https://
497
+ # developers.google.com/chat/api/guides/auth/service-accounts).
494
498
  # @param [String] name
495
499
  # Required. Resource name of the membership to be retrieved, in the form "spaces/
496
500
  # */members/*". Example: spaces/AAAAAAAAAAAA/members/111111111111111111111
@@ -521,7 +525,8 @@ module Google
521
525
  execute_or_queue_command(command, &block)
522
526
  end
523
527
 
524
- # Lists human memberships in a space.
528
+ # Lists human memberships in a space. Requires [service account authentication](
529
+ # https://developers.google.com/chat/api/guides/auth/service-accounts).
525
530
  # @param [String] parent
526
531
  # Required. The resource name of the space for which membership list is to be
527
532
  # fetched, in the form "spaces/*". Example: spaces/AAAAAAAAAAAA
@@ -559,7 +564,8 @@ module Google
559
564
  execute_or_queue_command(command, &block)
560
565
  end
561
566
 
562
- # Creates a message.
567
+ # Creates a message. Requires [service account authentication](https://
568
+ # developers.google.com/chat/api/guides/auth/service-accounts).
563
569
  # @param [String] parent
564
570
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
565
571
  # AAAAAAAAAAA
@@ -571,10 +577,10 @@ module Google
571
577
  # Optional. Opaque thread identifier string that can be specified to group
572
578
  # messages into a single thread. If this is the first message with a given
573
579
  # thread identifier, a new thread is created. Subsequent messages with the same
574
- # thread identifier will be posted into the same thread. This relieves bots and
575
- # webhooks from having to store the Google Chat thread ID of a thread (created
576
- # earlier by them) to post further updates to it. Has no effect if thread field,
577
- # corresponding to an existing thread, is set in message.
580
+ # thread identifier will be posted into the same thread. This relieves Chat apps
581
+ # and webhooks from having to store the Google Chat thread ID of a thread (
582
+ # created earlier by them) to post further updates to it. Has no effect if
583
+ # thread field, corresponding to an existing thread, is set in message.
578
584
  # @param [String] fields
579
585
  # Selector specifying which fields to include in a partial response.
580
586
  # @param [String] quota_user
@@ -606,7 +612,8 @@ module Google
606
612
  execute_or_queue_command(command, &block)
607
613
  end
608
614
 
609
- # Deletes a message.
615
+ # Deletes a message. Requires [service account authentication](https://
616
+ # developers.google.com/chat/api/guides/auth/service-accounts).
610
617
  # @param [String] name
611
618
  # Required. Resource name of the message to be deleted, in the form "spaces/*/
612
619
  # messages/*" Example: spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB
@@ -637,7 +644,8 @@ module Google
637
644
  execute_or_queue_command(command, &block)
638
645
  end
639
646
 
640
- # Returns a message.
647
+ # Returns a message. Requires [service account authentication](https://
648
+ # developers.google.com/chat/api/guides/auth/service-accounts).
641
649
  # @param [String] name
642
650
  # Required. Resource name of the message to be retrieved, in the form "spaces/*/
643
651
  # messages/*". Example: spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB
@@ -668,7 +676,8 @@ module Google
668
676
  execute_or_queue_command(command, &block)
669
677
  end
670
678
 
671
- # Updates a message.
679
+ # Updates a message. Requires [service account authentication](https://
680
+ # developers.google.com/chat/api/guides/auth/service-accounts).
672
681
  # @param [String] name
673
682
  # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/
674
683
  # messages/BBBBBBBBBBB.BBBBBBBBBBB`
@@ -707,7 +716,8 @@ module Google
707
716
  end
708
717
 
709
718
  # Gets the metadata of a message attachment. The attachment data is fetched
710
- # using the media API.
719
+ # using the media API. Requires [service account authentication](https://
720
+ # developers.google.com/chat/api/guides/auth/service-accounts).
711
721
  # @param [String] name
712
722
  # Required. Resource name of the attachment, in the form "spaces/*/messages/*/
713
723
  # attachments/*".
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.28.0
4
+ version: 0.29.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: 2022-03-28 00:00:00.000000000 Z
11
+ date: 2022-04-04 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.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.29.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: []