Class: Google::Apis::ClassroomV1::GlobalPermission

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GlobalPermission

Returns a new instance of GlobalPermission



1526
1527
1528
# File 'generated/google/apis/classroom_v1/classes.rb', line 1526

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#permissionString

Permission value. Corresponds to the JSON property permission

Returns:

  • (String)


1524
1525
1526
# File 'generated/google/apis/classroom_v1/classes.rb', line 1524

def permission
  @permission
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1531
1532
1533
# File 'generated/google/apis/classroom_v1/classes.rb', line 1531

def update!(**args)
  @permission = args[:permission] if args.key?(:permission)
end