google-apps-chat-v1 0.15.0 → 0.17.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.
@@ -41,7 +41,7 @@ module Google
41
41
  # User deleted their own message.
42
42
  CREATOR = 1
43
43
 
44
- # A space manager deleted the message.
44
+ # An owner or manager deleted the message.
45
45
  SPACE_OWNER = 2
46
46
 
47
47
  # A Google Workspace administrator deleted the message. Administrators can
@@ -95,16 +95,66 @@ module Google
95
95
  # assigned this role (other enum values might be used in the future).
96
96
  MEMBERSHIP_ROLE_UNSPECIFIED = 0
97
97
 
98
- # A member of the space. The user has basic permissions, like sending
99
- # messages to the space. In 1:1 and unnamed group conversations, everyone
98
+ # A member of the space. In the Chat UI, this role is called Member.
99
+ #
100
+ # The user has basic permissions, like sending
101
+ # messages to the space.
102
+ # Managers and owners can grant members additional permissions in a space,
103
+ # including:
104
+ #
105
+ # - Add or remove members.
106
+ # - Modify space details.
107
+ # - Turn history on or off.
108
+ # - Mention everyone in the space with `@all`.
109
+ # - Manage Chat apps and webhooks installed in the space.
110
+ #
111
+ # In direct messages and unnamed group conversations, everyone
100
112
  # has this role.
101
113
  ROLE_MEMBER = 1
102
114
 
103
- # A space manager. The user has all basic permissions plus administrative
104
- # permissions that let them manage the space, like adding or removing
105
- # members. Only supported in
106
- # {::Google::Apps::Chat::V1::Space::SpaceType SpaceType.SPACE}.
115
+ # A space owner. In the Chat UI, this role is called Owner.
116
+ #
117
+ # The user has the complete set of space permissions to manage the space,
118
+ # including:
119
+ #
120
+ # - Change the role of other members in the space to member, manager, or
121
+ # owner.
122
+ # - Delete the space.
123
+ #
124
+ # Only supported in
125
+ # {::Google::Apps::Chat::V1::Space::SpaceType SpaceType.SPACE} (named spaces).
126
+ #
127
+ # To learn more, see
128
+ # [Learn more about your role as a space
129
+ # owner or manager](https://support.google.com/chat/answer/11833441).
107
130
  ROLE_MANAGER = 2
131
+
132
+ # A space manager. In the Chat UI, this role is called Manager.
133
+ #
134
+ # The user has all basic permissions of `ROLE_MEMBER`,
135
+ # and can be granted a subset of administrative permissions by an owner.
136
+ # By default, managers have all the permissions of an owner except for the
137
+ # ability to:
138
+ #
139
+ # - Delete the space.
140
+ # - Make another space member an owner.
141
+ # - Change an owner's role.
142
+ #
143
+ # By default, managers permissions include but aren't limited to:
144
+ #
145
+ # - Make another member a manager.
146
+ # - Delete messages in the space.
147
+ # - Manage space permissions.
148
+ # - Receive notifications for requests to join the space if the manager
149
+ # has the "manage members" permission in the space settings.
150
+ # - Make a space discoverable.
151
+ #
152
+ # Only supported in
153
+ # {::Google::Apps::Chat::V1::Space::SpaceType SpaceType.SPACE} (named spaces).
154
+ #
155
+ # To learn more, see
156
+ # [Manage space settings](https://support.google.com/chat/answer/13340792).
157
+ ROLE_ASSISTANT_MANAGER = 4
108
158
  end
109
159
  end
110
160
 
@@ -322,10 +322,19 @@ module Google
322
322
  # Represents a space permission setting.
323
323
  # @!attribute [rw] managers_allowed
324
324
  # @return [::Boolean]
325
- # Optional. Whether spaces managers have this permission.
325
+ # Optional. Whether space owners
326
+ # ({::Google::Apps::Chat::V1::Membership::MembershipRole::ROLE_MANAGER `ROLE_MANAGER`})
327
+ # have this permission.
328
+ # @!attribute [rw] assistant_managers_allowed
329
+ # @return [::Boolean]
330
+ # Optional. Whether space managers
331
+ # {::Google::Apps::Chat::V1::Membership::MembershipRole::ROLE_ASSISTANT_MANAGER `ROLE_ASSISTANT_MANAGER`})
332
+ # have this permission.
326
333
  # @!attribute [rw] members_allowed
327
334
  # @return [::Boolean]
328
- # Optional. Whether non-manager members have this permission.
335
+ # Optional. Whether basic space members
336
+ # ({::Google::Apps::Chat::V1::Membership::MembershipRole::ROLE_MEMBER `ROLE_MEMBER`})
337
+ # have this permission.
329
338
  class PermissionSetting
330
339
  include ::Google::Protobuf::MessageExts
331
340
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apps-chat-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.1'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.1'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-apps-card-v1
28
28
  requirement: !ruby/object:Gem::Requirement