google-apis-chat_v1 0.11.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 10ed3ceb7c3b2efdf92c399b7827c6c4e4e8dbcccaebde6aabf2b2d11eeafdb3
4
- data.tar.gz: e0013674c8435e67e067052f581d985bd8b8f0ad7005c0ab94c36a44db9cd758
3
+ metadata.gz: 06d451f2679ee7377987db11152a045d11900c7fbf41b44ee04c243feebff5a8
4
+ data.tar.gz: 9dbc703b11cc6caa7bdfbc61bd3801df8b0d635dc58cc32b3b74e8c9a7b20e1b
5
5
  SHA512:
6
- metadata.gz: bad58172e10cf621e156c84904c4c81352a096e3cf3e0a3d1a0d1335fc58483f88e21c1466ff2864fdd1c22f37c57de10b11732fa3eecdf064a541049c61c95a
7
- data.tar.gz: 5028f3ad0c368b02de91f5c439f9cee6623e7a9d079185ad99949600139e86da39be8f327a318ba7dcfd3b4ef8e5dffa0cff4c7dd119293fba62fb7aefec8d9a
6
+ metadata.gz: 606256351c57f21c7872b62ec19a5359e4ddb1afb891f1489ee12e0e563583d018a0e01b709c6ac4b1a7fdb4c0964d53394e91b93f45320d2e9c17af538cab35
7
+ data.tar.gz: 56b89ec1e9d0a5ca391d9ff2d3b95c5b0d7ad0a7581762763ce938d8731920f6349c48d34421fd1af1546da5f5d7307abf1bba1748f6a183e4a78fa393a192cd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.15.0 (2021-09-15)
4
+
5
+ * Regenerated from discovery document revision 20210911
6
+
7
+ ### v0.14.0 (2021-09-01)
8
+
9
+ * Regenerated from discovery document revision 20210818
10
+
11
+ ### v0.13.0 (2021-07-21)
12
+
13
+ * Regenerated from discovery document revision 20210714
14
+
15
+ ### v0.12.0 (2021-07-14)
16
+
17
+ * Regenerated from discovery document revision 20210707
18
+
3
19
  ### v0.11.0 (2021-06-29)
4
20
 
5
21
  * Regenerated using generator version 0.4.0
@@ -54,6 +54,12 @@ module Google
54
54
  class ActionResponse
55
55
  include Google::Apis::Core::Hashable
56
56
 
57
+ # Contains dialog if present as well as the ActionStatus for the request sent
58
+ # from user.
59
+ # Corresponds to the JSON property `dialogAction`
60
+ # @return [Google::Apis::ChatV1::DialogAction]
61
+ attr_accessor :dialog_action
62
+
57
63
  # The type of bot response.
58
64
  # Corresponds to the JSON property `type`
59
65
  # @return [String]
@@ -70,11 +76,43 @@ module Google
70
76
 
71
77
  # Update properties of this object
72
78
  def update!(**args)
79
+ @dialog_action = args[:dialog_action] if args.key?(:dialog_action)
73
80
  @type = args[:type] if args.key?(:type)
74
81
  @url = args[:url] if args.key?(:url)
75
82
  end
76
83
  end
77
84
 
85
+ # ActionStatus represents status of a request from the bot developer's side. In
86
+ # specific, for each request a bot gets, the bot developer will set both fields
87
+ # below in relation to what the response status and message related to status
88
+ # should be.
89
+ class ActionStatus
90
+ include Google::Apis::Core::Hashable
91
+
92
+ # The status code.
93
+ # Corresponds to the JSON property `statusCode`
94
+ # @return [String]
95
+ attr_accessor :status_code
96
+
97
+ # This message will be the corresponding string to the above status_code. If
98
+ # unset, an appropriate generic message based on the status_code will be shown
99
+ # to the user. If this field is set then the message will be surfaced to the
100
+ # user for both successes and errors.
101
+ # Corresponds to the JSON property `userFacingMessage`
102
+ # @return [String]
103
+ attr_accessor :user_facing_message
104
+
105
+ def initialize(**args)
106
+ update!(**args)
107
+ end
108
+
109
+ # Update properties of this object
110
+ def update!(**args)
111
+ @status_code = args[:status_code] if args.key?(:status_code)
112
+ @user_facing_message = args[:user_facing_message] if args.key?(:user_facing_message)
113
+ end
114
+ end
115
+
78
116
  # Annotations associated with the plain-text body of the message. Example plain-
79
117
  # text message body: ``` Hello @FooBot how are you!" ``` The corresponding
80
118
  # annotations metadata: ``` "annotations":[` "type":"USER_MENTION", "startIndex":
@@ -125,7 +163,7 @@ module Google
125
163
  end
126
164
  end
127
165
 
128
- # An attachment in Hangouts Chat.
166
+ # An attachment in Google Chat.
129
167
  class Attachment
130
168
  include Google::Apis::Core::Hashable
131
169
 
@@ -338,48 +376,6 @@ module Google
338
376
  end
339
377
  end
340
378
 
341
- # Widgets for chatbots to specify.
342
- class CardWithId
343
- include Google::Apis::Core::Hashable
344
-
345
- # A card is a UI element that can contain UI widgets such as text and images.
346
- # For more information, see Cards . For example, the following JSON creates a
347
- # card that has a header with the name, position, icons, and link for a contact,
348
- # followed by a section with contact information like email and phone number. ```
349
- # ` "header": ` "title": "Heba Salam", "subtitle": "Software Engineer", "
350
- # imageStyle": "ImageStyle.AVATAR", "imageUrl": "https://example.com/heba_salam.
351
- # png", "imageAltText": "Avatar for Heba Salam" `, "sections" : [ ` "header": "
352
- # Contact Info", "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "
353
- # EMAIL" `, "content": "heba.salam@example.com" ` `, ` "decoratedText": ` "icon":
354
- # ` "knownIcon": "PERSON" `, "content": "Online" ` `, ` "decoratedText": ` "
355
- # icon": ` "knownIcon": "PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "
356
- # buttons": [ ` "textButton": ` "text": "Share", `, "onClick": ` "openLink": ` "
357
- # url": "https://example.com/share" ` ` `, ` "textButton": ` "text": "Edit", `, "
358
- # onClick": ` "action": ` "function": "goToView", "parameters": [ ` "key": "
359
- # viewType", "value": "EDIT" ` ], "loadIndicator": "LoadIndicator.SPINNER" ` ` `
360
- # ] ` ], "collapsible": true, "uncollapsibleWidgetsCount": 3 ` ], "cardActions":
361
- # [ ` "actionLabel": "Send Feedback", "onClick": ` "openLink": ` "url": "https://
362
- # example.com/feedback" ` ` ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
363
- # Corresponds to the JSON property `card`
364
- # @return [Google::Apis::ChatV1::GoogleAppsCardV1Card]
365
- attr_accessor :card
366
-
367
- # Chatbot-specified identifier for this widget. Scoped within a message.
368
- # Corresponds to the JSON property `cardId`
369
- # @return [String]
370
- attr_accessor :card_id
371
-
372
- def initialize(**args)
373
- update!(**args)
374
- end
375
-
376
- # Update properties of this object
377
- def update!(**args)
378
- @card = args[:card] if args.key?(:card)
379
- @card_id = args[:card_id] if args.key?(:card_id)
380
- end
381
- end
382
-
383
379
  # Represents a color in the RGBA color space. This representation is designed
384
380
  # for simplicity of conversion to/from color representations in various
385
381
  # languages over compactness. For example, the fields of this representation can
@@ -468,6 +464,118 @@ module Google
468
464
  end
469
465
  end
470
466
 
467
+ # Next available ID = 8
468
+ class CommonEventObject
469
+ include Google::Apis::Core::Hashable
470
+
471
+ # The keys are the string IDs associated with the widget and the values are
472
+ # inputs with a widget in the card.
473
+ # Corresponds to the JSON property `formInputs`
474
+ # @return [Hash<String,Google::Apis::ChatV1::Inputs>]
475
+ attr_accessor :form_inputs
476
+
477
+ # The hostApp enum which indicates the app the add-on is invoked from
478
+ # Corresponds to the JSON property `hostApp`
479
+ # @return [String]
480
+ attr_accessor :host_app
481
+
482
+ # Name of the invoked function associated with the widget. This field is
483
+ # currently only set for chat.
484
+ # Corresponds to the JSON property `invokedFunction`
485
+ # @return [String]
486
+ attr_accessor :invoked_function
487
+
488
+ # Any additional parameters.
489
+ # Corresponds to the JSON property `parameters`
490
+ # @return [Hash<String,String>]
491
+ attr_accessor :parameters
492
+
493
+ # The platform enum which indicates the platform where the add-on is running.
494
+ # Corresponds to the JSON property `platform`
495
+ # @return [String]
496
+ attr_accessor :platform
497
+
498
+ # The timezone id and offset. The id is the tz database time zones such as "
499
+ # America/Toronto". The user timezone offset, in milliseconds, from Coordinated
500
+ # Universal Time (UTC).
501
+ # Corresponds to the JSON property `timeZone`
502
+ # @return [Google::Apis::ChatV1::TimeZone]
503
+ attr_accessor :time_zone
504
+
505
+ # The full locale.displayName in the format of [ISO 639 language code]-[ISO 3166
506
+ # country/region code] such as "en-US"
507
+ # Corresponds to the JSON property `userLocale`
508
+ # @return [String]
509
+ attr_accessor :user_locale
510
+
511
+ def initialize(**args)
512
+ update!(**args)
513
+ end
514
+
515
+ # Update properties of this object
516
+ def update!(**args)
517
+ @form_inputs = args[:form_inputs] if args.key?(:form_inputs)
518
+ @host_app = args[:host_app] if args.key?(:host_app)
519
+ @invoked_function = args[:invoked_function] if args.key?(:invoked_function)
520
+ @parameters = args[:parameters] if args.key?(:parameters)
521
+ @platform = args[:platform] if args.key?(:platform)
522
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
523
+ @user_locale = args[:user_locale] if args.key?(:user_locale)
524
+ end
525
+ end
526
+
527
+ # Input Parameter for Date Picker widget.
528
+ class DateInput
529
+ include Google::Apis::Core::Hashable
530
+
531
+ #
532
+ # Corresponds to the JSON property `msSinceEpoch`
533
+ # @return [Fixnum]
534
+ attr_accessor :ms_since_epoch
535
+
536
+ def initialize(**args)
537
+ update!(**args)
538
+ end
539
+
540
+ # Update properties of this object
541
+ def update!(**args)
542
+ @ms_since_epoch = args[:ms_since_epoch] if args.key?(:ms_since_epoch)
543
+ end
544
+ end
545
+
546
+ # Input Parameter for Date and Time Picker widget.
547
+ class DateTimeInput
548
+ include Google::Apis::Core::Hashable
549
+
550
+ #
551
+ # Corresponds to the JSON property `hasDate`
552
+ # @return [Boolean]
553
+ attr_accessor :has_date
554
+ alias_method :has_date?, :has_date
555
+
556
+ #
557
+ # Corresponds to the JSON property `hasTime`
558
+ # @return [Boolean]
559
+ attr_accessor :has_time
560
+ alias_method :has_time?, :has_time
561
+
562
+ #
563
+ # Corresponds to the JSON property `msSinceEpoch`
564
+ # @return [Fixnum]
565
+ attr_accessor :ms_since_epoch
566
+
567
+ def initialize(**args)
568
+ update!(**args)
569
+ end
570
+
571
+ # Update properties of this object
572
+ def update!(**args)
573
+ @has_date = args[:has_date] if args.key?(:has_date)
574
+ @has_time = args[:has_time] if args.key?(:has_time)
575
+ @ms_since_epoch = args[:ms_since_epoch] if args.key?(:ms_since_epoch)
576
+ end
577
+ end
578
+
471
579
  # Google Chat events.
472
580
  class DeprecatedEvent
473
581
  include Google::Apis::Core::Hashable
@@ -478,6 +586,11 @@ module Google
478
586
  # @return [Google::Apis::ChatV1::FormAction]
479
587
  attr_accessor :action
480
588
 
589
+ # Next available ID = 8
590
+ # Corresponds to the JSON property `common`
591
+ # @return [Google::Apis::ChatV1::CommonEventObject]
592
+ attr_accessor :common
593
+
481
594
  # The URL the bot should redirect the user to after they have completed an
482
595
  # authorization or configuration flow outside of Google Chat. See the [
483
596
  # Authorizing access to 3p services guide](/chat/how-tos/auth-3p) for more
@@ -486,17 +599,30 @@ module Google
486
599
  # @return [String]
487
600
  attr_accessor :config_complete_redirect_url
488
601
 
602
+ # The type of dialog event we have received.
603
+ # Corresponds to the JSON property `dialogEventType`
604
+ # @return [String]
605
+ attr_accessor :dialog_event_type
606
+
489
607
  # The timestamp indicating when the event was dispatched.
490
608
  # Corresponds to the JSON property `eventTime`
491
609
  # @return [String]
492
610
  attr_accessor :event_time
493
611
 
494
- # A message in Hangouts Chat.
612
+ # Whether or not this event is related to dialogs request, submit or cancel.
613
+ # This will be set to true when we want a request/submit/cancel event.
614
+ # Corresponds to the JSON property `isDialogEvent`
615
+ # @return [Boolean]
616
+ attr_accessor :is_dialog_event
617
+ alias_method :is_dialog_event?, :is_dialog_event
618
+
619
+ # A message in Google Chat.
495
620
  # Corresponds to the JSON property `message`
496
621
  # @return [Google::Apis::ChatV1::Message]
497
622
  attr_accessor :message
498
623
 
499
- # A room or DM in Hangouts Chat.
624
+ # A space in Google Chat. Spaces are conversations between two or more users or
625
+ # 1:1 messages between a user and a Chat bot.
500
626
  # Corresponds to the JSON property `space`
501
627
  # @return [Google::Apis::ChatV1::Space]
502
628
  attr_accessor :space
@@ -532,8 +658,11 @@ module Google
532
658
  # Update properties of this object
533
659
  def update!(**args)
534
660
  @action = args[:action] if args.key?(:action)
661
+ @common = args[:common] if args.key?(:common)
535
662
  @config_complete_redirect_url = args[:config_complete_redirect_url] if args.key?(:config_complete_redirect_url)
663
+ @dialog_event_type = args[:dialog_event_type] if args.key?(:dialog_event_type)
536
664
  @event_time = args[:event_time] if args.key?(:event_time)
665
+ @is_dialog_event = args[:is_dialog_event] if args.key?(:is_dialog_event)
537
666
  @message = args[:message] if args.key?(:message)
538
667
  @space = args[:space] if args.key?(:space)
539
668
  @thread_key = args[:thread_key] if args.key?(:thread_key)
@@ -543,6 +672,71 @@ module Google
543
672
  end
544
673
  end
545
674
 
675
+ # Wrapper around the card body of the dialog.
676
+ class Dialog
677
+ include Google::Apis::Core::Hashable
678
+
679
+ # A card is a UI element that can contain UI widgets such as text and images.
680
+ # For more information, see Cards . For example, the following JSON creates a
681
+ # card that has a header with the name, position, icons, and link for a contact,
682
+ # followed by a section with contact information like email and phone number. ```
683
+ # ` "header": ` "title": "Heba Salam", "subtitle": "Software Engineer", "
684
+ # imageStyle": "ImageStyle.AVATAR", "imageUrl": "https://example.com/heba_salam.
685
+ # png", "imageAltText": "Avatar for Heba Salam" `, "sections" : [ ` "header": "
686
+ # Contact Info", "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "
687
+ # EMAIL" `, "content": "heba.salam@example.com" ` `, ` "decoratedText": ` "icon":
688
+ # ` "knownIcon": "PERSON" `, "content": "Online" ` `, ` "decoratedText": ` "
689
+ # icon": ` "knownIcon": "PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "
690
+ # buttons": [ ` "textButton": ` "text": "Share", `, "onClick": ` "openLink": ` "
691
+ # url": "https://example.com/share" ` ` `, ` "textButton": ` "text": "Edit", `, "
692
+ # onClick": ` "action": ` "function": "goToView", "parameters": [ ` "key": "
693
+ # viewType", "value": "EDIT" ` ], "loadIndicator": "LoadIndicator.SPINNER" ` ` `
694
+ # ] ` ], "collapsible": true, "uncollapsibleWidgetsCount": 3 ` ], "cardActions":
695
+ # [ ` "actionLabel": "Send Feedback", "onClick": ` "openLink": ` "url": "https://
696
+ # example.com/feedback" ` ` ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
697
+ # Corresponds to the JSON property `body`
698
+ # @return [Google::Apis::ChatV1::GoogleAppsCardV1Card]
699
+ attr_accessor :body
700
+
701
+ def initialize(**args)
702
+ update!(**args)
703
+ end
704
+
705
+ # Update properties of this object
706
+ def update!(**args)
707
+ @body = args[:body] if args.key?(:body)
708
+ end
709
+ end
710
+
711
+ # Contains dialog if present as well as the ActionStatus for the request sent
712
+ # from user.
713
+ class DialogAction
714
+ include Google::Apis::Core::Hashable
715
+
716
+ # ActionStatus represents status of a request from the bot developer's side. In
717
+ # specific, for each request a bot gets, the bot developer will set both fields
718
+ # below in relation to what the response status and message related to status
719
+ # should be.
720
+ # Corresponds to the JSON property `actionStatus`
721
+ # @return [Google::Apis::ChatV1::ActionStatus]
722
+ attr_accessor :action_status
723
+
724
+ # Wrapper around the card body of the dialog.
725
+ # Corresponds to the JSON property `dialog`
726
+ # @return [Google::Apis::ChatV1::Dialog]
727
+ attr_accessor :dialog
728
+
729
+ def initialize(**args)
730
+ update!(**args)
731
+ end
732
+
733
+ # Update properties of this object
734
+ def update!(**args)
735
+ @action_status = args[:action_status] if args.key?(:action_status)
736
+ @dialog = args[:dialog] if args.key?(:dialog)
737
+ end
738
+ end
739
+
546
740
  # A reference to the data of a drive attachment.
547
741
  class DriveDataRef
548
742
  include Google::Apis::Core::Hashable
@@ -1960,6 +2154,45 @@ module Google
1960
2154
  end
1961
2155
  end
1962
2156
 
2157
+ # The inputs with widgets.
2158
+ class Inputs
2159
+ include Google::Apis::Core::Hashable
2160
+
2161
+ # Input Parameter for Date Picker widget.
2162
+ # Corresponds to the JSON property `dateInput`
2163
+ # @return [Google::Apis::ChatV1::DateInput]
2164
+ attr_accessor :date_input
2165
+
2166
+ # Input Parameter for Date and Time Picker widget.
2167
+ # Corresponds to the JSON property `dateTimeInput`
2168
+ # @return [Google::Apis::ChatV1::DateTimeInput]
2169
+ attr_accessor :date_time_input
2170
+
2171
+ # Input parameter for regular widgets. For single-valued widgets, it will be a
2172
+ # single value list; for multi-valued widgets, such as checkbox, all the values
2173
+ # are presented.
2174
+ # Corresponds to the JSON property `stringInputs`
2175
+ # @return [Google::Apis::ChatV1::StringInputs]
2176
+ attr_accessor :string_inputs
2177
+
2178
+ # Input Parameter for Time Picker widget.
2179
+ # Corresponds to the JSON property `timeInput`
2180
+ # @return [Google::Apis::ChatV1::TimeInput]
2181
+ attr_accessor :time_input
2182
+
2183
+ def initialize(**args)
2184
+ update!(**args)
2185
+ end
2186
+
2187
+ # Update properties of this object
2188
+ def update!(**args)
2189
+ @date_input = args[:date_input] if args.key?(:date_input)
2190
+ @date_time_input = args[:date_time_input] if args.key?(:date_time_input)
2191
+ @string_inputs = args[:string_inputs] if args.key?(:string_inputs)
2192
+ @time_input = args[:time_input] if args.key?(:time_input)
2193
+ end
2194
+ end
2195
+
1963
2196
  # A UI element contains a key (label) and a value (content). And this element
1964
2197
  # may also contain some actions such as onclick button.
1965
2198
  class KeyValue
@@ -2096,7 +2329,7 @@ module Google
2096
2329
  end
2097
2330
  end
2098
2331
 
2099
- # Represents a membership relation in Hangouts Chat.
2332
+ # Represents a membership relation in Google Chat.
2100
2333
  class Membership
2101
2334
  include Google::Apis::Core::Hashable
2102
2335
 
@@ -2134,7 +2367,7 @@ module Google
2134
2367
  end
2135
2368
  end
2136
2369
 
2137
- # A message in Hangouts Chat.
2370
+ # A message in Google Chat.
2138
2371
  class Message
2139
2372
  include Google::Apis::Core::Hashable
2140
2373
 
@@ -2165,16 +2398,7 @@ module Google
2165
2398
  # @return [Array<Google::Apis::ChatV1::Card>]
2166
2399
  attr_accessor :cards
2167
2400
 
2168
- # Rich, formatted and interactive cards that can be used to display UI elements
2169
- # and editable widgets, such as: formatted text, buttons, clickable images,
2170
- # checkboxes, radio buttons. Cards are normally displayed below the plain-text
2171
- # body of the message. This v2 allows input widgets. The string key is a unique
2172
- # identifier among cards in the same message for identifying inputs.
2173
- # Corresponds to the JSON property `cardsV2`
2174
- # @return [Array<Google::Apis::ChatV1::CardWithId>]
2175
- attr_accessor :cards_v2
2176
-
2177
- # Output only. The time at which the message was created in Hangouts Chat server.
2401
+ # Output only. The time at which the message was created in Google Chat server.
2178
2402
  # Corresponds to the JSON property `createTime`
2179
2403
  # @return [String]
2180
2404
  attr_accessor :create_time
@@ -2185,6 +2409,13 @@ module Google
2185
2409
  # @return [String]
2186
2410
  attr_accessor :fallback_text
2187
2411
 
2412
+ # Output only. The time at which the message was last updated in Google Chat
2413
+ # server. If the message was never updated, this field will be same as
2414
+ # create_time.
2415
+ # Corresponds to the JSON property `lastUpdateTime`
2416
+ # @return [String]
2417
+ attr_accessor :last_update_time
2418
+
2188
2419
  #
2189
2420
  # Corresponds to the JSON property `name`
2190
2421
  # @return [String]
@@ -2207,7 +2438,8 @@ module Google
2207
2438
  # @return [Google::Apis::ChatV1::SlashCommand]
2208
2439
  attr_accessor :slash_command
2209
2440
 
2210
- # A room or DM in Hangouts Chat.
2441
+ # A space in Google Chat. Spaces are conversations between two or more users or
2442
+ # 1:1 messages between a user and a Chat bot.
2211
2443
  # Corresponds to the JSON property `space`
2212
2444
  # @return [Google::Apis::ChatV1::Space]
2213
2445
  attr_accessor :space
@@ -2217,7 +2449,7 @@ module Google
2217
2449
  # @return [String]
2218
2450
  attr_accessor :text
2219
2451
 
2220
- # A thread in Hangouts Chat.
2452
+ # A thread in Google Chat.
2221
2453
  # Corresponds to the JSON property `thread`
2222
2454
  # @return [Google::Apis::ChatV1::Thread]
2223
2455
  attr_accessor :thread
@@ -2233,9 +2465,9 @@ module Google
2233
2465
  @argument_text = args[:argument_text] if args.key?(:argument_text)
2234
2466
  @attachment = args[:attachment] if args.key?(:attachment)
2235
2467
  @cards = args[:cards] if args.key?(:cards)
2236
- @cards_v2 = args[:cards_v2] if args.key?(:cards_v2)
2237
2468
  @create_time = args[:create_time] if args.key?(:create_time)
2238
2469
  @fallback_text = args[:fallback_text] if args.key?(:fallback_text)
2470
+ @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
2239
2471
  @name = args[:name] if args.key?(:name)
2240
2472
  @preview_text = args[:preview_text] if args.key?(:preview_text)
2241
2473
  @sender = args[:sender] if args.key?(:sender)
@@ -2381,12 +2613,13 @@ module Google
2381
2613
  end
2382
2614
  end
2383
2615
 
2384
- # A room or DM in Hangouts Chat.
2616
+ # A space in Google Chat. Spaces are conversations between two or more users or
2617
+ # 1:1 messages between a user and a Chat bot.
2385
2618
  class Space
2386
2619
  include Google::Apis::Core::Hashable
2387
2620
 
2388
- # Output only. The display name (only if the space is a room). Please note that
2389
- # this field might not be populated in direct messages between humans.
2621
+ # Output only. The display name (only if the space is of type `ROOM`). Please
2622
+ # note that this field might not be populated in direct messages between humans.
2390
2623
  # Corresponds to the JSON property `displayName`
2391
2624
  # @return [String]
2392
2625
  attr_accessor :display_name
@@ -2429,6 +2662,27 @@ module Google
2429
2662
  end
2430
2663
  end
2431
2664
 
2665
+ # Input parameter for regular widgets. For single-valued widgets, it will be a
2666
+ # single value list; for multi-valued widgets, such as checkbox, all the values
2667
+ # are presented.
2668
+ class StringInputs
2669
+ include Google::Apis::Core::Hashable
2670
+
2671
+ #
2672
+ # Corresponds to the JSON property `value`
2673
+ # @return [Array<String>]
2674
+ attr_accessor :value
2675
+
2676
+ def initialize(**args)
2677
+ update!(**args)
2678
+ end
2679
+
2680
+ # Update properties of this object
2681
+ def update!(**args)
2682
+ @value = args[:value] if args.key?(:value)
2683
+ end
2684
+ end
2685
+
2432
2686
  # A button with text and onclick action.
2433
2687
  class TextButton
2434
2688
  include Google::Apis::Core::Hashable
@@ -2473,7 +2727,7 @@ module Google
2473
2727
  end
2474
2728
  end
2475
2729
 
2476
- # A thread in Hangouts Chat.
2730
+ # A thread in Google Chat.
2477
2731
  class Thread
2478
2732
  include Google::Apis::Core::Hashable
2479
2733
 
@@ -2493,6 +2747,58 @@ module Google
2493
2747
  end
2494
2748
  end
2495
2749
 
2750
+ # Input Parameter for Time Picker widget.
2751
+ class TimeInput
2752
+ include Google::Apis::Core::Hashable
2753
+
2754
+ #
2755
+ # Corresponds to the JSON property `hours`
2756
+ # @return [Fixnum]
2757
+ attr_accessor :hours
2758
+
2759
+ #
2760
+ # Corresponds to the JSON property `minutes`
2761
+ # @return [Fixnum]
2762
+ attr_accessor :minutes
2763
+
2764
+ def initialize(**args)
2765
+ update!(**args)
2766
+ end
2767
+
2768
+ # Update properties of this object
2769
+ def update!(**args)
2770
+ @hours = args[:hours] if args.key?(:hours)
2771
+ @minutes = args[:minutes] if args.key?(:minutes)
2772
+ end
2773
+ end
2774
+
2775
+ # The timezone id and offset. The id is the tz database time zones such as "
2776
+ # America/Toronto". The user timezone offset, in milliseconds, from Coordinated
2777
+ # Universal Time (UTC).
2778
+ class TimeZone
2779
+ include Google::Apis::Core::Hashable
2780
+
2781
+ #
2782
+ # Corresponds to the JSON property `id`
2783
+ # @return [String]
2784
+ attr_accessor :id
2785
+
2786
+ #
2787
+ # Corresponds to the JSON property `offset`
2788
+ # @return [Fixnum]
2789
+ attr_accessor :offset
2790
+
2791
+ def initialize(**args)
2792
+ update!(**args)
2793
+ end
2794
+
2795
+ # Update properties of this object
2796
+ def update!(**args)
2797
+ @id = args[:id] if args.key?(:id)
2798
+ @offset = args[:offset] if args.key?(:offset)
2799
+ end
2800
+ end
2801
+
2496
2802
  # A user in Google Chat.
2497
2803
  class User
2498
2804
  include Google::Apis::Core::Hashable
@@ -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.11.0"
19
+ GEM_VERSION = "0.15.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 = "20210605"
25
+ REVISION = "20210911"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class ActionStatus
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class Annotation
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -76,13 +82,25 @@ module Google
76
82
  include Google::Apis::Core::JsonObjectSupport
77
83
  end
78
84
 
79
- class CardWithId
85
+ class Color
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
82
88
  include Google::Apis::Core::JsonObjectSupport
83
89
  end
84
90
 
85
- class Color
91
+ class CommonEventObject
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class DateInput
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class DateTimeInput
86
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
105
 
88
106
  include Google::Apis::Core::JsonObjectSupport
@@ -94,6 +112,18 @@ module Google
94
112
  include Google::Apis::Core::JsonObjectSupport
95
113
  end
96
114
 
115
+ class Dialog
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class DialogAction
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
97
127
  class DriveDataRef
98
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
129
 
@@ -298,6 +328,12 @@ module Google
298
328
  include Google::Apis::Core::JsonObjectSupport
299
329
  end
300
330
 
331
+ class Inputs
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
301
337
  class KeyValue
302
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
339
 
@@ -370,6 +406,12 @@ module Google
370
406
  include Google::Apis::Core::JsonObjectSupport
