Class: Google::Apis::ClassroomV1::GlobalPermission
- Inherits:
-
Object
- Object
- Google::Apis::ClassroomV1::GlobalPermission
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/classroom_v1/classes.rb,
lib/google/apis/classroom_v1/representations.rb,
lib/google/apis/classroom_v1/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.
Constructor Details
#initialize(**args) ⇒ GlobalPermission
Returns a new instance of GlobalPermission.
1232 1233 1234 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1232 def initialize(**args) update!(**args) end |
Instance Attribute Details
#permission ⇒ String
Permission value.
Corresponds to the JSON property permission
1230 1231 1232 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1230 def @permission end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1237 1238 1239 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1237 def update!(**args) @permission = args[:permission] if args.key?(:permission) end |