google-apis-chat_v1 0.154.0 → 0.156.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: 4b1af8617be8e4372be622702a522242fdd615291343b90bd3c925b1133c3e16
4
+ data.tar.gz: 85849d60a9e9135533a1376682217a401db4dbc67e74cbaa53f587aea201cdfb
5
5
  SHA512:
6
- metadata.gz: 171602ec8560d9191a0e3356b3c9f75b0f9de01643016327e08aa88d69b73f46fe75d76569c0a81e52717821b29a3fca0f49fb6c49fda32268636afd2c208f2d
7
- data.tar.gz: 2f3ead44b63c00eb41816fbafde199eff4032275f5c3ef80012602dc5a10232dfc50bce0fd6c085994c91da1ce5011173afc3d5a895ce3a32418a6696db34e37
6
+ metadata.gz: 4ba69e16e9aab179160afbbd4aa1eec8a8da8a7bb81971720ad94b5ed9b6e632d4810bc082582424f2b5a3246ae098634b831cd346704b5785131daa8779a874
7
+ data.tar.gz: f0e8158a793359a9eabb7e4226910efa34b5c801b6cf65078e2e6fe8ec8d7790ef68cd64982d92d476f65ec8f0952f5d2858b016a81460d803198f6cdd65f2bb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.156.0 (2026-09-24)
4
+
5
+ * Regenerated from discovery document revision 20260920
6
+
7
+ ### v0.155.0 (2026-09-20)
8
+
9
+ * Regenerated from discovery document revision 20260913
10
+
3
11
  ### v0.154.0 (2026-09-06)
4
12
 
5
13
  * 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
@@ -6463,6 +6480,9 @@ module Google
6463
6480
  # partial match of their display name. Results are limited to the top five space
6464
6481
  # matches. For example, `space.display_name:Project` searches for messages in
6465
6482
  # the top five spaces that contain the word "Project" in their display names. - `
6483
+ # space.space_type`: The type of the space. Only supports `=`. For example, `
6484
+ # space.space_type="DIRECT_MESSAGE"` returns only messages from direct messages.
6485
+ # The possible values are `DIRECT_MESSAGE`, `GROUP_CHAT`, and `SPACE`. - `
6466
6486
  # attachment`: Supports the operator `:*` (has any) to check for the presence of
6467
6487
  # attachments. If `attachment:*` is specified, only messages that have at least
6468
6488
  # one attachment are returned. - `annotations.user_mentions.user.name`: The
@@ -6475,50 +6495,53 @@ module Google
6475
6495
  # For advanced filtering, the following functions are also available: - `
6476
6496
  # has_link()`: Returns only messages that have at least one hyperlink in the
6477
6497
  # message text. - `is_unread()`: Filters out messages that have been read by the
