class Google::Apis::DfareportingV3_5::UserRolePermission

Contains properties of a user role permission.

Attributes

availability[RW]

Levels of availability for a user role permission. Corresponds to the JSON property `availability` @return [String]

id[RW]

ID of this user role permission. Corresponds to the JSON property `id` @return [Fixnum]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#userRolePermission”. Corresponds to the JSON property `kind` @return [String]

name[RW]

Name of this user role permission. Corresponds to the JSON property `name` @return [String]

permission_group_id[RW]

ID of the permission group that this user role permission belongs to. Corresponds to the JSON property `permissionGroupId` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 12475
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_5/classes.rb, line 12480
def update!(**args)
  @availability = args[:availability] if args.key?(:availability)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @permission_group_id = args[:permission_group_id] if args.key?(:permission_group_id)
end