Class: Google::Apis::DfareportingV3_5::UserRolePermissionsListResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v3_5/classes.rb,
lib/google/apis/dfareporting_v3_5/representations.rb,
lib/google/apis/dfareporting_v3_5/representations.rb

Overview

User Role Permission List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UserRolePermissionsListResponse

Returns a new instance of UserRolePermissionsListResponse.



12564
12565
12566
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12564

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#userRolePermissionsListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


12557
12558
12559
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12557

def kind
  @kind
end

#user_role_permissionsArray<Google::Apis::DfareportingV3_5::UserRolePermission>

User role permission collection. Corresponds to the JSON property userRolePermissions



12562
12563
12564
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12562

def user_role_permissions
  @user_role_permissions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12569
12570
12571
12572
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 12569

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @user_role_permissions = args[:user_role_permissions] if args.key?(:user_role_permissions)
end