Class: Google::Apis::ClassroomV1beta1::GlobalPermission
- Inherits:
-
Object
- Object
- Google::Apis::ClassroomV1beta1::GlobalPermission
- Includes:
- Google::Apis::Core::Hashable
- Defined in:
- generated/google/apis/classroom_v1beta1/classes.rb,
generated/google/apis/classroom_v1beta1/representations.rb,
generated/google/apis/classroom_v1beta1/representations.rb
Overview
Global user permission description.
Instance Attribute Summary collapse
-
#permission ⇒ String
Permission value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GlobalPermission
constructor
A new instance of GlobalPermission.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ GlobalPermission
Returns a new instance of GlobalPermission
316 317 318 |
# File 'generated/google/apis/classroom_v1beta1/classes.rb', line 316 def initialize(**args) update!(**args) end |
Instance Attribute Details
#permission ⇒ String
Permission value.
Corresponds to the JSON property permission
314 315 316 |
# File 'generated/google/apis/classroom_v1beta1/classes.rb', line 314 def @permission end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
321 322 323 |
# File 'generated/google/apis/classroom_v1beta1/classes.rb', line 321 def update!(**args) @permission = args[:permission] unless args[:permission].nil? end |