Class: Google::Apis::ChatV1::AccessPermissionSetting
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::AccessPermissionSetting
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb
Overview
An access permission setting.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccessPermissionSetting
constructor
A new instance of AccessPermissionSetting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccessPermissionSetting
Returns a new instance of AccessPermissionSetting.
34 35 36 |
# File 'lib/google/apis/chat_v1/classes.rb', line 34 def initialize(**args) update!(**args) end |
Instance Attribute Details
#principals ⇒ Array<Google::Apis::ChatV1::Principal>
Optional. Unordered list. Allowed principals for this permission.
Corresponds to the JSON property principals
32 33 34 |
# File 'lib/google/apis/chat_v1/classes.rb', line 32 def principals @principals end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39 40 41 |
# File 'lib/google/apis/chat_v1/classes.rb', line 39 def update!(**args) @principals = args[:principals] if args.key?(:principals) end |