google-apis-chat_v1 0.40.0 → 0.43.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: 989eaa767efab59fe23c25aacbe85cf09319504066706c7341f382e92cea5665
4
+ data.tar.gz: 48b44c688eca8f1b1a840d9ed487578ca3c5e772dcc10c54a63fc860d15d0a83
5
5
  SHA512:
6
- metadata.gz: 15df08af54256992772b4288d3160f21525b0f7dfc782fe8c31f19f5c18f360661d1db95038b9f19d2145471640b5e29f49708a6a5ba4b45cf62475c21a0ad29
7
- data.tar.gz: 6c025f1a5d4e8d3f49482869efe889c1ab951ad20b9be20ea544c3f9cf78f250254125a8ce13c22dc6c94cd2a3de2d1c1772baef55bf7c4abeb50fc7afc037f5
6
+ metadata.gz: '0485879773668188ee865a22a7eb343b8367f957d1d7f529e92f70469a9d98d471dafb2c8e5683bbd9a8cedbd2edfb3ca64b4a3b72caccb93e2c8ce47fb6c75d'
7
+ data.tar.gz: b3c38659d122e68dd6aa1cdee5a01edfa1fa14f9e5939200967779a7ab1285316be3965fc6967352b47b3f93c984691be7eb7b6f9a0ad3c3f3f7409df196d29d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.43.0 (2022-08-31)
4
+
5
+ * Regenerated from discovery document revision 20220826
6
+
7
+ ### v0.42.0 (2022-07-29)
8
+
9
+ * Regenerated from discovery document revision 20220722
10
+
11
+ ### v0.41.0 (2022-07-22)
12
+
13
+ * Regenerated from discovery document revision 20220716
14
+
3
15
  ### v0.40.0 (2022-07-13)
4
16
 
5
17
  * Regenerated from discovery document revision 20220706
@@ -374,6 +374,49 @@ module Google
374
374
  end
375
375
  end
376
376
 
377
+ # Widgets for Chat apps to specify.
378
+ class CardWithId
379
+ include Google::Apis::Core::Hashable
380
+
381
+ # A card is a UI element that can contain UI widgets such as text and images.
382
+ # For more information, see Cards . For example, the following JSON creates a
383
+ # card that has a header with the name, position, icons, and link for a contact,
384
+ # followed by a section with contact information like email and phone number. ```
385
+ # ` "header": ` "title": "Sasha", "subtitle": "Software Engineer", "imageStyle":
386
+ # "ImageStyle.AVATAR", "imageUrl": "https://example.com/sasha.png", "
387
+ # imageAltText": "Avatar for Sasha" `, "sections" : [ ` "header": "Contact Info",
388
+ # "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "EMAIL" `, "content"
389
+ # : "sasha@example.com" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "PERSON"
390
+ # `, "content": "Online" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "
391
+ # PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "buttons": [ ` "textButton": `
392
+ # "text": "Share", `, "onClick": ` "openLink": ` "url": "https://example.com/
393
+ # share" ` ` `, ` "textButton": ` "text": "Edit", `, "onClick": ` "action": ` "
394
+ # function": "goToView", "parameters": [ ` "key": "viewType", "value": "EDIT" ` ]
395
+ # , "loadIndicator": "LoadIndicator.SPINNER" ` ` ` ] ` ], "collapsible": true, "
396
+ # uncollapsibleWidgetsCount": 3 ` ], "cardActions": [ ` "actionLabel": "Send
397
+ # Feedback", "onClick": ` "openLink": ` "url": "https://example.com/feedback" ` `
398
+ # ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
399
+ # Corresponds to the JSON property `card`
400
+ # @return [Google::Apis::ChatV1::GoogleAppsCardV1Card]
401
+ attr_accessor :card
402
+
403
+ # Required for `cardsV2` messages. Chat app-specified identifier for this widget.
404
+ # Scoped within a message.
405
+ # Corresponds to the JSON property `cardId`
406
+ # @return [String]
407
+ attr_accessor :card_id
408
+
409
+ def initialize(**args)
410
+ update!(**args)
411
+ end
412
+
413
+ # Update properties of this object
414
+ def update!(**args)
415
+ @card = args[:card] if args.key?(:card)
416
+ @card_id = args[:card_id] if args.key?(:card_id)
417
+ end
418
+ end
419
+
377
420
  # JSON payload of error messages. If the Cloud Logging API is enabled, these
378
421
  # error messages are logged to [Google Cloud Logging](https://cloud.google.com/
379
422
  # logging/docs).
@@ -887,7 +930,7 @@ module Google
887
930
  # to `false`, it is strongly recommended that the card use [LoadIndicator.
888
931
  # SPINNER](workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator)
889
932
  # for all actions, as this locks the UI to ensure no changes are made by the
