google-apis-chat_v1 0.145.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: 7cbd719a6d2ff6dfeafed5961b060244fa9842d7efeb26febfdc1c0418c3f3ce
4
- data.tar.gz: b499afc82d0f1f751329333e10823ea46b5124d245e8502afa9cb1c5967240ce
3
+ metadata.gz: 21f145fa13b9274d091cfcc0d745da0d8ab32d8eb365184a3249767a95c0f2d9
4
+ data.tar.gz: 77b571ca1731d29ccc1c70c71441a512039c7bc1d519e56d1d88dc0d242a1ab9
5
5
  SHA512:
6
- metadata.gz: 2f9a107f04bbdec49993bf7269a7dc40375fa3f274c45d1782e0f20caf5e38aa970cbb8efce5da55fd04c76d60ecf15332a6b15eacbbb30a85aadf9c3df0b2ca
7
- data.tar.gz: ee760d9b7ab47a13d87d42530f7c2146487345fe6c0b9c668feded852ddba1634f756973da2c5ecb19afec2f127a3023662ccd6477197cb56b4168be0f176642
6
+ metadata.gz: 84e0d2c177bea841aadb6ffbe40143cb660478e45faac27cf864a19145ae5627070a789b933165619550ffb30c2831047882e7ce3af64fa10b8efc5f7c1bb1c9
7
+ data.tar.gz: 1133a7f65a405452e49f98dc07e8c55126fc0c100882a916d3238a7c85064cd364f637e5f4753fd72130e38d687820952b3336d690fa66b7845ed63dfdbb2b75
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.146.0 (2026-05-03)
8
+
9
+ * Regenerated from discovery document revision 20260428
10
+
3
11
  ### v0.145.0 (2026-04-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20260405
@@ -1456,8 +1456,7 @@ module Google
1456
1456
  end
1457
1457
 
1458
1458
  # A response containing group chat spaces with exactly the calling user and the
1459
- # requested users. [Developer Preview](https://developers.google.com/workspace/
1460
- # preview):
1459
+ # requested users.
1461
1460
  class FindGroupChatsResponse
1462
1461
  include Google::Apis::Core::Hashable
1463
1462
 
@@ -5344,6 +5343,13 @@ module Google
5344
5343
  # @return [Google::Apis::ChatV1::User]
5345
5344
  attr_accessor :sender
5346
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
+
5347
5353
  # Metadata about a [slash command](https://developers.google.com/workspace/chat/
5348
5354
  # commands) in Google Chat.
5349
5355
  # Corresponds to the JSON property `slashCommand`
@@ -5412,6 +5418,7 @@ module Google
5412
5418
  @private_message_viewer = args[:private_message_viewer] if args.key?(:private_message_viewer)
5413
5419
  @quoted_message_metadata = args[:quoted_message_metadata] if args.key?(:quoted_message_metadata)
5414
5420
  @sender = args[:sender] if args.key?(:sender)
5421
+ @silent = args[:silent] if args.key?(:silent)
5415
5422
  @slash_command = args[:slash_command] if args.key?(:slash_command)
5416
5423
  @space = args[:space] if args.key?(:space)
5417
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.145.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 = "20260405"
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
@@ -533,21 +533,20 @@ module Google
533
533
  execute_or_queue_command(command, &block)
534
534
  end
535
535
 
536
- # [Developer Preview](https://developers.google.com/workspace/preview): Returns
537
- # all spaces with `spaceType == GROUP_CHAT`, whose human memberships contain
538
- # exactly the calling user, and the users specified in `FindGroupChatsRequest.
539
- # users`. Only members that have joined the conversation are supported. For an
540
- # example, see [Find group chats](https://developers.google.com/workspace/chat/
541
- # find-group-chats). If the calling user blocks, or is blocked by, some users,
542
- # and no spaces with the entire specified set of users are found, this method
543
- # returns spaces that don't include the blocked or blocking users. The specified
544
- # set of users must contain only human (non-app) memberships. A request that
545
- # contains non-human users doesn't return any spaces. Requires [user
546
- # authentication](https://developers.google.com/workspace/chat/authenticate-
547
- # authorize-chat-user) with one of the following [authorization scopes](https://
548
- # developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): -
549
- # `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.
550
- # googleapis.com/auth/chat.memberships`
536
+ # Returns all spaces with `spaceType == GROUP_CHAT`, whose human memberships
537
+ # contain exactly the calling user, and the users specified in `
538
+ # FindGroupChatsRequest.users`. Only members that have joined the conversation
539
+ # are supported. For an example, see [Find group chats](https://developers.
540
+ # google.com/workspace/chat/find-group-chats). If the calling user blocks, or is
541
+ # blocked by, some users, and no spaces with the entire specified set of users
542
+ # are found, this method returns spaces that don't include the blocked or
543
+ # blocking users. The specified set of users must contain only human (non-app)
544
+ # memberships. A request that contains non-human users doesn't return any spaces.
545
+ # Requires [user authentication](https://developers.google.com/workspace/chat/
546
+ # authenticate-authorize-chat-user) with one of the following [authorization
547
+ # scopes](https://developers.google.com/workspace/chat/authenticate-authorize#
548
+ # chat-api-scopes): - `https://www.googleapis.com/auth/chat.memberships.readonly`
549
+ # - `https://www.googleapis.com/auth/chat.memberships`
551
550
  # @param [Fixnum] page_size
552
551
  # Optional. The maximum number of spaces to return. The service might return
553
552
  # fewer than this value. If unspecified, at most 10 spaces are returned. The
@@ -1405,6 +1404,8 @@ module Google
1405
1404
  # Required. The resource name of the space in which to create a message. Format:
1406
1405
  # `spaces/`space``
1407
1406
  # @param [Google::Apis::ChatV1::Message] message_object
1407
+ # @param [String] create_message_notification_options_notification_type
1408
+ # The notification type for the message.
1408
1409
  # @param [String] message_id
1409
1410
  # Optional. A custom ID for a message. Lets Chat apps get, update, or delete a
1410
1411
  # message without needing to store the system-assigned ID in the message's
@@ -1447,13 +1448,14 @@ module Google
1447
1448
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1448
1449
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1449
1450
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1450
- 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)
1451
1452
  command = make_simple_command(:post, 'v1/{+parent}/messages', options)
1452
1453
  command.request_representation = Google::Apis::ChatV1::Message::Representation
1453
1454
  command.request_object = message_object
1454
1455
  command.response_representation = Google::Apis::ChatV1::Message::Representation
1455
1456
  command.response_class = Google::Apis::ChatV1::Message
1456
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?
1457
1459
  command.query['messageId'] = message_id unless message_id.nil?
1458
1460
  command.query['messageReplyOption'] = message_reply_option unless message_reply_option.nil?
1459
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.145.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.145.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: