google-apis-chat_v1 0.154.0 → 0.155.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: 7be0f75b05ba62db7bedc92d4a4983ad883658f1fa82d63b5428bb198d144d9d
4
- data.tar.gz: 053672fa3f9d3469aab40c7cda7b92c0523cb165e18761d0f81454288a9cc07e
3
+ metadata.gz: 6842d654f4800b8f520b3c3610e28d1c52dc442ea7e3dc82109823d9871068cf
4
+ data.tar.gz: 77fbf116ef1fe9e016edc98fe0c1a0307037d19b4240fb0e495f320b964f3b58
5
5
  SHA512:
6
- metadata.gz: 171602ec8560d9191a0e3356b3c9f75b0f9de01643016327e08aa88d69b73f46fe75d76569c0a81e52717821b29a3fca0f49fb6c49fda32268636afd2c208f2d
7
- data.tar.gz: 2f3ead44b63c00eb41816fbafde199eff4032275f5c3ef80012602dc5a10232dfc50bce0fd6c085994c91da1ce5011173afc3d5a895ce3a32418a6696db34e37
6
+ metadata.gz: 0bd45ec119942d4613176372be61c9a4d78a8c837dd232b64b4c70869e572b85ff446a06a02e0ffe47f0769a620fd0ab4249a3f4f76f530b981d634f294f3c42
7
+ data.tar.gz: 9ef527cce36524ffb0c3e9d6ddb9e00daf601a844fac5b7290293e5c97a9290a1558297b6c7c01c7c676cbe6d4dafb8c75aa024a9c9301a89d6d86fefe5efedf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.155.0 (2026-09-20)
4
+
5
+ * Regenerated from discovery document revision 20260913
6
+
3
7
  ### v0.154.0 (2026-09-06)
4
8
 
5
9
  * Regenerated from discovery document revision 20260828
@@ -55,6 +55,11 @@ module Google
55
55
  # @return [Google::Apis::ChatV1::AccessPermissionSetting]
56
56
  attr_accessor :join_space_setting
57
57
 
58
+ # An access permission setting.
59
+ # Corresponds to the JSON property `viewSpaceMembershipSetting`
60
+ # @return [Google::Apis::ChatV1::AccessPermissionSetting]
61
+ attr_accessor :view_space_membership_setting
62
+
58
63
  def initialize(**args)
59
64
  update!(**args)
60
65
  end
@@ -63,6 +68,7 @@ module Google
63
68
  def update!(**args)
64
69
  @discover_space_setting = args[:discover_space_setting] if args.key?(:discover_space_setting)
65
70
  @join_space_setting = args[:join_space_setting] if args.key?(:join_space_setting)
71
+ @view_space_membership_setting = args[:view_space_membership_setting] if args.key?(:view_space_membership_setting)
66
72
  end
67
73
  end
68
74
 
@@ -1406,10 +1412,11 @@ module Google
1406
1412
  # @return [String]
1407
1413
  attr_accessor :type
1408
1414
 
1409
- # A user in Google Chat. When returned as an output from a request, if your Chat
1410
- # app [authenticates as a user](https://developers.google.com/workspace/chat/
1411
- # authenticate-authorize-chat-user), the output for a `User` resource only
1412
- # populates the user's `name` and `type`.
1415
+ # If your Chat app [authenticates as a user](https://developers.google.com/
1416
+ # workspace/chat/authenticate-authorize-chat-user), the output for a `User`
1417
+ # resource (such as in the Messages and Memberships APIs) only populates the `
1418
+ # name` and `type` fields for both internal and external users, unless they are
1419
+ # members of the space or have prior affinity with the calling user.
1413
1420
  # Corresponds to the JSON property `user`
1414
1421
  # @return [Google::Apis::ChatV1::User]
1415
1422
  attr_accessor :user
@@ -5257,10 +5264,11 @@ module Google
5257
5264
  # @return [Google::Apis::ChatV1::Group]
5258
5265
  attr_accessor :group_member
5259
5266
 
5260
- # A user in Google Chat. When returned as an output from a request, if your Chat
5261
- # app [authenticates as a user](https://developers.google.com/workspace/chat/
5262
- # authenticate-authorize-chat-user), the output for a `User` resource only
5263
- # populates the user's `name` and `type`.
5267
+ # If your Chat app [authenticates as a user](https://developers.google.com/
5268
+ # workspace/chat/authenticate-authorize-chat-user), the output for a `User`
5269
+ # resource (such as in the Messages and Memberships APIs) only populates the `
5270
+ # name` and `type` fields for both internal and external users, unless they are
5271
+ # members of the space or have prior affinity with the calling user.
5264
5272
  # Corresponds to the JSON property `member`
5265
5273
  # @return [Google::Apis::ChatV1::User]
5266
5274
  attr_accessor :member
@@ -5606,10 +5614,11 @@ module Google
5606
5614
  # @return [String]
5607
5615
  attr_accessor :name
5608
5616
 
5609
- # A user in Google Chat. When returned as an output from a request, if your Chat
5610
- # app [authenticates as a user](https://developers.google.com/workspace/chat/
5611
- # authenticate-authorize-chat-user), the output for a `User` resource only
5612
- # populates the user's `name` and `type`.
5617
+ # If your Chat app [authenticates as a user](https://developers.google.com/
5618
+ # workspace/chat/authenticate-authorize-chat-user), the output for a `User`
5619
+ # resource (such as in the Messages and Memberships APIs) only populates the `
5620
+ # name` and `type` fields for both internal and external users, unless they are
5621
+ # members of the space or have prior affinity with the calling user.
5613
5622
  # Corresponds to the JSON property `privateMessageViewer`
5614
5623
  # @return [Google::Apis::ChatV1::User]
5615
5624
  attr_accessor :private_message_viewer
@@ -5622,10 +5631,11 @@ module Google
5622
5631
  # @return [Google::Apis::ChatV1::QuotedMessageMetadata]
5623
5632
  attr_accessor :quoted_message_metadata
5624
5633
 
5625
- # A user in Google Chat. When returned as an output from a request, if your Chat
5626
- # app [authenticates as a user](https://developers.google.com/workspace/chat/
5627
- # authenticate-authorize-chat-user), the output for a `User` resource only
5628
- # populates the user's `name` and `type`.
5634
+ # If your Chat app [authenticates as a user](https://developers.google.com/
5635
+ # workspace/chat/authenticate-authorize-chat-user), the output for a `User`
5636
+ # resource (such as in the Messages and Memberships APIs) only populates the `
5637
+ # name` and `type` fields for both internal and external users, unless they are
5638
+ # members of the space or have prior affinity with the calling user.
5629
5639
  # Corresponds to the JSON property `sender`
5630
5640
  # @return [Google::Apis::ChatV1::User]
5631
5641
  attr_accessor :sender
@@ -6033,6 +6043,11 @@ module Google
6033
6043
  # @return [Google::Apis::ChatV1::PermissionSetting]
6034
6044
  attr_accessor :use_at_mention_all
6035
6045
 
6046
+ # Represents a space permission setting.
6047
+ # Corresponds to the JSON property `viewSpaceMembership`
6048
+ # @return [Google::Apis::ChatV1::PermissionSetting]
6049
+ attr_accessor :view_space_membership
6050
+
6036
6051
  def initialize(**args)
6037
6052
  update!(**args)
6038
6053
  end
@@ -6047,6 +6062,7 @@ module Google
6047
6062
  @reply_messages = args[:reply_messages] if args.key?(:reply_messages)
6048
6063
  @toggle_history = args[:toggle_history] if args.key?(:toggle_history)
6049
6064
  @use_at_mention_all = args[:use_at_mention_all] if args.key?(:use_at_mention_all)
6065
+ @view_space_membership = args[:view_space_membership] if args.key?(:view_space_membership)
6050
6066
  end
6051
6067
  end
6052
6068
 
@@ -6250,10 +6266,11 @@ module Google
6250
6266
  # @return [String]
6251
6267
  attr_accessor :name
6252
6268
 