890
- # user while the action is being processed.
933
+ # user while the action is being processed. Not supported by Google Chat apps.
891
934
  # Corresponds to the JSON property `persistValues`
892
935
  # @return [Boolean]
893
936
  attr_accessor :persist_values
@@ -934,37 +977,6 @@ module Google
934
977
  end
935
978
  end
936
979
 
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
980
  # Represents the complete border style applied to widgets.
969
981
  class GoogleAppsCardV1BorderStyle
970
982
  include Google::Apis::Core::Hashable
@@ -1187,7 +1199,7 @@ module Google
1187
1199
  # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1CardAction>]
1188
1200
  attr_accessor :card_actions
1189
1201
 
1190
- # The display style for `peekCardHeader`.
1202
+ # The `peekCardHeader` display style for. Not supported by Google Chat apps.
1191
1203
  # Corresponds to the JSON property `displayStyle`
1192
1204
  # @return [String]
1193
1205
  attr_accessor :display_style
@@ -1478,32 +1490,6 @@ module Google
1478
1490
  end
1479
1491
  end
1480
1492
 
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
1493
  # Represents a Grid widget that displays items in a configurable grid layout.
1508
1494
  class GoogleAppsCardV1Grid
1509
1495
  include Google::Apis::Core::Hashable
@@ -1731,34 +1717,6 @@ module Google
1731
1717
  end
1732
1718
  end
1733
1719
 
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
1720
  # Represents the response to an `onClick` event.
1763
1721
  class GoogleAppsCardV1OnClick
1764
1722
  include Google::Apis::Core::Hashable
@@ -1819,11 +1777,6 @@ module Google
1819
1777
  class GoogleAppsCardV1OpenLink
1820
1778
  include Google::Apis::Core::Hashable
1821
1779
 
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
1780
  # Whether the client forgets about a link after opening it, or observes it until
1828
1781
  # the window closes. Not supported by Chat apps.
1829
1782
  # Corresponds to the JSON property `onClose`
@@ -1846,7 +1799,6 @@ module Google
1846
1799
 
1847
1800
  # Update properties of this object
1848
1801
  def update!(**args)
1849
- @app_uri = args[:app_uri] if args.key?(:app_uri)
1850
1802
  @on_close = args[:on_close] if args.key?(:on_close)
1851
1803
  @open_as = args[:open_as] if args.key?(:open_as)
1852
1804
  @url = args[:url] if args.key?(:url)
@@ -2127,7 +2079,7 @@ module Google
2127
2079
  end
2128
2080
 
2129
2081
  # A paragraph of text that supports formatting. See [Text formatting](workspace/
2130
- # add-ons/concepts/widgets#text_formatting") for details.
2082
+ # add-ons/concepts/widgets#text_formatting) for details.
2131
2083
  class GoogleAppsCardV1TextParagraph
2132
2084
  include Google::Apis::Core::Hashable
2133
2085
 
@@ -2201,7 +2153,7 @@ module Google
2201
2153
  attr_accessor :text_input
2202
2154
 
2203
2155
  # A paragraph of text that supports formatting. See [Text formatting](workspace/
2204
- # add-ons/concepts/widgets#text_formatting") for details.
2156
+ # add-ons/concepts/widgets#text_formatting) for details.
2205
2157
  # Corresponds to the JSON property `textParagraph`
2206
2158
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
2207
2159
  attr_accessor :text_paragraph
@@ -2514,6 +2466,12 @@ module Google
2514
2466
  # @return [String]
2515
2467
  attr_accessor :name
2516
2468
 
2469
+ # Output only. User's role within a Chat space, which determines their permitted
2470
+ # actions in the space.
2471
+ # Corresponds to the JSON property `role`
2472
+ # @return [String]
2473
+ attr_accessor :role
2474
+
2517
2475
  # Output only. State of the membership.
2518
2476
  # Corresponds to the JSON property `state`
2519
2477
  # @return [String]
@@ -2528,6 +2486,7 @@ module Google
2528
2486
  @create_time = args[:create_time] if args.key?(:create_time)
2529
2487
  @member = args[:member] if args.key?(:member)
2530
2488
  @name = args[:name] if args.key?(:name)
2489
+ @role = args[:role] if args.key?(:role)
2531
2490
  @state = args[:state] if args.key?(:state)
2532
2491
  end
2533
2492
  end
@@ -2563,6 +2522,18 @@ module Google
2563
2522
  # @return [Array<Google::Apis::ChatV1::Card>]
2564
2523
  attr_accessor :cards
2565
2524
 
