google-apis-chat_v1 0.26.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: 2c53d2d684e06d822883b4b821291ed4a8cc259546bfcf5e284f14f1ea4e39ab
4
- data.tar.gz: d4f94581b98be67474c49272edb3233360fac3b6b4a522864ecc97b9c8e9aca1
3
+ metadata.gz: 0aa1630e3e59bf9fc8b75ec7cd2c26a469c7efea3ef9619f74fc9ceab0c56c5e
4
+ data.tar.gz: 3acc0e64a841735c89669762940588683ecde00f16dd98ce62aa8a33855e39ba
5
5
  SHA512:
6
- metadata.gz: 1952ea98c566106575f07a9efbe8c5567506c6f03e6a1b68ef8224fe5c737b997ec323ffa70805b186a8c41b9d11d6c3d45ca126f4deba8ede521b8bd800f623
7
- data.tar.gz: b5594bd43cf5d527121c3caf6a42a242bbbce553be4808e224fa74ffe3d7223840e16e9a6b3851b05820e85483ef943844773d9c495f9757d418d593e9dbfd97
6
+ metadata.gz: 615fdee53c4f3388c8850861ee30e4306a73ac1b9887290db2cf23394e102a78cbf6119004d8fa2293f10a793c0780584ccdc43ca08e57341dad7b675149a8b9
7
+ data.tar.gz: f9b6b1652a30a2bbede1a87938ec94d6db46783425864310ea2699fe783d883bec71f047e02219e8c2aaea715bf70d8a747c8b3fca8706f923e0ca45a64c4a68
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
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
+
7
+ ### v0.28.0 (2022-03-25)
8
+
9
+ * Regenerated from discovery document revision 20220319
10
+
11
+ ### v0.27.0 (2022-03-09)
12
+
13
+ * Regenerated from discovery document revision 20220308
14
+
3
15
  ### v0.26.0 (2022-03-04)
4
16
 
5
17
  * Regenerated from discovery document revision 20220302
@@ -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
 
@@ -806,8 +807,7 @@ module Google
806
807
  # A generic empty message that you can re-use to avoid defining duplicated empty
807
808
  # messages in your APIs. A typical example is to use it as the request or the
808
809
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
809
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
810
- # `Empty` is empty JSON object ````.
810
+ # protobuf.Empty) returns (google.protobuf.Empty); `
811
811
  class Empty
812
812
  include Google::Apis::Core::Hashable
813
813
 
@@ -826,8 +826,8 @@ module Google
826
826
  include Google::Apis::Core::Hashable
827
827
 
828
828
  # The method name is used to identify which part of the form triggered the form
829
- # submission. This information is echoed back to the bot as part of the card
830
- # 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
831
831
  # trigger a common behavior if desired.
832
832
  # Corresponds to the JSON property `actionMethodName`
833
833
  # @return [String]
@@ -2356,7 +2356,7 @@ module Google
2356
2356
  end
2357
2357
  end
2358
2358
 
2359
- # 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
2360
2360
  # information, refer to [Unfurl links](/chat/how-tos/link-unfurling).
2361
2361
  class MatchedUrl
2362
2362
  include Google::Apis::Core::Hashable
@@ -2437,7 +2437,7 @@ module Google
2437
2437
  class Message
2438
2438
  include Google::Apis::Core::Hashable
2439
2439
 
2440
- # 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.
2441
2441
  # Corresponds to the JSON property `actionResponse`
2442
2442
  # @return [Google::Apis::ChatV1::ActionResponse]
2443
2443
  attr_accessor :action_response
@@ -2447,7 +2447,7 @@ module Google
2447
2447
  # @return [Array<Google::Apis::ChatV1::Annotation>]
2448
2448
  attr_accessor :annotations
2449
2449
 
2450
- # 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.
2451
2451
  # Corresponds to the JSON property `argumentText`
2452
2452
  # @return [String]
2453
2453
  attr_accessor :argument_text
@@ -2482,7 +2482,7 @@ module Google
2482
2482
  # @return [String]
2483
2483
  attr_accessor :last_update_time
2484
2484
 
2485
- # 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
2486
2486
  # information, refer to [Unfurl links](/chat/how-tos/link-unfurling).
2487
2487
  # Corresponds to the JSON property `matchedUrl`
2488
2488
  # @return [Google::Apis::ChatV1::MatchedUrl]
@@ -2494,13 +2494,6 @@ module Google
2494
2494
  # @return [String]
2495
2495
  attr_accessor :name
2496
2496
 