6253
- # A user in Google Chat. When returned as an output from a request, if your Chat
6254
- # app [authenticates as a user](https://developers.google.com/workspace/chat/
6255
- # authenticate-authorize-chat-user), the output for a `User` resource only
6256
- # populates the user's `name` and `type`.
6269
+ # If your Chat app [authenticates as a user](https://developers.google.com/
6270
+ # workspace/chat/authenticate-authorize-chat-user), the output for a `User`
6271
+ # resource (such as in the Messages and Memberships APIs) only populates the `
6272
+ # name` and `type` fields for both internal and external users, unless they are
6273
+ # members of the space or have prior affinity with the calling user.
6257
6274
  # Corresponds to the JSON property `user`
6258
6275
  # @return [Google::Apis::ChatV1::User]
6259
6276
  attr_accessor :user
@@ -6831,10 +6848,11 @@ module Google
6831
6848
  class SlashCommandMetadata
6832
6849
  include Google::Apis::Core::Hashable
6833
6850
 
6834
- # A user in Google Chat. When returned as an output from a request, if your Chat
6835
- # app [authenticates as a user](https://developers.google.com/workspace/chat/
6836
- # authenticate-authorize-chat-user), the output for a `User` resource only
6837
- # populates the user's `name` and `type`.
6851
+ # If your Chat app [authenticates as a user](https://developers.google.com/
6852
+ # workspace/chat/authenticate-authorize-chat-user), the output for a `User`
6853
+ # resource (such as in the Messages and Memberships APIs) only populates the `
6854
+ # name` and `type` fields for both internal and external users, unless they are
6855
+ # members of the space or have prior affinity with the calling user.
6838
6856
  # Corresponds to the JSON property `bot`
6839
6857
  # @return [Google::Apis::ChatV1::User]
6840
6858
  attr_accessor :bot
@@ -7704,14 +7722,23 @@ module Google
7704
7722
  end
7705
7723
  end
7706
7724
 
7707
- # A user in Google Chat. When returned as an output from a request, if your Chat
7708
- # app [authenticates as a user](https://developers.google.com/workspace/chat/
7709
- # authenticate-authorize-chat-user), the output for a `User` resource only
7710
- # populates the user's `name` and `type`.
7725
+ # If your Chat app [authenticates as a user](https://developers.google.com/
7726
+ # workspace/chat/authenticate-authorize-chat-user), the output for a `User`
7727
+ # resource (such as in the Messages and Memberships APIs) only populates the `
7728
+ # name` and `type` fields for both internal and external users, unless they are
7729
+ # members of the space or have prior affinity with the calling user.
7711
7730
  class User
7712
7731
  include Google::Apis::Core::Hashable
7713
7732
 
7714
- # Output only. The user's display name.
7733
+ # Output only. The user's display name. Populated for both app authentication
7734
+ # and user authentication. This field is always populated for requests made with
7735
+ # [app authentication](https://developers.google.com/workspace/chat/authenticate-
7736
+ # authorize-chat-app). When calling the Messages and Memberships APIs with [user
7737
+ # authentication](https://developers.google.com/workspace/chat/authenticate-
7738
+ # authorize-chat-user), this field is populated for both internal and external
7739
+ # users for the `sender` of a message, users within `annotations` (such as user
7740
+ # mentions), and within `Membership` resources, provided the user is a member of
7741
+ # the space or has prior affinity with the calling user.
7715
7742
  # Corresponds to the JSON property `displayName`
7716
7743
  # @return [String]
7717
7744
  attr_accessor :display_name
@@ -7721,7 +7748,9 @@ module Google
7721
7748
  # @return [String]
7722
7749
  attr_accessor :domain_id
7723
7750
 
7724
- # Output only. When `true`, the user is deleted or their profile is not visible.
7751
+ # Output only. When `true`, the user is deleted or their profile is not visible,
7752
+ # such as when a user is mentioned in a space without being a member and without
7753
+ # prior affinity with the calling user.
7725
7754
  # Corresponds to the JSON property `isAnonymous`
7726
7755
  # @return [Boolean]
7727
7756
  attr_accessor :is_anonymous
@@ -7771,10 +7800,11 @@ module Google
7771
7800
  # @return [String]
7772
7801
  attr_accessor :type
7773
7802
 
7774
- # A user in Google Chat. When returned as an output from a request, if your Chat
7775
- # app [authenticates as a user](https://developers.google.com/workspace/chat/
7776
- # authenticate-authorize-chat-user), the output for a `User` resource only
7777
- # populates the user's `name` and `type`.
7803
+ # If your Chat app [authenticates as a user](https://developers.google.com/
7804
+ # workspace/chat/authenticate-authorize-chat-user), the output for a `User`
7805
+ # resource (such as in the Messages and Memberships APIs) only populates the `
7806
+ # name` and `type` fields for both internal and external users, unless they are
7807
+ # members of the space or have prior affinity with the calling user.
7778
7808
  # Corresponds to the JSON property `user`
7779
7809
  # @return [Google::Apis::ChatV1::User]
7780
7810
  attr_accessor :user
@@ -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.154.0"
19
+ GEM_VERSION = "0.155.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260828"
25
+ REVISION = "20260913"
26
26
  end
27
27
  end
28
28
  end
@@ -1153,6 +1153,8 @@ module Google
1153
1153
 
1154
1154
  property :join_space_setting, as: 'joinSpaceSetting', class: Google::Apis::ChatV1::AccessPermissionSetting, decorator: Google::Apis::ChatV1::AccessPermissionSetting::Representation
1155
1155
 
1156
+ property :view_space_membership_setting, as: 'viewSpaceMembershipSetting', class: Google::Apis::ChatV1::AccessPermissionSetting, decorator: Google::Apis::ChatV1::AccessPermissionSetting::Representation
1157
+
1156
1158
  end
1157
1159
  end
1158
1160
 
@@ -2638,6 +2640,8 @@ module Google
2638
2640
 
2639
2641
  property :use_at_mention_all, as: 'useAtMentionAll', class: Google::Apis::ChatV1::PermissionSetting, decorator: Google::Apis::ChatV1::PermissionSetting::Representation
2640
2642
 
2643
+ property :view_space_membership, as: 'viewSpaceMembership', class: Google::Apis::ChatV1::PermissionSetting, decorator: Google::Apis::ChatV1::PermissionSetting::Representation
2644
+
2641
2645
  end
2642
2646
  end
2643
2647
 
@@ -806,15 +806,16 @@ module Google
806
806
  # audience). `access_settings.access_permission_settings` is not supported with `
807
807
  # useAdminAccess`. The supported field masks include: - `access_settings.
808
808
  # access_permission_settings.discoverSpaceSetting` - `access_settings.
809
- # access_permission_settings.joinSpaceSetting` `permission_settings`: Supports
810
- # changing the [permission settings](https://support.google.com/chat/answer/
811
- # 13340792) of a space. When updating permission settings, you can only specify `
812
- # permissionSettings` field masks; you cannot update other field masks at the
813
- # same time. The supported field masks include: - `permission_settings.
809
+ # access_permission_settings.joinSpaceSetting` - `access_settings.
810
+ # access_permission_settings.viewSpaceMembershipSetting` `permission_settings`:
811
+ # Supports changing the [permission settings](https://support.google.com/chat/
812
+ # answer/13340792) of a space. When updating permission settings, you can only
813
+ # specify `permissionSettings` field masks; you cannot update other field masks
814
+ # at the same time. The supported field masks include: - `permission_settings.
814
815
  # manageMembersAndGroups` - `permission_settings.modifySpaceDetails` - `
815
816
  # permission_settings.toggleHistory` - `permission_settings.useAtMentionAll` - `
816
817
  # permission_settings.manageApps` - `permission_settings.manageWebhooks` - `
817
- # permission_settings.replyMessages`
818
+ # permission_settings.replyMessages` - `permission_settings.viewSpaceMembership`
818
819
  # @param [Boolean] use_admin_access
819
820
  # Optional. When `true`, the method runs using the user's Google Workspace
820
821
  # administrator privileges. The calling user must be a Google Workspace
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.154.0
4
+ version: 0.155.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.154.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.155.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: