Class: Google::Apis::ClassroomV1::GlobalPermission
- Inherits:
-
Object
- Object
- Google::Apis::ClassroomV1::GlobalPermission
- Defined in:
- generated/google/apis/classroom_v1/classes.rb,
generated/google/apis/classroom_v1/representations.rb,
generated/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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ GlobalPermission
Returns a new instance of GlobalPermission.
725 726 727 |
# File 'generated/google/apis/classroom_v1/classes.rb', line 725 def initialize(**args) update!(**args) end |
Instance Attribute Details
#permission ⇒ String
Permission value.
Corresponds to the JSON property permission
723 724 725 |
# File 'generated/google/apis/classroom_v1/classes.rb', line 723 def @permission end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
730 731 732 |
# File 'generated/google/apis/classroom_v1/classes.rb', line 730 def update!(**args) @permission = args[:permission] if args.key?(:permission) end |