Class: Google::Apis::DfareportingV2_1::ListUserRolePermissionsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb

Overview

User Role Permission List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListUserRolePermissionsResponse

Returns a new instance of ListUserRolePermissionsResponse.



10726
10727
10728
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10726

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)


10719
10720
10721
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10719

def kind
  @kind
end

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

User role permission collection. Corresponds to the JSON property userRolePermissions



10724
10725
10726
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10724

def user_role_permissions
  @user_role_permissions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10731
10732
10733
10734
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10731

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