google-apis-chat_v1 0.13.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 +4 -0
- data/lib/google/apis/chat_v1/classes.rb +252 -0
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/representations.rb +115 -0
- data/lib/google/apis/chat_v1/service.rb +48 -48
- metadata +3 -3
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
@@ -464,6 +464,118 @@ module Google
|
|
464
464
|
end
|
465
465
|
end
|
466
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
|
+
|
467
579
|
# Google Chat events.
|
468
580
|
class DeprecatedEvent
|
469
581
|
include Google::Apis::Core::Hashable
|
@@ -474,6 +586,11 @@ module Google
|
|
474
586
|
# @return [Google::Apis::ChatV1::FormAction]
|
475
587
|
attr_accessor :action
|
476
588
|
|
589
|
+
# Next available ID = 8
|
590
|
+
# Corresponds to the JSON property `common`
|
591
|
+
# @return [Google::Apis::ChatV1::CommonEventObject]
|
592
|
+
attr_accessor :common
|
593
|
+
|
477
594
|
# The URL the bot should redirect the user to after they have completed an
|
478
595
|
# authorization or configuration flow outside of Google Chat. See the [
|
479
596
|
# Authorizing access to 3p services guide](/chat/how-tos/auth-3p) for more
|
@@ -482,11 +599,23 @@ module Google
|
|
482
599
|
# @return [String]
|
483
600
|
attr_accessor :config_complete_redirect_url
|
484
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
|
+
|
485
607
|
# The timestamp indicating when the event was dispatched.
|
486
608
|
# Corresponds to the JSON property `eventTime`
|
487
609
|
# @return [String]
|
488
610
|
attr_accessor :event_time
|
489
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
|
+
|
490
619
|
# A message in Hangouts Chat.
|
491
620
|
# Corresponds to the JSON property `message`
|
492
621
|
# @return [Google::Apis::ChatV1::Message]
|
@@ -528,8 +657,11 @@ module Google
|
|
528
657
|
# Update properties of this object
|
529
658
|
def update!(**args)
|
530
659
|
@action = args[:action] if args.key?(:action)
|
660
|
+
@common = args[:common] if args.key?(:common)
|
531
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)
|
532
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)
|
533
665
|
@message = args[:message] if args.key?(:message)
|
534
666
|
@space = args[:space] if args.key?(:space)
|
535
667
|
@thread_key = args[:thread_key] if args.key?(:thread_key)
|
@@ -2021,6 +2153,45 @@ module Google
|
|
2021
2153
|
end
|
2022
2154
|
end
|
2023
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
|
+
|
2024
2195
|
# A UI element contains a key (label) and a value (content). And this element
|
2025
2196
|
# may also contain some actions such as onclick button.
|
2026
2197
|
class KeyValue
|
@@ -2237,6 +2408,13 @@ module Google
|
|
2237
2408
|
# @return [String]
|
2238
2409
|
attr_accessor :fallback_text
|
2239
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
|
+
|
2240
2418
|
#
|
2241
2419
|
# Corresponds to the JSON property `name`
|
2242
2420
|
# @return [String]
|
@@ -2287,6 +2465,7 @@ module Google
|
|
2287
2465
|
@cards = args[:cards] if args.key?(:cards)
|
2288
2466
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2289
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)
|
2290
2469
|
@name = args[:name] if args.key?(:name)
|
2291
2470
|
@preview_text = args[:preview_text] if args.key?(:preview_text)
|
2292
2471
|
@sender = args[:sender] if args.key?(:sender)
|
@@ -2480,6 +2659,27 @@ module Google
|
|
2480
2659
|
end
|
2481
2660
|
end
|
2482
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
|
+
|
2483
2683
|
# A button with text and onclick action.
|
2484
2684
|
class TextButton
|
2485
2685
|
include Google::Apis::Core::Hashable
|
@@ -2544,6 +2744,58 @@ module Google
|
|
2544
2744
|
end
|
2545
2745
|
end
|
2546
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
|
+
|
2547
2799
|
# A user in Google Chat.
|
2548
2800
|
class User
|
2549
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
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
|
@@ -88,6 +88,24 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
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
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
91
109
|
class DeprecatedEvent
|
92
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
111
|
|
@@ -310,6 +328,12 @@ module Google
|
|
310
328
|
include Google::Apis::Core::JsonObjectSupport
|
311
329
|
end
|
312
330
|
|
331
|
+
class Inputs
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
313
337
|
class KeyValue
|
314
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
339
|
|
@@ -382,6 +406,12 @@ module Google
|
|
382
406
|
include Google::Apis::Core::JsonObjectSupport
|
383
407
|
end
|
384
408
|
|
409
|
+
class StringInputs
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
385
415
|
class TextButton
|
386
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
417
|
|
@@ -400,6 +430,18 @@ module Google
|
|
400
430
|
include Google::Apis::Core::JsonObjectSupport
|
401
431
|
end
|
402
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
|
+
|
403
445
|
class User
|
404
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
447
|
|
@@ -532,13 +574,48 @@ module Google
|
|
532
574
|
end
|
533
575
|
end
|
534
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
|
581
|
+
|
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'
|
589
|
+
end
|
590
|
+
end
|
591
|
+
|
592
|
+
class DateInput
|
593
|
+
# @private
|
594
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
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'
|
605
|
+
end
|
606
|
+
end
|
607
|
+
|
535
608
|
class DeprecatedEvent
|
536
609
|
# @private
|
537
610
|
class Representation < Google::Apis::Core::JsonRepresentation
|
538
611
|
property :action, as: 'action', class: Google::Apis::ChatV1::FormAction, decorator: Google::Apis::ChatV1::FormAction::Representation
|
539
612
|
|
613
|
+
property :common, as: 'common', class: Google::Apis::ChatV1::CommonEventObject, decorator: Google::Apis::ChatV1::CommonEventObject::Representation
|
614
|
+
|
540
615
|
property :config_complete_redirect_url, as: 'configCompleteRedirectUrl'
|
616
|
+
property :dialog_event_type, as: 'dialogEventType'
|
541
617
|
property :event_time, as: 'eventTime'
|
618
|
+
property :is_dialog_event, as: 'isDialogEvent'
|
542
619
|
property :message, as: 'message', class: Google::Apis::ChatV1::Message, decorator: Google::Apis::ChatV1::Message::Representation
|
543
620
|
|
544
621
|
property :space, as: 'space', class: Google::Apis::ChatV1::Space, decorator: Google::Apis::ChatV1::Space::Representation
|
@@ -952,6 +1029,20 @@ module Google
|
|
952
1029
|
end
|
953
1030
|
end
|
954
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
|
+
|
955
1046
|
class KeyValue
|
956
1047
|
# @private
|
957
1048
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1018,6 +1109,7 @@ module Google
|
|
1018
1109
|
|
1019
1110
|
property :create_time, as: 'createTime'
|
1020
1111
|
property :fallback_text, as: 'fallbackText'
|
1112
|
+
property :last_update_time, as: 'lastUpdateTime'
|
1021
1113
|
property :name, as: 'name'
|
1022
1114
|
property :preview_text, as: 'previewText'
|
1023
1115
|
property :sender, as: 'sender', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
|
@@ -1088,6 +1180,13 @@ module Google
|
|
1088
1180
|
end
|
1089
1181
|
end
|
1090
1182
|
|
1183
|
+
class StringInputs
|
1184
|
+
# @private
|
1185
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1186
|
+
collection :value, as: 'value'
|
1187
|
+
end
|
1188
|
+
end
|
1189
|
+
|
1091
1190
|
class TextButton
|
1092
1191
|
# @private
|
1093
1192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1111,6 +1210,22 @@ module Google
|
|
1111
1210
|
end
|
1112
1211
|
end
|
1113
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
|
+
|
1114
1229
|
class User
|
1115
1230
|
# @private
|
1116
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-
|
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
|
@@ -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: []
|