2497
- # Text for generating preview chips. This text will not be displayed to the user,
2498
- # but any links to images, web pages, videos, etc. included here will generate
2499
- # preview chips.
2500
- # Corresponds to the JSON property `previewText`
2501
- # @return [String]
2502
- attr_accessor :preview_text
2503
-
2504
2497
  # A user in Google Chat.
2505
2498
  # Corresponds to the JSON property `sender`
2506
2499
  # @return [Google::Apis::ChatV1::User]
@@ -2513,12 +2506,13 @@ module Google
2513
2506
  attr_accessor :slash_command
2514
2507
 
2515
2508
  # A space in Google Chat. Spaces are conversations between two or more users or
2516
- # 1:1 messages between a user and a Chat bot.
2509
+ # 1:1 messages between a user and a Chat app.
2517
2510
  # Corresponds to the JSON property `space`
2518
2511
  # @return [Google::Apis::ChatV1::Space]
2519
2512
  attr_accessor :space
2520
2513
 
2521
- # 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.
2522
2516
  # Corresponds to the JSON property `text`
2523
2517
  # @return [String]
2524
2518
  attr_accessor :text
@@ -2544,7 +2538,6 @@ module Google
2544
2538
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
2545
2539
  @matched_url = args[:matched_url] if args.key?(:matched_url)
2546
2540
  @name = args[:name] if args.key?(:name)
2547
- @preview_text = args[:preview_text] if args.key?(:preview_text)
2548
2541
  @sender = args[:sender] if args.key?(:sender)
2549
2542
  @slash_command = args[:slash_command] if args.key?(:slash_command)
2550
2543
  @space = args[:space] if args.key?(:space)
@@ -2690,7 +2683,7 @@ module Google
2690
2683
  end
2691
2684
 
2692
2685
  # A space in Google Chat. Spaces are conversations between two or more users or
2693
- # 1:1 messages between a user and a Chat bot.
2686
+ # 1:1 messages between a user and a Chat app.
2694
2687
  class Space
2695
2688
  include Google::Apis::Core::Hashable
2696
2689
 
@@ -2700,13 +2693,13 @@ module Google
2700
2693
  # @return [String]
2701
2694
  attr_accessor :display_name
2702
2695
 
2703
- # Resource name of the space, in the form "spaces/*". Example: spaces/
2696
+ # Optional. Resource name of the space, in the form "spaces/*". Example: spaces/
2704
2697
  # AAAAAAAAAAAA
2705
2698
  # Corresponds to the JSON property `name`
2706
2699
  # @return [String]
2707
2700
  attr_accessor :name
2708
2701
 
2709
- # 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.
2710
2703
  # Corresponds to the JSON property `singleUserBotDm`
2711
2704
  # @return [Boolean]
2712
2705
  attr_accessor :single_user_bot_dm
@@ -2928,7 +2921,7 @@ module Google
2928
2921
  # @return [String]
2929
2922
  attr_accessor :domain_id
2930
2923
 
2931
- # True when the user is deleted or the user's profile is not visible.
2924
+ # When `true`, the user is deleted or their profile is not visible.
2932
2925
  # Corresponds to the JSON property `isAnonymous`
2933
2926
  # @return [Boolean]
2934
2927
  attr_accessor :is_anonymous
@@ -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.26.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 = "20220302"
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
@@ -22,7 +22,7 @@ module Google
22
22
  module ChatV1
23
23
  # Google Chat API
24
24
  #
25
- # Enables bots to fetch information and perform actions in Google Chat.
25
+ # Enables apps to fetch information and perform actions in Google Chat.
26
26
  # Authentication using a service account is a prerequisite for using the Google
27
27
  # Chat REST API.
28
28
  #
@@ -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,10 +716,11 @@ 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
- # Resource name of the attachment, in the form "spaces/*/messages/*/attachments/*
713
- # ".
722
+ # Required. Resource name of the attachment, in the form "spaces/*/messages/*/
723
+ # attachments/*".
714
724
  # @param [String] fields
715
725
  # Selector specifying which fields to include in a partial response.
716
726
  # @param [String] quota_user
@@ -21,7 +21,7 @@ module Google
21
21
  module Apis
22
22
  # Google Chat API
23
23
  #
24
- # Enables bots to fetch information and perform actions in Google Chat.
24
+ # Enables apps to fetch information and perform actions in Google Chat.
25
25
  # Authentication using a service account is a prerequisite for using the Google
26
26
  # Chat REST API.
27
27
  #
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.26.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-07 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.26.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: []