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.
6609 6610 6611 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6609 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
6607 6608 6609 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6607 def role_type @role_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6614 6615 6616 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6614 def update!(**args) @role_type = args[:role_type] if args.key?(:role_type) end |