371
407
  end
372
408
 
409
+ class StringInputs
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
373
415
  class TextButton
374
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
417
 
@@ -388,6 +430,18 @@ module Google
388
430
  include Google::Apis::Core::JsonObjectSupport
389
431
  end
390
432
 
433
+ class TimeInput
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class TimeZone
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
391
445
  class User
392
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
447
 
@@ -417,11 +471,21 @@ module Google
417
471
  class ActionResponse
418
472
  # @private
419
473
  class Representation < Google::Apis::Core::JsonRepresentation
474
+ property :dialog_action, as: 'dialogAction', class: Google::Apis::ChatV1::DialogAction, decorator: Google::Apis::ChatV1::DialogAction::Representation
475
+
420
476
  property :type, as: 'type'
421
477
  property :url, as: 'url'
422
478
  end
423
479
  end
424
480
 
481
+ class ActionStatus
482
+ # @private
483
+ class Representation < Google::Apis::Core::JsonRepresentation
484
+ property :status_code, as: 'statusCode'
485
+ property :user_facing_message, as: 'userFacingMessage'
486
+ end
487
+ end
488
+
425
489
  class Annotation
426
490
  # @private
427
491
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -500,22 +564,44 @@ module Google
500
564
  end
501
565
  end
502
566
 
503
- class CardWithId
567
+ class Color
504
568
  # @private
505
569
  class Representation < Google::Apis::Core::JsonRepresentation
506
- property :card, as: 'card', class: Google::Apis::ChatV1::GoogleAppsCardV1Card, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Card::Representation
570
+ property :alpha, as: 'alpha'
571
+ property :blue, as: 'blue'
572
+ property :green, as: 'green'
573
+ property :red, as: 'red'
574
+ end
575
+ end
576
+
577
+ class CommonEventObject
578
+ # @private
579
+ class Representation < Google::Apis::Core::JsonRepresentation
580
+ hash :form_inputs, as: 'formInputs', class: Google::Apis::ChatV1::Inputs, decorator: Google::Apis::ChatV1::Inputs::Representation
507
581
 
508
- property :card_id, as: 'cardId'
582
+ property :host_app, as: 'hostApp'
583
+ property :invoked_function, as: 'invokedFunction'
584
+ hash :parameters, as: 'parameters'
585
+ property :platform, as: 'platform'
586
+ property :time_zone, as: 'timeZone', class: Google::Apis::ChatV1::TimeZone, decorator: Google::Apis::ChatV1::TimeZone::Representation
587
+
588
+ property :user_locale, as: 'userLocale'
509
589
  end
510
590
  end
511
591
 
512
- class Color
592
+ class DateInput
513
593
  # @private
514
594
  class Representation < Google::Apis::Core::JsonRepresentation
515
- property :alpha, as: 'alpha'
516
- property :blue, as: 'blue'
517
- property :green, as: 'green'
518
- property :red, as: 'red'
595
+ property :ms_since_epoch, :numeric_string => true, as: 'msSinceEpoch'
596
+ end
597
+ end
598
+
599
+ class DateTimeInput
600
+ # @private
601
+ class Representation < Google::Apis::Core::JsonRepresentation
602
+ property :has_date, as: 'hasDate'
603
+ property :has_time, as: 'hasTime'
604
+ property :ms_since_epoch, :numeric_string => true, as: 'msSinceEpoch'
519
605
  end
520
606
  end
521
607
 
@@ -524,8 +610,12 @@ module Google
524
610
  class Representation < Google::Apis::Core::JsonRepresentation
525
611
  property :action, as: 'action', class: Google::Apis::ChatV1::FormAction, decorator: Google::Apis::ChatV1::FormAction::Representation
526
612
 
613
+ property :common, as: 'common', class: Google::Apis::ChatV1::CommonEventObject, decorator: Google::Apis::ChatV1::CommonEventObject::Representation
614
+
527
615
  property :config_complete_redirect_url, as: 'configCompleteRedirectUrl'
616
+ property :dialog_event_type, as: 'dialogEventType'
528
617
  property :event_time, as: 'eventTime'
618
+ property :is_dialog_event, as: 'isDialogEvent'
529
619
  property :message, as: 'message', class: Google::Apis::ChatV1::Message, decorator: Google::Apis::ChatV1::Message::Representation
530
620
 
531
621
  property :space, as: 'space', class: Google::Apis::ChatV1::Space, decorator: Google::Apis::ChatV1::Space::Representation
@@ -538,6 +628,24 @@ module Google
538
628
  end
539
629
  end
540
630
 
631
+ class Dialog
632
+ # @private
633
+ class Representation < Google::Apis::Core::JsonRepresentation
634
+ property :body, as: 'body', class: Google::Apis::ChatV1::GoogleAppsCardV1Card, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Card::Representation
635
+
636
+ end
637
+ end
638
+
639
+ class DialogAction
640
+ # @private
641
+ class Representation < Google::Apis::Core::JsonRepresentation
642
+ property :action_status, as: 'actionStatus', class: Google::Apis::ChatV1::ActionStatus, decorator: Google::Apis::ChatV1::ActionStatus::Representation
643
+
644
+ property :dialog, as: 'dialog', class: Google::Apis::ChatV1::Dialog, decorator: Google::Apis::ChatV1::Dialog::Representation
645
+
646
+ end
647
+ end
648
+
541
649
  class DriveDataRef
542
650
  # @private
543
651
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -921,6 +1029,20 @@ module Google
921
1029
  end
922
1030
  end
923
1031
 
1032
+ class Inputs
1033
+ # @private
1034
+ class Representation < Google::Apis::Core::JsonRepresentation
1035
+ property :date_input, as: 'dateInput', class: Google::Apis::ChatV1::DateInput, decorator: Google::Apis::ChatV1::DateInput::Representation
1036
+
1037
+ property :date_time_input, as: 'dateTimeInput', class: Google::Apis::ChatV1::DateTimeInput, decorator: Google::Apis::ChatV1::DateTimeInput::Representation
1038
+
1039
+ property :string_inputs, as: 'stringInputs', class: Google::Apis::ChatV1::StringInputs, decorator: Google::Apis::ChatV1::StringInputs::Representation
1040
+
1041
+ property :time_input, as: 'timeInput', class: Google::Apis::ChatV1::TimeInput, decorator: Google::Apis::ChatV1::TimeInput::Representation
1042
+
1043
+ end
1044
+ end
1045
+
924
1046
  class KeyValue
925
1047
  # @private
926
1048
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -985,10 +1107,9 @@ module Google
985
1107
 
986
1108
  collection :cards, as: 'cards', class: Google::Apis::ChatV1::Card, decorator: Google::Apis::ChatV1::Card::Representation
987
1109
 
988
- collection :cards_v2, as: 'cardsV2', class: Google::Apis::ChatV1::CardWithId, decorator: Google::Apis::ChatV1::CardWithId::Representation
989
-
990
1110
  property :create_time, as: 'createTime'
991
1111
  property :fallback_text, as: 'fallbackText'
1112
+ property :last_update_time, as: 'lastUpdateTime'
992
1113
  property :name, as: 'name'
993
1114
  property :preview_text, as: 'previewText'
994
1115
  property :sender, as: 'sender', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
@@ -1059,6 +1180,13 @@ module Google
1059
1180
  end
1060
1181
  end
1061
1182
 
1183
+ class StringInputs
1184
+ # @private
1185
+ class Representation < Google::Apis::Core::JsonRepresentation
1186
+ collection :value, as: 'value'
1187
+ end
1188
+ end
1189
+
1062
1190
  class TextButton
1063
1191
  # @private
1064
1192
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1082,6 +1210,22 @@ module Google
1082
1210
  end
1083
1211
  end
1084
1212
 
1213
+ class TimeInput
1214
+ # @private
1215
+ class Representation < Google::Apis::Core::JsonRepresentation
1216
+ property :hours, as: 'hours'
1217
+ property :minutes, as: 'minutes'
1218
+ end
1219
+ end
1220
+
1221
+ class TimeZone
1222
+ # @private
1223
+ class Representation < Google::Apis::Core::JsonRepresentation
1224
+ property :id, as: 'id'
1225
+ property :offset, as: 'offset'
1226
+ end
1227
+ end
1228
+
1085
1229
  class User
1086
1230
  # @private
1087
1231
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -58,12 +58,12 @@ module Google
58
58
  # AAAAMpdlehY
59
59
  # @param [Google::Apis::ChatV1::Message] message_object
60
60
  # @param [String] thread_key
61
- # Opaque thread identifier string that can be specified to group messages into a
62
- # single thread. If this is the first message with a given thread identifier, a
63
- # new thread is created. Subsequent messages with the same thread identifier
64
- # will be posted into the same thread. This relieves bots and webhooks from
65
- # having to store the Hangouts Chat thread ID of a thread (created earlier by
66
- # them) to post further updates to it. Has no effect if thread field,
61
+ # Optional. Opaque thread identifier string that can be specified to group
62
+ # messages into a single thread. If this is the first message with a given
63
+ # thread identifier, a new thread is created. Subsequent messages with the same
64
+ # thread identifier will be posted into the same thread. This relieves bots and
65
+ # webhooks from having to store the Google Chat thread ID of a thread (created
66
+ # earlier by them) to post further updates to it. Has no effect if thread field,
67
67
  # corresponding to an existing thread, is set in message.
68
68
  # @param [String] fields
69
69
  # Selector specifying which fields to include in a partial response.
@@ -102,12 +102,12 @@ module Google
102
102
  # AAAAMpdlehY
103
103
  # @param [Google::Apis::ChatV1::Message] message_object
104
104
  # @param [String] thread_key
105
- # Opaque thread identifier string that can be specified to group messages into a
106
- # single thread. If this is the first message with a given thread identifier, a
107
- # new thread is created. Subsequent messages with the same thread identifier
108
- # will be posted into the same thread. This relieves bots and webhooks from
109
- # having to store the Hangouts Chat thread ID of a thread (created earlier by
110
- # them) to post further updates to it. Has no effect if thread field,
105
+ # Optional. Opaque thread identifier string that can be specified to group
106
+ # messages into a single thread. If this is the first message with a given
107
+ # thread identifier, a new thread is created. Subsequent messages with the same
108
+ # thread identifier will be posted into the same thread. This relieves bots and
109
+ # webhooks from having to store the Google Chat thread ID of a thread (created
110
+ # earlier by them) to post further updates to it. Has no effect if thread field,
111
111
  # corresponding to an existing thread, is set in message.
112
112
  # @param [String] fields
113
113
  # Selector specifying which fields to include in a partial response.
@@ -146,12 +146,12 @@ module Google
146
146
  # AAAAMpdlehY
147
147
  # @param [Google::Apis::ChatV1::Message] message_object
148
148
  # @param [String] thread_key
149
- # Opaque thread identifier string that can be specified to group messages into a
150
- # single thread. If this is the first message with a given thread identifier, a
151
- # new thread is created. Subsequent messages with the same thread identifier
152
- # will be posted into the same thread. This relieves bots and webhooks from
153
- # having to store the Hangouts Chat thread ID of a thread (created earlier by
154
- # them) to post further updates to it. Has no effect if thread field,
149
+ # Optional. Opaque thread identifier string that can be specified to group
150
+ # messages into a single thread. If this is the first message with a given
151
+ # thread identifier, a new thread is created. Subsequent messages with the same
152
+ # thread identifier will be posted into the same thread. This relieves bots and
153
+ # webhooks from having to store the Google Chat thread ID of a thread (created
154
+ # earlier by them) to post further updates to it. Has no effect if thread field,
155
155
  # corresponding to an existing thread, is set in message.
156
156
  # @param [String] fields
157
157
  # Selector specifying which fields to include in a partial response.
@@ -228,12 +228,12 @@ module Google
228
228
  # AAAAMpdlehY
