google-apis-chat_v1 0.141.0 → 0.142.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: d900cd59cca8eec901ee097852a0ac5f3538ba4760c7ce4a33ca5022427ab654
4
- data.tar.gz: 30f4a23f9c49c3ea2078222de940ee603f51a549dc588e41dc9145a1a15654bb
3
+ metadata.gz: cc0377d3634dc708aadce0b728ec1b66a44cf202295af5a721d40a639c5cd0aa
4
+ data.tar.gz: 06e741a44afcb7b900726c0d416772fe9c1c72ac5df33b774268f96093299c81
5
5
  SHA512:
6
- metadata.gz: 00d67417d1928064f17c95f923badc4e6e0ac303f079ddbc9f81e219a90c16235923c616753213f24e3bc20c3f9d8828274de11d2e6bfa3b7595daad76128604
7
- data.tar.gz: 0b5067eca54e496a53a58383cdab59381f148406719e71002b90a30636da4fd253244d7052d9719bb4801c632bf1eb435cac23bfe33674d27eafb61a27c96e64
6
+ metadata.gz: a2a468ff8c17654b12d0ed12813b66e4894b29f42023b3ff8105c35e2e51ba192a55626d873ad18c6dbd60679e38ab7e75c11cab30477a5094a19733b6a0ba28
7
+ data.tar.gz: dfecaa49c317cf3ebc6d5125a5bafefe27bdada34b27705782246ea8e738957e8998b718ee8ffbfa3563f45475d5c91fb578ece218cce797ed115797f8b15d9d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.142.0 (2026-01-25)
4
+
5
+ * Regenerated from discovery document revision 20260120
6
+
3
7
  ### v0.141.0 (2026-01-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20260108
@@ -1476,6 +1476,35 @@ module Google
1476
1476
  end
1477
1477
  end
1478
1478
 
1479
+ # Metadata about the source space from which a message was forwarded.
1480
+ class ForwardedMetadata
1481
+ include Google::Apis::Core::Hashable
1482
+
1483
+ # Output only. The resource name of the source space. Format: spaces/`space`
1484
+ # Corresponds to the JSON property `space`
1485
+ # @return [String]
1486
+ attr_accessor :space
1487
+
1488
+ # Output only. The display name of the source space or DM at the time of
1489
+ # forwarding. For `SPACE`, this is the space name. For `DIRECT_MESSAGE`, this is
1490
+ # the other participant's name (e.g., "User A"). For `GROUP_CHAT`, this is a
1491
+ # generated name based on members' first names, limited to 5 including the
1492
+ # creator (e.g., "User A, User B").
1493
+ # Corresponds to the JSON property `spaceDisplayName`
1494
+ # @return [String]
1495
+ attr_accessor :space_display_name
1496
+
1497
+ def initialize(**args)
1498
+ update!(**args)
1499
+ end
1500
+
1501
+ # Update properties of this object
1502
+ def update!(**args)
1503
+ @space = args[:space] if args.key?(:space)
1504
+ @space_display_name = args[:space_display_name] if args.key?(:space_display_name)
1505
+ end
1506
+ end
1507
+
1479
1508
  # An action that describes the behavior when the form is submitted. For example,
1480
1509
  # you can invoke an Apps Script script to handle the form. If the action is
1481
1510
  # triggered, the form values are sent to the server. [Google Workspace add-ons
@@ -5512,6 +5541,11 @@ module Google
5512
5541
  class QuotedMessageMetadata
5513
5542
  include Google::Apis::Core::Hashable
5514
5543
 
5544
+ # Metadata about the source space from which a message was forwarded.
5545
+ # Corresponds to the JSON property `forwardedMetadata`
5546
+ # @return [Google::Apis::ChatV1::ForwardedMetadata]
5547
+ attr_accessor :forwarded_metadata
5548
+
5515
5549
  # Required. The timestamp when the quoted message was created or when the quoted
5516
5550
  # message was last updated. If the message was edited, use this field, `
5517
5551
  # last_update_time`. If the message was never edited, use `create_time`. If `
@@ -5527,14 +5561,79 @@ module Google
5527
5561
  # @return [String]
5528
5562
  attr_accessor :name
5529
5563
 
5564
+ # Optional. Specifies the quote type. If not set, defaults to REPLY in the
5565
+ # message read/write path for backward compatibility.
5566
+ # Corresponds to the JSON property `quoteType`
5567
+ # @return [String]
5568
+ attr_accessor :quote_type
5569
+
5570
+ # Provides a snapshot of the content of the quoted message at the time of
5571
+ # quoting or forwarding
5572
+ # Corresponds to the JSON property `quotedMessageSnapshot`
5573
+ # @return [Google::Apis::ChatV1::QuotedMessageSnapshot]
5574
+ attr_accessor :quoted_message_snapshot
5575
+
5530
5576
  def initialize(**args)
5531
5577
  update!(**args)
5532
5578
  end
5533
5579
 
5534
5580
  # Update properties of this object
5535
5581
  def update!(**args)
5582
+ @forwarded_metadata = args[:forwarded_metadata] if args.key?(:forwarded_metadata)
5536
5583
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
5537
5584
  @name = args[:name] if args.key?(:name)
5585
+ @quote_type = args[:quote_type] if args.key?(:quote_type)
5586
+ @quoted_message_snapshot = args[:quoted_message_snapshot] if args.key?(:quoted_message_snapshot)
5587
+ end
5588
+ end
5589
+
5590
+ # Provides a snapshot of the content of the quoted message at the time of
5591
+ # quoting or forwarding
5592
+ class QuotedMessageSnapshot
5593
+ include Google::Apis::Core::Hashable
5594
+
5595
+ # Output only. Annotations parsed from the text body of the quoted message.
5596
+ # Populated only for FORWARD quote type.
5597
+ # Corresponds to the JSON property `annotations`
5598
+ # @return [Array<Google::Apis::ChatV1::Annotation>]
5599
+ attr_accessor :annotations
5600
+
5601
+ # Output only. Attachments that were part of the quoted message. These are
5602
+ # copies of the quoted message's attachment metadata. Populated only for FORWARD
5603
+ # quote type.
5604
+ # Corresponds to the JSON property `attachments`
5605
+ # @return [Array<Google::Apis::ChatV1::Attachment>]
5606
+ attr_accessor :attachments
5607
+
5608
+ # Output only. Contains the quoted message `text` with markups added to support
5609
+ # rich formatting like hyperlinks,custom emojis, markup, etc. Populated only for
5610
+ # FORWARD quote type.
5611
+ # Corresponds to the JSON property `formattedText`
5612
+ # @return [String]
5613
+ attr_accessor :formatted_text
5614
+
5615
+ # Output only. The quoted message's author name. Populated for both REPLY &
5616
+ # FORWARD quote types.
5617
+ # Corresponds to the JSON property `sender`
5618
+ # @return [String]
5619
+ attr_accessor :sender
5620
+
5621
+ # Output only. Snapshot of the quoted message's text content.
5622
+ # Corresponds to the JSON property `text`
5623
+ # @return [String]
5624
+ attr_accessor :text
5625
+
5626
+ def initialize(**args)
5627
+ update!(**args)
5628
+ end
5629
+
5630
+ # Update properties of this object
5631
+ def update!(**args)
5632
+ @annotations = args[:annotations] if args.key?(:annotations)
5633
+ @attachments = args[:attachments] if args.key?(:attachments)
5634
+ @formatted_text = args[:formatted_text] if args.key?(:formatted_text)
5635
+ @sender = args[:sender] if args.key?(:sender)
5636
+ @text = args[:text] if args.key?(:text)
5538
5637
  end
5539
5638
  end
5540
5639
 
@@ -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.141.0"
19
+ GEM_VERSION = "0.142.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260108"
25
+ REVISION = "20260120"
26
26
  end
27
27
  end
28
28
  end
@@ -250,6 +250,12 @@ module Google
250
250
  include Google::Apis::Core::JsonObjectSupport
251
251
  end
252
252
 
253
+ class ForwardedMetadata
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
253
259
  class GoogleAppsCardV1Action
254
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
261
 
@@ -766,6 +772,12 @@ module Google
766
772
  include Google::Apis::Core::JsonObjectSupport
767
773
  end
768
774
 
775
+ class QuotedMessageSnapshot
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
769
781
  class Reaction
770
782
  class Representation < Google::Apis::Core::JsonRepresentation; end
771
783
 
@@ -1346,6 +1358,14 @@ module Google
1346
1358
  end
1347
1359
  end
1348
1360
 
1361
+ class ForwardedMetadata
1362
+ # @private
1363
+ class Representation < Google::Apis::Core::JsonRepresentation
1364
+ property :space, as: 'space'
1365
+ property :space_display_name, as: 'spaceDisplayName'
1366
+ end
1367
+ end
1368
+
1349
1369
  class GoogleAppsCardV1Action
1350
1370
  # @private
1351
1371
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2322,8 +2342,26 @@ module Google
2322
2342
  class QuotedMessageMetadata
2323
2343
  # @private
2324
2344
  class Representation < Google::Apis::Core::JsonRepresentation
2345
+ property :forwarded_metadata, as: 'forwardedMetadata', class: Google::Apis::ChatV1::ForwardedMetadata, decorator: Google::Apis::ChatV1::ForwardedMetadata::Representation
2346
+
2325
2347
  property :last_update_time, as: 'lastUpdateTime'
2326
2348
  property :name, as: 'name'
2349
+ property :quote_type, as: 'quoteType'
2350
+ property :quoted_message_snapshot, as: 'quotedMessageSnapshot', class: Google::Apis::ChatV1::QuotedMessageSnapshot, decorator: Google::Apis::ChatV1::QuotedMessageSnapshot::Representation
2351
+
2352
+ end
2353
+ end
2354
+
2355
+ class QuotedMessageSnapshot
2356
+ # @private
2357
+ class Representation < Google::Apis::Core::JsonRepresentation
2358
+ collection :annotations, as: 'annotations', class: Google::Apis::ChatV1::Annotation, decorator: Google::Apis::ChatV1::Annotation::Representation
2359
+
2360
+ collection :attachments, as: 'attachments', class: Google::Apis::ChatV1::Attachment, decorator: Google::Apis::ChatV1::Attachment::Representation
2361
+
2362
+ property :formatted_text, as: 'formattedText'
2363
+ property :sender, as: 'sender'
2364
+ property :text, as: 'text'
2327
2365
  end
2328
2366
  end
2329
2367
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chat_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.141.0
4
+ version: 0.142.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.141.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.142.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
62
62
  rdoc_options: []
63
63
  require_paths: