google-apis-chat_v1 0.146.0 → 0.147.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: 2294549a91f2dccf357f0642b630e28289a46dedb0818cf85c7ae60ee57ee057
4
- data.tar.gz: 8e497563615ccf6ab4c65b69dde2edab7ecfa36de6828e8816db8ec8c01266b8
3
+ metadata.gz: 21f145fa13b9274d091cfcc0d745da0d8ab32d8eb365184a3249767a95c0f2d9
4
+ data.tar.gz: 77b571ca1731d29ccc1c70c71441a512039c7bc1d519e56d1d88dc0d242a1ab9
5
5
  SHA512:
6
- metadata.gz: 4ad41e431e7d5eb7c7ef9b0d4da1a81d2f7d40367f585a1608166fb3f26d250faa2368b707f58f48dc1babee0be25055c40c2dd42b95310f5c5464d7fcd60a85
7
- data.tar.gz: 671f7f2116e890f07e3fb889b1a9de6c6e4b6a9c50eda8a4e9a70700e2c1d37027cc9f39128e7fa8ec10395850946fc3975b51616b986d76e8bee4f65a3cb181
6
+ metadata.gz: 84e0d2c177bea841aadb6ffbe40143cb660478e45faac27cf864a19145ae5627070a789b933165619550ffb30c2831047882e7ce3af64fa10b8efc5f7c1bb1c9
7
+ data.tar.gz: 1133a7f65a405452e49f98dc07e8c55126fc0c100882a916d3238a7c85064cd364f637e5f4753fd72130e38d687820952b3336d690fa66b7845ed63dfdbb2b75
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.147.0 (2026-05-10)
4
+
5
+ * Regenerated from discovery document revision 20260503
6
+
3
7
  ### v0.146.0 (2026-05-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20260428
@@ -5343,6 +5343,13 @@ module Google
5343
5343
  # @return [Google::Apis::ChatV1::User]
5344
5344
  attr_accessor :sender
5345
5345
 
5346
+ # Output only. Whether this is a silent message. Silent messages are messages
5347
+ # where Chat suppresses push notifications for recipients.
5348
+ # Corresponds to the JSON property `silent`
5349
+ # @return [Boolean]
5350
+ attr_accessor :silent
5351
+ alias_method :silent?, :silent
5352
+
5346
5353
  # Metadata about a [slash command](https://developers.google.com/workspace/chat/
5347
5354
  # commands) in Google Chat.
5348
5355
  # Corresponds to the JSON property `slashCommand`
@@ -5411,6 +5418,7 @@ module Google
5411
5418
  @private_message_viewer = args[:private_message_viewer] if args.key?(:private_message_viewer)
5412
5419
  @quoted_message_metadata = args[:quoted_message_metadata] if args.key?(:quoted_message_metadata)
5413
5420
  @sender = args[:sender] if args.key?(:sender)
5421
+ @silent = args[:silent] if args.key?(:silent)
5414
5422
  @slash_command = args[:slash_command] if args.key?(:slash_command)
5415
5423
  @space = args[:space] if args.key?(:space)
5416
5424
  @text = args[:text] if args.key?(:text)
@@ -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.146.0"
19
+ GEM_VERSION = "0.147.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 = "20260428"
25
+ REVISION = "20260503"
26
26
  end
27
27
  end
28
28
  end
@@ -2324,6 +2324,7 @@ module Google
2324
2324
 
2325
2325
  property :sender, as: 'sender', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
2326
2326
 
2327
+ property :silent, as: 'silent'
2327
2328
  property :slash_command, as: 'slashCommand', class: Google::Apis::ChatV1::SlashCommand, decorator: Google::Apis::ChatV1::SlashCommand::Representation
2328
2329
 
2329
2330
  property :space, as: 'space', class: Google::Apis::ChatV1::Space, decorator: Google::Apis::ChatV1::Space::Representation
@@ -1404,6 +1404,8 @@ module Google
1404
1404
  # Required. The resource name of the space in which to create a message. Format:
1405
1405
  # `spaces/`space``
1406
1406
  # @param [Google::Apis::ChatV1::Message] message_object
1407
+ # @param [String] create_message_notification_options_notification_type
1408
+ # The notification type for the message.
1407
1409
  # @param [String] message_id
1408
1410
  # Optional. A custom ID for a message. Lets Chat apps get, update, or delete a
1409
1411
  # message without needing to store the system-assigned ID in the message's
@@ -1446,13 +1448,14 @@ module Google
1446
1448
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1447
1449
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1448
1450
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1449
- def create_space_message(parent, message_object = nil, message_id: nil, message_reply_option: nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
1451
+ def create_space_message(parent, message_object = nil, create_message_notification_options_notification_type: nil, message_id: nil, message_reply_option: nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
1450
1452
  command = make_simple_command(:post, 'v1/{+parent}/messages', options)
1451
1453
  command.request_representation = Google::Apis::ChatV1::Message::Representation
1452
1454
  command.request_object = message_object
1453
1455
  command.response_representation = Google::Apis::ChatV1::Message::Representation
1454
1456
  command.response_class = Google::Apis::ChatV1::Message
1455
1457
  command.params['parent'] = parent unless parent.nil?
1458
+ command.query['createMessageNotificationOptions.notificationType'] = create_message_notification_options_notification_type unless create_message_notification_options_notification_type.nil?
1456
1459
  command.query['messageId'] = message_id unless message_id.nil?
1457
1460
  command.query['messageReplyOption'] = message_reply_option unless message_reply_option.nil?
1458
1461
  command.query['requestId'] = request_id unless request_id.nil?
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.146.0
4
+ version: 0.147.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.146.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.147.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: