class Google::Apis::DfareportingV2_3::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 [String]
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 [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 10699 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 10704 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