6478
- # calling user. Using the `space.display_name` filter requires that the calling
6479
- # credentials include one of the following [authorization scopes](https://
6480
- # developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): -
6481
- # `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.
6482
- # googleapis.com/auth/chat.spaces` Using the `is_unread()` filter requires that
6483
- # the calling credentials include one of the following [authorization scopes](
6484
- # https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-
6485
- # scopes): - `https://www.googleapis.com/auth/chat.users.readstate.readonly` - `
6486
- # https://www.googleapis.com/auth/chat.users.readstate` Across different fields,
6487
- # only `AND` operators are supported. A valid example is `sender.name = "users/
6488
- # 1234567890" AND is_unread()`. The word `AND` is optional and is implied if
6489
- # omitted. For example, `sender.name = "users/1234567890" is_unread()` is valid
6490
- # and is equivalent to the previous example. An invalid example is `sender.name =
6491
- # "users/1234567890" OR is_unread()` because `OR` is not supported between
6492
- # different fields. Among the same field: - `create_time` supports only `AND`,
6493
- # and can only be used to represent an interval, such as `create_time >= "2022-
6494
- # 01-01T00:00:00+00:00" AND create_time < "2023-01-01T00:00:00+00:00"`. - `
6495
- # sender.name` supports only the `OR` operator, for example: `sender.name = "
6496
- # users/1234567890" OR sender.name = "users/0987654321"`. - `space.name`
6497
- # supports only the `OR` operator, for example: `space.name = "spaces/ABCDEFGH"
6498
- # OR space.name = "spaces/QWERTYUI"`. - `space.display_name` supports the
6499
- # operators `AND` and `OR`, but not a mix of both. For example: `space.
6500
- # display_name:Project AND space.display_name:Tasks` returns messages that are
6501
- # in spaces with display names containing both `Project` and `Tasks`, whereas `
6502
- # space.display_name:Project OR space.display_name:Tasks` returns messages that
6503
- # are in spaces with display names containing either `Project` or `Tasks` or
6504
- # both. - `annotations.user_mentions.user.name` supports the operators `AND` and
6505
- # `OR`, but not a mix of both. For example: `annotations.user_mentions.user.name:
6506
- # "users/1234567890" AND annotations.user_mentions.user.name:"users/0987654321"`
6507
- # returns only messages that mentions both users, whereas `annotations.
6508
- # user_mentions.user.name:"users/1234567890" OR annotations.user_mentions.user.
6509
- # name:"users/0987654321"` returns messages that mention either user or both.
6510
- # Parentheses are required to disambiguate operator precedence when combining `
6511
- # AND` and `OR` operators in the same query. For example: `(sender.name="users/
6512
- # me" OR sender.name="users/123456") AND is_unread()`. Otherwise, parentheses
6513
- # are optional. The following example queries are valid: ``` "Pending reports"
6514
- # AND create_time >= "2023-01-01T00:00:00Z" sender.name = "users/example@gmail.
6515
- # com" annotations.user_mentions.user.name:"users/0987654321" attachment:* AND
6516
- # space.name = "spaces/ABCDEFGH" tasks AND is_unread() AND sender.name = "users/
6517
- # 1234567890" "things to do" "urgent" (sender.name = "users/1234567890") AND (
6518
- # create_time < "2023-05-01T00:00:00Z") tasks AND space.name = "spaces/ABCDEFGH"
6519
- # AND has_link() "project one" is_unread() space.display_name:Project tasks ```
6520
- # The maximum query length is 1,000 characters. Invalid queries are rejected by
6521
- # the server with an `INVALID_ARGUMENT` error.
6498
+ # calling user. Using the `space.display_name` or the `space.space_type` filters
6499
+ # requires that the calling credentials include one of the following [
6500
+ # authorization scopes](https://developers.google.com/workspace/chat/
6501
+ # authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/
6502
+ # chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` Using
6503
+ # the `is_unread()` filter requires that the calling credentials include one of
6504
+ # the following [authorization scopes](https://developers.google.com/workspace/
6505
+ # chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/
6506
+ # auth/chat.users.readstate.readonly` - `https://www.googleapis.com/auth/chat.
6507
+ # users.readstate` Across different fields, only `AND` operators are supported.
6508
+ # A valid example is `sender.name = "users/1234567890" AND is_unread()`. The
6509
+ # word `AND` is optional and is implied if omitted. For example, `sender.name = "
6510
+ # users/1234567890" is_unread()` is valid and is equivalent to the previous
6511
+ # example. An invalid example is `sender.name = "users/1234567890" OR is_unread()
6512
+ # ` because `OR` is not supported between different fields. Among the same field:
6513
+ # - `create_time` supports only `AND`, and can only be used to represent an
6514
+ # interval, such as `create_time >= "2022-01-01T00:00:00+00:00" AND create_time <
6515
+ # "2023-01-01T00:00:00+00:00"`. - `sender.name` supports only the `OR` operator,
6516
+ # for example: `sender.name = "users/1234567890" OR sender.name = "users/
6517
+ # 0987654321"`. - `space.name` supports only the `OR` operator, for example: `
6518
+ # space.name = "spaces/ABCDEFGH" OR space.name = "spaces/QWERTYUI"`. - `space.
6519
+ # display_name` supports the operators `AND` and `OR`, but not a mix of both.
6520
+ # For example: `space.display_name:Project AND space.display_name:Tasks` returns
6521
+ # messages that are in spaces with display names containing both `Project` and `
6522
+ # Tasks`, whereas `space.display_name:Project OR space.display_name:Tasks`
6523
+ # returns messages that are in spaces with display names containing either `
6524
+ # Project` or `Tasks` or both. - `space.space_type` supports only the `OR`
6525
+ # operator, for example: `space.space_type = "DIRECT_MESSAGE" OR space.
6526
+ # space_type = "GROUP_CHAT"`. - `annotations.user_mentions.user.name` supports
6527
+ # the operators `AND` and `OR`, but not a mix of both. For example: `annotations.
6528
+ # user_mentions.user.name:"users/1234567890" AND annotations.user_mentions.user.
6529
+ # name:"users/0987654321"` returns only messages that mentions both users,
6530
+ # whereas `annotations.user_mentions.user.name:"users/1234567890" OR annotations.
6531
+ # user_mentions.user.name:"users/0987654321"` returns messages that mention
6532
+ # either user or both. Parentheses are required to disambiguate operator
6533
+ # precedence when combining `AND` and `OR` operators in the same query. For
6534
+ # example: `(sender.name="users/me" OR sender.name="users/123456") AND is_unread(
6535
+ # )`. Otherwise, parentheses are optional. The following example queries are
6536
+ # valid: ``` "Pending reports" AND create_time >= "2023-01-01T00:00:00Z" sender.
6537
+ # name = "users/example@gmail.com" annotations.user_mentions.user.name:"users/
6538
+ # 0987654321" attachment:* AND space.name = "spaces/ABCDEFGH" tasks AND
6539
+ # is_unread() AND sender.name = "users/1234567890" "things to do" "urgent" (
6540
+ # sender.name = "users/1234567890") AND (create_time < "2023-05-01T00:00:00Z")
6541
+ # tasks AND space.name = "spaces/ABCDEFGH" AND has_link() "project one"
6542
+ # is_unread() space.display_name:Project tasks ``` The maximum query length is 1,
6543
+ # 000 characters. Invalid queries are rejected by the server with an `
6544
+ # INVALID_ARGUMENT` error.
6522
6545
  # Corresponds to the JSON property `filter`
6523
6546
  # @return [String]
6524
6547
  attr_accessor :filter
@@ -6831,10 +6854,11 @@ module Google
6831
6854
  class SlashCommandMetadata
6832
6855
  include Google::Apis::Core::Hashable
6833
6856
 
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`.
6857
+ # If your Chat app [authenticates as a user](https://developers.google.com/
6858
+ # workspace/chat/authenticate-authorize-chat-user), the output for a `User`
6859
+ # resource (such as in the Messages and Memberships APIs) only populates the `
6860
+ # name` and `type` fields for both internal and external users, unless they are
6861
+ # members of the space or have prior affinity with the calling user.
6838
6862
  # Corresponds to the JSON property `bot`
6839
6863
  # @return [Google::Apis::ChatV1::User]
6840
6864
  attr_accessor :bot
@@ -7704,14 +7728,34 @@ module Google
7704
7728
  end
7705
7729
  end
7706
7730
 
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`.
7731
+ # If your Chat app [authenticates as a user](https://developers.google.com/
7732
+ # workspace/chat/authenticate-authorize-chat-user), the output for a `User`
7733
+ # resource (such as in the Messages and Memberships APIs) only populates the `
7734
+ # name` and `type` fields for both internal and external users, unless they are
7735
+ # members of the space or have prior affinity with the calling user.
7711
7736
  class User
7712
7737
  include Google::Apis::Core::Hashable
7713
7738
 
