google-apps-chat-v1 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.6.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: 2024-12-04 00:00:00.000000000 Z
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.21.1
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.21.1
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -114,6 +113,7 @@ files:
114
113
  - proto_docs/README.md
115
114
  - proto_docs/google/api/client.rb
116
115
  - proto_docs/google/api/field_behavior.rb
116
+ - proto_docs/google/api/field_info.rb
117
117
  - proto_docs/google/api/launch_stage.rb
118
118
  - proto_docs/google/api/resource.rb
119
119
  - proto_docs/google/apps/card/v1/card.rb
@@ -148,7 +148,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
148
148
  licenses:
149
149
  - Apache-2.0
150
150
  metadata: {}
151
- post_install_message:
152
151
  rdoc_options: []
153
152
  require_paths:
154
153
  - lib
@@ -156,15 +155,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
156
155
  requirements:
157
156
  - - ">="
158
157
  - !ruby/object:Gem::Version
159
- version: '2.7'
158
+ version: '3.0'
160
159
  required_rubygems_version: !ruby/object:Gem::Requirement
161
160
  requirements:
162
161
  - - ">="
163
162
  - !ruby/object:Gem::Version
164
163
  version: '0'
165
164
  requirements: []
166
- rubygems_version: 3.5.22
167
- signing_key:
165
+ rubygems_version: 3.6.2
168
166
  specification_version: 4
169
167
  summary: The Google Chat API lets you build Chat apps to integrate your services with
170
168
  Google Chat and manage Chat resources such as spaces, members, and messages.