google-apis-chat_v1 0.10.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/chat_v1/classes.rb +355 -52
- data/lib/google/apis/chat_v1/gem_version.rb +3 -3
- data/lib/google/apis/chat_v1/representations.rb +156 -12
- data/lib/google/apis/chat_v1/service.rb +48 -48
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 462cbae738070d0e3a8b1380893401f4fcb0fe220cbd47854e29b9cbb3c4823f
|
4
|
+
data.tar.gz: e8745a1e7280f9b7a43f444b2d8601eb81af11826ff4687edf59b422cc1c5c92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd9df92f09ffb61e413c9806e4d71c05ab97ff210b64eae43d649a7fc1a0cb8dd913cfd807875d6ea52ec626ab92533620d245febeb8f5c8082c5a2e7d9f994e
|
7
|
+
data.tar.gz: 2d77e86e344ded064a5a44d17575fedf73836f99c11f3087cf7a086ae401ad24331a3b91830e04491780e004b70591e6a9ba348def4e363d2d06d346ea82ef3e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.14.0 (2021-09-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210818
|
6
|
+
|
7
|
+
### v0.13.0 (2021-07-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210714
|
10
|
+
|
11
|
+
### v0.12.0 (2021-07-14)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210707
|
14
|
+
|
15
|
+
### v0.11.0 (2021-06-29)
|
16
|
+
|
17
|
+
* Regenerated using generator version 0.4.0
|
18
|
+
|
3
19
|
### v0.10.0 (2021-06-24)
|
4
20
|
|
5
21
|
* Unspecified changes
|
@@ -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":
|
@@ -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,11 +599,23 @@ 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
|
|
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
|
+
|
494
619
|
# A message in Hangouts Chat.
|
495
620
|
# Corresponds to the JSON property `message`
|
496
621
|
# @return [Google::Apis::ChatV1::Message]
|
@@ -532,8 +657,11 @@ module Google
|
|
532
657
|
# Update properties of this object
|
533
658
|
def update!(**args)
|
534
659
|
@action = args[:action] if args.key?(:action)
|
660
|
+
@common = args[:common] if args.key?(:common)
|
535
661
|
@config_complete_redirect_url = args[:config_complete_redirect_url] if args.key?(:config_complete_redirect_url)
|
662
|
+
@dialog_event_type = args[:dialog_event_type] if args.key?(:dialog_event_type)
|
536
663
|
@event_time = args[:event_time] if args.key?(:event_time)
|
664
|
+
@is_dialog_event = args[:is_dialog_event] if args.key?(:is_dialog_event)
|
537
665
|
@message = args[:message] if args.key?(:message)
|
538
666
|
@space = args[:space] if args.key?(:space)
|
539
667
|
@thread_key = args[:thread_key] if args.key?(:thread_key)
|
@@ -543,6 +671,71 @@ module Google
|
|
543
671
|
end
|
544
672
|
end
|
545
673
|
|
674
|
+
# Wrapper around the card body of the dialog.
|
675
|
+
class Dialog
|
676
|
+
include Google::Apis::Core::Hashable
|
677
|
+
|
678
|
+
# A card is a UI element that can contain UI widgets such as text and images.
|
679
|
+
# For more information, see Cards . For example, the following JSON creates a
|
680
|
+
# card that has a header with the name, position, icons, and link for a contact,
|
681
|
+
# followed by a section with contact information like email and phone number. ```
|
682
|
+
# ` "header": ` "title": "Heba Salam", "subtitle": "Software Engineer", "
|
683
|
+
# imageStyle": "ImageStyle.AVATAR", "imageUrl": "https://example.com/heba_salam.
|
684
|
+
# png", "imageAltText": "Avatar for Heba Salam" `, "sections" : [ ` "header": "
|
685
|
+
# Contact Info", "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "
|
686
|
+
# EMAIL" `, "content": "heba.salam@example.com" ` `, ` "decoratedText": ` "icon":
|
687
|
+
# ` "knownIcon": "PERSON" `, "content": "Online" ` `, ` "decoratedText": ` "
|
688
|
+
# icon": ` "knownIcon": "PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "
|
689
|
+
# buttons": [ ` "textButton": ` "text": "Share", `, "onClick": ` "openLink": ` "
|
690
|
+
# url": "https://example.com/share" ` ` `, ` "textButton": ` "text": "Edit", `, "
|
691
|
+
# onClick": ` "action": ` "function": "goToView", "parameters": [ ` "key": "
|
692
|
+
# viewType", "value": "EDIT" ` ], "loadIndicator": "LoadIndicator.SPINNER" ` ` `
|
693
|
+
# ] ` ], "collapsible": true, "uncollapsibleWidgetsCount": 3 ` ], "cardActions":
|
694
|
+
# [ ` "actionLabel": "Send Feedback", "onClick": ` "openLink": ` "url": "https://
|
695
|
+
# example.com/feedback" ` ` ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
|
696
|
+
# Corresponds to the JSON property `body`
|
697
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Card]
|
698
|
+
attr_accessor :body
|
699
|
+
|
700
|
+
def initialize(**args)
|
701
|
+
update!(**args)
|
702
|
+
end
|
703
|
+
|
704
|
+
# Update properties of this object
|
705
|
+
def update!(**args)
|
706
|
+
@body = args[:body] if args.key?(:body)
|
707
|
+
end
|
708
|
+
end
|
709
|
+
|
710
|
+
# Contains dialog if present as well as the ActionStatus for the request sent
|
711
|
+
# from user.
|
712
|
+
class DialogAction
|
713
|
+
include Google::Apis::Core::Hashable
|
714
|
+
|
715
|
+
# ActionStatus represents status of a request from the bot developer's side. In
|
716
|
+
# specific, for each request a bot gets, the bot developer will set both fields
|
717
|
+
# below in relation to what the response status and message related to status
|
718
|
+
# should be.
|
719
|
+
# Corresponds to the JSON property `actionStatus`
|
720
|
+
# @return [Google::Apis::ChatV1::ActionStatus]
|
721
|
+
attr_accessor :action_status
|
722
|
+
|
723
|
+
# Wrapper around the card body of the dialog.
|
724
|
+
# Corresponds to the JSON property `dialog`
|
725
|
+
# @return [Google::Apis::ChatV1::Dialog]
|
726
|
+
attr_accessor :dialog
|
727
|
+
|
728
|
+
def initialize(**args)
|
729
|
+
update!(**args)
|
730
|
+
end
|
731
|
+
|
732
|
+
# Update properties of this object
|
733
|
+
def update!(**args)
|
734
|
+
@action_status = args[:action_status] if args.key?(:action_status)
|
735
|
+
@dialog = args[:dialog] if args.key?(:dialog)
|
736
|
+
end
|
737
|
+
end
|
738
|
+
|
546
739
|
# A reference to the data of a drive attachment.
|
547
740
|
class DriveDataRef
|
548
741
|
include Google::Apis::Core::Hashable
|
@@ -1960,6 +2153,45 @@ module Google
|
|
1960
2153
|
end
|
1961
2154
|
end
|
1962
2155
|
|
2156
|
+
# The inputs with widgets.
|
2157
|
+
class Inputs
|
2158
|
+
include Google::Apis::Core::Hashable
|
2159
|
+
|
2160
|
+
# Input Parameter for Date Picker widget.
|
2161
|
+
# Corresponds to the JSON property `dateInput`
|
2162
|
+
# @return [Google::Apis::ChatV1::DateInput]
|
2163
|
+
attr_accessor :date_input
|
2164
|
+
|
2165
|
+
# Input Parameter for Date and Time Picker widget.
|
2166
|
+
# Corresponds to the JSON property `dateTimeInput`
|
2167
|
+
# @return [Google::Apis::ChatV1::DateTimeInput]
|
2168
|
+
attr_accessor :date_time_input
|
2169
|
+
|
2170
|
+
# Input parameter for regular widgets. For single-valued widgets, it will be a
|
2171
|
+
# single value list; for multi-valued widgets, such as checkbox, all the values
|
2172
|
+
# are presented.
|
2173
|
+
# Corresponds to the JSON property `stringInputs`
|
2174
|
+
# @return [Google::Apis::ChatV1::StringInputs]
|
2175
|
+
attr_accessor :string_inputs
|
2176
|
+
|
2177
|
+
# Input Parameter for Time Picker widget.
|
2178
|
+
# Corresponds to the JSON property `timeInput`
|
2179
|
+
# @return [Google::Apis::ChatV1::TimeInput]
|
2180
|
+
attr_accessor :time_input
|
2181
|
+
|
2182
|
+
def initialize(**args)
|
2183
|
+
update!(**args)
|
2184
|
+
end
|
2185
|
+
|
2186
|
+
# Update properties of this object
|
2187
|
+
def update!(**args)
|
2188
|
+
@date_input = args[:date_input] if args.key?(:date_input)
|
2189
|
+
@date_time_input = args[:date_time_input] if args.key?(:date_time_input)
|
2190
|
+
@string_inputs = args[:string_inputs] if args.key?(:string_inputs)
|
2191
|
+
@time_input = args[:time_input] if args.key?(:time_input)
|
2192
|
+
end
|
2193
|
+
end
|
2194
|
+
|
1963
2195
|
# A UI element contains a key (label) and a value (content). And this element
|
1964
2196
|
# may also contain some actions such as onclick button.
|
1965
2197
|
class KeyValue
|
@@ -2165,15 +2397,6 @@ module Google
|
|
2165
2397
|
# @return [Array<Google::Apis::ChatV1::Card>]
|
2166
2398
|
attr_accessor :cards
|
2167
2399
|
|
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
2400
|
# Output only. The time at which the message was created in Hangouts Chat server.
|
2178
2401
|
# Corresponds to the JSON property `createTime`
|
2179
2402
|
# @return [String]
|
@@ -2185,6 +2408,13 @@ module Google
|
|
2185
2408
|
# @return [String]
|
2186
2409
|
attr_accessor :fallback_text
|
2187
2410
|
|
2411
|
+
# Output only. The time at which the message was last updated in Hangouts Chat
|
2412
|
+
# server. If the message was never updated, this field will be same as
|
2413
|
+
# create_time.
|
2414
|
+
# Corresponds to the JSON property `lastUpdateTime`
|
2415
|
+
# @return [String]
|
2416
|
+
attr_accessor :last_update_time
|
2417
|
+
|
2188
2418
|
#
|
2189
2419
|
# Corresponds to the JSON property `name`
|
2190
2420
|
# @return [String]
|
@@ -2233,9 +2463,9 @@ module Google
|
|
2233
2463
|
@argument_text = args[:argument_text] if args.key?(:argument_text)
|
2234
2464
|
@attachment = args[:attachment] if args.key?(:attachment)
|
2235
2465
|
@cards = args[:cards] if args.key?(:cards)
|
2236
|
-
@cards_v2 = args[:cards_v2] if args.key?(:cards_v2)
|
2237
2466
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2238
2467
|
@fallback_text = args[:fallback_text] if args.key?(:fallback_text)
|
2468
|
+
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
2239
2469
|
@name = args[:name] if args.key?(:name)
|
2240
2470
|
@preview_text = args[:preview_text] if args.key?(:preview_text)
|
2241
2471
|
@sender = args[:sender] if args.key?(:sender)
|
@@ -2429,6 +2659,27 @@ module Google
|
|
2429
2659
|
end
|
2430
2660
|
end
|
2431
2661
|
|
2662
|
+
# Input parameter for regular widgets. For single-valued widgets, it will be a
|
2663
|
+
# single value list; for multi-valued widgets, such as checkbox, all the values
|
2664
|
+
# are presented.
|
2665
|
+
class StringInputs
|
2666
|
+
include Google::Apis::Core::Hashable
|
2667
|
+
|
2668
|
+
#
|
2669
|
+
# Corresponds to the JSON property `value`
|
2670
|
+
# @return [Array<String>]
|
2671
|
+
attr_accessor :value
|
2672
|
+
|
2673
|
+
def initialize(**args)
|
2674
|
+
update!(**args)
|
2675
|
+
end
|
2676
|
+
|
2677
|
+
# Update properties of this object
|
2678
|
+
def update!(**args)
|
2679
|
+
@value = args[:value] if args.key?(:value)
|
2680
|
+
end
|
2681
|
+
end
|
2682
|
+
|
2432
2683
|
# A button with text and onclick action.
|
2433
2684
|
class TextButton
|
2434
2685
|
include Google::Apis::Core::Hashable
|
@@ -2493,6 +2744,58 @@ module Google
|
|
2493
2744
|
end
|
2494
2745
|
end
|
2495
2746
|
|
2747
|
+
# Input Parameter for Time Picker widget.
|
2748
|
+
class TimeInput
|
2749
|
+
include Google::Apis::Core::Hashable
|
2750
|
+
|
2751
|
+
#
|
2752
|
+
# Corresponds to the JSON property `hours`
|
2753
|
+
# @return [Fixnum]
|
2754
|
+
attr_accessor :hours
|
2755
|
+
|
2756
|
+
#
|
2757
|
+
# Corresponds to the JSON property `minutes`
|
2758
|
+
# @return [Fixnum]
|
2759
|
+
attr_accessor :minutes
|
2760
|
+
|
2761
|
+
def initialize(**args)
|
2762
|
+
update!(**args)
|
2763
|
+
end
|
2764
|
+
|
2765
|
+
# Update properties of this object
|
2766
|
+
def update!(**args)
|
2767
|
+
@hours = args[:hours] if args.key?(:hours)
|
2768
|
+
@minutes = args[:minutes] if args.key?(:minutes)
|
2769
|
+
end
|
2770
|
+
end
|
2771
|
+
|
2772
|
+
# The timezone id and offset. The id is the tz database time zones such as "
|
2773
|
+
# America/Toronto". The user timezone offset, in milliseconds, from Coordinated
|
2774
|
+
# Universal Time (UTC).
|
2775
|
+
class TimeZone
|
2776
|
+
include Google::Apis::Core::Hashable
|
2777
|
+
|
2778
|
+
#
|
2779
|
+
# Corresponds to the JSON property `id`
|
2780
|
+
# @return [String]
|
2781
|
+
attr_accessor :id
|
2782
|
+
|
2783
|
+
#
|
2784
|
+
# Corresponds to the JSON property `offset`
|
2785
|
+
# @return [Fixnum]
|
2786
|
+
attr_accessor :offset
|
2787
|
+
|
2788
|
+
def initialize(**args)
|
2789
|
+
update!(**args)
|
2790
|
+
end
|
2791
|
+
|
2792
|
+
# Update properties of this object
|
2793
|
+
def update!(**args)
|
2794
|
+
@id = args[:id] if args.key?(:id)
|
2795
|
+
@offset = args[:offset] if args.key?(:offset)
|
2796
|
+
end
|
2797
|
+
end
|
2798
|
+
|
2496
2799
|
# A user in Google Chat.
|
2497
2800
|
class User
|
2498
2801
|
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.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210818"
|
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
|
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
|
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
|
567
|
+
class Color
|
504
568
|
# @private
|
505
569
|
class Representation < Google::Apis::Core::JsonRepresentation
|
506
|
-
property :
|
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 :
|
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
|
592
|
+
class DateInput
|
513
593
|
# @private
|
514
594
|
class Representation < Google::Apis::Core::JsonRepresentation
|
515
|
-
property :
|
516
|
-
|
517
|
-
|
518
|
-
|
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
|
62
|
-
# single thread. If this is the first message with a given
|
63
|
-
# new thread is created. Subsequent messages with the same
|
64
|
-
# will be posted into the same thread. This relieves bots and
|
65
|
-
# having to store the Hangouts Chat thread ID of a thread (created
|
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 Hangouts 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
|
106
|
-
# single thread. If this is the first message with a given
|
107
|
-
# new thread is created. Subsequent messages with the same
|
108
|
-
# will be posted into the same thread. This relieves bots and
|
109
|
-
# having to store the Hangouts Chat thread ID of a thread (created
|
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 Hangouts 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
|
150
|
-
# single thread. If this is the first message with a given
|
151
|
-
# new thread is created. Subsequent messages with the same
|
152
|
-
# will be posted into the same thread. This relieves bots and
|
153
|
-
# having to store the Hangouts Chat thread ID of a thread (created
|
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 Hangouts 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
|
232
|
-
# single thread. If this is the first message with a given
|
233
|
-
# new thread is created. Subsequent messages with the same
|
234
|
-
# will be posted into the same thread. This relieves bots and
|
235
|
-
# having to store the Hangouts Chat thread ID of a thread (created
|
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 Hangouts 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
|
276
|
-
# single thread. If this is the first message with a given
|
277
|
-
# new thread is created. Subsequent messages with the same
|
278
|
-
# will be posted into the same thread. This relieves bots and
|
279
|
-
# having to store the Hangouts Chat thread ID of a thread (created
|
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 Hangouts 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
|
320
|
-
# single thread. If this is the first message with a given
|
321
|
-
# new thread is created. Subsequent messages with the same
|
322
|
-
# will be posted into the same thread. This relieves bots and
|
323
|
-
# having to store the Hangouts Chat thread ID of a thread (created
|
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 Hangouts 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
|
429
|
-
# single thread. If this is the first message with a given
|
430
|
-
# new thread is created. Subsequent messages with the same
|
431
|
-
# will be posted into the same thread. This relieves bots and
|
432
|
-
# having to store the Hangouts Chat thread ID of a thread (created
|
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 Hangouts 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
|
541
|
-
# single thread. If this is the first message with a given
|
542
|
-
# new thread is created. Subsequent messages with the same
|
543
|
-
# will be posted into the same thread. This relieves bots and
|
544
|
-
# having to store the Hangouts Chat thread ID of a thread (created
|
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 Hangouts 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.
|
4
|
+
version: 0.14.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-06
|
11
|
+
date: 2021-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.4'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.14.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: []
|