Class: Google::Apis::AndroidmanagementV1::Role
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::Role
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb
Overview
Role an app can have.
Instance Attribute Summary collapse
-
#role_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Role
constructor
A new instance of Role.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Role
Returns a new instance of Role.
6459 6460 6461 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6459 def initialize(**args) update!(**args) end |
Instance Attribute Details
#role_type ⇒ String
Required. The type of the role an app can have.
Corresponds to the JSON property roleType
6457 6458 6459 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6457 def role_type @role_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6464 6465 6466 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6464 def update!(**args) @role_type = args[:role_type] if args.key?(:role_type) end |