class Google::Apis::AdminDirectoryV1::Role
Attributes
ETag of the resource. Corresponds to the JSON property `etag` @return [String]
Returns `true` if the role is a super admin role. Corresponds to the JSON property `isSuperAdminRole` @return [Boolean]
Returns `true` if the role is a super admin role. Corresponds to the JSON property `isSuperAdminRole` @return [Boolean]
Returns `true` if this is a pre-defined system role. Corresponds to the JSON property `isSystemRole` @return [Boolean]
Returns `true` if this is a pre-defined system role. Corresponds to the JSON property `isSystemRole` @return [Boolean]
The type of the API resource. This is always `admin#directory#role`. Corresponds to the JSON property `kind` @return [String]
A short description of the role. Corresponds to the JSON property `roleDescription` @return [String]
ID of the role. Corresponds to the JSON property `roleId` @return [Fixnum]
Name of the role. Corresponds to the JSON property `roleName` @return [String]
The set of privileges that are granted to this role. Corresponds to the JSON property `rolePrivileges` @return [Array<Google::Apis::AdminDirectoryV1::Role::RolePrivilege>]
Public Class Methods
# File lib/google/apis/admin_directory_v1/classes.rb, line 3138 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/admin_directory_v1/classes.rb, line 3143 def update!(**args) @etag = args[:etag] if args.key?(:etag) @is_super_admin_role = args[:is_super_admin_role] if args.key?(:is_super_admin_role) @is_system_role = args[:is_system_role] if args.key?(:is_system_role) @kind = args[:kind] if args.key?(:kind) @role_description = args[:role_description] if args.key?(:role_description) @role_id = args[:role_id] if args.key?(:role_id) @role_name = args[:role_name] if args.key?(:role_name) @role_privileges = args[:role_privileges] if args.key?(:role_privileges) end