google-apis-chat_v1 0.108.0 → 0.110.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 +8 -0
- data/lib/google/apis/chat_v1/classes.rb +260 -2
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/representations.rb +94 -0
- data/lib/google/apis/chat_v1/service.rb +41 -40
- 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: 7ddf128d60f1a0dde1c0be32feececf72048fca001eae5cb20105a4e66e632a6
|
4
|
+
data.tar.gz: 39d40a21795ffd1e299912c2334d937e98ba412282c7daa9f4596397fd9c6cf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dfa2f4d2753f9bac126e83215871d67d7d0e2687f2f1dce6ac167e315965f9db568a944c7ed8dd7e4158251fcf9d83e32e8c51f3420bf0f495e7ad18a4ca79d
|
7
|
+
data.tar.gz: bc603d8ba16c906e535fe893dc523e278374f344a8e0f61e20113202a70c4e17ca04be83c1ff4d11595f3db203bfd8c6856e8bda8ccb5aa7321485538de4d0b1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.110.0 (2024-11-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241029
|
6
|
+
|
7
|
+
### v0.109.0 (2024-10-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241020
|
10
|
+
|
3
11
|
### v0.108.0 (2024-10-13)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20241008
|
@@ -1518,6 +1518,14 @@ module Google
|
|
1518
1518
|
# @return [String]
|
1519
1519
|
attr_accessor :text
|
1520
1520
|
|
1521
|
+
# Optional. The type of a button. If unset, button type defaults to `OUTLINED`.
|
1522
|
+
# If the `color` field is set, the button type is forced to `FILLED` and any
|
1523
|
+
# value set for this field is ignored. [Google Chat apps](https://developers.
|
1524
|
+
# google.com/workspace/chat):
|
1525
|
+
# Corresponds to the JSON property `type`
|
1526
|
+
# @return [String]
|
1527
|
+
attr_accessor :type
|
1528
|
+
|
1521
1529
|
def initialize(**args)
|
1522
1530
|
update!(**args)
|
1523
1531
|
end
|
@@ -1530,6 +1538,7 @@ module Google
|
|
1530
1538
|
@icon = args[:icon] if args.key?(:icon)
|
1531
1539
|
@on_click = args[:on_click] if args.key?(:on_click)
|
1532
1540
|
@text = args[:text] if args.key?(:text)
|
1541
|
+
@type = args[:type] if args.key?(:type)
|
1533
1542
|
end
|
1534
1543
|
end
|
1535
1544
|
|
@@ -1789,6 +1798,140 @@ module Google
|
|
1789
1798
|
end
|
1790
1799
|
end
|
1791
1800
|
|
1801
|
+
# A text, icon, or text and icon chip that users can click. [Google Chat apps](
|
1802
|
+
# https://developers.google.com/workspace/chat):
|
1803
|
+
class GoogleAppsCardV1Chip
|
1804
|
+
include Google::Apis::Core::Hashable
|
1805
|
+
|
1806
|
+
# The alternative text that's used for accessibility. Set descriptive text that
|
1807
|
+
# lets users know what the chip does. For example, if a chip opens a hyperlink,
|
1808
|
+
# write: "Opens a new browser tab and navigates to the Google Chat developer
|
1809
|
+
# documentation at https://developers.google.com/workspace/chat".
|
1810
|
+
# Corresponds to the JSON property `altText`
|
1811
|
+
# @return [String]
|
1812
|
+
attr_accessor :alt_text
|
1813
|
+
|
1814
|
+
# Whether the chip is in an inactive state and ignores user actions. Defaults to
|
1815
|
+
# `false`.
|
1816
|
+
# Corresponds to the JSON property `disabled`
|
1817
|
+
# @return [Boolean]
|
1818
|
+
attr_accessor :disabled
|
1819
|
+
alias_method :disabled?, :disabled
|
1820
|
+
|
1821
|
+
# Whether the chip is in an active state and responds to user actions. Defaults
|
1822
|
+
# to `true`. Deprecated. Use `disabled` instead.
|
1823
|
+
# Corresponds to the JSON property `enabled`
|
1824
|
+
# @return [Boolean]
|
1825
|
+
attr_accessor :enabled
|
1826
|
+
alias_method :enabled?, :enabled
|
1827
|
+
|
1828
|
+
# An icon displayed in a widget on a card. For an example in Google Chat apps,
|
1829
|
+
# see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-
|
1830
|
+
# card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/
|
1831
|
+
# workspace/chat/format-messages#builtinicons) and [custom](https://developers.
|
1832
|
+
# google.com/workspace/chat/format-messages#customicons) icons. [Google
|
1833
|
+
# Workspace Add-ons and Chat apps](https://developers.google.com/workspace/
|
1834
|
+
# extend):
|
1835
|
+
# Corresponds to the JSON property `icon`
|
1836
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
|
1837
|
+
attr_accessor :icon
|
1838
|
+
|
1839
|
+
# The text displayed inside the chip.
|
1840
|
+
# Corresponds to the JSON property `label`
|
1841
|
+
# @return [String]
|
1842
|
+
attr_accessor :label
|
1843
|
+
|
1844
|
+
# Represents how to respond when users click an interactive element on a card,
|
1845
|
+
# such as a button. [Google Workspace Add-ons and Chat apps](https://developers.
|
1846
|
+
# google.com/workspace/extend):
|
1847
|
+
# Corresponds to the JSON property `onClick`
|
1848
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1OnClick]
|
1849
|
+
attr_accessor :on_click
|
1850
|
+
|
1851
|
+
def initialize(**args)
|
1852
|
+
update!(**args)
|
1853
|
+
end
|
1854
|
+
|
1855
|
+
# Update properties of this object
|
1856
|
+
def update!(**args)
|
1857
|
+
@alt_text = args[:alt_text] if args.key?(:alt_text)
|
1858
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
1859
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1860
|
+
@icon = args[:icon] if args.key?(:icon)
|
1861
|
+
@label = args[:label] if args.key?(:label)
|
1862
|
+
@on_click = args[:on_click] if args.key?(:on_click)
|
1863
|
+
end
|
1864
|
+
end
|
1865
|
+
|
1866
|
+
# A list of chips layed out horizontally, which can either scroll horizontally
|
1867
|
+
# or wrap to the next line. [Google Chat apps](https://developers.google.com/
|
1868
|
+
# workspace/chat):
|
1869
|
+
class GoogleAppsCardV1ChipList
|
1870
|
+
include Google::Apis::Core::Hashable
|
1871
|
+
|
1872
|
+
# An array of chips.
|
1873
|
+
# Corresponds to the JSON property `chips`
|
1874
|
+
# @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1Chip>]
|
1875
|
+
attr_accessor :chips
|
1876
|
+
|
1877
|
+
# Specified chip list layout.
|
1878
|
+
# Corresponds to the JSON property `layout`
|
1879
|
+
# @return [String]
|
1880
|
+
attr_accessor :layout
|
1881
|
+
|
1882
|
+
def initialize(**args)
|
1883
|
+
update!(**args)
|
1884
|
+
end
|
1885
|
+
|
1886
|
+
# Update properties of this object
|
1887
|
+
def update!(**args)
|
1888
|
+
@chips = args[:chips] if args.key?(:chips)
|
1889
|
+
@layout = args[:layout] if args.key?(:layout)
|
1890
|
+
end
|
1891
|
+
end
|
1892
|
+
|
1893
|
+
# Represent an expand and collapse control. [Google Chat apps](https://
|
1894
|
+
# developers.google.com/workspace/chat):
|
1895
|
+
class GoogleAppsCardV1CollapseControl
|
1896
|
+
include Google::Apis::Core::Hashable
|
1897
|
+
|
1898
|
+
# A text, icon, or text and icon button that users can click. For an example in
|
1899
|
+
# Google Chat apps, see [Add a button](https://developers.google.com/workspace/
|
1900
|
+
# chat/design-interactive-card-dialog#add_a_button). To make an image a
|
1901
|
+
# clickable button, specify an `Image` (not an `ImageComponent`) and set an `
|
1902
|
+
# onClick` action. [Google Workspace Add-ons and Chat apps](https://developers.
|
1903
|
+
# google.com/workspace/extend):
|
1904
|
+
# Corresponds to the JSON property `collapseButton`
|
1905
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
|
1906
|
+
attr_accessor :collapse_button
|
1907
|
+
|
1908
|
+
# A text, icon, or text and icon button that users can click. For an example in
|
1909
|
+
# Google Chat apps, see [Add a button](https://developers.google.com/workspace/
|
1910
|
+
# chat/design-interactive-card-dialog#add_a_button). To make an image a
|
1911
|
+
# clickable button, specify an `Image` (not an `ImageComponent`) and set an `
|
1912
|
+
# onClick` action. [Google Workspace Add-ons and Chat apps](https://developers.
|
1913
|
+
# google.com/workspace/extend):
|
1914
|
+
# Corresponds to the JSON property `expandButton`
|
1915
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Button]
|
1916
|
+
attr_accessor :expand_button
|
1917
|
+
|
1918
|
+
# The horizontal alignment of the expand and collapse button.
|
1919
|
+
# Corresponds to the JSON property `horizontalAlignment`
|
1920
|
+
# @return [String]
|
1921
|
+
attr_accessor :horizontal_alignment
|
1922
|
+
|
1923
|
+
def initialize(**args)
|
1924
|
+
update!(**args)
|
1925
|
+
end
|
1926
|
+
|
1927
|
+
# Update properties of this object
|
1928
|
+
def update!(**args)
|
1929
|
+
@collapse_button = args[:collapse_button] if args.key?(:collapse_button)
|
1930
|
+
@expand_button = args[:expand_button] if args.key?(:expand_button)
|
1931
|
+
@horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment)
|
1932
|
+
end
|
1933
|
+
end
|
1934
|
+
|
1792
1935
|
# A column. [Google Workspace Add-ons and Chat apps](https://developers.google.
|
1793
1936
|
# com/workspace/extend)
|
1794
1937
|
class GoogleAppsCardV1Column
|
@@ -2467,6 +2610,15 @@ module Google
|
|
2467
2610
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1OpenLink]
|
2468
2611
|
attr_accessor :open_link
|
2469
2612
|
|
2613
|
+
# A widget that presents a pop-up menu with one or more actions that users can
|
2614
|
+
# invoke. For example, showing non-primary actions in a card. You can use this
|
2615
|
+
# widget when actions don't fit in the available space. To use, specify this
|
2616
|
+
# widget in the `OnClick` action of widgets that support it. For example, in a `
|
2617
|
+
# Button`. [Google Chat apps](https://developers.google.com/workspace/chat):
|
2618
|
+
# Corresponds to the JSON property `overflowMenu`
|
2619
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1OverflowMenu]
|
2620
|
+
attr_accessor :overflow_menu
|
2621
|
+
|
2470
2622
|
def initialize(**args)
|
2471
2623
|
update!(**args)
|
2472
2624
|
end
|
@@ -2477,6 +2629,7 @@ module Google
|
|
2477
2629
|
@card = args[:card] if args.key?(:card)
|
2478
2630
|
@open_dynamic_link_action = args[:open_dynamic_link_action] if args.key?(:open_dynamic_link_action)
|
2479
2631
|
@open_link = args[:open_link] if args.key?(:open_link)
|
2632
|
+
@overflow_menu = args[:overflow_menu] if args.key?(:overflow_menu)
|
2480
2633
|
end
|
2481
2634
|
end
|
2482
2635
|
|
@@ -2515,6 +2668,76 @@ module Google
|
|
2515
2668
|
end
|
2516
2669
|
end
|
2517
2670
|
|
2671
|
+
# A widget that presents a pop-up menu with one or more actions that users can
|
2672
|
+
# invoke. For example, showing non-primary actions in a card. You can use this
|
2673
|
+
# widget when actions don't fit in the available space. To use, specify this
|
2674
|
+
# widget in the `OnClick` action of widgets that support it. For example, in a `
|
2675
|
+
# Button`. [Google Chat apps](https://developers.google.com/workspace/chat):
|
2676
|
+
class GoogleAppsCardV1OverflowMenu
|
2677
|
+
include Google::Apis::Core::Hashable
|
2678
|
+
|
2679
|
+
# Required. The list of menu options.
|
2680
|
+
# Corresponds to the JSON property `items`
|
2681
|
+
# @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1OverflowMenuItem>]
|
2682
|
+
attr_accessor :items
|
2683
|
+
|
2684
|
+
def initialize(**args)
|
2685
|
+
update!(**args)
|
2686
|
+
end
|
2687
|
+
|
2688
|
+
# Update properties of this object
|
2689
|
+
def update!(**args)
|
2690
|
+
@items = args[:items] if args.key?(:items)
|
2691
|
+
end
|
2692
|
+
end
|
2693
|
+
|
2694
|
+
# An option that users can invoke in an overflow menu. [Google Chat apps](https:/
|
2695
|
+
# /developers.google.com/workspace/chat):
|
2696
|
+
class GoogleAppsCardV1OverflowMenuItem
|
2697
|
+
include Google::Apis::Core::Hashable
|
2698
|
+
|
2699
|
+
# Whether the menu option is disabled. Defaults to false.
|
2700
|
+
# Corresponds to the JSON property `disabled`
|
2701
|
+
# @return [Boolean]
|
2702
|
+
attr_accessor :disabled
|
2703
|
+
alias_method :disabled?, :disabled
|
2704
|
+
|
2705
|
+
# Represents how to respond when users click an interactive element on a card,
|
2706
|
+
# such as a button. [Google Workspace Add-ons and Chat apps](https://developers.
|
2707
|
+
# google.com/workspace/extend):
|
2708
|
+
# Corresponds to the JSON property `onClick`
|
2709
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1OnClick]
|
2710
|
+
attr_accessor :on_click
|
2711
|
+
|
2712
|
+
# An icon displayed in a widget on a card. For an example in Google Chat apps,
|
2713
|
+
# see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-
|
2714
|
+
# card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/
|
2715
|
+
# workspace/chat/format-messages#builtinicons) and [custom](https://developers.
|
2716
|
+
# google.com/workspace/chat/format-messages#customicons) icons. [Google
|
2717
|
+
# Workspace Add-ons and Chat apps](https://developers.google.com/workspace/
|
2718
|
+
# extend):
|
2719
|
+
# Corresponds to the JSON property `startIcon`
|
2720
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Icon]
|
2721
|
+
attr_accessor :start_icon
|
2722
|
+
|
2723
|
+
# Required. The text that identifies or describes the item to users.
|
2724
|
+
# Corresponds to the JSON property `text`
|
2725
|
+
# @return [String]
|
2726
|
+
attr_accessor :text
|
2727
|
+
|
2728
|
+
def initialize(**args)
|
2729
|
+
update!(**args)
|
2730
|
+
end
|
2731
|
+
|
2732
|
+
# Update properties of this object
|
2733
|
+
def update!(**args)
|
2734
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
2735
|
+
@on_click = args[:on_click] if args.key?(:on_click)
|
2736
|
+
@start_icon = args[:start_icon] if args.key?(:start_icon)
|
2737
|
+
@text = args[:text] if args.key?(:text)
|
2738
|
+
end
|
2739
|
+
end
|
2740
|
+
|
2518
2741
|
# For a `SelectionInput` widget that uses a multiselect menu, a data source from
|
2519
2742
|
# Google Workspace. Used to populate items in a multiselect menu. [Google Chat
|
2520
2743
|
# apps](https://developers.google.com/workspace/chat):
|
@@ -2552,6 +2775,12 @@ module Google
|
|
2552
2775
|
class GoogleAppsCardV1Section
|
2553
2776
|
include Google::Apis::Core::Hashable
|
2554
2777
|
|
2778
|
+
# Represent an expand and collapse control. [Google Chat apps](https://
|
2779
|
+
# developers.google.com/workspace/chat):
|
2780
|
+
# Corresponds to the JSON property `collapseControl`
|
2781
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1CollapseControl]
|
2782
|
+
attr_accessor :collapse_control
|
2783
|
+
|
2555
2784
|
# Indicates whether this section is collapsible. Collapsible sections hide some
|
2556
2785
|
# or all widgets, but users can expand the section to reveal the hidden widgets
|
2557
2786
|
# by clicking **Show more**. Users can hide the widgets again by clicking **Show
|
@@ -2592,6 +2821,7 @@ module Google
|
|
2592
2821
|
|
2593
2822
|
# Update properties of this object
|
2594
2823
|
def update!(**args)
|
2824
|
+
@collapse_control = args[:collapse_control] if args.key?(:collapse_control)
|
2595
2825
|
@collapsible = args[:collapsible] if args.key?(:collapsible)
|
2596
2826
|
@header = args[:header] if args.key?(:header)
|
2597
2827
|
@uncollapsible_widgets_count = args[:uncollapsible_widgets_count] if args.key?(:uncollapsible_widgets_count)
|
@@ -2972,6 +3202,17 @@ module Google
|
|
2972
3202
|
class GoogleAppsCardV1TextParagraph
|
2973
3203
|
include Google::Apis::Core::Hashable
|
2974
3204
|
|
3205
|
+
# The maximum number of lines of text that are displayed in the widget. If the
|
3206
|
+
# text exceeds the specified maximum number of lines, the excess content is
|
3207
|
+
# concealed behind a **show more** button. If the text is equal or shorter than
|
3208
|
+
# the specified maximum number of lines, a **show more** button isn't displayed.
|
3209
|
+
# The default value is 0, in which case all context is displayed. Negative
|
3210
|
+
# values are ignored. [Google Chat apps](https://developers.google.com/workspace/
|
3211
|
+
# chat):
|
3212
|
+
# Corresponds to the JSON property `maxLines`
|
3213
|
+
# @return [Fixnum]
|
3214
|
+
attr_accessor :max_lines
|
3215
|
+
|
2975
3216
|
# The text that's shown in the widget.
|
2976
3217
|
# Corresponds to the JSON property `text`
|
2977
3218
|
# @return [String]
|
@@ -2983,6 +3224,7 @@ module Google
|
|
2983
3224
|
|
2984
3225
|
# Update properties of this object
|
2985
3226
|
def update!(**args)
|
3227
|
+
@max_lines = args[:max_lines] if args.key?(:max_lines)
|
2986
3228
|
@text = args[:text] if args.key?(:text)
|
2987
3229
|
end
|
2988
3230
|
end
|
@@ -3000,6 +3242,13 @@ module Google
|
|
3000
3242
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1ButtonList]
|
3001
3243
|
attr_accessor :button_list
|
3002
3244
|
|
3245
|
+
# A list of chips layed out horizontally, which can either scroll horizontally
|
3246
|
+
# or wrap to the next line. [Google Chat apps](https://developers.google.com/
|
3247
|
+
# workspace/chat):
|
3248
|
+
# Corresponds to the JSON property `chipList`
|
3249
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1ChipList]
|
3250
|
+
attr_accessor :chip_list
|
3251
|
+
|
3003
3252
|
# The `Columns` widget displays up to 2 columns in a card or dialog. You can add
|
3004
3253
|
# widgets to each column; the widgets appear in the order that they are
|
3005
3254
|
# specified. For an example in Google Chat apps, see [Display cards and dialogs
|
@@ -3137,6 +3386,7 @@ module Google
|
|
3137
3386
|
# Update properties of this object
|
3138
3387
|
def update!(**args)
|
3139
3388
|
@button_list = args[:button_list] if args.key?(:button_list)
|
3389
|
+
@chip_list = args[:chip_list] if args.key?(:chip_list)
|
3140
3390
|
@columns = args[:columns] if args.key?(:columns)
|
3141
3391
|
@date_time_picker = args[:date_time_picker] if args.key?(:date_time_picker)
|
3142
3392
|
@decorated_text = args[:decorated_text] if args.key?(:decorated_text)
|
@@ -3163,6 +3413,13 @@ module Google
|
|
3163
3413
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1ButtonList]
|
3164
3414
|
attr_accessor :button_list
|
3165
3415
|
|
3416
|
+
# A list of chips layed out horizontally, which can either scroll horizontally
|
3417
|
+
# or wrap to the next line. [Google Chat apps](https://developers.google.com/
|
3418
|
+
# workspace/chat):
|
3419
|
+
# Corresponds to the JSON property `chipList`
|
3420
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1ChipList]
|
3421
|
+
attr_accessor :chip_list
|
3422
|
+
|
3166
3423
|
# Lets users input a date, a time, or both a date and a time. For an example in
|
3167
3424
|
# Google Chat apps, see [Let a user pick a date and time](https://developers.
|
3168
3425
|
# google.com/workspace/chat/design-interactive-card-dialog#
|
@@ -3241,6 +3498,7 @@ module Google
|
|
3241
3498
|
# Update properties of this object
|
3242
3499
|
def update!(**args)
|
3243
3500
|
@button_list = args[:button_list] if args.key?(:button_list)
|
3501
|
+
@chip_list = args[:chip_list] if args.key?(:chip_list)
|
3244
3502
|
@date_time_picker = args[:date_time_picker] if args.key?(:date_time_picker)
|
3245
3503
|
@decorated_text = args[:decorated_text] if args.key?(:decorated_text)
|
3246
3504
|
@image = args[:image] if args.key?(:image)
|
@@ -3690,8 +3948,8 @@ module Google
|
|
3690
3948
|
# @return [Google::Apis::ChatV1::User]
|
3691
3949
|
attr_accessor :member
|
3692
3950
|
|
3693
|
-
# Resource name of the membership, assigned by the server. Format: `
|
3694
|
-
# space`/members/`member``
|
3951
|
+
# Identifier. Resource name of the membership, assigned by the server. Format: `
|
3952
|
+
# spaces/`space`/members/`member``
|
3695
3953
|
# Corresponds to the JSON property `name`
|
3696
3954
|
# @return [String]
|
3697
3955
|
attr_accessor :name
|
@@ -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.110.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241029"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -280,6 +280,24 @@ module Google
|
|
280
280
|
include Google::Apis::Core::JsonObjectSupport
|
281
281
|
end
|
282
282
|
|
283
|
+
class GoogleAppsCardV1Chip
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class GoogleAppsCardV1ChipList
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class GoogleAppsCardV1CollapseControl
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
283
301
|
class GoogleAppsCardV1Column
|
284
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
303
|
|
@@ -364,6 +382,18 @@ module Google
|
|
364
382
|
include Google::Apis::Core::JsonObjectSupport
|
365
383
|
end
|
366
384
|
|
385
|
+
class GoogleAppsCardV1OverflowMenu
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
391
|
+
class GoogleAppsCardV1OverflowMenuItem
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
367
397
|
class GoogleAppsCardV1PlatformDataSource
|
368
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
399
|
|
@@ -1195,6 +1225,7 @@ module Google
|
|
1195
1225
|
property :on_click, as: 'onClick', class: Google::Apis::ChatV1::GoogleAppsCardV1OnClick, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OnClick::Representation
|
1196
1226
|
|
1197
1227
|
property :text, as: 'text'
|
1228
|
+
property :type, as: 'type'
|
1198
1229
|
end
|
1199
1230
|
end
|
1200
1231
|
|
@@ -1255,6 +1286,40 @@ module Google
|
|
1255
1286
|
end
|
1256
1287
|
end
|
1257
1288
|
|
1289
|
+
class GoogleAppsCardV1Chip
|
1290
|
+
# @private
|
1291
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1292
|
+
property :alt_text, as: 'altText'
|
1293
|
+
property :disabled, as: 'disabled'
|
1294
|
+
property :enabled, as: 'enabled'
|
1295
|
+
property :icon, as: 'icon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation
|
1296
|
+
|
1297
|
+
property :label, as: 'label'
|
1298
|
+
property :on_click, as: 'onClick', class: Google::Apis::ChatV1::GoogleAppsCardV1OnClick, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OnClick::Representation
|
1299
|
+
|
1300
|
+
end
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
class GoogleAppsCardV1ChipList
|
1304
|
+
# @private
|
1305
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1306
|
+
collection :chips, as: 'chips', class: Google::Apis::ChatV1::GoogleAppsCardV1Chip, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Chip::Representation
|
1307
|
+
|
1308
|
+
property :layout, as: 'layout'
|
1309
|
+
end
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
class GoogleAppsCardV1CollapseControl
|
1313
|
+
# @private
|
1314
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1315
|
+
property :collapse_button, as: 'collapseButton', class: Google::Apis::ChatV1::GoogleAppsCardV1Button, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Button::Representation
|
1316
|
+
|
1317
|
+
property :expand_button, as: 'expandButton', class: Google::Apis::ChatV1::GoogleAppsCardV1Button, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Button::Representation
|
1318
|
+
|
1319
|
+
property :horizontal_alignment, as: 'horizontalAlignment'
|
1320
|
+
end
|
1321
|
+
end
|
1322
|
+
|
1258
1323
|
class GoogleAppsCardV1Column
|
1259
1324
|
# @private
|
1260
1325
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1404,6 +1469,8 @@ module Google
|
|
1404
1469
|
|
1405
1470
|
property :open_link, as: 'openLink', class: Google::Apis::ChatV1::GoogleAppsCardV1OpenLink, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OpenLink::Representation
|
1406
1471
|
|
1472
|
+
property :overflow_menu, as: 'overflowMenu', class: Google::Apis::ChatV1::GoogleAppsCardV1OverflowMenu, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OverflowMenu::Representation
|
1473
|
+
|
1407
1474
|
end
|
1408
1475
|
end
|
1409
1476
|
|
@@ -1416,6 +1483,26 @@ module Google
|
|
1416
1483
|
end
|
1417
1484
|
end
|
1418
1485
|
|
1486
|
+
class GoogleAppsCardV1OverflowMenu
|
1487
|
+
# @private
|
1488
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1489
|
+
collection :items, as: 'items', class: Google::Apis::ChatV1::GoogleAppsCardV1OverflowMenuItem, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OverflowMenuItem::Representation
|
1490
|
+
|
1491
|
+
end
|
1492
|
+
end
|
1493
|
+
|
1494
|
+
class GoogleAppsCardV1OverflowMenuItem
|
1495
|
+
# @private
|
1496
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1497
|
+
property :disabled, as: 'disabled'
|
1498
|
+
property :on_click, as: 'onClick', class: Google::Apis::ChatV1::GoogleAppsCardV1OnClick, decorator: Google::Apis::ChatV1::GoogleAppsCardV1OnClick::Representation
|
1499
|
+
|
1500
|
+
property :start_icon, as: 'startIcon', class: Google::Apis::ChatV1::GoogleAppsCardV1Icon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Icon::Representation
|
1501
|
+
|
1502
|
+
property :text, as: 'text'
|
1503
|
+
end
|
1504
|
+
end
|
1505
|
+
|
1419
1506
|
class GoogleAppsCardV1PlatformDataSource
|
1420
1507
|
# @private
|
1421
1508
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1428,6 +1515,8 @@ module Google
|
|
1428
1515
|
class GoogleAppsCardV1Section
|
1429
1516
|
# @private
|
1430
1517
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1518
|
+
property :collapse_control, as: 'collapseControl', class: Google::Apis::ChatV1::GoogleAppsCardV1CollapseControl, decorator: Google::Apis::ChatV1::GoogleAppsCardV1CollapseControl::Representation
|
1519
|
+
|
1431
1520
|
property :collapsible, as: 'collapsible'
|
1432
1521
|
property :header, as: 'header'
|
1433
1522
|
property :uncollapsible_widgets_count, as: 'uncollapsibleWidgetsCount'
|
@@ -1514,6 +1603,7 @@ module Google
|
|
1514
1603
|
class GoogleAppsCardV1TextParagraph
|
1515
1604
|
# @private
|
1516
1605
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1606
|
+
property :max_lines, as: 'maxLines'
|
1517
1607
|
property :text, as: 'text'
|
1518
1608
|
end
|
1519
1609
|
end
|
@@ -1523,6 +1613,8 @@ module Google
|
|
1523
1613
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1524
1614
|
property :button_list, as: 'buttonList', class: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList::Representation
|
1525
1615
|
|
1616
|
+
property :chip_list, as: 'chipList', class: Google::Apis::ChatV1::GoogleAppsCardV1ChipList, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ChipList::Representation
|
1617
|
+
|
1526
1618
|
property :columns, as: 'columns', class: Google::Apis::ChatV1::GoogleAppsCardV1Columns, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Columns::Representation
|
1527
1619
|
|
1528
1620
|
property :date_time_picker, as: 'dateTimePicker', class: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker::Representation
|
@@ -1550,6 +1642,8 @@ module Google
|
|
1550
1642
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1551
1643
|
property :button_list, as: 'buttonList', class: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ButtonList::Representation
|
1552
1644
|
|
1645
|
+
property :chip_list, as: 'chipList', class: Google::Apis::ChatV1::GoogleAppsCardV1ChipList, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ChipList::Representation
|
1646
|
+
|
1553
1647
|
property :date_time_picker, as: 'dateTimePicker', class: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DateTimePicker::Representation
|
1554
1648
|
|
1555
1649
|
property :decorated_text, as: 'decoratedText', class: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DecoratedText::Representation
|
@@ -723,14 +723,14 @@ module Google
|
|
723
723
|
# Format: spaces/`space`
|
724
724
|
# @param [Google::Apis::ChatV1::Membership] membership_object
|
725
725
|
# @param [Boolean] use_admin_access
|
726
|
-
# When `true`, the method runs using the user's Google Workspace
|
727
|
-
# privileges. The calling user must be a Google Workspace
|
728
|
-
# [manage chat and spaces conversations privilege](https
|
729
|
-
# answer/13369245). Requires the `chat.admin.memberships` [
|
730
|
-
# https://developers.google.com/workspace/chat/authenticate-
|
731
|
-
# scopes). Creating app memberships or creating memberships
|
732
|
-
# the administrator's Google Workspace organization isn't
|
733
|
-
# access.
|
726
|
+
# Optional. When `true`, the method runs using the user's Google Workspace
|
727
|
+
# administrator privileges. The calling user must be a Google Workspace
|
728
|
+
# administrator with the [manage chat and spaces conversations privilege](https:/
|
729
|
+
# /support.google.com/a/answer/13369245). Requires the `chat.admin.memberships` [
|
730
|
+
# OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-
|
731
|
+
# authorize#chat-api-scopes). Creating app memberships or creating memberships
|
732
|
+
# for users outside the administrator's Google Workspace organization isn't
|
733
|
+
# supported using admin access.
|
734
734
|
# @param [String] fields
|
735
735
|
# Selector specifying which fields to include in a partial response.
|
736
736
|
# @param [String] quota_user
|
@@ -783,13 +783,13 @@ module Google
|
|
783
783
|
# spaces/`space`/members/app` format. Format: `spaces/`space`/members/`member``
|
784
784
|
# or `spaces/`space`/members/app`.
|
785
785
|
# @param [Boolean] use_admin_access
|
786
|
-
# When `true`, the method runs using the user's Google Workspace
|
787
|
-
# privileges. The calling user must be a Google Workspace
|
788
|
-
# [manage chat and spaces conversations privilege](https
|
789
|
-
# answer/13369245). Requires the `chat.admin.memberships` [
|
790
|
-
# https://developers.google.com/workspace/chat/authenticate-
|
791
|
-
# scopes). Deleting app memberships in a space isn't
|
792
|
-
# access.
|
786
|
+
# Optional. When `true`, the method runs using the user's Google Workspace
|
787
|
+
# administrator privileges. The calling user must be a Google Workspace
|
788
|
+
# administrator with the [manage chat and spaces conversations privilege](https:/
|
789
|
+
# /support.google.com/a/answer/13369245). Requires the `chat.admin.memberships` [
|
790
|
+
# OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-
|
791
|
+
# authorize#chat-api-scopes). Deleting app memberships in a space isn't
|
792
|
+
# supported using admin access.
|
793
793
|
# @param [String] fields
|
794
794
|
# Selector specifying which fields to include in a partial response.
|
795
795
|
# @param [String] quota_user
|
@@ -836,12 +836,12 @@ module Google
|
|
836
836
|
# member``. For example, `spaces/`space`/members/example@gmail.com` where `
|
837
837
|
# example@gmail.com` is the email of the Google Chat user.
|
838
838
|
# @param [Boolean] use_admin_access
|
839
|
-
# When `true`, the method runs using the user's Google Workspace
|
840
|
-
# privileges. The calling user must be a Google Workspace
|
841
|
-
# [manage chat and spaces conversations privilege](https
|
842
|
-
# answer/13369245). Requires the `chat.admin.memberships`
|
843
|
-
# memberships.readonly` [OAuth 2.0 scopes](https://developers.
|
844
|
-
# workspace/chat/authenticate-authorize#chat-api-scopes). Getting app
|
839
|
+
# Optional. When `true`, the method runs using the user's Google Workspace
|
840
|
+
# administrator privileges. The calling user must be a Google Workspace
|
841
|
+
# administrator with the [manage chat and spaces conversations privilege](https:/
|
842
|
+
# /support.google.com/a/answer/13369245). Requires the `chat.admin.memberships`
|
843
|
+
# or `chat.admin.memberships.readonly` [OAuth 2.0 scopes](https://developers.
|
844
|
+
# google.com/workspace/chat/authenticate-authorize#chat-api-scopes). Getting app
|
845
845
|
# memberships in a space isn't supported when using admin access.
|
846
846
|
# @param [String] fields
|
847
847
|
# Selector specifying which fields to include in a partial response.
|
@@ -927,13 +927,13 @@ module Google
|
|
927
927
|
# Currently requires [user authentication](https://developers.google.com/
|
928
928
|
# workspace/chat/authenticate-authorize-chat-user).
|
929
929
|
# @param [Boolean] use_admin_access
|
930
|
-
# When `true`, the method runs using the user's Google Workspace
|
931
|
-
# privileges. The calling user must be a Google Workspace
|
932
|
-
# [manage chat and spaces conversations privilege](https
|
933
|
-
# answer/13369245). Requires either the `chat.admin.
|
934
|
-
# chat.admin.memberships` [OAuth 2.0 scope](https://
|
935
|
-
# workspace/chat/authenticate-authorize#chat-api-scopes).
|
936
|
-
# memberships in a space isn't supported when using admin access.
|
930
|
+
# Optional. When `true`, the method runs using the user's Google Workspace
|
931
|
+
# administrator privileges. The calling user must be a Google Workspace
|
932
|
+
# administrator with the [manage chat and spaces conversations privilege](https:/
|
933
|
+
# /support.google.com/a/answer/13369245). Requires either the `chat.admin.
|
934
|
+
# memberships.readonly` or `chat.admin.memberships` [OAuth 2.0 scope](https://
|
935
|
+
# developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes).
|
936
|
+
# Listing app memberships in a space isn't supported when using admin access.
|
937
937
|
# @param [String] fields
|
938
938
|
# Selector specifying which fields to include in a partial response.
|
939
939
|
# @param [String] quota_user
|
@@ -979,19 +979,19 @@ module Google
|
|
979
979
|
# administrator privileges by setting the `use_admin_access` field in the
|
980
980
|
# request.
|
981
981
|
# @param [String] name
|
982
|
-
# Resource name of the membership, assigned by the server. Format: `
|
983
|
-
# space`/members/`member``
|
982
|
+
# Identifier. Resource name of the membership, assigned by the server. Format: `
|
983
|
+
# spaces/`space`/members/`member``
|
984
984
|
# @param [Google::Apis::ChatV1::Membership] membership_object
|
985
985
|
# @param [String] update_mask
|
986
986
|
# Required. The field paths to update. Separate multiple values with commas or
|
987
987
|
# use `*` to update all field paths. Currently supported field paths: - `role`
|
988
988
|
# @param [Boolean] use_admin_access
|
989
|
-
# When `true`, the method runs using the user's Google Workspace
|
990
|
-
# privileges. The calling user must be a Google Workspace
|
991
|
-
# [manage chat and spaces conversations privilege](https
|
992
|
-
# answer/13369245). Requires the `chat.admin.memberships` [
|
993
|
-
# https://developers.google.com/workspace/chat/authenticate-
|
994
|
-
# scopes).
|
989
|
+
# Optional. When `true`, the method runs using the user's Google Workspace
|
990
|
+
# administrator privileges. The calling user must be a Google Workspace
|
991
|
+
# administrator with the [manage chat and spaces conversations privilege](https:/
|
992
|
+
# /support.google.com/a/answer/13369245). Requires the `chat.admin.memberships` [
|
993
|
+
# OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-
|
994
|
+
# authorize#chat-api-scopes).
|
995
995
|
# @param [String] fields
|
996
996
|
# Selector specifying which fields to include in a partial response.
|
997
997
|
# @param [String] quota_user
|
@@ -1659,10 +1659,11 @@ module Google
|
|
1659
1659
|
# return fewer than this value. Negative values return an `INVALID_ARGUMENT`
|
1660
1660
|
# error.
|
1661
1661
|
# @param [String] page_token
|
1662
|
-
# A page token, received from a previous list space events call.
|
1663
|
-
# retrieve the subsequent page. When paginating, all other
|
1664
|
-
# to list space events must match the call that provided the
|
1665
|
-
# different values to the other parameters might lead to
|
1662
|
+
# Optional. A page token, received from a previous list space events call.
|
1663
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
1664
|
+
# parameters provided to list space events must match the call that provided the
|
1665
|
+
# page token. Passing different values to the other parameters might lead to
|
1666
|
+
# unexpected results.
|
1666
1667
|
# @param [String] fields
|
1667
1668
|
# Selector specifying which fields to include in a partial response.
|
1668
1669
|
# @param [String] quota_user
|
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.110.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: 2024-
|
11
|
+
date: 2024-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.110.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|