7714
- # Output only. The user's display name.
7739
+ # Output only. The user's avatar image URL. When calling the Messages and
7740
+ # Memberships APIs with [user authentication](https://developers.google.com/
7741
+ # workspace/chat/authenticate-authorize-chat-user), this field is populated for
7742
+ # both internal and external users for the `sender` of a message, users within `
7743
+ # annotations` (such as user mentions), and within `Membership` resources,
7744
+ # provided the user is a member of the space or has prior affinity with the
7745
+ # calling user.
7746
+ # Corresponds to the JSON property `avatarUrl`
7747
+ # @return [String]
7748
+ attr_accessor :avatar_url
7749
+
7750
+ # Output only. The user's display name. Populated for both app authentication
7751
+ # and user authentication. This field is always populated for requests made with
7752
+ # [app authentication](https://developers.google.com/workspace/chat/authenticate-
7753
+ # authorize-chat-app). When calling the Messages and Memberships APIs with [user
7754
+ # authentication](https://developers.google.com/workspace/chat/authenticate-
7755
+ # authorize-chat-user), this field is populated for both internal and external
7756
+ # users for the `sender` of a message, users within `annotations` (such as user
7757
+ # mentions), and within `Membership` resources, provided the user is a member of
7758
+ # the space or has prior affinity with the calling user.
7715
7759
  # Corresponds to the JSON property `displayName`
7716
7760
  # @return [String]
7717
7761
  attr_accessor :display_name
@@ -7721,7 +7765,20 @@ module Google
7721
7765
  # @return [String]
7722
7766
  attr_accessor :domain_id
7723
7767
 
7724
- # Output only. When `true`, the user is deleted or their profile is not visible.
7768
+ # Output only. The user's email address. When calling the Messages and
7769
+ # Memberships APIs with [user authentication](https://developers.google.com/
7770
+ # workspace/chat/authenticate-authorize-chat-user), this field is populated for
7771
+ # both internal and external users for the `sender` of a message, users within `
7772
+ # annotations` (such as user mentions), and within `Membership` resources,
7773
+ # provided the user is a member of the space or has prior affinity with the
7774
+ # calling user.
7775
+ # Corresponds to the JSON property `email`
7776
+ # @return [String]
7777
+ attr_accessor :email
7778
+
7779
+ # Output only. When `true`, the user is deleted or their profile is not visible,
7780
+ # such as when a user is mentioned in a space without being a member and without
7781
+ # prior affinity with the calling user.
7725
7782
  # Corresponds to the JSON property `isAnonymous`
7726
7783
  # @return [Boolean]
7727
7784
  attr_accessor :is_anonymous
@@ -7754,8 +7811,10 @@ module Google
7754
7811
 
7755
7812
  # Update properties of this object
7756
7813
  def update!(**args)
7814
+ @avatar_url = args[:avatar_url] if args.key?(:avatar_url)
7757
7815
  @display_name = args[:display_name] if args.key?(:display_name)
7758
7816
  @domain_id = args[:domain_id] if args.key?(:domain_id)
7817
+ @email = args[:email] if args.key?(:email)
7759
7818
  @is_anonymous = args[:is_anonymous] if args.key?(:is_anonymous)
7760
7819
  @name = args[:name] if args.key?(:name)
7761
7820
  @type = args[:type] if args.key?(:type)
@@ -7771,10 +7830,11 @@ module Google
7771
7830
  # @return [String]
7772
7831
  attr_accessor :type
7773
7832
 
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`.
7833
+ # If your Chat app [authenticates as a user](https://developers.google.com/
7834
+ # workspace/chat/authenticate-authorize-chat-user), the output for a `User`
7835
+ # resource (such as in the Messages and Memberships APIs) only populates the `
7836
+ # name` and `type` fields for both internal and external users, unless they are
7837
+ # members of the space or have prior affinity with the calling user.
7778
7838
  # Corresponds to the JSON property `user`
7779
7839
  # @return [Google::Apis::ChatV1::User]
7780
7840
  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.156.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 = "20260920"
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
 
@@ -3071,8 +3075,10 @@ module Google
3071
3075
  class User
3072
3076
  # @private
3073
3077
  class Representation < Google::Apis::Core::JsonRepresentation
3078
+ property :avatar_url, as: 'avatarUrl'
3074
3079
  property :display_name, as: 'displayName'
3075
3080
  property :domain_id, as: 'domainId'
3081
+ property :email, as: 'email'
3076
3082
  property :is_anonymous, as: 'isAnonymous'
3077
3083
  property :name, as: 'name'
3078
3084
  property :type, as: 'type'
@@ -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.156.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.156.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: