google-apis-chat_v1 0.40.0 → 0.41.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 35fb045b777251796acc14e863c7dc8513c000da0a6f418f1217ecd8b5daee6c
4
- data.tar.gz: 362d9a33e3111d25b63ff6a857db97cf3f9572ab599cf3881b8a0fc2532538d7
3
+ metadata.gz: db427333ba1f48075542619f400504c24e7a0021e978072af4a91c2f9c8464b8
4
+ data.tar.gz: e93543c7cd7ce492b90d27526260ad9ffc343e0cf8b659ce2af95b427895f787
5
5
  SHA512:
6
- metadata.gz: 15df08af54256992772b4288d3160f21525b0f7dfc782fe8c31f19f5c18f360661d1db95038b9f19d2145471640b5e29f49708a6a5ba4b45cf62475c21a0ad29
7
- data.tar.gz: 6c025f1a5d4e8d3f49482869efe889c1ab951ad20b9be20ea544c3f9cf78f250254125a8ce13c22dc6c94cd2a3de2d1c1772baef55bf7c4abeb50fc7afc037f5
6
+ metadata.gz: 77da8320bf9b53d4f604efc8cfbc0102b17965ee20a2311f38a93ef3834c3f96043432c561fcd0c94d3f3e0c81c89cf27bac0e602c42aa3548049afb52c6df7e
7
+ data.tar.gz: 13c6f6e57e92cce69c057afd0852bf1e729a6200f977584be668dc3749fe4e3fcb3904433c06151e2dbe2a49f1a5154cab320fe11bba45b833336763ec8c68b2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.41.0 (2022-07-22)
4
+
5
+ * Regenerated from discovery document revision 20220716
6
+
3
7
  ### v0.40.0 (2022-07-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20220706
@@ -887,7 +887,7 @@ module Google
887
887
  # to `false`, it is strongly recommended that the card use [LoadIndicator.
888
888
  # SPINNER](workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator)
889
889
  # for all actions, as this locks the UI to ensure no changes are made by the
890
- # user while the action is being processed.
890
+ # user while the action is being processed. Not supported by Google Chat apps.
891
891
  # Corresponds to the JSON property `persistValues`
892
892
  # @return [Boolean]
893
893
  attr_accessor :persist_values
@@ -934,37 +934,6 @@ module Google
934
934
  end
935
935
  end
936
936
 
937
- # Represents the platform specific uri/intent to open for each client.
938
- class GoogleAppsCardV1AppUri
939
- include Google::Apis::Core::Hashable
940
-
941
- # Android intent.
942
- # Corresponds to the JSON property `androidIntent`
943
- # @return [Google::Apis::ChatV1::GoogleAppsCardV1Intent]
944
- attr_accessor :android_intent
945
-
946
- # A companion uri string to be opened in the chat companion window. on the web.
947
- # Corresponds to the JSON property `companionUri`
948
- # @return [String]
949
- attr_accessor :companion_uri
950
-
951
- # A uri string to be opened in the corresponding iOS hosting app.
952
- # Corresponds to the JSON property `iosUri`
953
- # @return [String]
954
- attr_accessor :ios_uri
955
-
956
- def initialize(**args)
957
- update!(**args)
958
- end
959
-
960
- # Update properties of this object
961
- def update!(**args)
962
- @android_intent = args[:android_intent] if args.key?(:android_intent)
963
- @companion_uri = args[:companion_uri] if args.key?(:companion_uri)
964
- @ios_uri = args[:ios_uri] if args.key?(:ios_uri)
965
- end
966
- end
967
-
968
937
  # Represents the complete border style applied to widgets.
969
938
  class GoogleAppsCardV1BorderStyle
970
939
  include Google::Apis::Core::Hashable
@@ -1187,7 +1156,7 @@ module Google
1187
1156
  # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1CardAction>]
1188
1157
  attr_accessor :card_actions
1189
1158
 
1190
- # The display style for `peekCardHeader`.
1159
+ # The `peekCardHeader` display style for. Not supported by Google Chat apps.
1191
1160
  # Corresponds to the JSON property `displayStyle`
1192
1161
  # @return [String]
1193
1162
  attr_accessor :display_style
@@ -1478,32 +1447,6 @@ module Google
1478
1447
  end
1479
1448
  end
1480
1449
 