229
229
  # @param [Google::Apis::ChatV1::Message] message_object
230
230
  # @param [String] thread_key
231
- # Opaque thread identifier string that can be specified to group messages into a
232
- # single thread. If this is the first message with a given thread identifier, a
233
- # new thread is created. Subsequent messages with the same thread identifier
234
- # will be posted into the same thread. This relieves bots and webhooks from
235
- # having to store the Hangouts Chat thread ID of a thread (created earlier by
236
- # them) to post further updates to it. Has no effect if thread field,
231
+ # Optional. Opaque thread identifier string that can be specified to group
232
+ # messages into a single thread. If this is the first message with a given
233
+ # thread identifier, a new thread is created. Subsequent messages with the same
234
+ # thread identifier will be posted into the same thread. This relieves bots and
235
+ # webhooks from having to store the Google Chat thread ID of a thread (created
236
+ # earlier by them) to post further updates to it. Has no effect if thread field,
237
237
  # corresponding to an existing thread, is set in message.
238
238
  # @param [String] fields
239
239
  # Selector specifying which fields to include in a partial response.
@@ -272,12 +272,12 @@ module Google
272
272
  # AAAAMpdlehY
273
273
  # @param [Google::Apis::ChatV1::Message] message_object
274
274
  # @param [String] thread_key
275
- # Opaque thread identifier string that can be specified to group messages into a
276
- # single thread. If this is the first message with a given thread identifier, a
277
- # new thread is created. Subsequent messages with the same thread identifier
278
- # will be posted into the same thread. This relieves bots and webhooks from
279
- # having to store the Hangouts Chat thread ID of a thread (created earlier by
280
- # them) to post further updates to it. Has no effect if thread field,
275
+ # Optional. Opaque thread identifier string that can be specified to group
276
+ # messages into a single thread. If this is the first message with a given
277
+ # thread identifier, a new thread is created. Subsequent messages with the same
278
+ # thread identifier will be posted into the same thread. This relieves bots and
279
+ # webhooks from having to store the Google Chat thread ID of a thread (created
280
+ # earlier by them) to post further updates to it. Has no effect if thread field,
281
281
  # corresponding to an existing thread, is set in message.
282
282
  # @param [String] fields
283
283
  # Selector specifying which fields to include in a partial response.
@@ -316,12 +316,12 @@ module Google
316
316
  # AAAAMpdlehY
317
317
  # @param [Google::Apis::ChatV1::Message] message_object
318
318
  # @param [String] thread_key
319
- # Opaque thread identifier string that can be specified to group messages into a
320
- # single thread. If this is the first message with a given thread identifier, a
321
- # new thread is created. Subsequent messages with the same thread identifier
322
- # will be posted into the same thread. This relieves bots and webhooks from
323
- # having to store the Hangouts Chat thread ID of a thread (created earlier by
324
- # them) to post further updates to it. Has no effect if thread field,
319
+ # Optional. Opaque thread identifier string that can be specified to group
320
+ # messages into a single thread. If this is the first message with a given
321
+ # thread identifier, a new thread is created. Subsequent messages with the same
322
+ # thread identifier will be posted into the same thread. This relieves bots and
323
+ # webhooks from having to store the Google Chat thread ID of a thread (created
324
+ # earlier by them) to post further updates to it. Has no effect if thread field,
325
325
  # corresponding to an existing thread, is set in message.
326
326
  # @param [String] fields
327
327
  # Selector specifying which fields to include in a partial response.
@@ -425,12 +425,12 @@ module Google
425
425
  # AAAAMpdlehY
426
426
  # @param [Google::Apis::ChatV1::Message] message_object
427
427
  # @param [String] thread_key
428
- # Opaque thread identifier string that can be specified to group messages into a
429
- # single thread. If this is the first message with a given thread identifier, a
430
- # new thread is created. Subsequent messages with the same thread identifier
431
- # will be posted into the same thread. This relieves bots and webhooks from
432
- # having to store the Hangouts Chat thread ID of a thread (created earlier by
433
- # them) to post further updates to it. Has no effect if thread field,
428
+ # Optional. Opaque thread identifier string that can be specified to group
429
+ # messages into a single thread. If this is the first message with a given
430
+ # thread identifier, a new thread is created. Subsequent messages with the same
431
+ # thread identifier will be posted into the same thread. This relieves bots and
432
+ # webhooks from having to store the Google Chat thread ID of a thread (created
433
+ # earlier by them) to post further updates to it. Has no effect if thread field,
434
434
  # corresponding to an existing thread, is set in message.
435
435
  # @param [String] fields
436
436
  # Selector specifying which fields to include in a partial response.
@@ -537,12 +537,12 @@ module Google
537
537
  # AAAAMpdlehY
538
538
  # @param [Google::Apis::ChatV1::Message] message_object
539
539
  # @param [String] thread_key
540
- # Opaque thread identifier string that can be specified to group messages into a
541
- # single thread. If this is the first message with a given thread identifier, a
542
- # new thread is created. Subsequent messages with the same thread identifier
543
- # will be posted into the same thread. This relieves bots and webhooks from
544
- # having to store the Hangouts Chat thread ID of a thread (created earlier by
545
- # them) to post further updates to it. Has no effect if thread field,
540
+ # Optional. Opaque thread identifier string that can be specified to group
541
+ # messages into a single thread. If this is the first message with a given
542
+ # thread identifier, a new thread is created. Subsequent messages with the same
543
+ # thread identifier will be posted into the same thread. This relieves bots and
544
+ # webhooks from having to store the Google Chat thread ID of a thread (created
545
+ # earlier by them) to post further updates to it. Has no effect if thread field,
546
546
  # corresponding to an existing thread, is set in message.
547
547
  # @param [String] fields
548
548
  # Selector specifying which fields to include in a partial response.
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.11.0
4
+ version: 0.15.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-09-20 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/master/generated/google-apis-chat_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-chat_v1
63
63
  post_install_message:
64
64
  rdoc_options: []