class Google::Apis::DfareportingV2_1::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_1/classes.rb, line 10639 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_1/classes.rb, line 10644 def update!(**args) @availability = args[:availability] unless args[:availability].nil? @id = args[:id] unless args[:id].nil? @kind = args[:kind] unless args[:kind].nil? @name = args[:name] unless args[:name].nil? @permission_group_id = args[:permission_group_id] unless args[:permission_group_id].nil? end