Class: Google::Apis::AndroidmanagementV1::Role

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_typeString

Required. The type of the role an app can have. Corresponds to the JSON property roleType

Returns:

  • (String)


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