2525
+ # Richly formatted and interactive cards that display UI elements and editable
2526
+ # widgets, such as: - Formatted text - Buttons - Clickable images - Checkboxes -
2527
+ # Radio buttons - Input widgets. Cards are usually displayed below the text-body
2528
+ # of a Chat message, but can situationally appear other places, such as [dialogs]
2529
+ # (https://developers.google.com/chat/how-tos/dialogs). The `cardId` is a unique
2530
+ # identifier among cards in the same message and for identifying user input
2531
+ # values. Currently supported widgets include: - `TextParagraph` - `
2532
+ # DecoratedText` - `Image` - `ButtonList`
2533
+ # Corresponds to the JSON property `cardsV2`
2534
+ # @return [Array<Google::Apis::ChatV1::CardWithId>]
2535
+ attr_accessor :cards_v2
2536
+
2566
2537
  # Output only. The time at which the message was created in Google Chat server.
2567
2538
  # Corresponds to the JSON property `createTime`
2568
2539
  # @return [String]
@@ -2632,6 +2603,7 @@ module Google
2632
2603
  @argument_text = args[:argument_text] if args.key?(:argument_text)
2633
2604
  @attachment = args[:attachment] if args.key?(:attachment)
2634
2605
  @cards = args[:cards] if args.key?(:cards)
2606
+ @cards_v2 = args[:cards_v2] if args.key?(:cards_v2)
2635
2607
  @create_time = args[:create_time] if args.key?(:create_time)
2636
2608
  @fallback_text = args[:fallback_text] if args.key?(:fallback_text)
2637
2609
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
@@ -2797,19 +2769,24 @@ module Google
2797
2769
  # @return [String]
2798
2770
  attr_accessor :name
2799
2771
 
2800
- # Output only. Whether the space is a DM between a Chat app and a single human.
2772
+ # Optional. Whether the space is a DM between a Chat app and a single human.
2801
2773
  # Corresponds to the JSON property `singleUserBotDm`
2802
2774
  # @return [Boolean]
2803
2775
  attr_accessor :single_user_bot_dm
2804
2776
  alias_method :single_user_bot_dm?, :single_user_bot_dm
2805
2777
 
2778
+ # Details about the space including description and rules.
2779
+ # Corresponds to the JSON property `spaceDetails`
2780
+ # @return [Google::Apis::ChatV1::SpaceDetails]
2781
+ attr_accessor :space_details
2782
+
2806
2783
  # Output only. Whether messages are threaded in this space.
2807
2784
  # Corresponds to the JSON property `threaded`
2808
2785
  # @return [Boolean]
2809
2786
  attr_accessor :threaded
2810
2787
  alias_method :threaded?, :threaded
2811
2788
 
2812
- # Output only. Deprecated: Use `single_user_bot_dm` or `space_type` (developer
2789
+ # Output only. Deprecated: Use `singleUserBotDm` or `spaceType` (developer
2813
2790
  # preview) instead. The type of a space.
2814
2791
  # Corresponds to the JSON property `type`
2815
2792
  # @return [String]
@@ -2824,11 +2801,38 @@ module Google
2824
2801
  @display_name = args[:display_name] if args.key?(:display_name)
2825
2802
  @name = args[:name] if args.key?(:name)
2826
2803
  @single_user_bot_dm = args[:single_user_bot_dm] if args.key?(:single_user_bot_dm)
2804
+ @space_details = args[:space_details] if args.key?(:space_details)
2827
2805
  @threaded = args[:threaded] if args.key?(:threaded)
2828
2806
  @type = args[:type] if args.key?(:type)
2829
2807
  end
2830
2808
  end
2831
2809
 
2810
+ # Details about the space including description and rules.
2811
+ class SpaceDetails
2812
+ include Google::Apis::Core::Hashable
2813
+
2814
+ # Optional. A description of the space. It could describe the space's discussion
2815
+ # topic, functional purpose, or participants.
2816
+ # Corresponds to the JSON property `description`
2817
+ # @return [String]
2818
+ attr_accessor :description
2819
+
2820
+ # Optional. The space's rules, expectations, and etiquette.
2821
+ # Corresponds to the JSON property `guidelines`
2822
+ # @return [String]
2823
+ attr_accessor :guidelines
2824
+
2825
+ def initialize(**args)
2826
+ update!(**args)
2827
+ end
2828
+
2829
+ # Update properties of this object
2830
+ def update!(**args)
2831
+ @description = args[:description] if args.key?(:description)
2832
+ @guidelines = args[:guidelines] if args.key?(:guidelines)
2833
+ end
2834
+ end
2835
+
2832
2836
  # The `Status` type defines a logical error model that is suitable for different
2833
2837
  # programming environments, including REST APIs and RPC APIs. It is used by [
2834
2838
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -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.43.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 = "20220826"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class CardWithId
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class ChatAppLogEntry
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -160,12 +166,6 @@ module Google
160
166
  include Google::Apis::Core::JsonObjectSupport
161
167
  end
162
168
 
163
- class GoogleAppsCardV1AppUri
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
169
  class GoogleAppsCardV1BorderStyle
170
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
171
 