1481
- # Extra data for an android intent. Valid keys are defined in the hosting app
1482
- # contract.
1483
- class GoogleAppsCardV1ExtraData
1484
- include Google::Apis::Core::Hashable
1485
-
1486
- # A key for the intent extra data.
1487
- # Corresponds to the JSON property `key`
1488
- # @return [String]
1489
- attr_accessor :key
1490
-
1491
- # Value for the given extra data key.
1492
- # Corresponds to the JSON property `value`
1493
- # @return [String]
1494
- attr_accessor :value
1495
-
1496
- def initialize(**args)
1497
- update!(**args)
1498
- end
1499
-
1500
- # Update properties of this object
1501
- def update!(**args)
1502
- @key = args[:key] if args.key?(:key)
1503
- @value = args[:value] if args.key?(:value)
1504
- end
1505
- end
1506
-
1507
1450
  # Represents a Grid widget that displays items in a configurable grid layout.
1508
1451
  class GoogleAppsCardV1Grid
1509
1452
  include Google::Apis::Core::Hashable
@@ -1731,34 +1674,6 @@ module Google
1731
1674
  end
1732
1675
  end
1733
1676
 
1734
- # Android intent.
1735
- class GoogleAppsCardV1Intent
1736
- include Google::Apis::Core::Hashable
1737
-
1738
- # A list of extra data for the android intent. For example, for a calendar event
1739
- # edit intent, the event title information can be passed as extra data.
1740
- # Corresponds to the JSON property `extraData`
1741
- # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1ExtraData>]
1742
- attr_accessor :extra_data
1743
-
1744
- # An android intent action string for the `@link android.content.Intent` object.
1745
- # For example: for the view intent action type, a valid value will be android.
1746
- # content.Intent.ACTION_VIEW.
1747
- # Corresponds to the JSON property `intentAction`
1748
- # @return [String]
1749
- attr_accessor :intent_action
1750
-
1751
- def initialize(**args)
1752
- update!(**args)
1753
- end
1754
-
1755
- # Update properties of this object
1756
- def update!(**args)
1757
- @extra_data = args[:extra_data] if args.key?(:extra_data)
1758
- @intent_action = args[:intent_action] if args.key?(:intent_action)
1759
- end
1760
- end
1761
-
1762
1677
  # Represents the response to an `onClick` event.
1763
1678
  class GoogleAppsCardV1OnClick
1764
1679
  include Google::Apis::Core::Hashable
@@ -1819,11 +1734,6 @@ module Google
1819
1734
  class GoogleAppsCardV1OpenLink
1820
1735
  include Google::Apis::Core::Hashable
1821
1736
 
1822
- # Represents the platform specific uri/intent to open for each client.
1823
- # Corresponds to the JSON property `appUri`
1824
- # @return [Google::Apis::ChatV1::GoogleAppsCardV1AppUri]
1825
- attr_accessor :app_uri
1826
-
1827
1737
  # Whether the client forgets about a link after opening it, or observes it until
1828
1738
  # the window closes. Not supported by Chat apps.
1829
1739
  # Corresponds to the JSON property `onClose`
@@ -1846,7 +1756,6 @@ module Google
1846
1756
 
1847
1757
  # Update properties of this object
1848
1758
  def update!(**args)
1849
- @app_uri = args[:app_uri] if args.key?(:app_uri)
1850
1759
  @on_close = args[:on_close] if args.key?(:on_close)
1851
1760
  @open_as = args[:open_as] if args.key?(:open_as)
1852
1761
  @url = args[:url] if args.key?(:url)
@@ -2127,7 +2036,7 @@ module Google
2127
2036
  end
2128
2037
 
2129
2038
  # A paragraph of text that supports formatting. See [Text formatting](workspace/
2130
- # add-ons/concepts/widgets#text_formatting") for details.
2039
+ # add-ons/concepts/widgets#text_formatting) for details.
2131
2040
  class GoogleAppsCardV1TextParagraph
2132
2041
  include Google::Apis::Core::Hashable
2133
2042
 
@@ -2201,7 +2110,7 @@ module Google
2201
2110
  attr_accessor :text_input
2202
2111
 
2203
2112
  # A paragraph of text that supports formatting. See [Text formatting](workspace/
2204
- # add-ons/concepts/widgets#text_formatting") for details.
2113
+ # add-ons/concepts/widgets#text_formatting) for details.
2205
2114
  # Corresponds to the JSON property `textParagraph`
2206
2115
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
2207
2116
  attr_accessor :text_paragraph
@@ -2514,6 +2423,12 @@ module Google
2514
2423
  # @return [String]
2515
2424
  attr_accessor :name
2516
2425
 
2426
+ # Output only. User's role within a Chat space, which determines their permitted
2427
+ # actions in the space.
2428
+ # Corresponds to the JSON property `role`
2429
+ # @return [String]
2430
+ attr_accessor :role
2431
+
2517
2432
  # Output only. State of the membership.
2518
2433
  # Corresponds to the JSON property `state`
2519
2434
  # @return [String]
@@ -2528,6 +2443,7 @@ module Google
2528
2443
  @create_time = args[:create_time] if args.key?(:create_time)
2529
2444
  @member = args[:member] if args.key?(:member)
2530
2445
  @name = args[:name] if args.key?(:name)
2446
+ @role = args[:role] if args.key?(:role)
2531
2447
  @state = args[:state] if args.key?(:state)
2532
2448
  end
2533
2449
  end
@@ -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.40.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220706"
25
+ REVISION = "20220716"
26
26
  end
27
27
  end
28
28
  end
@@ -160,12 +160,6 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
- class GoogleAppsCardV1AppUri
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
163
  class GoogleAppsCardV1BorderStyle
170
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
165
 
@@ -226,12 +220,6 @@ module Google
226
220
  include Google::Apis::Core::JsonObjectSupport
227
221
  end
228
222
 
229
- class GoogleAppsCardV1ExtraData
230
- class Representation < Google::Apis::Core::JsonRepresentation; end
231
-
232
- include Google::Apis::Core::JsonObjectSupport
233
- end
234
-
235
223
  class GoogleAppsCardV1Grid
236
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
225
 
@@ -268,12 +256,6 @@ module Google
268
256
  include Google::Apis::Core::JsonObjectSupport
269
257
  end
270
258
 
271
- class GoogleAppsCardV1Intent
272
- class Representation < Google::Apis::Core::JsonRepresentation; end
273
-
274
- include Google::Apis::Core::JsonObjectSupport
275
- end
276
-
277
259
  class GoogleAppsCardV1OnClick
278
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
261
 
@@ -733,16 +715,6 @@ module Google
733
715
  end
734
716
  end
735
717
 
736
- class GoogleAppsCardV1AppUri
737
- # @private
738
- class Representation < Google::Apis::Core::JsonRepresentation
739
- property :android_intent, as: 'androidIntent', class: Google::Apis::ChatV1::GoogleAppsCardV1Intent, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Intent::Representation
740
-
741
- property :companion_uri, as: 'companionUri'
742
- property :ios_uri, as: 'iosUri'
743
- end
744
- end
745
-
746
718
  class GoogleAppsCardV1BorderStyle
747
719
  # @private
748
720
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -865,14 +837,6 @@ module Google
865
837
  end
866
838
  end
867
839
 
868
- class GoogleAppsCardV1ExtraData
869
- # @private
870
- class Representation < Google::Apis::Core::JsonRepresentation
871
- property :key, as: 'key'
872
- property :value, as: 'value'
873
- end
874
- end
875
-
876
840
  class GoogleAppsCardV1Grid
877
841
  # @private
878
842
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -940,15 +904,6 @@ module Google
940
904
  end
941
905
  end
942
906
 
943
- class GoogleAppsCardV1Intent
944
- # @private
945
- class Representation < Google::Apis::Core::JsonRepresentation
946
- collection :extra_data, as: 'extraData', class: Google::Apis::ChatV1::GoogleAppsCardV1ExtraData, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ExtraData::Representation
947
-
948
- property :intent_action, as: 'intentAction'
949
- end
950
- end
951
-
952
907
  class GoogleAppsCardV1OnClick
953
908
  # @private
954
909
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -966,8 +921,6 @@ module Google
966
921
  class GoogleAppsCardV1OpenLink
967
922
  # @private
968
923
  class Representation < Google::Apis::Core::JsonRepresentation
969
- property :app_uri, as: 'appUri', class: Google::Apis::ChatV1::GoogleAppsCardV1AppUri, decorator: Google::Apis::ChatV1::GoogleAppsCardV1AppUri::Representation
970
-
971
924
  property :on_close, as: 'onClose'
972
925
  property :open_as, as: 'openAs'
973
926
  property :url, as: 'url'
@@ -1173,6 +1126,7 @@ module Google
1173
1126
  property :member, as: 'member', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
1174
1127
 
1175
1128
  property :name, as: 'name'
1129
+ property :role, as: 'role'
1176
1130
  property :state, as: 'state'
1177
1131
  end
1178
1132
  end
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.40.0
4
+ version: 0.41.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: 2022-07-18 00:00:00.000000000 Z
11
+ date: 2022-07-25 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.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.41.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: []