google-apps-chat-v1 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/apps/chat/v1/chat_service/client.rb +7 -0
- data/lib/google/apps/chat/v1/chat_service/rest/client.rb +7 -0
- data/lib/google/apps/chat/v1/version.rb +1 -1
- data/proto_docs/google/apps/card/v1/card.rb +58 -0
- data/proto_docs/google/chat/v1/annotation.rb +10 -0
- data/proto_docs/google/chat/v1/attachment.rb +4 -0
- data/proto_docs/google/chat/v1/membership.rb +4 -0
- data/proto_docs/google/chat/v1/reaction.rb +4 -0
- data/proto_docs/google/chat/v1/space.rb +4 -0
- data/proto_docs/google/chat/v1/space_event.rb +36 -0
- data/proto_docs/google/chat/v1/widgets.rb +22 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58a830a1a4bf358570b49854321236328ef00056a3266214f2d1e175c0894f56
|
4
|
+
data.tar.gz: bcdf425fe914a7d961e96b31ceacdf240e1ccb7a0f15627a90a06b45c99a6e76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz: '
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '048007d5aa7bd8f802b35e812563eb8dbcf67bc5a469694a00ebc9056dee256c77a541c5d6fb9fa5934c204884dc19b3850d9bad4aa565ceb3891c10612a9306'
|
7
|
+
data.tar.gz: fcdfcdc23bd4da0e8455455cf951be9e9f27181587a938e14fd7488f4401fa3f8548c792a61763164e01344a6140099998c46ccfd4abff3d0cab72597135c556
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -4170,6 +4170,13 @@ module Google
|
|
4170
4170
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
4171
4171
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
4172
4172
|
# * (`nil`) indicating no credentials
|
4173
|
+
#
|
4174
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
4175
|
+
# external source for authentication to Google Cloud, you must validate it before
|
4176
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
4177
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
4178
|
+
# For more information, refer to [Validate credential configurations from external
|
4179
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
4173
4180
|
# @return [::Object]
|
4174
4181
|
# @!attribute [rw] scope
|
4175
4182
|
# The OAuth scopes
|
@@ -3998,6 +3998,13 @@ module Google
|
|
3998
3998
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
3999
3999
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
4000
4000
|
# * (`nil`) indicating no credentials
|
4001
|
+
#
|
4002
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
4003
|
+
# external source for authentication to Google Cloud, you must validate it before
|
4004
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
4005
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
4006
|
+
# For more information, refer to [Validate credential configurations from external
|
4007
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
4001
4008
|
# @return [::Object]
|
4002
4009
|
# @!attribute [rw] scope
|
4003
4010
|
# The OAuth scopes
|
@@ -393,6 +393,8 @@ module Google
|
|
393
393
|
# "text": " <b>bold text</b>"
|
394
394
|
# }
|
395
395
|
# ```
|
396
|
+
#
|
397
|
+
# Note: The following fields are mutually exclusive: `text_paragraph`, `image`, `decorated_text`, `button_list`, `text_input`, `selection_input`, `date_time_picker`, `divider`, `grid`, `columns`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
396
398
|
# @!attribute [rw] image
|
397
399
|
# @return [::Google::Apps::Card::V1::Image]
|
398
400
|
# Displays an image.
|
@@ -405,6 +407,8 @@ module Google
|
|
405
407
|
# "altText": "Chat app avatar"
|
406
408
|
# }
|
407
409
|
# ```
|
410
|
+
#
|
411
|
+
# Note: The following fields are mutually exclusive: `image`, `text_paragraph`, `decorated_text`, `button_list`, `text_input`, `selection_input`, `date_time_picker`, `divider`, `grid`, `columns`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
408
412
|
# @!attribute [rw] decorated_text
|
409
413
|
# @return [::Google::Apps::Card::V1::DecoratedText]
|
410
414
|
# Displays a decorated text item.
|
@@ -427,6 +431,8 @@ module Google
|
|
427
431
|
# }
|
428
432
|
# }
|
429
433
|
# ```
|
434
|
+
#
|
435
|
+
# Note: The following fields are mutually exclusive: `decorated_text`, `text_paragraph`, `image`, `button_list`, `text_input`, `selection_input`, `date_time_picker`, `divider`, `grid`, `columns`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
430
436
|
# @!attribute [rw] button_list
|
431
437
|
# @return [::Google::Apps::Card::V1::ButtonList]
|
432
438
|
# A list of buttons.
|
@@ -461,6 +467,8 @@ module Google
|
|
461
467
|
# ]
|
462
468
|
# }
|
463
469
|
# ```
|
470
|
+
#
|
471
|
+
# Note: The following fields are mutually exclusive: `button_list`, `text_paragraph`, `image`, `decorated_text`, `text_input`, `selection_input`, `date_time_picker`, `divider`, `grid`, `columns`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
464
472
|
# @!attribute [rw] text_input
|
465
473
|
# @return [::Google::Apps::Card::V1::TextInput]
|
466
474
|
# Displays a text box that users can type into.
|
@@ -499,6 +507,8 @@ module Google
|
|
499
507
|
# }
|
500
508
|
# }
|
501
509
|
# ```
|
510
|
+
#
|
511
|
+
# Note: The following fields are mutually exclusive: `text_input`, `text_paragraph`, `image`, `decorated_text`, `button_list`, `selection_input`, `date_time_picker`, `divider`, `grid`, `columns`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
502
512
|
# @!attribute [rw] selection_input
|
503
513
|
# @return [::Google::Apps::Card::V1::SelectionInput]
|
504
514
|
# Displays a selection control that lets users select items. Selection
|
@@ -536,6 +546,8 @@ module Google
|
|
536
546
|
# ]
|
537
547
|
# }
|
538
548
|
# ```
|
549
|
+
#
|
550
|
+
# Note: The following fields are mutually exclusive: `selection_input`, `text_paragraph`, `image`, `decorated_text`, `button_list`, `text_input`, `date_time_picker`, `divider`, `grid`, `columns`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
539
551
|
# @!attribute [rw] date_time_picker
|
540
552
|
# @return [::Google::Apps::Card::V1::DateTimePicker]
|
541
553
|
# Displays a widget that lets users input a date, time, or date and time.
|
@@ -552,6 +564,8 @@ module Google
|
|
552
564
|
# "valueMsEpoch": "796435200000"
|
553
565
|
# }
|
554
566
|
# ```
|
567
|
+
#
|
568
|
+
# Note: The following fields are mutually exclusive: `date_time_picker`, `text_paragraph`, `image`, `decorated_text`, `button_list`, `text_input`, `selection_input`, `divider`, `grid`, `columns`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
555
569
|
# @!attribute [rw] divider
|
556
570
|
# @return [::Google::Apps::Card::V1::Divider]
|
557
571
|
# Displays a horizontal line divider between widgets.
|
@@ -561,6 +575,8 @@ module Google
|
|
561
575
|
# "divider": {
|
562
576
|
# }
|
563
577
|
# ```
|
578
|
+
#
|
579
|
+
# Note: The following fields are mutually exclusive: `divider`, `text_paragraph`, `image`, `decorated_text`, `button_list`, `text_input`, `selection_input`, `date_time_picker`, `grid`, `columns`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
564
580
|
# @!attribute [rw] grid
|
565
581
|
# @return [::Google::Apps::Card::V1::Grid]
|
566
582
|
# Displays a grid with a collection of items.
|
@@ -606,6 +622,8 @@ module Google
|
|
606
622
|
# }
|
607
623
|
# }
|
608
624
|
# ```
|
625
|
+
#
|
626
|
+
# Note: The following fields are mutually exclusive: `grid`, `text_paragraph`, `image`, `decorated_text`, `button_list`, `text_input`, `selection_input`, `date_time_picker`, `divider`, `columns`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
609
627
|
# @!attribute [rw] columns
|
610
628
|
# @return [::Google::Apps::Card::V1::Columns]
|
611
629
|
# Displays up to 2 columns.
|
@@ -645,6 +663,8 @@ module Google
|
|
645
663
|
# ]
|
646
664
|
# }
|
647
665
|
# ```
|
666
|
+
#
|
667
|
+
# Note: The following fields are mutually exclusive: `columns`, `text_paragraph`, `image`, `decorated_text`, `button_list`, `text_input`, `selection_input`, `date_time_picker`, `divider`, `grid`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
648
668
|
# @!attribute [rw] horizontal_alignment
|
649
669
|
# @return [::Google::Apps::Card::V1::Widget::HorizontalAlignment]
|
650
670
|
# Specifies whether widgets align to the left, right, or center of a column.
|
@@ -799,10 +819,14 @@ module Google
|
|
799
819
|
# @!attribute [rw] button
|
800
820
|
# @return [::Google::Apps::Card::V1::Button]
|
801
821
|
# A button that a user can click to trigger an action.
|
822
|
+
#
|
823
|
+
# Note: The following fields are mutually exclusive: `button`, `switch_control`, `end_icon`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
802
824
|
# @!attribute [rw] switch_control
|
803
825
|
# @return [::Google::Apps::Card::V1::DecoratedText::SwitchControl]
|
804
826
|
# A switch widget that a user can click to change its state and trigger an
|
805
827
|
# action.
|
828
|
+
#
|
829
|
+
# Note: The following fields are mutually exclusive: `switch_control`, `button`, `end_icon`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
806
830
|
# @!attribute [rw] end_icon
|
807
831
|
# @return [::Google::Apps::Card::V1::Icon]
|
808
832
|
# An icon displayed after the text.
|
@@ -812,6 +836,8 @@ module Google
|
|
812
836
|
# and
|
813
837
|
# [custom](https://developers.google.com/workspace/chat/format-messages#customicons)
|
814
838
|
# icons.
|
839
|
+
#
|
840
|
+
# Note: The following fields are mutually exclusive: `end_icon`, `button`, `switch_control`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
815
841
|
class DecoratedText
|
816
842
|
include ::Google::Protobuf::MessageExts
|
817
843
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1098,9 +1124,13 @@ module Google
|
|
1098
1124
|
# @!attribute [rw] external_data_source
|
1099
1125
|
# @return [::Google::Apps::Card::V1::Action]
|
1100
1126
|
# An external data source, such as a relational data base.
|
1127
|
+
#
|
1128
|
+
# Note: The following fields are mutually exclusive: `external_data_source`, `platform_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1101
1129
|
# @!attribute [rw] platform_data_source
|
1102
1130
|
# @return [::Google::Apps::Card::V1::SelectionInput::PlatformDataSource]
|
1103
1131
|
# A data source from Google Workspace.
|
1132
|
+
#
|
1133
|
+
# Note: The following fields are mutually exclusive: `platform_data_source`, `external_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1104
1134
|
class SelectionInput
|
1105
1135
|
include ::Google::Protobuf::MessageExts
|
1106
1136
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1380,6 +1410,8 @@ module Google
|
|
1380
1410
|
#
|
1381
1411
|
# For a full list of supported icons, see [built-in
|
1382
1412
|
# icons](https://developers.google.com/workspace/chat/format-messages#builtinicons).
|
1413
|
+
#
|
1414
|
+
# Note: The following fields are mutually exclusive: `known_icon`, `icon_url`, `material_icon`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1383
1415
|
# @!attribute [rw] icon_url
|
1384
1416
|
# @return [::String]
|
1385
1417
|
# Display a custom icon hosted at an HTTPS URL.
|
@@ -1392,6 +1424,8 @@ module Google
|
|
1392
1424
|
# ```
|
1393
1425
|
#
|
1394
1426
|
# Supported file types include `.png` and `.jpg`.
|
1427
|
+
#
|
1428
|
+
# Note: The following fields are mutually exclusive: `icon_url`, `known_icon`, `material_icon`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1395
1429
|
# @!attribute [rw] material_icon
|
1396
1430
|
# @return [::Google::Apps::Card::V1::MaterialIcon]
|
1397
1431
|
# Display one of the [Google Material
|
@@ -1407,6 +1441,8 @@ module Google
|
|
1407
1441
|
# ```
|
1408
1442
|
#
|
1409
1443
|
# [Google Chat apps](https://developers.google.com/workspace/chat):
|
1444
|
+
#
|
1445
|
+
# Note: The following fields are mutually exclusive: `material_icon`, `known_icon`, `icon_url`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1410
1446
|
# @!attribute [rw] alt_text
|
1411
1447
|
# @return [::String]
|
1412
1448
|
# Optional. A description of the icon used for accessibility.
|
@@ -1776,24 +1812,38 @@ module Google
|
|
1776
1812
|
# @!attribute [rw] text_paragraph
|
1777
1813
|
# @return [::Google::Apps::Card::V1::TextParagraph]
|
1778
1814
|
# {::Google::Apps::Card::V1::TextParagraph TextParagraph} widget.
|
1815
|
+
#
|
1816
|
+
# Note: The following fields are mutually exclusive: `text_paragraph`, `image`, `decorated_text`, `button_list`, `text_input`, `selection_input`, `date_time_picker`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1779
1817
|
# @!attribute [rw] image
|
1780
1818
|
# @return [::Google::Apps::Card::V1::Image]
|
1781
1819
|
# {::Google::Apps::Card::V1::Image Image} widget.
|
1820
|
+
#
|
1821
|
+
# Note: The following fields are mutually exclusive: `image`, `text_paragraph`, `decorated_text`, `button_list`, `text_input`, `selection_input`, `date_time_picker`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1782
1822
|
# @!attribute [rw] decorated_text
|
1783
1823
|
# @return [::Google::Apps::Card::V1::DecoratedText]
|
1784
1824
|
# {::Google::Apps::Card::V1::DecoratedText DecoratedText} widget.
|
1825
|
+
#
|
1826
|
+
# Note: The following fields are mutually exclusive: `decorated_text`, `text_paragraph`, `image`, `button_list`, `text_input`, `selection_input`, `date_time_picker`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1785
1827
|
# @!attribute [rw] button_list
|
1786
1828
|
# @return [::Google::Apps::Card::V1::ButtonList]
|
1787
1829
|
# {::Google::Apps::Card::V1::ButtonList ButtonList} widget.
|
1830
|
+
#
|
1831
|
+
# Note: The following fields are mutually exclusive: `button_list`, `text_paragraph`, `image`, `decorated_text`, `text_input`, `selection_input`, `date_time_picker`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1788
1832
|
# @!attribute [rw] text_input
|
1789
1833
|
# @return [::Google::Apps::Card::V1::TextInput]
|
1790
1834
|
# {::Google::Apps::Card::V1::TextInput TextInput} widget.
|
1835
|
+
#
|
1836
|
+
# Note: The following fields are mutually exclusive: `text_input`, `text_paragraph`, `image`, `decorated_text`, `button_list`, `selection_input`, `date_time_picker`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1791
1837
|
# @!attribute [rw] selection_input
|
1792
1838
|
# @return [::Google::Apps::Card::V1::SelectionInput]
|
1793
1839
|
# {::Google::Apps::Card::V1::SelectionInput SelectionInput} widget.
|
1840
|
+
#
|
1841
|
+
# Note: The following fields are mutually exclusive: `selection_input`, `text_paragraph`, `image`, `decorated_text`, `button_list`, `text_input`, `date_time_picker`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1794
1842
|
# @!attribute [rw] date_time_picker
|
1795
1843
|
# @return [::Google::Apps::Card::V1::DateTimePicker]
|
1796
1844
|
# {::Google::Apps::Card::V1::DateTimePicker DateTimePicker} widget.
|
1845
|
+
#
|
1846
|
+
# Note: The following fields are mutually exclusive: `date_time_picker`, `text_paragraph`, `image`, `decorated_text`, `button_list`, `text_input`, `selection_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1797
1847
|
class Widgets
|
1798
1848
|
include ::Google::Protobuf::MessageExts
|
1799
1849
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1852,9 +1902,13 @@ module Google
|
|
1852
1902
|
# @!attribute [rw] action
|
1853
1903
|
# @return [::Google::Apps::Card::V1::Action]
|
1854
1904
|
# If specified, an action is triggered by this `onClick`.
|
1905
|
+
#
|
1906
|
+
# Note: The following fields are mutually exclusive: `action`, `open_link`, `open_dynamic_link_action`, `card`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1855
1907
|
# @!attribute [rw] open_link
|
1856
1908
|
# @return [::Google::Apps::Card::V1::OpenLink]
|
1857
1909
|
# If specified, this `onClick` triggers an open link action.
|
1910
|
+
#
|
1911
|
+
# Note: The following fields are mutually exclusive: `open_link`, `action`, `open_dynamic_link_action`, `card`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1858
1912
|
# @!attribute [rw] open_dynamic_link_action
|
1859
1913
|
# @return [::Google::Apps::Card::V1::Action]
|
1860
1914
|
# An add-on triggers this action when the action needs to open a
|
@@ -1864,12 +1918,16 @@ module Google
|
|
1864
1918
|
#
|
1865
1919
|
# [Google Workspace
|
1866
1920
|
# Add-ons](https://developers.google.com/workspace/add-ons):
|
1921
|
+
#
|
1922
|
+
# Note: The following fields are mutually exclusive: `open_dynamic_link_action`, `action`, `open_link`, `card`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1867
1923
|
# @!attribute [rw] card
|
1868
1924
|
# @return [::Google::Apps::Card::V1::Card]
|
1869
1925
|
# A new card is pushed to the card stack after clicking if specified.
|
1870
1926
|
#
|
1871
1927
|
# [Google Workspace
|
1872
1928
|
# Add-ons](https://developers.google.com/workspace/add-ons):
|
1929
|
+
#
|
1930
|
+
# Note: The following fields are mutually exclusive: `card`, `action`, `open_link`, `open_dynamic_link_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1873
1931
|
class OnClick
|
1874
1932
|
include ::Google::Protobuf::MessageExts
|
1875
1933
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -62,12 +62,18 @@ module Google
|
|
62
62
|
# @!attribute [rw] user_mention
|
63
63
|
# @return [::Google::Apps::Chat::V1::UserMentionMetadata]
|
64
64
|
# The metadata of user mention.
|
65
|
+
#
|
66
|
+
# Note: The following fields are mutually exclusive: `user_mention`, `slash_command`, `rich_link_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
65
67
|
# @!attribute [rw] slash_command
|
66
68
|
# @return [::Google::Apps::Chat::V1::SlashCommandMetadata]
|
67
69
|
# The metadata for a slash command.
|
70
|
+
#
|
71
|
+
# Note: The following fields are mutually exclusive: `slash_command`, `user_mention`, `rich_link_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
68
72
|
# @!attribute [rw] rich_link_metadata
|
69
73
|
# @return [::Google::Apps::Chat::V1::RichLinkMetadata]
|
70
74
|
# The metadata for a rich link.
|
75
|
+
#
|
76
|
+
# Note: The following fields are mutually exclusive: `rich_link_metadata`, `user_mention`, `slash_command`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
71
77
|
class Annotation
|
72
78
|
include ::Google::Protobuf::MessageExts
|
73
79
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -138,9 +144,13 @@ module Google
|
|
138
144
|
# @!attribute [rw] drive_link_data
|
139
145
|
# @return [::Google::Apps::Chat::V1::DriveLinkData]
|
140
146
|
# Data for a drive link.
|
147
|
+
#
|
148
|
+
# Note: The following fields are mutually exclusive: `drive_link_data`, `chat_space_link_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
141
149
|
# @!attribute [rw] chat_space_link_data
|
142
150
|
# @return [::Google::Apps::Chat::V1::ChatSpaceLinkData]
|
143
151
|
# Data for a chat space link.
|
152
|
+
#
|
153
|
+
# Note: The following fields are mutually exclusive: `chat_space_link_data`, `drive_link_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
144
154
|
class RichLinkMetadata
|
145
155
|
include ::Google::Protobuf::MessageExts
|
146
156
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -37,10 +37,14 @@ module Google
|
|
37
37
|
# Optional. A reference to the attachment data. This field is used to
|
38
38
|
# create or update messages with attachments, or with the media API to
|
39
39
|
# download the attachment data.
|
40
|
+
#
|
41
|
+
# Note: The following fields are mutually exclusive: `attachment_data_ref`, `drive_data_ref`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
40
42
|
# @!attribute [r] drive_data_ref
|
41
43
|
# @return [::Google::Apps::Chat::V1::DriveDataRef]
|
42
44
|
# Output only. A reference to the Google Drive attachment. This field is
|
43
45
|
# used with the Google Drive API.
|
46
|
+
#
|
47
|
+
# Note: The following fields are mutually exclusive: `drive_data_ref`, `attachment_data_ref`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
44
48
|
# @!attribute [r] thumbnail_uri
|
45
49
|
# @return [::String]
|
46
50
|
# Output only. The thumbnail URL which should be used to preview the
|
@@ -45,12 +45,16 @@ module Google
|
|
45
45
|
# the output populates the
|
46
46
|
# [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
|
47
47
|
# `name` and `type`.
|
48
|
+
#
|
49
|
+
# Note: The following fields are mutually exclusive: `member`, `group_member`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
48
50
|
# @!attribute [rw] group_member
|
49
51
|
# @return [::Google::Apps::Chat::V1::Group]
|
50
52
|
# Optional. The Google Group the membership corresponds to.
|
51
53
|
#
|
52
54
|
# Reading or mutating memberships for Google Groups requires [user
|
53
55
|
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
|
56
|
+
#
|
57
|
+
# Note: The following fields are mutually exclusive: `group_member`, `member`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
54
58
|
# @!attribute [rw] create_time
|
55
59
|
# @return [::Google::Protobuf::Timestamp]
|
56
60
|
# Optional. Immutable. The creation time of the membership, such as when a
|
@@ -42,9 +42,13 @@ module Google
|
|
42
42
|
# @!attribute [rw] unicode
|
43
43
|
# @return [::String]
|
44
44
|
# Optional. A basic emoji represented by a unicode string.
|
45
|
+
#
|
46
|
+
# Note: The following fields are mutually exclusive: `unicode`, `custom_emoji`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
45
47
|
# @!attribute [r] custom_emoji
|
46
48
|
# @return [::Google::Apps::Chat::V1::CustomEmoji]
|
47
49
|
# Output only. A custom emoji.
|
50
|
+
#
|
51
|
+
# Note: The following fields are mutually exclusive: `custom_emoji`, `unicode`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
48
52
|
class Emoji
|
49
53
|
include ::Google::Protobuf::MessageExts
|
50
54
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -133,11 +133,15 @@ module Google
|
|
133
133
|
# when creating a space. If the field is not set, a collaboration space is
|
134
134
|
# created. After you create the space, settings are populated in the
|
135
135
|
# `PermissionSettings` field.
|
136
|
+
#
|
137
|
+
# Note: The following fields are mutually exclusive: `predefined_permission_settings`, `permission_settings`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
136
138
|
# @!attribute [rw] permission_settings
|
137
139
|
# @return [::Google::Apps::Chat::V1::Space::PermissionSettings]
|
138
140
|
# Optional. Space permission settings for existing spaces. Input for
|
139
141
|
# updating exact space permission settings, where existing permission
|
140
142
|
# settings are replaced. Output lists current permission settings.
|
143
|
+
#
|
144
|
+
# Note: The following fields are mutually exclusive: `permission_settings`, `predefined_permission_settings`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
141
145
|
# @!attribute [r] import_mode_expire_time
|
142
146
|
# @return [::Google::Protobuf::Timestamp]
|
143
147
|
# Output only. The time when the space will be automatically deleted by the
|
@@ -85,91 +85,127 @@ module Google
|
|
85
85
|
# Event payload for a new message.
|
86
86
|
#
|
87
87
|
# Event type: `google.workspace.chat.message.v1.created`
|
88
|
+
#
|
89
|
+
# Note: The following fields are mutually exclusive: `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
88
90
|
# @!attribute [rw] message_updated_event_data
|
89
91
|
# @return [::Google::Apps::Chat::V1::MessageUpdatedEventData]
|
90
92
|
# Event payload for an updated message.
|
91
93
|
#
|
92
94
|
# Event type: `google.workspace.chat.message.v1.updated`
|
95
|
+
#
|
96
|
+
# Note: The following fields are mutually exclusive: `message_updated_event_data`, `message_created_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
93
97
|
# @!attribute [rw] message_deleted_event_data
|
94
98
|
# @return [::Google::Apps::Chat::V1::MessageDeletedEventData]
|
95
99
|
# Event payload for a deleted message.
|
96
100
|
#
|
97
101
|
# Event type: `google.workspace.chat.message.v1.deleted`
|
102
|
+
#
|
103
|
+
# Note: The following fields are mutually exclusive: `message_deleted_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
98
104
|
# @!attribute [rw] message_batch_created_event_data
|
99
105
|
# @return [::Google::Apps::Chat::V1::MessageBatchCreatedEventData]
|
100
106
|
# Event payload for multiple new messages.
|
101
107
|
#
|
102
108
|
# Event type: `google.workspace.chat.message.v1.batchCreated`
|
109
|
+
#
|
110
|
+
# Note: The following fields are mutually exclusive: `message_batch_created_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
103
111
|
# @!attribute [rw] message_batch_updated_event_data
|
104
112
|
# @return [::Google::Apps::Chat::V1::MessageBatchUpdatedEventData]
|
105
113
|
# Event payload for multiple updated messages.
|
106
114
|
#
|
107
115
|
# Event type: `google.workspace.chat.message.v1.batchUpdated`
|
116
|
+
#
|
117
|
+
# Note: The following fields are mutually exclusive: `message_batch_updated_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
108
118
|
# @!attribute [rw] message_batch_deleted_event_data
|
109
119
|
# @return [::Google::Apps::Chat::V1::MessageBatchDeletedEventData]
|
110
120
|
# Event payload for multiple deleted messages.
|
111
121
|
#
|
112
122
|
# Event type: `google.workspace.chat.message.v1.batchDeleted`
|
123
|
+
#
|
124
|
+
# Note: The following fields are mutually exclusive: `message_batch_deleted_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
113
125
|
# @!attribute [rw] space_updated_event_data
|
114
126
|
# @return [::Google::Apps::Chat::V1::SpaceUpdatedEventData]
|
115
127
|
# Event payload for a space update.
|
116
128
|
#
|
117
129
|
# Event type: `google.workspace.chat.space.v1.updated`
|
130
|
+
#
|
131
|
+
# Note: The following fields are mutually exclusive: `space_updated_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
118
132
|
# @!attribute [rw] space_batch_updated_event_data
|
119
133
|
# @return [::Google::Apps::Chat::V1::SpaceBatchUpdatedEventData]
|
120
134
|
# Event payload for multiple updates to a space.
|
121
135
|
#
|
122
136
|
# Event type: `google.workspace.chat.space.v1.batchUpdated`
|
137
|
+
#
|
138
|
+
# Note: The following fields are mutually exclusive: `space_batch_updated_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
123
139
|
# @!attribute [rw] membership_created_event_data
|
124
140
|
# @return [::Google::Apps::Chat::V1::MembershipCreatedEventData]
|
125
141
|
# Event payload for a new membership.
|
126
142
|
#
|
127
143
|
# Event type: `google.workspace.chat.membership.v1.created`
|
144
|
+
#
|
145
|
+
# Note: The following fields are mutually exclusive: `membership_created_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
128
146
|
# @!attribute [rw] membership_updated_event_data
|
129
147
|
# @return [::Google::Apps::Chat::V1::MembershipUpdatedEventData]
|
130
148
|
# Event payload for an updated membership.
|
131
149
|
#
|
132
150
|
# Event type: `google.workspace.chat.membership.v1.updated`
|
151
|
+
#
|
152
|
+
# Note: The following fields are mutually exclusive: `membership_updated_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
133
153
|
# @!attribute [rw] membership_deleted_event_data
|
134
154
|
# @return [::Google::Apps::Chat::V1::MembershipDeletedEventData]
|
135
155
|
# Event payload for a deleted membership.
|
136
156
|
#
|
137
157
|
# Event type: `google.workspace.chat.membership.v1.deleted`
|
158
|
+
#
|
159
|
+
# Note: The following fields are mutually exclusive: `membership_deleted_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
138
160
|
# @!attribute [rw] membership_batch_created_event_data
|
139
161
|
# @return [::Google::Apps::Chat::V1::MembershipBatchCreatedEventData]
|
140
162
|
# Event payload for multiple new memberships.
|
141
163
|
#
|
142
164
|
# Event type: `google.workspace.chat.membership.v1.batchCreated`
|
165
|
+
#
|
166
|
+
# Note: The following fields are mutually exclusive: `membership_batch_created_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
143
167
|
# @!attribute [rw] membership_batch_updated_event_data
|
144
168
|
# @return [::Google::Apps::Chat::V1::MembershipBatchUpdatedEventData]
|
145
169
|
# Event payload for multiple updated memberships.
|
146
170
|
#
|
147
171
|
# Event type: `google.workspace.chat.membership.v1.batchUpdated`
|
172
|
+
#
|
173
|
+
# Note: The following fields are mutually exclusive: `membership_batch_updated_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
148
174
|
# @!attribute [rw] membership_batch_deleted_event_data
|
149
175
|
# @return [::Google::Apps::Chat::V1::MembershipBatchDeletedEventData]
|
150
176
|
# Event payload for multiple deleted memberships.
|
151
177
|
#
|
152
178
|
# Event type: `google.workspace.chat.membership.v1.batchDeleted`
|
179
|
+
#
|
180
|
+
# Note: The following fields are mutually exclusive: `membership_batch_deleted_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
153
181
|
# @!attribute [rw] reaction_created_event_data
|
154
182
|
# @return [::Google::Apps::Chat::V1::ReactionCreatedEventData]
|
155
183
|
# Event payload for a new reaction.
|
156
184
|
#
|
157
185
|
# Event type: `google.workspace.chat.reaction.v1.created`
|
186
|
+
#
|
187
|
+
# Note: The following fields are mutually exclusive: `reaction_created_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
158
188
|
# @!attribute [rw] reaction_deleted_event_data
|
159
189
|
# @return [::Google::Apps::Chat::V1::ReactionDeletedEventData]
|
160
190
|
# Event payload for a deleted reaction.
|
161
191
|
#
|
162
192
|
# Event type: `google.workspace.chat.reaction.v1.deleted`
|
193
|
+
#
|
194
|
+
# Note: The following fields are mutually exclusive: `reaction_deleted_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_batch_created_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
163
195
|
# @!attribute [rw] reaction_batch_created_event_data
|
164
196
|
# @return [::Google::Apps::Chat::V1::ReactionBatchCreatedEventData]
|
165
197
|
# Event payload for multiple new reactions.
|
166
198
|
#
|
167
199
|
# Event type: `google.workspace.chat.reaction.v1.batchCreated`
|
200
|
+
#
|
201
|
+
# Note: The following fields are mutually exclusive: `reaction_batch_created_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_deleted_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
168
202
|
# @!attribute [rw] reaction_batch_deleted_event_data
|
169
203
|
# @return [::Google::Apps::Chat::V1::ReactionBatchDeletedEventData]
|
170
204
|
# Event payload for multiple deleted reactions.
|
171
205
|
#
|
172
206
|
# Event type: `google.workspace.chat.reaction.v1.batchDeleted`
|
207
|
+
#
|
208
|
+
# Note: The following fields are mutually exclusive: `reaction_batch_deleted_event_data`, `message_created_event_data`, `message_updated_event_data`, `message_deleted_event_data`, `message_batch_created_event_data`, `message_batch_updated_event_data`, `message_batch_deleted_event_data`, `space_updated_event_data`, `space_batch_updated_event_data`, `membership_created_event_data`, `membership_updated_event_data`, `membership_deleted_event_data`, `membership_batch_created_event_data`, `membership_batch_updated_event_data`, `membership_batch_deleted_event_data`, `reaction_created_event_data`, `reaction_deleted_event_data`, `reaction_batch_created_event_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
173
209
|
class SpaceEvent
|
174
210
|
include ::Google::Protobuf::MessageExts
|
175
211
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -25,12 +25,18 @@ module Google
|
|
25
25
|
# @!attribute [rw] text_paragraph
|
26
26
|
# @return [::Google::Apps::Chat::V1::WidgetMarkup::TextParagraph]
|
27
27
|
# Display a text paragraph in this widget.
|
28
|
+
#
|
29
|
+
# Note: The following fields are mutually exclusive: `text_paragraph`, `image`, `key_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
28
30
|
# @!attribute [rw] image
|
29
31
|
# @return [::Google::Apps::Chat::V1::WidgetMarkup::Image]
|
30
32
|
# Display an image in this widget.
|
33
|
+
#
|
34
|
+
# Note: The following fields are mutually exclusive: `image`, `text_paragraph`, `key_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
31
35
|
# @!attribute [rw] key_value
|
32
36
|
# @return [::Google::Apps::Chat::V1::WidgetMarkup::KeyValue]
|
33
37
|
# Display a key value item in this widget.
|
38
|
+
#
|
39
|
+
# Note: The following fields are mutually exclusive: `key_value`, `text_paragraph`, `image`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
34
40
|
# @!attribute [rw] buttons
|
35
41
|
# @return [::Array<::Google::Apps::Chat::V1::WidgetMarkup::Button>]
|
36
42
|
# A list of buttons. Buttons is also `oneof data` and only one of these
|
@@ -58,9 +64,13 @@ module Google
|
|
58
64
|
# @!attribute [rw] text_button
|
59
65
|
# @return [::Google::Apps::Chat::V1::WidgetMarkup::TextButton]
|
60
66
|
# A button with text and `onclick` action.
|
67
|
+
#
|
68
|
+
# Note: The following fields are mutually exclusive: `text_button`, `image_button`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
61
69
|
# @!attribute [rw] image_button
|
62
70
|
# @return [::Google::Apps::Chat::V1::WidgetMarkup::ImageButton]
|
63
71
|
# A button with image and `onclick` action.
|
72
|
+
#
|
73
|
+
# Note: The following fields are mutually exclusive: `image_button`, `text_button`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
64
74
|
class Button
|
65
75
|
include ::Google::Protobuf::MessageExts
|
66
76
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -84,9 +94,13 @@ module Google
|
|
84
94
|
# @return [::Google::Apps::Chat::V1::WidgetMarkup::Icon]
|
85
95
|
# An enum value that's replaced by the Chat API with the
|
86
96
|
# corresponding icon image.
|
97
|
+
#
|
98
|
+
# Note: The following fields are mutually exclusive: `icon`, `icon_url`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
87
99
|
# @!attribute [rw] icon_url
|
88
100
|
# @return [::String]
|
89
101
|
# The icon specified by a URL.
|
102
|
+
#
|
103
|
+
# Note: The following fields are mutually exclusive: `icon_url`, `icon`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
90
104
|
# @!attribute [rw] top_label
|
91
105
|
# @return [::String]
|
92
106
|
# The text of the top label. Formatted text supported. For more information
|
@@ -155,9 +169,13 @@ module Google
|
|
155
169
|
# @return [::Google::Apps::Chat::V1::WidgetMarkup::Icon]
|
156
170
|
# The icon specified by an `enum` that indices to an icon provided by
|
157
171
|
# Chat API.
|
172
|
+
#
|
173
|
+
# Note: The following fields are mutually exclusive: `icon`, `icon_url`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
158
174
|
# @!attribute [rw] icon_url
|
159
175
|
# @return [::String]
|
160
176
|
# The icon specified by a URL.
|
177
|
+
#
|
178
|
+
# Note: The following fields are mutually exclusive: `icon_url`, `icon`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
161
179
|
# @!attribute [rw] on_click
|
162
180
|
# @return [::Google::Apps::Chat::V1::WidgetMarkup::OnClick]
|
163
181
|
# The `onclick` action.
|
@@ -174,9 +192,13 @@ module Google
|
|
174
192
|
# @!attribute [rw] action
|
175
193
|
# @return [::Google::Apps::Chat::V1::WidgetMarkup::FormAction]
|
176
194
|
# A form action is triggered by this `onclick` action if specified.
|
195
|
+
#
|
196
|
+
# Note: The following fields are mutually exclusive: `action`, `open_link`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
177
197
|
# @!attribute [rw] open_link
|
178
198
|
# @return [::Google::Apps::Chat::V1::WidgetMarkup::OpenLink]
|
179
199
|
# This `onclick` action triggers an open link action if specified.
|
200
|
+
#
|
201
|
+
# Note: The following fields are mutually exclusive: `open_link`, `action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
180
202
|
class OnClick
|
181
203
|
include ::Google::Protobuf::MessageExts
|
182
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apps-chat-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -149,7 +148,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
149
148
|
licenses:
|
150
149
|
- Apache-2.0
|
151
150
|
metadata: {}
|
152
|
-
post_install_message:
|
153
151
|
rdoc_options: []
|
154
152
|
require_paths:
|
155
153
|
- lib
|
@@ -157,15 +155,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
157
155
|
requirements:
|
158
156
|
- - ">="
|
159
157
|
- !ruby/object:Gem::Version
|
160
|
-
version: '
|
158
|
+
version: '3.0'
|
161
159
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
160
|
requirements:
|
163
161
|
- - ">="
|
164
162
|
- !ruby/object:Gem::Version
|
165
163
|
version: '0'
|
166
164
|
requirements: []
|
167
|
-
rubygems_version: 3.
|
168
|
-
signing_key:
|
165
|
+
rubygems_version: 3.6.2
|
169
166
|
specification_version: 4
|
170
167
|
summary: The Google Chat API lets you build Chat apps to integrate your services with
|
171
168
|
Google Chat and manage Chat resources such as spaces, members, and messages.
|