@@ -226,12 +226,6 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
- class GoogleAppsCardV1ExtraData
230
- class Representation < Google::Apis::Core::JsonRepresentation; end
231
-
232
- include Google::Apis::Core::JsonObjectSupport
233
- end
234
-
235
229
  class GoogleAppsCardV1Grid
236
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
231
 
@@ -268,12 +262,6 @@ module Google
268
262
  include Google::Apis::Core::JsonObjectSupport
269
263
  end
270
264
 
271
- class GoogleAppsCardV1Intent
272
- class Representation < Google::Apis::Core::JsonRepresentation; end
273
-
274
- include Google::Apis::Core::JsonObjectSupport
275
- end
276
-
277
265
  class GoogleAppsCardV1OnClick
278
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
267
 
@@ -436,6 +424,12 @@ module Google
436
424
  include Google::Apis::Core::JsonObjectSupport
437
425
  end
438
426
 
427
+ class SpaceDetails
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
439
433
  class Status
440
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
435
 
@@ -600,6 +594,15 @@ module Google
600
594
  end
601
595
  end
602
596
 
597
+ class CardWithId
598
+ # @private
599
+ class Representation < Google::Apis::Core::JsonRepresentation
600
+ property :card, as: 'card', class: Google::Apis::ChatV1::GoogleAppsCardV1Card, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Card::Representation
601
+
602
+ property :card_id, as: 'cardId'
603
+ end
604
+ end
605
+
603
606
  class ChatAppLogEntry
604
607
  # @private
605
608
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -733,16 +736,6 @@ module Google
733
736
  end
734
737
  end
735
738
 
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
739
  class GoogleAppsCardV1BorderStyle
747
740
  # @private
748
741
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -865,14 +858,6 @@ module Google
865
858
  end
866
859
  end
867
860
 
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
861
  class GoogleAppsCardV1Grid
877
862
  # @private
878
863
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -940,15 +925,6 @@ module Google
940
925
  end
941
926
  end
942
927
 
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
928
  class GoogleAppsCardV1OnClick
953
929
  # @private
954
930
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -966,8 +942,6 @@ module Google
966
942
  class GoogleAppsCardV1OpenLink
967
943
  # @private
968
944
  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
945
  property :on_close, as: 'onClose'
972
946
  property :open_as, as: 'openAs'
973
947
  property :url, as: 'url'
@@ -1173,6 +1147,7 @@ module Google
1173
1147
  property :member, as: 'member', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
1174
1148
 
1175
1149
  property :name, as: 'name'
1150
+ property :role, as: 'role'
1176
1151
  property :state, as: 'state'
1177
1152
  end
1178
1153
  end
@@ -1189,6 +1164,8 @@ module Google
1189
1164
 
1190
1165
  collection :cards, as: 'cards', class: Google::Apis::ChatV1::Card, decorator: Google::Apis::ChatV1::Card::Representation
1191
1166
 
1167
+ collection :cards_v2, as: 'cardsV2', class: Google::Apis::ChatV1::CardWithId, decorator: Google::Apis::ChatV1::CardWithId::Representation
1168
+
1192
1169
  property :create_time, as: 'createTime'
1193
1170
  property :fallback_text, as: 'fallbackText'
1194
1171
  property :last_update_time, as: 'lastUpdateTime'
@@ -1258,11 +1235,21 @@ module Google
1258
1235
  property :display_name, as: 'displayName'
1259
1236
  property :name, as: 'name'
1260
1237
  property :single_user_bot_dm, as: 'singleUserBotDm'
1238
+ property :space_details, as: 'spaceDetails', class: Google::Apis::ChatV1::SpaceDetails, decorator: Google::Apis::ChatV1::SpaceDetails::Representation
1239
+
1261
1240
  property :threaded, as: 'threaded'
1262
1241
  property :type, as: 'type'
1263
1242
  end
1264
1243
  end
1265
1244
 
1245
+ class SpaceDetails
1246
+ # @private
1247
+ class Representation < Google::Apis::Core::JsonRepresentation
1248
+ property :description, as: 'description'
1249
+ property :guidelines, as: 'guidelines'
1250
+ end
1251
+ end
1252
+
1266
1253
  class Status
1267
1254
  # @private
1268
1255
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -660,7 +660,7 @@ module Google
660
660
  # @param [String] update_mask
661
661
  # Required. The field paths to update. Separate multiple values with commas.
662
662
  # Currently supported field paths: - text - cards (Requires [service account
663
- # authentication](/chat/api/guides/auth/service-accounts).) - attachment
663
+ # authentication](/chat/api/guides/auth/service-accounts).) - cards_v2
664
664
  # @param [String] fields
665
665
  # Selector specifying which fields to include in a partial response.
666
666
  # @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.40.0
4
+ version: 0.43.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-09-05 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.43.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: []